* config/i386/x-cygwin (host-cygwin): Change dependency from
[official-gcc.git] / libstdc++-v3 / configure
blob1a32ed4d2f793b70dd9fe157a5e51da94c0e6720
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 ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_DARWIN_EXPORT_TRUE ENABLE_SYMVERS_DARWIN_EXPORT_FALSE baseline_dir 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:6: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
1545 case "$host","$target" in
1546 # Darwin crosses can use the host system's libraries and headers,
1547 # because of the fat library support. Of course, it must be the
1548 # same version of Darwin on both sides. Allow the user to
1549 # just say --target=foo-darwin without a version number to mean
1550 # "the version on this system".
1551 *-*-darwin*,*-*-darwin*)
1552 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1553 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1554 if test $hostos = $targetos -o $targetos = darwin ; then
1555 GLIBCXX_IS_NATIVE=true
1562 esac
1563 else
1564 GLIBCXX_IS_NATIVE=true
1567 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1568 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1569 # 1.x: minimum required version
1570 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1571 # of other PACKAGE_* variables will, however, and there's nothing
1572 # we can do about that; they come from AC_INIT).
1573 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1574 # file in the top srcdir, etc, etc), so stop complaining.
1575 # no-dependencies: turns off auto dependency generation (just for now)
1576 # -Wall: turns on all automake warnings...
1577 # -Wno-portability: ...except this one, since GNU make is now required.
1578 am__api_version="1.9"
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1585 # AIX /bin/install
1586 # AmigaOS /C/install, which installs bootblocks on floppy discs
1587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1590 # OS/2's system install, which has a completely different semantic
1591 # ./install, which can be erroneously created by make from ./install.sh.
1592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1594 if test -z "$INSTALL"; then
1595 if test "${ac_cv_path_install+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 else
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 for as_dir in $PATH
1601 IFS=$as_save_IFS
1602 test -z "$as_dir" && as_dir=.
1603 # Account for people who put trailing slashes in PATH elements.
1604 case $as_dir/ in
1605 ./ | .// | /cC/* | \
1606 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1607 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1608 /usr/ucb/* ) ;;
1610 # OSF1 and SCO ODT 3.0 have their own names for install.
1611 # Don't use installbsd from OSF since it installs stuff as root
1612 # by default.
1613 for ac_prog in ginstall scoinst install; do
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1616 if test $ac_prog = install &&
1617 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1620 elif test $ac_prog = install &&
1621 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622 # program-specific install script used by HP pwplus--don't use.
1624 else
1625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1626 break 3
1629 done
1630 done
1632 esac
1633 done
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL=$ac_cv_path_install
1639 else
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL=$ac_install_sh
1647 echo "$as_me:$LINENO: result: $INSTALL" >&5
1648 echo "${ECHO_T}$INSTALL" >&6
1650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1651 # It thinks the first close brace ends the variable substitution.
1652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1658 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1659 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1660 # Just in case
1661 sleep 1
1662 echo timestamp > conftest.file
1663 # Do `set' in a subshell so we don't clobber the current shell's
1664 # arguments. Must try -L first in case configure is actually a
1665 # symlink; some systems play weird games with the mod time of symlinks
1666 # (eg FreeBSD returns the mod time of the symlink's containing
1667 # directory).
1668 if (
1669 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1670 if test "$*" = "X"; then
1671 # -L didn't work.
1672 set X `ls -t $srcdir/configure conftest.file`
1674 rm -f conftest.file
1675 if test "$*" != "X $srcdir/configure conftest.file" \
1676 && test "$*" != "X conftest.file $srcdir/configure"; then
1678 # If neither matched, then we have a broken ls. This can happen
1679 # if, for instance, CONFIG_SHELL is bash and it inherits a
1680 # broken ls alias from the environment. This has actually
1681 # happened. Such a system could not be considered "sane".
1682 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1683 alias in your environment" >&5
1684 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&2;}
1686 { (exit 1); exit 1; }; }
1689 test "$2" = conftest.file
1691 then
1692 # Ok.
1694 else
1695 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1696 Check your system clock" >&5
1697 echo "$as_me: error: newly created file is older than distributed files!
1698 Check your system clock" >&2;}
1699 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: yes" >&5
1702 echo "${ECHO_T}yes" >&6
1703 test "$program_prefix" != NONE &&
1704 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1705 # Use a double $ so make ignores it.
1706 test "$program_suffix" != NONE &&
1707 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1708 # Double any \ or $. echo might interpret backslashes.
1709 # By default was `s,x,x', remove it if useless.
1710 cat <<\_ACEOF >conftest.sed
1711 s/[\\$]/&&/g;s/;s,x,x,$//
1712 _ACEOF
1713 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1714 rm conftest.sed
1716 # expand $ac_aux_dir to an absolute path
1717 am_aux_dir=`cd $ac_aux_dir && pwd`
1719 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1720 # Use eval to expand $SHELL
1721 if eval "$MISSING --run true"; then
1722 am_missing_run="$MISSING --run "
1723 else
1724 am_missing_run=
1725 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1726 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1730 # We used to keeping the `.' as first argument, in order to
1731 # allow $(mkdir_p) to be used without argument. As in
1732 # $(mkdir_p) $(somedir)
1733 # where $(somedir) is conditionally defined. However this is wrong
1734 # for two reasons:
1735 # 1. if the package is installed by a user who cannot write `.'
1736 # make install will fail,
1737 # 2. the above comment should most certainly read
1738 # $(mkdir_p) $(DESTDIR)$(somedir)
1739 # so it does not work when $(somedir) is undefined and
1740 # $(DESTDIR) is not.
1741 # To support the latter case, we have to write
1742 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1743 # so the `.' trick is pointless.
1744 mkdir_p='mkdir -p --'
1745 else
1746 # On NextStep and OpenStep, the `mkdir' command does not
1747 # recognize any option. It will interpret all options as
1748 # directories to create, and then abort because `.' already
1749 # exists.
1750 for d in ./-p ./--version;
1752 test -d $d && rmdir $d
1753 done
1754 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1755 if test -f "$ac_aux_dir/mkinstalldirs"; then
1756 mkdir_p='$(mkinstalldirs)'
1757 else
1758 mkdir_p='$(install_sh) -d'
1762 for ac_prog in gawk mawk nawk awk
1764 # Extract the first word of "$ac_prog", so it can be a program name with args.
1765 set dummy $ac_prog; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_AWK+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 else
1771 if test -n "$AWK"; then
1772 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1773 else
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 for as_dir in $PATH
1777 IFS=$as_save_IFS
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_AWK="$ac_prog"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 break 2
1785 done
1786 done
1790 AWK=$ac_cv_prog_AWK
1791 if test -n "$AWK"; then
1792 echo "$as_me:$LINENO: result: $AWK" >&5
1793 echo "${ECHO_T}$AWK" >&6
1794 else
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1799 test -n "$AWK" && break
1800 done
1802 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1803 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1804 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1805 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 else
1808 cat >conftest.make <<\_ACEOF
1809 all:
1810 @echo 'ac_maketemp="$(MAKE)"'
1811 _ACEOF
1812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1813 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1814 if test -n "$ac_maketemp"; then
1815 eval ac_cv_prog_make_${ac_make}_set=yes
1816 else
1817 eval ac_cv_prog_make_${ac_make}_set=no
1819 rm -f conftest.make
1821 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1822 echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6
1824 SET_MAKE=
1825 else
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 SET_MAKE="MAKE=${MAKE-make}"
1831 rm -rf .tst 2>/dev/null
1832 mkdir .tst 2>/dev/null
1833 if test -d .tst; then
1834 am__leading_dot=.
1835 else
1836 am__leading_dot=_
1838 rmdir .tst 2>/dev/null
1840 # test to see if srcdir already configured
1841 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1842 test -f $srcdir/config.status; then
1843 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1844 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # test whether we have cygpath
1849 if test -z "$CYGPATH_W"; then
1850 if (cygpath --version) >/dev/null 2>/dev/null; then
1851 CYGPATH_W='cygpath -w'
1852 else
1853 CYGPATH_W=echo
1858 # Define the identity of the package.
1859 PACKAGE='libstdc++'
1860 VERSION='version-unused'
1863 # Some tools Automake needs.
1865 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1871 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1877 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1879 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1881 # Installed binaries are usually stripped using `strip' when the user
1882 # run `make install-strip'. However `strip' might not be the right
1883 # tool to use in cross-compilation environments, therefore Automake
1884 # will honor the `STRIP' environment variable to overrule this program.
1885 if test "$cross_compiling" != no; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}strip; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_STRIP+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 if test -n "$STRIP"; then
1895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1896 else
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 for as_dir in $PATH
1900 IFS=$as_save_IFS
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 break 2
1908 done
1909 done
1913 STRIP=$ac_cv_prog_STRIP
1914 if test -n "$STRIP"; then
1915 echo "$as_me:$LINENO: result: $STRIP" >&5
1916 echo "${ECHO_T}$STRIP" >&6
1917 else
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_STRIP"; then
1924 ac_ct_STRIP=$STRIP
1925 # Extract the first word of "strip", so it can be a program name with args.
1926 set dummy strip; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932 if test -n "$ac_ct_STRIP"; then
1933 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1938 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_STRIP="strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1946 done
1947 done
1949 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1952 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1953 if test -n "$ac_ct_STRIP"; then
1954 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1955 echo "${ECHO_T}$ac_ct_STRIP" >&6
1956 else
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1961 STRIP=$ac_ct_STRIP
1962 else
1963 STRIP="$ac_cv_prog_STRIP"
1967 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1969 # We need awk for the "check" target. The system "awk" is bad on
1970 # some platforms.
1971 # Always define AMTAR for backward compatibility.
1973 AMTAR=${AMTAR-"${am_missing_run}tar"}
1975 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1986 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1987 # up critical shell variables.
1989 # Keep these sync'd with the list in Makefile.am. The first provides an
1990 # expandable list at autoconf time; the second provides an expandable list
1991 # (i.e., shell variable) at configure time.
1993 SUBDIRS='include libmath libsupc++ src po testsuite'
1995 # These need to be absolute paths, yet at the same time need to
1996 # canonicalize only relative paths, because then amd will not unmount
1997 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1998 glibcxx_builddir=`${PWDCMD-pwd}`
1999 case $srcdir in
2000 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2001 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2002 esac
2003 toplevel_srcdir=${glibcxx_srcdir}/..
2008 # We use these options to decide which functions to include. They are
2009 # set from the top level.
2011 # Check whether --with-target-subdir or --without-target-subdir was given.
2012 if test "${with_target_subdir+set}" = set; then
2013 withval="$with_target_subdir"
2018 # Check whether --with-cross-host or --without-cross-host was given.
2019 if test "${with_cross_host+set}" = set; then
2020 withval="$with_cross_host"
2025 # Check whether --with-newlib or --without-newlib was given.
2026 if test "${with_newlib+set}" = set; then
2027 withval="$with_newlib"
2031 # We're almost certainly being configured before anything else which uses
2032 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2033 # we not cache the value of CXX that we "discover" here, because it's set
2034 # to something unique for us and libjava. Other target libraries need to
2035 # find CXX for themselves. We yank the rug out from under the normal AC_*
2036 # process by sneakily renaming the cache variable. This also lets us debug
2037 # the value of "our" CXX in postmortems.
2039 # We must also force CXX to /not/ be a precious variable, otherwise the
2040 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2041 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2042 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2043 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2045 # -fno-builtin must be present here so that a non-conflicting form of
2046 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2051 save_CXXFLAGS="$CXXFLAGS"
2052 CXXFLAGS="$CXXFLAGS -fno-builtin"
2053 ac_ext=c
2054 ac_cpp='$CPP $CPPFLAGS'
2055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2058 if test -n "$ac_tool_prefix"; then
2059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 else
2066 if test -n "$CC"; then
2067 ac_cv_prog_CC="$CC" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2080 done
2081 done
2085 CC=$ac_cv_prog_CC
2086 if test -n "$CC"; then
2087 echo "$as_me:$LINENO: result: $CC" >&5
2088 echo "${ECHO_T}$CC" >&6
2089 else
2090 echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2095 if test -z "$ac_cv_prog_CC"; then
2096 ac_ct_CC=$CC
2097 # Extract the first word of "gcc", so it can be a program name with args.
2098 set dummy gcc; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104 if test -n "$ac_ct_CC"; then
2105 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_ac_ct_CC="gcc"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2118 done
2119 done
2123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2124 if test -n "$ac_ct_CC"; then
2125 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2126 echo "${ECHO_T}$ac_ct_CC" >&6
2127 else
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2132 CC=$ac_ct_CC
2133 else
2134 CC="$ac_cv_prog_CC"
2137 if test -z "$CC"; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}cc; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_CC+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146 if test -n "$CC"; then
2147 ac_cv_prog_CC="$CC" # Let the user override the test.
2148 else
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2152 IFS=$as_save_IFS
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156 ac_cv_prog_CC="${ac_tool_prefix}cc"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 break 2
2160 done
2161 done
2165 CC=$ac_cv_prog_CC
2166 if test -n "$CC"; then
2167 echo "$as_me:$LINENO: result: $CC" >&5
2168 echo "${ECHO_T}$CC" >&6
2169 else
2170 echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6
2175 if test -z "$ac_cv_prog_CC"; then
2176 ac_ct_CC=$CC
2177 # Extract the first word of "cc", so it can be a program name with args.
2178 set dummy cc; ac_word=$2
2179 echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184 if test -n "$ac_ct_CC"; then
2185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2186 else
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 for as_dir in $PATH
2190 IFS=$as_save_IFS
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2194 ac_cv_prog_ac_ct_CC="cc"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 break 2
2198 done
2199 done
2203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204 if test -n "$ac_ct_CC"; then
2205 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2206 echo "${ECHO_T}$ac_ct_CC" >&6
2207 else
2208 echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6
2212 CC=$ac_ct_CC
2213 else
2214 CC="$ac_cv_prog_CC"
2218 if test -z "$CC"; then
2219 # Extract the first word of "cc", so it can be a program name with args.
2220 set dummy cc; ac_word=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 else
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC="$CC" # Let the user override the test.
2228 else
2229 ac_prog_rejected=no
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 for as_dir in $PATH
2233 IFS=$as_save_IFS
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2238 ac_prog_rejected=yes
2239 continue
2241 ac_cv_prog_CC="cc"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2248 if test $ac_prog_rejected = yes; then
2249 # We found a bogon in the path, so make sure we never use it.
2250 set dummy $ac_cv_prog_CC
2251 shift
2252 if test $# != 0; then
2253 # We chose a different compiler from the bogus one.
2254 # However, it has the same basename, so the bogon will be chosen
2255 # first if we set CC to just the basename; use the full file name.
2256 shift
2257 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2262 CC=$ac_cv_prog_CC
2263 if test -n "$CC"; then
2264 echo "$as_me:$LINENO: result: $CC" >&5
2265 echo "${ECHO_T}$CC" >&6
2266 else
2267 echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6
2272 if test -z "$CC"; then
2273 if test -n "$ac_tool_prefix"; then
2274 for ac_prog in cl
2276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2278 echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2280 if test "${ac_cv_prog_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 else
2283 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test.
2285 else
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2289 IFS=$as_save_IFS
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 break 2
2297 done
2298 done
2302 CC=$ac_cv_prog_CC
2303 if test -n "$CC"; then
2304 echo "$as_me:$LINENO: result: $CC" >&5
2305 echo "${ECHO_T}$CC" >&6
2306 else
2307 echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6
2311 test -n "$CC" && break
2312 done
2314 if test -z "$CC"; then
2315 ac_ct_CC=$CC
2316 for ac_prog in cl
2318 # Extract the first word of "$ac_prog", so it can be a program name with args.
2319 set dummy $ac_prog; ac_word=$2
2320 echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 else
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_ac_ct_CC="$ac_prog"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2339 done
2340 done
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2347 echo "${ECHO_T}$ac_ct_CC" >&6
2348 else
2349 echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6
2353 test -n "$ac_ct_CC" && break
2354 done
2356 CC=$ac_ct_CC
2362 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&2;}
2366 { (exit 1); exit 1; }; }
2368 # Provide some information about the compiler.
2369 echo "$as_me:$LINENO:" \
2370 "checking for C compiler version" >&5
2371 ac_compiler=`set X $ac_compile; echo $2`
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2373 (eval $ac_compiler --version </dev/null >&5) 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2378 (eval $ac_compiler -v </dev/null >&5) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }
2382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2383 (eval $ac_compiler -V </dev/null >&5) 2>&5
2384 ac_status=$?
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2388 cat >conftest.$ac_ext <<_ACEOF
2389 /* confdefs.h. */
2390 _ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2396 main ()
2400 return 0;
2402 _ACEOF
2403 # FIXME: Cleanup?
2404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2405 (eval $ac_link) 2>&5
2406 ac_status=$?
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; then
2409 gcc_no_link=no
2410 else
2411 gcc_no_link=yes
2414 if test x$gcc_no_link = xyes; then
2415 # Setting cross_compile will disable run tests; it will
2416 # also disable AC_CHECK_FILE but that's generally
2417 # correct if we can't link.
2418 cross_compiling=yes
2419 EXEEXT=
2420 else
2421 cat >conftest.$ac_ext <<_ACEOF
2422 /* confdefs.h. */
2423 _ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2429 main ()
2433 return 0;
2435 _ACEOF
2436 ac_clean_files_save=$ac_clean_files
2437 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2438 # Try to create an executable without -o first, disregard a.out.
2439 # It will help us diagnose broken compilers, and finding out an intuition
2440 # of exeext.
2441 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2442 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2443 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2445 (eval $ac_link_default) 2>&5
2446 ac_status=$?
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 # Find the output, starting from the most likely. This scheme is
2450 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2451 # resort.
2453 # Be careful to initialize this variable, since it used to be cached.
2454 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2455 ac_cv_exeext=
2456 # b.out is created by i960 compilers.
2457 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2459 test -f "$ac_file" || continue
2460 case $ac_file in
2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2463 conftest.$ac_ext )
2464 # This is the source file.
2466 [ab].out )
2467 # We found the default executable, but exeext='' is most
2468 # certainly right.
2469 break;;
2470 *.* )
2471 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2472 # FIXME: I believe we export ac_cv_exeext for Libtool,
2473 # but it would be cool to find out if it's true. Does anybody
2474 # maintain Libtool? --akim.
2475 export ac_cv_exeext
2476 break;;
2478 break;;
2479 esac
2480 done
2481 else
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&2;}
2489 { (exit 77); exit 77; }; }
2492 ac_exeext=$ac_cv_exeext
2493 echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6
2496 # Check the compiler produces executables we can run. If not, either
2497 # the compiler is broken, or we cross compile.
2498 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2499 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2500 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2501 # If not cross compiling, check that we can run a simple program.
2502 if test "$cross_compiling" != yes; then
2503 if { ac_try='./$ac_file'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 (eval $ac_try) 2>&5
2506 ac_status=$?
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2509 cross_compiling=no
2510 else
2511 if test "$cross_compiling" = maybe; then
2512 cross_compiling=yes
2513 else
2514 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2515 If you meant to cross compile, use \`--host'.
2516 See \`config.log' for more details." >&5
2517 echo "$as_me: error: cannot run C compiled programs.
2518 If you meant to cross compile, use \`--host'.
2519 See \`config.log' for more details." >&2;}
2520 { (exit 1); exit 1; }; }
2524 echo "$as_me:$LINENO: result: yes" >&5
2525 echo "${ECHO_T}yes" >&6
2527 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2528 ac_clean_files=$ac_clean_files_save
2529 # Check the compiler produces executables we can run. If not, either
2530 # the compiler is broken, or we cross compile.
2531 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2532 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2533 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2534 echo "${ECHO_T}$cross_compiling" >&6
2536 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2537 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2539 (eval $ac_link) 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 export ac_cv_exeext
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2573 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 cat >conftest.$ac_ext <<_ACEOF
2579 /* confdefs.h. */
2580 _ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2586 main ()
2590 return 0;
2592 _ACEOF
2593 rm -f conftest.o conftest.obj
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>&5
2596 ac_status=$?
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; then
2599 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2600 case $ac_file in
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2603 break;;
2604 esac
2605 done
2606 else
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details." >&5
2612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&2;}
2614 { (exit 1); exit 1; }; }
2617 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2619 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2620 echo "${ECHO_T}$ac_cv_objext" >&6
2621 OBJEXT=$ac_cv_objext
2622 ac_objext=$OBJEXT
2623 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2624 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2625 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 else
2628 cat >conftest.$ac_ext <<_ACEOF
2629 /* confdefs.h. */
2630 _ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2636 main ()
2638 #ifndef __GNUC__
2639 choke me
2640 #endif
2643 return 0;
2645 _ACEOF
2646 rm -f conftest.$ac_objext
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>conftest.er1
2649 ac_status=$?
2650 grep -v '^ *+' conftest.er1 >conftest.err
2651 rm -f conftest.er1
2652 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } &&
2655 { ac_try='test -z "$ac_c_werror_flag"
2656 || test ! -s conftest.err'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 (eval $ac_try) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; } &&
2662 { ac_try='test -s conftest.$ac_objext'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 (eval $ac_try) 2>&5
2665 ac_status=$?
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 CFLAGS="-g"
2685 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 cat >conftest.$ac_ext <<_ACEOF
2691 /* confdefs.h. */
2692 _ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2698 main ()
2702 return 0;
2704 _ACEOF
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>conftest.er1
2708 ac_status=$?
2709 grep -v '^ *+' conftest.er1 >conftest.err
2710 rm -f conftest.er1
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } &&
2714 { ac_try='test -z "$ac_c_werror_flag"
2715 || test ! -s conftest.err'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 (eval $ac_try) 2>&5
2718 ac_status=$?
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; } &&
2721 { ac_try='test -s conftest.$ac_objext'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 (eval $ac_try) 2>&5
2724 ac_status=$?
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2727 ac_cv_prog_cc_g=yes
2728 else
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 ac_cv_prog_cc_g=no
2734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2737 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2738 if test "$ac_test_CFLAGS" = set; then
2739 CFLAGS=$ac_save_CFLAGS
2740 elif test $ac_cv_prog_cc_g = yes; then
2741 if test "$GCC" = yes; then
2742 CFLAGS="-g -O2"
2743 else
2744 CFLAGS="-g"
2746 else
2747 if test "$GCC" = yes; then
2748 CFLAGS="-O2"
2749 else
2750 CFLAGS=
2753 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2755 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 else
2758 ac_cv_prog_cc_stdc=no
2759 ac_save_CC=$CC
2760 cat >conftest.$ac_ext <<_ACEOF
2761 /* confdefs.h. */
2762 _ACEOF
2763 cat confdefs.h >>conftest.$ac_ext
2764 cat >>conftest.$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2766 #include <stdarg.h>
2767 #include <stdio.h>
2768 #include <sys/types.h>
2769 #include <sys/stat.h>
2770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2771 struct buf { int x; };
2772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2773 static char *e (p, i)
2774 char **p;
2775 int i;
2777 return p[i];
2779 static char *f (char * (*g) (char **, int), char **p, ...)
2781 char *s;
2782 va_list v;
2783 va_start (v,p);
2784 s = g (p, va_arg (v,int));
2785 va_end (v);
2786 return s;
2789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2790 function prototypes and stuff, but not '\xHH' hex character constants.
2791 These don't provoke an error unfortunately, instead are silently treated
2792 as 'x'. The following induces an error, until -std1 is added to get
2793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2794 array size at least. It's necessary to write '\x00'==0 to get something
2795 that's true only with -std1. */
2796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2798 int test (int i, double x);
2799 struct s1 {int (*f) (int a);};
2800 struct s2 {int (*f) (double a);};
2801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2802 int argc;
2803 char **argv;
2805 main ()
2807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2809 return 0;
2811 _ACEOF
2812 # Don't try gcc -ansi; that turns off useful extensions and
2813 # breaks some systems' header files.
2814 # AIX -qlanglvl=ansi
2815 # Ultrix and OSF/1 -std1
2816 # HP-UX 10.20 and later -Ae
2817 # HP-UX older versions -Aa -D_HPUX_SOURCE
2818 # SVR4 -Xc -D__EXTENSIONS__
2819 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2821 CC="$ac_save_CC $ac_arg"
2822 rm -f conftest.$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>conftest.er1
2825 ac_status=$?
2826 grep -v '^ *+' conftest.er1 >conftest.err
2827 rm -f conftest.er1
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -z "$ac_c_werror_flag"
2832 || test ! -s conftest.err'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 (eval $ac_try) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; } &&
2838 { ac_try='test -s conftest.$ac_objext'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 (eval $ac_try) 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; }; then
2844 ac_cv_prog_cc_stdc=$ac_arg
2845 break
2846 else
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2851 rm -f conftest.err conftest.$ac_objext
2852 done
2853 rm -f conftest.$ac_ext conftest.$ac_objext
2854 CC=$ac_save_CC
2858 case "x$ac_cv_prog_cc_stdc" in
2859 x|xno)
2860 echo "$as_me:$LINENO: result: none needed" >&5
2861 echo "${ECHO_T}none needed" >&6 ;;
2863 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2864 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2865 CC="$CC $ac_cv_prog_cc_stdc" ;;
2866 esac
2868 # Some people use a C++ compiler to compile C. Since we use `exit',
2869 # in C++ we need to declare it. In case someone uses the same compiler
2870 # for both compiling C and C++ we need to have the C++ compiler decide
2871 # the declaration of exit, since it's the most demanding environment.
2872 cat >conftest.$ac_ext <<_ACEOF
2873 #ifndef __cplusplus
2874 choke me
2875 #endif
2876 _ACEOF
2877 rm -f conftest.$ac_objext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2879 (eval $ac_compile) 2>conftest.er1
2880 ac_status=$?
2881 grep -v '^ *+' conftest.er1 >conftest.err
2882 rm -f conftest.er1
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try='test -z "$ac_c_werror_flag"
2887 || test ! -s conftest.err'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 (eval $ac_try) 2>&5
2890 ac_status=$?
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; } &&
2893 { ac_try='test -s conftest.$ac_objext'
2894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 (eval $ac_try) 2>&5
2896 ac_status=$?
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2899 for ac_declaration in \
2900 '' \
2901 'extern "C" void std::exit (int) throw (); using std::exit;' \
2902 'extern "C" void std::exit (int); using std::exit;' \
2903 'extern "C" void exit (int) throw ();' \
2904 'extern "C" void exit (int);' \
2905 'void exit (int);'
2907 cat >conftest.$ac_ext <<_ACEOF
2908 /* confdefs.h. */
2909 _ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2913 $ac_declaration
2914 #include <stdlib.h>
2916 main ()
2918 exit (42);
2920 return 0;
2922 _ACEOF
2923 rm -f conftest.$ac_objext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 (eval $ac_compile) 2>conftest.er1
2926 ac_status=$?
2927 grep -v '^ *+' conftest.er1 >conftest.err
2928 rm -f conftest.er1
2929 cat conftest.err >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try='test -z "$ac_c_werror_flag"
2933 || test ! -s conftest.err'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 (eval $ac_try) 2>&5
2936 ac_status=$?
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; } &&
2939 { ac_try='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 (eval $ac_try) 2>&5
2942 ac_status=$?
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 continue
2952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2959 $ac_declaration
2961 main ()
2963 exit (42);
2965 return 0;
2967 _ACEOF
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2971 ac_status=$?
2972 grep -v '^ *+' conftest.er1 >conftest.err
2973 rm -f conftest.er1
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -z "$ac_c_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 (eval $ac_try) 2>&5
2981 ac_status=$?
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 (eval $ac_try) 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 break
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2997 done
2998 rm -f conftest*
2999 if test -n "$ac_declaration"; then
3000 echo '#ifdef __cplusplus' >>confdefs.h
3001 echo $ac_declaration >>confdefs.h
3002 echo '#endif' >>confdefs.h
3005 else
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3011 ac_ext=c
3012 ac_cpp='$CPP $CPPFLAGS'
3013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3017 ac_ext=cc
3018 ac_cpp='$CXXCPP $CPPFLAGS'
3019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3022 if test -n "$ac_tool_prefix"; then
3023 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 else
3032 if test -n "$CXX"; then
3033 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3046 done
3047 done
3051 CXX=$glibcxx_cv_prog_CXX
3052 if test -n "$CXX"; then
3053 echo "$as_me:$LINENO: result: $CXX" >&5
3054 echo "${ECHO_T}$CXX" >&6
3055 else
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3060 test -n "$CXX" && break
3061 done
3063 if test -z "$CXX"; then
3064 ac_ct_CXX=$CXX
3065 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3067 # Extract the first word of "$ac_prog", so it can be a program name with args.
3068 set dummy $ac_prog; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074 if test -n "$ac_ct_CXX"; then
3075 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_CXX="$ac_prog"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 break 2
3088 done
3089 done
3093 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3094 if test -n "$ac_ct_CXX"; then
3095 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3096 echo "${ECHO_T}$ac_ct_CXX" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3102 test -n "$ac_ct_CXX" && break
3103 done
3104 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3106 CXX=$ac_ct_CXX
3110 # Provide some information about the compiler.
3111 echo "$as_me:$LINENO:" \
3112 "checking for C++ compiler version" >&5
3113 ac_compiler=`set X $ac_compile; echo $2`
3114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3115 (eval $ac_compiler --version </dev/null >&5) 2>&5
3116 ac_status=$?
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }
3119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3120 (eval $ac_compiler -v </dev/null >&5) 2>&5
3121 ac_status=$?
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }
3124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3125 (eval $ac_compiler -V </dev/null >&5) 2>&5
3126 ac_status=$?
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }
3130 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3131 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3132 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 else
3135 cat >conftest.$ac_ext <<_ACEOF
3136 /* confdefs.h. */
3137 _ACEOF
3138 cat confdefs.h >>conftest.$ac_ext
3139 cat >>conftest.$ac_ext <<_ACEOF
3140 /* end confdefs.h. */
3143 main ()
3145 #ifndef __GNUC__
3146 choke me
3147 #endif
3150 return 0;
3152 _ACEOF
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -z "$ac_cxx_werror_flag"
3163 || test ! -s conftest.err'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3165 (eval $ac_try) 2>&5
3166 ac_status=$?
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 (eval $ac_try) 2>&5
3172 ac_status=$?
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 ac_compiler_gnu=yes
3176 else
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 ac_compiler_gnu=no
3182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3186 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3187 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3188 GXX=`test $ac_compiler_gnu = yes && echo yes`
3189 ac_test_CXXFLAGS=${CXXFLAGS+set}
3190 ac_save_CXXFLAGS=$CXXFLAGS
3191 CXXFLAGS="-g"
3192 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3193 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3194 if test "${ac_cv_prog_cxx_g+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 else
3197 cat >conftest.$ac_ext <<_ACEOF
3198 /* confdefs.h. */
3199 _ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3205 main ()
3209 return 0;
3211 _ACEOF
3212 rm -f conftest.$ac_objext
3213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 (eval $ac_compile) 2>conftest.er1
3215 ac_status=$?
3216 grep -v '^ *+' conftest.er1 >conftest.err
3217 rm -f conftest.er1
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try='test -z "$ac_cxx_werror_flag"
3222 || test ! -s conftest.err'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 (eval $ac_try) 2>&5
3225 ac_status=$?
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; } &&
3228 { ac_try='test -s conftest.$ac_objext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 (eval $ac_try) 2>&5
3231 ac_status=$?
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3234 ac_cv_prog_cxx_g=yes
3235 else
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3239 ac_cv_prog_cxx_g=no
3241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3243 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3245 if test "$ac_test_CXXFLAGS" = set; then
3246 CXXFLAGS=$ac_save_CXXFLAGS
3247 elif test $ac_cv_prog_cxx_g = yes; then
3248 if test "$GXX" = yes; then
3249 CXXFLAGS="-g -O2"
3250 else
3251 CXXFLAGS="-g"
3253 else
3254 if test "$GXX" = yes; then
3255 CXXFLAGS="-O2"
3256 else
3257 CXXFLAGS=
3260 for ac_declaration in \
3261 '' \
3262 'extern "C" void std::exit (int) throw (); using std::exit;' \
3263 'extern "C" void std::exit (int); using std::exit;' \
3264 'extern "C" void exit (int) throw ();' \
3265 'extern "C" void exit (int);' \
3266 'void exit (int);'
3268 cat >conftest.$ac_ext <<_ACEOF
3269 /* confdefs.h. */
3270 _ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3274 $ac_declaration
3275 #include <stdlib.h>
3277 main ()
3279 exit (42);
3281 return 0;
3283 _ACEOF
3284 rm -f conftest.$ac_objext
3285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286 (eval $ac_compile) 2>conftest.er1
3287 ac_status=$?
3288 grep -v '^ *+' conftest.er1 >conftest.err
3289 rm -f conftest.er1
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } &&
3293 { ac_try='test -z "$ac_cxx_werror_flag"
3294 || test ! -s conftest.err'
3295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3296 (eval $ac_try) 2>&5
3297 ac_status=$?
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302 (eval $ac_try) 2>&5
3303 ac_status=$?
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; }; then
3307 else
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3311 continue
3313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3314 cat >conftest.$ac_ext <<_ACEOF
3315 /* confdefs.h. */
3316 _ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3320 $ac_declaration
3322 main ()
3324 exit (42);
3326 return 0;
3328 _ACEOF
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag"
3339 || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 (eval $ac_try) 2>&5
3342 ac_status=$?
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 (eval $ac_try) 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 break
3352 else
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3358 done
3359 rm -f conftest*
3360 if test -n "$ac_declaration"; then
3361 echo '#ifdef __cplusplus' >>confdefs.h
3362 echo $ac_declaration >>confdefs.h
3363 echo '#endif' >>confdefs.h
3366 ac_ext=c
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3372 CXXFLAGS="$save_CXXFLAGS"
3377 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3378 # available). Uncomment the next line to force a particular method.
3379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3381 LN_S=$as_ln_s
3382 if test "$LN_S" = "ln -s"; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3385 else
3386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3387 echo "${ECHO_T}no, using $LN_S" >&6
3390 #LN_S='cp -p'
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3394 set dummy ${ac_tool_prefix}as; ac_word=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_AS+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 else
3400 if test -n "$AS"; then
3401 ac_cv_prog_AS="$AS" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_AS="${ac_tool_prefix}as"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3414 done
3415 done
3419 AS=$ac_cv_prog_AS
3420 if test -n "$AS"; then
3421 echo "$as_me:$LINENO: result: $AS" >&5
3422 echo "${ECHO_T}$AS" >&6
3423 else
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3429 if test -z "$ac_cv_prog_AS"; then
3430 ac_ct_AS=$AS
3431 # Extract the first word of "as", so it can be a program name with args.
3432 set dummy as; ac_word=$2
3433 echo "$as_me:$LINENO: checking for $ac_word" >&5
3434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3435 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 else
3438 if test -n "$ac_ct_AS"; then
3439 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_ac_ct_AS="as"
3449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 break 2
3452 done
3453 done
3457 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3458 if test -n "$ac_ct_AS"; then
3459 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3460 echo "${ECHO_T}$ac_ct_AS" >&6
3461 else
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3466 AS=$ac_ct_AS
3467 else
3468 AS="$ac_cv_prog_AS"
3471 if test -n "$ac_tool_prefix"; then
3472 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3473 set dummy ${ac_tool_prefix}ar; ac_word=$2
3474 echo "$as_me:$LINENO: checking for $ac_word" >&5
3475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3476 if test "${ac_cv_prog_AR+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 else
3479 if test -n "$AR"; then
3480 ac_cv_prog_AR="$AR" # Let the user override the test.
3481 else
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3485 IFS=$as_save_IFS
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489 ac_cv_prog_AR="${ac_tool_prefix}ar"
3490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 break 2
3493 done
3494 done
3498 AR=$ac_cv_prog_AR
3499 if test -n "$AR"; then
3500 echo "$as_me:$LINENO: result: $AR" >&5
3501 echo "${ECHO_T}$AR" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3508 if test -z "$ac_cv_prog_AR"; then
3509 ac_ct_AR=$AR
3510 # Extract the first word of "ar", so it can be a program name with args.
3511 set dummy ar; ac_word=$2
3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 else
3517 if test -n "$ac_ct_AR"; then
3518 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3523 IFS=$as_save_IFS
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_ac_ct_AR="ar"
3528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 break 2
3531 done
3532 done
3536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3537 if test -n "$ac_ct_AR"; then
3538 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3539 echo "${ECHO_T}$ac_ct_AR" >&6
3540 else
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3545 AR=$ac_ct_AR
3546 else
3547 AR="$ac_cv_prog_AR"
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3552 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3553 echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 if test "${ac_cv_prog_RANLIB+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 else
3558 if test -n "$RANLIB"; then
3559 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3572 done
3573 done
3577 RANLIB=$ac_cv_prog_RANLIB
3578 if test -n "$RANLIB"; then
3579 echo "$as_me:$LINENO: result: $RANLIB" >&5
3580 echo "${ECHO_T}$RANLIB" >&6
3581 else
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3587 if test -z "$ac_cv_prog_RANLIB"; then
3588 ac_ct_RANLIB=$RANLIB
3589 # Extract the first word of "ranlib", so it can be a program name with args.
3590 set dummy ranlib; ac_word=$2
3591 echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3593 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 if test -n "$ac_ct_RANLIB"; then
3597 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 ac_cv_prog_ac_ct_RANLIB="ranlib"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 break 2
3610 done
3611 done
3613 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3616 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3617 if test -n "$ac_ct_RANLIB"; then
3618 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3619 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3620 else
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3625 RANLIB=$ac_ct_RANLIB
3626 else
3627 RANLIB="$ac_cv_prog_RANLIB"
3631 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3632 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3633 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3634 if test "${enable_maintainer_mode+set}" = set; then
3635 enableval="$enable_maintainer_mode"
3636 USE_MAINTAINER_MODE=$enableval
3637 else
3638 USE_MAINTAINER_MODE=no
3640 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3641 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3644 if test $USE_MAINTAINER_MODE = yes; then
3645 MAINTAINER_MODE_TRUE=
3646 MAINTAINER_MODE_FALSE='#'
3647 else
3648 MAINTAINER_MODE_TRUE='#'
3649 MAINTAINER_MODE_FALSE=
3652 MAINT=$MAINTAINER_MODE_TRUE
3656 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3657 # which are themselves conditionally expanded.
3658 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3659 ## other macros from doing the same. This should be automated.) -pme
3660 need_libmath=no
3662 # Find platform-specific directories containing configuration info.
3663 # Also possibly modify flags used elsewhere, as needed by the platform.
3665 . $glibcxx_srcdir/configure.host
3666 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3667 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3668 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3669 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3674 # Check whether --enable-shared or --disable-shared was given.
3675 if test "${enable_shared+set}" = set; then
3676 enableval="$enable_shared"
3677 p=${PACKAGE-default}
3678 case $enableval in
3679 yes) enable_shared=yes ;;
3680 no) enable_shared=no ;;
3682 enable_shared=no
3683 # Look at the argument we got. We use all the common list separators.
3684 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3685 for pkg in $enableval; do
3686 if test "X$pkg" = "X$p"; then
3687 enable_shared=yes
3689 done
3690 IFS="$ac_save_ifs"
3692 esac
3693 else
3694 enable_shared=yes
3696 # Check whether --enable-static or --disable-static was given.
3697 if test "${enable_static+set}" = set; then
3698 enableval="$enable_static"
3699 p=${PACKAGE-default}
3700 case $enableval in
3701 yes) enable_static=yes ;;
3702 no) enable_static=no ;;
3704 enable_static=no
3705 # Look at the argument we got. We use all the common list separators.
3706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3707 for pkg in $enableval; do
3708 if test "X$pkg" = "X$p"; then
3709 enable_static=yes
3711 done
3712 IFS="$ac_save_ifs"
3714 esac
3715 else
3716 enable_static=yes
3718 # Check whether --enable-fast-install or --disable-fast-install was given.
3719 if test "${enable_fast_install+set}" = set; then
3720 enableval="$enable_fast_install"
3721 p=${PACKAGE-default}
3722 case $enableval in
3723 yes) enable_fast_install=yes ;;
3724 no) enable_fast_install=no ;;
3726 enable_fast_install=no
3727 # Look at the argument we got. We use all the common list separators.
3728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3729 for pkg in $enableval; do
3730 if test "X$pkg" = "X$p"; then
3731 enable_fast_install=yes
3733 done
3734 IFS="$ac_save_ifs"
3736 esac
3737 else
3738 enable_fast_install=yes
3741 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3742 if test "${with_gnu_ld+set}" = set; then
3743 withval="$with_gnu_ld"
3744 test "$withval" = no || with_gnu_ld=yes
3745 else
3746 with_gnu_ld=no
3748 ac_prog=ld
3749 if test "$GCC" = yes; then
3750 # Check if gcc -print-prog-name=ld gives a path.
3751 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3752 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3753 case $host in
3754 *-*-mingw*)
3755 # gcc leaves a trailing carriage return which upsets mingw
3756 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3758 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3759 esac
3760 case $ac_prog in
3761 # Accept absolute paths.
3762 [\\/]* | [A-Za-z]:[\\/]*)
3763 re_direlt='/[^/][^/]*/\.\./'
3764 # Canonicalize the path of ld
3765 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3766 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3767 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3768 done
3769 test -z "$LD" && LD="$ac_prog"
3772 # If it fails, then pretend we aren't using GCC.
3773 ac_prog=ld
3776 # If it is relative, then search for the first ld in PATH.
3777 with_gnu_ld=unknown
3779 esac
3780 elif test "$with_gnu_ld" = yes; then
3781 echo "$as_me:$LINENO: checking for GNU ld" >&5
3782 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3783 else
3784 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3785 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3787 if test "${lt_cv_path_LD+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3789 else
3790 if test -z "$LD"; then
3791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3792 for ac_dir in $PATH; do
3793 test -z "$ac_dir" && ac_dir=.
3794 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3795 lt_cv_path_LD="$ac_dir/$ac_prog"
3796 # Check to see if the program is GNU ld. I'd rather use --version,
3797 # but apparently some GNU ld's only accept -v.
3798 # Break only if it was the GNU/non-GNU ld that we prefer.
3799 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3800 test "$with_gnu_ld" != no && break
3801 else
3802 test "$with_gnu_ld" != yes && break
3805 done
3806 IFS="$ac_save_ifs"
3807 else
3808 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3812 LD="$lt_cv_path_LD"
3813 if test -n "$LD"; then
3814 echo "$as_me:$LINENO: result: $LD" >&5
3815 echo "${ECHO_T}$LD" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3820 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3821 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3822 { (exit 1); exit 1; }; }
3823 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3824 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3825 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3829 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3830 lt_cv_prog_gnu_ld=yes
3831 else
3832 lt_cv_prog_gnu_ld=no
3835 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3836 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3837 with_gnu_ld=$lt_cv_prog_gnu_ld
3840 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3841 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3842 if test "${lt_cv_ld_reload_flag+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 else
3845 lt_cv_ld_reload_flag='-r'
3847 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3848 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3849 reload_flag=$lt_cv_ld_reload_flag
3850 test -n "$reload_flag" && reload_flag=" $reload_flag"
3852 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3853 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3854 if test "${lt_cv_path_NM+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 else
3857 if test -n "$NM"; then
3858 # Let the user override the test.
3859 lt_cv_path_NM="$NM"
3860 else
3861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3862 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3863 test -z "$ac_dir" && ac_dir=.
3864 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3865 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3866 # Check to see if the nm accepts a BSD-compat flag.
3867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3868 # nm: unknown option "B" ignored
3869 # Tru64's nm complains that /dev/null is an invalid object file
3870 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3871 lt_cv_path_NM="$tmp_nm -B"
3872 break
3873 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3874 lt_cv_path_NM="$tmp_nm -p"
3875 break
3876 else
3877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3878 continue # so that we can try to find one that supports BSD flags
3881 done
3882 IFS="$ac_save_ifs"
3883 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3887 NM="$lt_cv_path_NM"
3888 echo "$as_me:$LINENO: result: $NM" >&5
3889 echo "${ECHO_T}$NM" >&6
3891 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3892 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3893 if test "${lt_cv_deplibs_check_method+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 else
3896 lt_cv_file_magic_cmd='$MAGIC_CMD'
3897 lt_cv_file_magic_test_file=
3898 lt_cv_deplibs_check_method='unknown'
3899 # Need to set the preceding variable on all platforms that support
3900 # interlibrary dependencies.
3901 # 'none' -- dependencies not supported.
3902 # `unknown' -- same as none, but documents that we really don't know.
3903 # 'pass_all' -- all dependencies passed with no checks.
3904 # 'test_compile' -- check by making test program.
3905 # 'file_magic [regex]' -- check by looking for files in library path
3906 # which responds to the $file_magic_cmd with a given egrep regex.
3907 # If you have `file' or equivalent on your system and you're not sure
3908 # whether `pass_all' will *always* work, you probably want this one.
3910 case $host_os in
3911 aix*)
3912 lt_cv_deplibs_check_method=pass_all
3915 beos*)
3916 lt_cv_deplibs_check_method=pass_all
3919 bsdi4*)
3920 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3921 lt_cv_file_magic_cmd='/usr/bin/file -L'
3922 lt_cv_file_magic_test_file=/shlib/libc.so
3925 cygwin* | mingw* |pw32*)
3926 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3927 lt_cv_file_magic_cmd='$OBJDUMP -f'
3930 darwin* | rhapsody*)
3931 # this will be overwritten by pass_all, but leave it in just in case
3932 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3933 lt_cv_file_magic_cmd='/usr/bin/file -L'
3934 case "$host_os" in
3935 rhapsody* | darwin1.012)
3936 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3938 *) # Darwin 1.3 on
3939 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3941 esac
3942 lt_cv_deplibs_check_method=pass_all
3945 freebsd* | kfreebsd*-gnu)
3946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3947 case $host_cpu in
3948 i*86 )
3949 # Not sure whether the presence of OpenBSD here was a mistake.
3950 # Let's accept both of them until this is cleared up.
3951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3952 lt_cv_file_magic_cmd=/usr/bin/file
3953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3955 esac
3956 else
3957 lt_cv_deplibs_check_method=pass_all
3961 gnu*)
3962 lt_cv_deplibs_check_method=pass_all
3965 hpux10.20*|hpux11*)
3966 case $host_cpu in
3967 hppa*)
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3972 ia64*)
3973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3974 lt_cv_file_magic_cmd=/usr/bin/file
3975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3977 esac
3980 irix5* | irix6*)
3981 case $host_os in
3982 irix5*)
3983 # this will be overridden with pass_all, but let us keep it just in case
3984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3987 case $LD in
3988 *-32|*"-32 ") libmagic=32-bit;;
3989 *-n32|*"-n32 ") libmagic=N32;;
3990 *-64|*"-64 ") libmagic=64-bit;;
3991 *) libmagic=never-match;;
3992 esac
3993 # this will be overridden with pass_all, but let us keep it just in case
3994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3996 esac
3997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3998 lt_cv_deplibs_check_method=pass_all
4001 # This must be Linux ELF.
4002 linux-gnu*)
4003 lt_cv_deplibs_check_method=pass_all
4006 netbsd* | knetbsd*-gnu)
4007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4008 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4009 else
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4014 newsos6)
4015 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4016 lt_cv_file_magic_cmd=/usr/bin/file
4017 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4020 osf3* | osf4* | osf5*)
4021 # this will be overridden with pass_all, but let us keep it just in case
4022 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4023 lt_cv_file_magic_test_file=/shlib/libc.so
4024 lt_cv_deplibs_check_method=pass_all
4027 sco3.2v5*)
4028 lt_cv_deplibs_check_method=pass_all
4031 solaris*)
4032 lt_cv_deplibs_check_method=pass_all
4033 lt_cv_file_magic_test_file=/lib/libc.so
4036 sysv5uw[78]* | sysv4*uw2*)
4037 lt_cv_deplibs_check_method=pass_all
4040 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4041 case $host_vendor in
4042 ncr)
4043 lt_cv_deplibs_check_method=pass_all
4045 motorola)
4046 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]'
4047 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4049 esac
4051 esac
4054 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4055 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4056 file_magic_cmd=$lt_cv_file_magic_cmd
4057 deplibs_check_method=$lt_cv_deplibs_check_method
4063 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4065 # find the maximum length of command line arguments
4066 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4067 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4068 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 else
4072 teststring="ABCD"
4074 case $build_os in
4075 msdosdjgpp*)
4076 # On DJGPP, this test can blow up pretty badly due to problems in libc
4077 # (any single argument exceeding 2000 bytes causes a buffer overrun
4078 # during glob expansion). Even if it were fixed, the result of this
4079 # check would be larger than it should be.
4080 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4083 cygwin* | mingw*)
4084 # On Win9x/ME, this test blows up -- it succeeds, but takes
4085 # about 5 minutes as the teststring grows exponentially.
4086 # Worse, since 9x/ME are not pre-emptively multitasking,
4087 # you end up with a "frozen" computer, even though with patience
4088 # the test eventually succeeds (with a max line length of 256k).
4089 # Instead, let's just punt: use the minimum linelength reported by
4090 # all of the supported platforms: 8192 (on NT/2K/XP).
4091 lt_cv_sys_max_cmd_len=8192;
4094 amigaos*)
4095 # On AmigaOS with pdksh, this test takes hours, literally.
4096 # So we just punt and use a minimum line length of 8192.
4097 lt_cv_sys_max_cmd_len=8192;
4100 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4101 # This has been around since 386BSD, at least. Likely further.
4102 if test -x /sbin/sysctl; then
4103 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4104 elif test -x /usr/sbin/sysctl; then
4105 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4106 else
4107 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4109 # And add a safety zone
4110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4111 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4113 esac
4117 if test -n "$lt_cv_sys_max_cmd_len" ; then
4118 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4119 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4120 else
4121 echo "$as_me:$LINENO: result: none" >&5
4122 echo "${ECHO_T}none" >&6
4126 # Only perform the check for file, if the check method requires it
4127 case $deplibs_check_method in
4128 file_magic*)
4129 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4130 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4131 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4132 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 else
4135 case $MAGIC_CMD in
4137 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4139 ?:/*)
4140 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4143 ac_save_MAGIC_CMD="$MAGIC_CMD"
4144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4145 ac_dummy="/usr/bin:$PATH"
4146 for ac_dir in $ac_dummy; do
4147 test -z "$ac_dir" && ac_dir=.
4148 if test -f $ac_dir/${ac_tool_prefix}file; then
4149 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4150 if test -n "$file_magic_test_file"; then
4151 case $deplibs_check_method in
4152 "file_magic "*)
4153 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4154 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4155 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4156 egrep "$file_magic_regex" > /dev/null; then
4158 else
4159 cat <<EOF 1>&2
4161 *** Warning: the command libtool uses to detect shared libraries,
4162 *** $file_magic_cmd, produces output that libtool cannot recognize.
4163 *** The result is that libtool may fail to recognize shared libraries
4164 *** as such. This will affect the creation of libtool libraries that
4165 *** depend on shared libraries, but programs linked with such libtool
4166 *** libraries will work regardless of this problem. Nevertheless, you
4167 *** may want to report the problem to your system manager and/or to
4168 *** bug-libtool@gnu.org
4171 fi ;;
4172 esac
4174 break
4176 done
4177 IFS="$ac_save_ifs"
4178 MAGIC_CMD="$ac_save_MAGIC_CMD"
4180 esac
4183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4184 if test -n "$MAGIC_CMD"; then
4185 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4186 echo "${ECHO_T}$MAGIC_CMD" >&6
4187 else
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4192 if test -z "$lt_cv_path_MAGIC_CMD"; then
4193 if test -n "$ac_tool_prefix"; then
4194 echo "$as_me:$LINENO: checking for file" >&5
4195 echo $ECHO_N "checking for file... $ECHO_C" >&6
4196 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4199 case $MAGIC_CMD in
4201 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4203 ?:/*)
4204 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4207 ac_save_MAGIC_CMD="$MAGIC_CMD"
4208 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4209 ac_dummy="/usr/bin:$PATH"
4210 for ac_dir in $ac_dummy; do
4211 test -z "$ac_dir" && ac_dir=.
4212 if test -f $ac_dir/file; then
4213 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4214 if test -n "$file_magic_test_file"; then
4215 case $deplibs_check_method in
4216 "file_magic "*)
4217 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4218 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4219 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4220 egrep "$file_magic_regex" > /dev/null; then
4222 else
4223 cat <<EOF 1>&2
4225 *** Warning: the command libtool uses to detect shared libraries,
4226 *** $file_magic_cmd, produces output that libtool cannot recognize.
4227 *** The result is that libtool may fail to recognize shared libraries
4228 *** as such. This will affect the creation of libtool libraries that
4229 *** depend on shared libraries, but programs linked with such libtool
4230 *** libraries will work regardless of this problem. Nevertheless, you
4231 *** may want to report the problem to your system manager and/or to
4232 *** bug-libtool@gnu.org
4235 fi ;;
4236 esac
4238 break
4240 done
4241 IFS="$ac_save_ifs"
4242 MAGIC_CMD="$ac_save_MAGIC_CMD"
4244 esac
4247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4248 if test -n "$MAGIC_CMD"; then
4249 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4250 echo "${ECHO_T}$MAGIC_CMD" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4256 else
4257 MAGIC_CMD=:
4263 esac
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4267 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_prog_RANLIB+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 else
4273 if test -n "$RANLIB"; then
4274 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4275 else
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 for as_dir in $PATH
4279 IFS=$as_save_IFS
4280 test -z "$as_dir" && as_dir=.
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 break 2
4287 done
4288 done
4292 RANLIB=$ac_cv_prog_RANLIB
4293 if test -n "$RANLIB"; then
4294 echo "$as_me:$LINENO: result: $RANLIB" >&5
4295 echo "${ECHO_T}$RANLIB" >&6
4296 else
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4302 if test -z "$ac_cv_prog_RANLIB"; then
4303 ac_ct_RANLIB=$RANLIB
4304 # Extract the first word of "ranlib", so it can be a program name with args.
4305 set dummy ranlib; ac_word=$2
4306 echo "$as_me:$LINENO: checking for $ac_word" >&5
4307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4308 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 else
4311 if test -n "$ac_ct_RANLIB"; then
4312 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4313 else
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4317 IFS=$as_save_IFS
4318 test -z "$as_dir" && as_dir=.
4319 for ac_exec_ext in '' $ac_executable_extensions; do
4320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4321 ac_cv_prog_ac_ct_RANLIB="ranlib"
4322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 break 2
4325 done
4326 done
4328 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4331 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4332 if test -n "$ac_ct_RANLIB"; then
4333 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4334 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4335 else
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4340 RANLIB=$ac_ct_RANLIB
4341 else
4342 RANLIB="$ac_cv_prog_RANLIB"
4345 if test -n "$ac_tool_prefix"; then
4346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4347 set dummy ${ac_tool_prefix}strip; ac_word=$2
4348 echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4350 if test "${ac_cv_prog_STRIP+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 else
4353 if test -n "$STRIP"; then
4354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4355 else
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH
4359 IFS=$as_save_IFS
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 break 2
4367 done
4368 done
4372 STRIP=$ac_cv_prog_STRIP
4373 if test -n "$STRIP"; then
4374 echo "$as_me:$LINENO: result: $STRIP" >&5
4375 echo "${ECHO_T}$STRIP" >&6
4376 else
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4382 if test -z "$ac_cv_prog_STRIP"; then
4383 ac_ct_STRIP=$STRIP
4384 # Extract the first word of "strip", so it can be a program name with args.
4385 set dummy strip; ac_word=$2
4386 echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 else
4391 if test -n "$ac_ct_STRIP"; then
4392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_ac_ct_STRIP="strip"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4405 done
4406 done
4408 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4412 if test -n "$ac_ct_STRIP"; then
4413 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4414 echo "${ECHO_T}$ac_ct_STRIP" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4420 STRIP=$ac_ct_STRIP
4421 else
4422 STRIP="$ac_cv_prog_STRIP"
4426 # Check for any special flags to pass to ltconfig.
4427 libtool_flags="--cache-file=$cache_file"
4428 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4429 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4430 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4431 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4432 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4435 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4436 if test "${enable_libtool_lock+set}" = set; then
4437 enableval="$enable_libtool_lock"
4440 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4441 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4444 # Check whether --with-pic or --without-pic was given.
4445 if test "${with_pic+set}" = set; then
4446 withval="$with_pic"
4447 pic_mode="$withval"
4448 else
4449 pic_mode=default
4451 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4452 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4454 # Some flags need to be propagated to the compiler or linker for good
4455 # libtool support.
4456 case $host in
4457 *-*-irix6*)
4458 # Find out which ABI we are using.
4459 echo '#line 4459 "configure"' > conftest.$ac_ext
4460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4461 (eval $ac_compile) 2>&5
4462 ac_status=$?
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; then
4465 if test "$lt_cv_prog_gnu_ld" = yes; then
4466 case `/usr/bin/file conftest.$ac_objext` in
4467 *32-bit*)
4468 LD="${LD-ld} -melf32bsmip"
4470 *N32*)
4471 LD="${LD-ld} -melf32bmipn32"
4473 *64-bit*)
4474 LD="${LD-ld} -melf64bmip"
4476 esac
4477 else
4478 case `/usr/bin/file conftest.$ac_objext` in
4479 *32-bit*)
4480 LD="${LD-ld} -32"
4482 *N32*)
4483 LD="${LD-ld} -n32"
4485 *64-bit*)
4486 LD="${LD-ld} -64"
4488 esac
4491 rm -rf conftest*
4494 ia64-*-hpux*)
4495 # Find out which ABI we are using.
4496 echo 'int i;' > conftest.$ac_ext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4498 (eval $ac_compile) 2>&5
4499 ac_status=$?
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; then
4502 case "`/usr/bin/file conftest.o`" in
4503 *ELF-32*)
4504 HPUX_IA64_MODE="32"
4506 *ELF-64*)
4507 HPUX_IA64_MODE="64"
4509 esac
4511 rm -rf conftest*
4514 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4515 # Find out which ABI we are using.
4516 echo 'int i;' > conftest.$ac_ext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>&5
4519 ac_status=$?
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; then
4522 case "`/usr/bin/file conftest.o`" in
4523 *32-bit*)
4524 case $host in
4525 x86_64-*linux*)
4526 LD="${LD-ld} -m elf_i386"
4528 ppc64-*linux*|powerpc64-*linux*)
4529 LD="${LD-ld} -m elf32ppclinux"
4531 s390x-*linux*)
4532 LD="${LD-ld} -m elf_s390"
4534 sparc64-*linux*)
4535 LD="${LD-ld} -m elf32_sparc"
4537 esac
4539 *64-bit*)
4540 case $host in
4541 x86_64-*linux*)
4542 LD="${LD-ld} -m elf_x86_64"
4544 ppc*-*linux*|powerpc*-*linux*)
4545 LD="${LD-ld} -m elf64ppc"
4547 s390*-*linux*)
4548 LD="${LD-ld} -m elf64_s390"
4550 sparc*-*linux*)
4551 LD="${LD-ld} -m elf64_sparc"
4553 esac
4555 esac
4557 rm -rf conftest*
4560 *-*-sco3.2v5*)
4561 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4562 SAVE_CFLAGS="$CFLAGS"
4563 CFLAGS="$CFLAGS -belf"
4564 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4565 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4566 if test "${lt_cv_cc_needs_belf+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 else
4571 ac_ext=c
4572 ac_cpp='$CPP $CPPFLAGS'
4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4577 if test x$gcc_no_link = xyes; then
4578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4580 { (exit 1); exit 1; }; }
4582 cat >conftest.$ac_ext <<_ACEOF
4583 /* confdefs.h. */
4584 _ACEOF
4585 cat confdefs.h >>conftest.$ac_ext
4586 cat >>conftest.$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4590 main ()
4594 return 0;
4596 _ACEOF
4597 rm -f conftest.$ac_objext conftest$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>conftest.er1
4600 ac_status=$?
4601 grep -v '^ *+' conftest.er1 >conftest.err
4602 rm -f conftest.er1
4603 cat conftest.err >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try='test -z "$ac_c_werror_flag"
4607 || test ! -s conftest.err'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 (eval $ac_try) 2>&5
4610 ac_status=$?
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; } &&
4613 { ac_try='test -s conftest$ac_exeext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 (eval $ac_try) 2>&5
4616 ac_status=$?
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4619 lt_cv_cc_needs_belf=yes
4620 else
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.$ac_ext >&5
4624 lt_cv_cc_needs_belf=no
4626 rm -f conftest.err conftest.$ac_objext \
4627 conftest$ac_exeext conftest.$ac_ext
4628 ac_ext=c
4629 ac_cpp='$CPP $CPPFLAGS'
4630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4636 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4637 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4638 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4639 CFLAGS="$SAVE_CFLAGS"
4644 esac
4647 # Save cache, so that ltconfig can load it
4648 cat >confcache <<\_ACEOF
4649 # This file is a shell script that caches the results of configure
4650 # tests run on this system so they can be shared between configure
4651 # scripts and configure runs, see configure's option --config-cache.
4652 # It is not useful on other systems. If it contains results you don't
4653 # want to keep, you may remove or edit it.
4655 # config.status only pays attention to the cache file if you give it
4656 # the --recheck option to rerun configure.
4658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4660 # following values.
4662 _ACEOF
4664 # The following way of writing the cache mishandles newlines in values,
4665 # but we know of no workaround that is simple, portable, and efficient.
4666 # So, don't put newlines in cache variables' values.
4667 # Ultrix sh set writes to stderr and can't be redirected directly,
4668 # and sets the high bit in the cache file unless we assign to the vars.
4670 (set) 2>&1 |
4671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4672 *ac_space=\ *)
4673 # `set' does not quote correctly, so add quotes (double-quote
4674 # substitution turns \\\\ into \\, and sed turns \\ into \).
4675 sed -n \
4676 "s/'/'\\\\''/g;
4677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4680 # `set' quotes correctly as required by POSIX, so do not add quotes.
4681 sed -n \
4682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4684 esac;
4686 sed '
4687 t clear
4688 : clear
4689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4690 t end
4691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4692 : end' >>confcache
4693 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4694 if test -w $cache_file; then
4695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4696 cat confcache >$cache_file
4697 else
4698 echo "not updating unwritable cache $cache_file"
4701 rm -f confcache
4703 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4704 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4705 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4706 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4707 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4708 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4709 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4710 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4711 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4712 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4713 echo "$as_me: error: libtool configure failed" >&2;}
4714 { (exit 1); exit 1; }; }
4716 # Reload cache, that may have been modified by ltconfig
4717 if test -r "$cache_file"; then
4718 # Some versions of bash will fail to source /dev/null (special
4719 # files actually), so we avoid doing that.
4720 if test -f "$cache_file"; then
4721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4722 echo "$as_me: loading cache $cache_file" >&6;}
4723 case $cache_file in
4724 [\\/]* | ?:[\\/]* ) . $cache_file;;
4725 *) . ./$cache_file;;
4726 esac
4728 else
4729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4730 echo "$as_me: creating cache $cache_file" >&6;}
4731 >$cache_file
4735 # This can be used to rebuild libtool when needed
4736 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4738 # Always use our own libtool.
4739 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4741 # Redirect the config.log output again, so that the ltconfig log is not
4742 # clobbered by the next message.
4743 exec 5>>./config.log
4745 ac_ext=cc
4746 ac_cpp='$CXXCPP $CPPFLAGS'
4747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4750 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4751 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4752 if test -z "$CXXCPP"; then
4753 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 else
4756 # Double quotes because CXXCPP needs to be expanded
4757 for CXXCPP in "$CXX -E" "/lib/cpp"
4759 ac_preproc_ok=false
4760 for ac_cxx_preproc_warn_flag in '' yes
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat >conftest.$ac_ext <<_ACEOF
4769 /* confdefs.h. */
4770 _ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 #ifdef __STDC__
4775 # include <limits.h>
4776 #else
4777 # include <assert.h>
4778 #endif
4779 Syntax error
4780 _ACEOF
4781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4783 ac_status=$?
4784 grep -v '^ *+' conftest.er1 >conftest.err
4785 rm -f conftest.er1
4786 cat conftest.err >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); } >/dev/null; then
4789 if test -s conftest.err; then
4790 ac_cpp_err=$ac_cxx_preproc_warn_flag
4791 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4792 else
4793 ac_cpp_err=
4795 else
4796 ac_cpp_err=yes
4798 if test -z "$ac_cpp_err"; then
4800 else
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.$ac_ext >&5
4804 # Broken: fails on valid input.
4805 continue
4807 rm -f conftest.err conftest.$ac_ext
4809 # OK, works on sane cases. Now check whether non-existent headers
4810 # can be detected and how.
4811 cat >conftest.$ac_ext <<_ACEOF
4812 /* confdefs.h. */
4813 _ACEOF
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4817 #include <ac_nonexistent.h>
4818 _ACEOF
4819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4821 ac_status=$?
4822 grep -v '^ *+' conftest.er1 >conftest.err
4823 rm -f conftest.er1
4824 cat conftest.err >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } >/dev/null; then
4827 if test -s conftest.err; then
4828 ac_cpp_err=$ac_cxx_preproc_warn_flag
4829 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4830 else
4831 ac_cpp_err=
4833 else
4834 ac_cpp_err=yes
4836 if test -z "$ac_cpp_err"; then
4837 # Broken: success on invalid input.
4838 continue
4839 else
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 # Passes both tests.
4844 ac_preproc_ok=:
4845 break
4847 rm -f conftest.err conftest.$ac_ext
4849 done
4850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4851 rm -f conftest.err conftest.$ac_ext
4852 if $ac_preproc_ok; then
4853 break
4856 done
4857 ac_cv_prog_CXXCPP=$CXXCPP
4860 CXXCPP=$ac_cv_prog_CXXCPP
4861 else
4862 ac_cv_prog_CXXCPP=$CXXCPP
4864 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4865 echo "${ECHO_T}$CXXCPP" >&6
4866 ac_preproc_ok=false
4867 for ac_cxx_preproc_warn_flag in '' yes
4869 # Use a header file that comes with gcc, so configuring glibc
4870 # with a fresh cross-compiler works.
4871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 # <limits.h> exists even on freestanding compilers.
4873 # On the NeXT, cc -E runs the code through the compiler's parser,
4874 # not just through cpp. "Syntax error" is here to catch this case.
4875 cat >conftest.$ac_ext <<_ACEOF
4876 /* confdefs.h. */
4877 _ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4881 #ifdef __STDC__
4882 # include <limits.h>
4883 #else
4884 # include <assert.h>
4885 #endif
4886 Syntax error
4887 _ACEOF
4888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4890 ac_status=$?
4891 grep -v '^ *+' conftest.er1 >conftest.err
4892 rm -f conftest.er1
4893 cat conftest.err >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } >/dev/null; then
4896 if test -s conftest.err; then
4897 ac_cpp_err=$ac_cxx_preproc_warn_flag
4898 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4899 else
4900 ac_cpp_err=
4902 else
4903 ac_cpp_err=yes
4905 if test -z "$ac_cpp_err"; then
4907 else
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 # Broken: fails on valid input.
4912 continue
4914 rm -f conftest.err conftest.$ac_ext
4916 # OK, works on sane cases. Now check whether non-existent headers
4917 # can be detected and how.
4918 cat >conftest.$ac_ext <<_ACEOF
4919 /* confdefs.h. */
4920 _ACEOF
4921 cat confdefs.h >>conftest.$ac_ext
4922 cat >>conftest.$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4924 #include <ac_nonexistent.h>
4925 _ACEOF
4926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4928 ac_status=$?
4929 grep -v '^ *+' conftest.er1 >conftest.err
4930 rm -f conftest.er1
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } >/dev/null; then
4934 if test -s conftest.err; then
4935 ac_cpp_err=$ac_cxx_preproc_warn_flag
4936 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4937 else
4938 ac_cpp_err=
4940 else
4941 ac_cpp_err=yes
4943 if test -z "$ac_cpp_err"; then
4944 # Broken: success on invalid input.
4945 continue
4946 else
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.$ac_ext >&5
4950 # Passes both tests.
4951 ac_preproc_ok=:
4952 break
4954 rm -f conftest.err conftest.$ac_ext
4956 done
4957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4958 rm -f conftest.err conftest.$ac_ext
4959 if $ac_preproc_ok; then
4961 else
4962 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4963 See \`config.log' for more details." >&5
4964 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&2;}
4966 { (exit 1); exit 1; }; }
4969 ac_ext=c
4970 ac_cpp='$CPP $CPPFLAGS'
4971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4977 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4978 lt_save_CC="$CC"
4979 lt_save_CFLAGS="$CFLAGS"
4980 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4981 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4982 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4983 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4984 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4985 deplibs_check_method="$deplibs_check_method" \
4986 file_magic_cmd="$file_magic_cmd" \
4987 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4988 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4989 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4990 echo "$as_me: error: libtool tag configuration failed" >&2;}
4991 { (exit 1); exit 1; }; }
4992 CC="$lt_save_CC"
4993 CFLAGS="$lt_save_CFLAGS"
4995 # Redirect the config.log output again, so that the ltconfig log is not
4996 # clobbered by the next message.
4997 exec 5>>./config.log
5007 # Possibly disable most of the library.
5008 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5009 ## than just ignoring the results. Faster /and/ more correct, win win.
5011 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5012 if test "${enable_hosted_libstdcxx+set}" = set; then
5013 enableval="$enable_hosted_libstdcxx"
5015 else
5016 case "$host" in
5017 arm*-*-symbianelf*)
5018 enable_hosted_libstdcxx=no
5021 enable_hosted_libstdcxx=yes
5023 esac
5025 if test "$enable_hosted_libstdcxx" = no; then
5026 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5027 echo "$as_me: Only freestanding libraries will be built" >&6;}
5028 is_hosted=no
5029 hosted_define=0
5030 enable_abi_check=no
5031 enable_libstdcxx_pch=no
5032 else
5033 is_hosted=yes
5034 hosted_define=1
5038 cat >>confdefs.h <<_ACEOF
5039 #define _GLIBCXX_HOSTED $hosted_define
5040 _ACEOF
5044 # Check for compiler support that doesn't require linking.
5046 echo "$as_me:$LINENO: checking for exception model to use" >&5
5047 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5050 ac_ext=cc
5051 ac_cpp='$CXXCPP $CPPFLAGS'
5052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5056 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5057 if test "${enable_sjlj_exceptions+set}" = set; then
5058 enableval="$enable_sjlj_exceptions"
5060 case "$enableval" in
5061 yes|no|auto) ;;
5062 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5063 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5064 { (exit 1); exit 1; }; } ;;
5065 esac
5067 else
5068 enable_sjlj_exceptions=auto
5072 if test $enable_sjlj_exceptions = auto; then
5073 # Botheration. Now we've got to detect the exception model. Link tests
5074 # against libgcc.a are problematic since we've not been given proper -L
5075 # bits for single-tree newlib and libgloss.
5077 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5078 cat > conftest.$ac_ext << EOF
5079 #line 5079 "configure"
5080 struct S { ~S(); };
5081 void bar();
5082 void foo()
5084 S s;
5085 bar();
5088 old_CXXFLAGS="$CXXFLAGS"
5089 CXXFLAGS=-S
5090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>&5
5092 ac_status=$?
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; then
5095 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5096 enable_sjlj_exceptions=yes
5097 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5098 enable_sjlj_exceptions=no
5099 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5100 enable_sjlj_exceptions=no
5103 CXXFLAGS="$old_CXXFLAGS"
5104 rm -f conftest*
5107 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5108 # to two different models.
5109 case $enable_sjlj_exceptions in
5110 yes)
5112 cat >>confdefs.h <<\_ACEOF
5113 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5114 _ACEOF
5116 ac_exception_model_name=sjlj
5119 ac_exception_model_name="call frame"
5122 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5123 echo "$as_me: error: unable to detect exception model" >&2;}
5124 { (exit 1); exit 1; }; }
5126 esac
5127 ac_ext=c
5128 ac_cpp='$CPP $CPPFLAGS'
5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5134 echo "${ECHO_T}$ac_exception_model_name" >&6
5137 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5138 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5139 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141 enableval="$enable_libstdcxx_pch"
5143 case "$enableval" in
5144 yes|no) ;;
5145 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147 { (exit 1); exit 1; }; } ;;
5148 esac
5150 else
5151 enable_libstdcxx_pch=$is_hosted
5154 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5155 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5157 if test $enable_libstdcxx_pch = yes; then
5158 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5159 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5160 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 else
5163 ac_save_CXXFLAGS="$CXXFLAGS"
5164 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5167 ac_ext=cc
5168 ac_cpp='$CXXCPP $CPPFLAGS'
5169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5173 echo '#include <math.h>' > conftest.h
5174 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5175 -o conftest.h.gch 1>&5 2>&1 &&
5176 echo '#error "pch failed"' > conftest.h &&
5177 echo '#include "conftest.h"' > conftest.cc &&
5178 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5179 then
5180 glibcxx_cv_prog_CXX_pch=yes
5181 else
5182 glibcxx_cv_prog_CXX_pch=no
5184 rm -f conftest*
5185 CXXFLAGS=$ac_save_CXXFLAGS
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5194 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5195 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5196 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5200 if test $enable_libstdcxx_pch = yes; then
5201 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5202 else
5203 glibcxx_PCHFLAGS=""
5208 # Enable all the variable C++ runtime options.
5210 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5211 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5212 # Check whether --enable-cstdio or --disable-cstdio was given.
5213 if test "${enable_cstdio+set}" = set; then
5214 enableval="$enable_cstdio"
5216 case "$enableval" in
5217 stdio) ;;
5218 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5219 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5220 { (exit 1); exit 1; }; } ;;
5221 esac
5223 else
5224 enable_cstdio=stdio
5228 # Now that libio has been removed, you can have any color you want as long
5229 # as it's black. This is one big no-op until other packages are added, but
5230 # showing the framework never hurts.
5231 case ${enable_cstdio} in
5232 stdio)
5233 CSTDIO_H=config/io/c_io_stdio.h
5234 BASIC_FILE_H=config/io/basic_file_stdio.h
5235 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5236 echo "$as_me:$LINENO: result: stdio" >&5
5237 echo "${ECHO_T}stdio" >&6
5239 esac
5245 ac_ext=c
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5250 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5251 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5252 # On Suns, sometimes $CPP names a directory.
5253 if test -n "$CPP" && test -d "$CPP"; then
5254 CPP=
5256 if test -z "$CPP"; then
5257 if test "${ac_cv_prog_CPP+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 else
5260 # Double quotes because CPP needs to be expanded
5261 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5263 ac_preproc_ok=false
5264 for ac_c_preproc_warn_flag in '' yes
5266 # Use a header file that comes with gcc, so configuring glibc
5267 # with a fresh cross-compiler works.
5268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5269 # <limits.h> exists even on freestanding compilers.
5270 # On the NeXT, cc -E runs the code through the compiler's parser,
5271 # not just through cpp. "Syntax error" is here to catch this case.
5272 cat >conftest.$ac_ext <<_ACEOF
5273 /* confdefs.h. */
5274 _ACEOF
5275 cat confdefs.h >>conftest.$ac_ext
5276 cat >>conftest.$ac_ext <<_ACEOF
5277 /* end confdefs.h. */
5278 #ifdef __STDC__
5279 # include <limits.h>
5280 #else
5281 # include <assert.h>
5282 #endif
5283 Syntax error
5284 _ACEOF
5285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5287 ac_status=$?
5288 grep -v '^ *+' conftest.er1 >conftest.err
5289 rm -f conftest.er1
5290 cat conftest.err >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } >/dev/null; then
5293 if test -s conftest.err; then
5294 ac_cpp_err=$ac_c_preproc_warn_flag
5295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5296 else
5297 ac_cpp_err=
5299 else
5300 ac_cpp_err=yes
5302 if test -z "$ac_cpp_err"; then
5304 else
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5308 # Broken: fails on valid input.
5309 continue
5311 rm -f conftest.err conftest.$ac_ext
5313 # OK, works on sane cases. Now check whether non-existent headers
5314 # can be detected and how.
5315 cat >conftest.$ac_ext <<_ACEOF
5316 /* confdefs.h. */
5317 _ACEOF
5318 cat confdefs.h >>conftest.$ac_ext
5319 cat >>conftest.$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 #include <ac_nonexistent.h>
5322 _ACEOF
5323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5325 ac_status=$?
5326 grep -v '^ *+' conftest.er1 >conftest.err
5327 rm -f conftest.er1
5328 cat conftest.err >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } >/dev/null; then
5331 if test -s conftest.err; then
5332 ac_cpp_err=$ac_c_preproc_warn_flag
5333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5334 else
5335 ac_cpp_err=
5337 else
5338 ac_cpp_err=yes
5340 if test -z "$ac_cpp_err"; then
5341 # Broken: success on invalid input.
5342 continue
5343 else
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.$ac_ext >&5
5347 # Passes both tests.
5348 ac_preproc_ok=:
5349 break
5351 rm -f conftest.err conftest.$ac_ext
5353 done
5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355 rm -f conftest.err conftest.$ac_ext
5356 if $ac_preproc_ok; then
5357 break
5360 done
5361 ac_cv_prog_CPP=$CPP
5364 CPP=$ac_cv_prog_CPP
5365 else
5366 ac_cv_prog_CPP=$CPP
5368 echo "$as_me:$LINENO: result: $CPP" >&5
5369 echo "${ECHO_T}$CPP" >&6
5370 ac_preproc_ok=false
5371 for ac_c_preproc_warn_flag in '' yes
5373 # Use a header file that comes with gcc, so configuring glibc
5374 # with a fresh cross-compiler works.
5375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5376 # <limits.h> exists even on freestanding compilers.
5377 # On the NeXT, cc -E runs the code through the compiler's parser,
5378 # not just through cpp. "Syntax error" is here to catch this case.
5379 cat >conftest.$ac_ext <<_ACEOF
5380 /* confdefs.h. */
5381 _ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 #ifdef __STDC__
5386 # include <limits.h>
5387 #else
5388 # include <assert.h>
5389 #endif
5390 Syntax error
5391 _ACEOF
5392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5394 ac_status=$?
5395 grep -v '^ *+' conftest.er1 >conftest.err
5396 rm -f conftest.er1
5397 cat conftest.err >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } >/dev/null; then
5400 if test -s conftest.err; then
5401 ac_cpp_err=$ac_c_preproc_warn_flag
5402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5403 else
5404 ac_cpp_err=
5406 else
5407 ac_cpp_err=yes
5409 if test -z "$ac_cpp_err"; then
5411 else
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5415 # Broken: fails on valid input.
5416 continue
5418 rm -f conftest.err conftest.$ac_ext
5420 # OK, works on sane cases. Now check whether non-existent headers
5421 # can be detected and how.
5422 cat >conftest.$ac_ext <<_ACEOF
5423 /* confdefs.h. */
5424 _ACEOF
5425 cat confdefs.h >>conftest.$ac_ext
5426 cat >>conftest.$ac_ext <<_ACEOF
5427 /* end confdefs.h. */
5428 #include <ac_nonexistent.h>
5429 _ACEOF
5430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5432 ac_status=$?
5433 grep -v '^ *+' conftest.er1 >conftest.err
5434 rm -f conftest.er1
5435 cat conftest.err >&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } >/dev/null; then
5438 if test -s conftest.err; then
5439 ac_cpp_err=$ac_c_preproc_warn_flag
5440 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5441 else
5442 ac_cpp_err=
5444 else
5445 ac_cpp_err=yes
5447 if test -z "$ac_cpp_err"; then
5448 # Broken: success on invalid input.
5449 continue
5450 else
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.$ac_ext >&5
5454 # Passes both tests.
5455 ac_preproc_ok=:
5456 break
5458 rm -f conftest.err conftest.$ac_ext
5460 done
5461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5462 rm -f conftest.err conftest.$ac_ext
5463 if $ac_preproc_ok; then
5465 else
5466 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5467 See \`config.log' for more details." >&5
5468 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&2;}
5470 { (exit 1); exit 1; }; }
5473 ac_ext=c
5474 ac_cpp='$CPP $CPPFLAGS'
5475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480 echo "$as_me:$LINENO: checking for egrep" >&5
5481 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5482 if test "${ac_cv_prog_egrep+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 else
5485 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5486 then ac_cv_prog_egrep='grep -E'
5487 else ac_cv_prog_egrep='egrep'
5490 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5491 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5492 EGREP=$ac_cv_prog_egrep
5495 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5497 if test "${ac_cv_header_stdc+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h. */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 #include <stdlib.h>
5507 #include <stdarg.h>
5508 #include <string.h>
5509 #include <float.h>
5512 main ()
5516 return 0;
5518 _ACEOF
5519 rm -f conftest.$ac_objext
5520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5521 (eval $ac_compile) 2>conftest.er1
5522 ac_status=$?
5523 grep -v '^ *+' conftest.er1 >conftest.err
5524 rm -f conftest.er1
5525 cat conftest.err >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 { ac_try='test -z "$ac_c_werror_flag"
5529 || test ! -s conftest.err'
5530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531 (eval $ac_try) 2>&5
5532 ac_status=$?
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; } &&
5535 { ac_try='test -s conftest.$ac_objext'
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5537 (eval $ac_try) 2>&5
5538 ac_status=$?
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; }; then
5541 ac_cv_header_stdc=yes
5542 else
5543 echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.$ac_ext >&5
5546 ac_cv_header_stdc=no
5548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5550 if test $ac_cv_header_stdc = yes; then
5551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5552 cat >conftest.$ac_ext <<_ACEOF
5553 /* confdefs.h. */
5554 _ACEOF
5555 cat confdefs.h >>conftest.$ac_ext
5556 cat >>conftest.$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5558 #include <string.h>
5560 _ACEOF
5561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5562 $EGREP "memchr" >/dev/null 2>&1; then
5564 else
5565 ac_cv_header_stdc=no
5567 rm -f conftest*
5571 if test $ac_cv_header_stdc = yes; then
5572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5573 cat >conftest.$ac_ext <<_ACEOF
5574 /* confdefs.h. */
5575 _ACEOF
5576 cat confdefs.h >>conftest.$ac_ext
5577 cat >>conftest.$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 #include <stdlib.h>
5581 _ACEOF
5582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5583 $EGREP "free" >/dev/null 2>&1; then
5585 else
5586 ac_cv_header_stdc=no
5588 rm -f conftest*
5592 if test $ac_cv_header_stdc = yes; then
5593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5594 if test "$cross_compiling" = yes; then
5596 else
5597 cat >conftest.$ac_ext <<_ACEOF
5598 /* confdefs.h. */
5599 _ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 #include <ctype.h>
5604 #if ((' ' & 0x0FF) == 0x020)
5605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5607 #else
5608 # define ISLOWER(c) \
5609 (('a' <= (c) && (c) <= 'i') \
5610 || ('j' <= (c) && (c) <= 'r') \
5611 || ('s' <= (c) && (c) <= 'z'))
5612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5613 #endif
5615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5617 main ()
5619 int i;
5620 for (i = 0; i < 256; i++)
5621 if (XOR (islower (i), ISLOWER (i))
5622 || toupper (i) != TOUPPER (i))
5623 exit(2);
5624 exit (0);
5626 _ACEOF
5627 rm -f conftest$ac_exeext
5628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5629 (eval $ac_link) 2>&5
5630 ac_status=$?
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 (eval $ac_try) 2>&5
5635 ac_status=$?
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5639 else
5640 echo "$as_me: program exited with status $ac_status" >&5
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.$ac_ext >&5
5644 ( exit $ac_status )
5645 ac_cv_header_stdc=no
5647 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5651 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5652 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5653 if test $ac_cv_header_stdc = yes; then
5655 cat >>confdefs.h <<\_ACEOF
5656 #define STDC_HEADERS 1
5657 _ACEOF
5661 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5671 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5672 inttypes.h stdint.h unistd.h
5674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5675 echo "$as_me:$LINENO: checking for $ac_header" >&5
5676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 else
5680 cat >conftest.$ac_ext <<_ACEOF
5681 /* confdefs.h. */
5682 _ACEOF
5683 cat confdefs.h >>conftest.$ac_ext
5684 cat >>conftest.$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5686 $ac_includes_default
5688 #include <$ac_header>
5689 _ACEOF
5690 rm -f conftest.$ac_objext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>conftest.er1
5693 ac_status=$?
5694 grep -v '^ *+' conftest.er1 >conftest.err
5695 rm -f conftest.er1
5696 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_c_werror_flag"
5700 || test ! -s conftest.err'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702 (eval $ac_try) 2>&5
5703 ac_status=$?
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; } &&
5706 { ac_try='test -s conftest.$ac_objext'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 (eval $ac_try) 2>&5
5709 ac_status=$?
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; }; then
5712 eval "$as_ac_Header=yes"
5713 else
5714 echo "$as_me: failed program was:" >&5
5715 sed 's/^/| /' conftest.$ac_ext >&5
5717 eval "$as_ac_Header=no"
5719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5724 cat >>confdefs.h <<_ACEOF
5725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5726 _ACEOF
5730 done
5734 echo "$as_me:$LINENO: checking for C locale to use" >&5
5735 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5736 # Check whether --enable-clocale or --disable-clocale was given.
5737 if test "${enable_clocale+set}" = set; then
5738 enableval="$enable_clocale"
5740 case "$enableval" in
5741 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5742 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5743 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5744 { (exit 1); exit 1; }; } ;;
5745 esac
5747 else
5748 enable_clocale=auto
5752 # If they didn't use this option switch, or if they specified --enable
5753 # with no specific model, we'll have to look for one. If they
5754 # specified --disable (???), do likewise.
5755 if test $enable_clocale = no || test $enable_clocale = yes; then
5756 enable_clocale=auto
5759 # Either a known package, or "auto"
5760 enable_clocale_flag=$enable_clocale
5762 # Probe for locale support if no specific model is specified.
5763 # Default to "generic".
5764 if test $enable_clocale_flag = auto; then
5765 case ${target_os} in
5766 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5767 cat >conftest.$ac_ext <<_ACEOF
5768 /* confdefs.h. */
5769 _ACEOF
5770 cat confdefs.h >>conftest.$ac_ext
5771 cat >>conftest.$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5774 #include <features.h>
5775 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5776 _GLIBCXX_ok
5777 #endif
5779 _ACEOF
5780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5781 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5782 enable_clocale_flag=gnu
5783 else
5784 enable_clocale_flag=generic
5786 rm -f conftest*
5789 # Test for bugs early in glibc-2.2.x series
5790 if test $enable_clocale_flag = gnu; then
5791 if test "$cross_compiling" = yes; then
5792 enable_clocale_flag=generic
5793 else
5794 cat >conftest.$ac_ext <<_ACEOF
5795 /* confdefs.h. */
5796 _ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5801 #define _GNU_SOURCE 1
5802 #include <locale.h>
5803 #include <string.h>
5804 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5805 extern __typeof(newlocale) __newlocale;
5806 extern __typeof(duplocale) __duplocale;
5807 extern __typeof(strcoll_l) __strcoll_l;
5808 #endif
5809 int main()
5811 const char __one[] = "Äuglein Augmen";
5812 const char __two[] = "Äuglein";
5813 int i;
5814 int j;
5815 __locale_t loc;
5816 __locale_t loc_dup;
5817 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5818 loc_dup = __duplocale(loc);
5819 i = __strcoll_l(__one, __two, loc);
5820 j = __strcoll_l(__one, __two, loc_dup);
5821 return 0;
5824 _ACEOF
5825 rm -f conftest$ac_exeext
5826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5827 (eval $ac_link) 2>&5
5828 ac_status=$?
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 (eval $ac_try) 2>&5
5833 ac_status=$?
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then
5836 enable_clocale_flag=gnu
5837 else
5838 echo "$as_me: program exited with status $ac_status" >&5
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.$ac_ext >&5
5842 ( exit $ac_status )
5843 enable_clocale_flag=generic
5845 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5849 # ... at some point put __strxfrm_l tests in as well.
5851 darwin* | freebsd*)
5852 enable_clocale_flag=darwin
5855 enable_clocale_flag=generic
5857 esac
5860 # Deal with gettext issues. Default to not using it (=no) until we detect
5861 # support for it later. Let the user turn it off via --e/d, but let that
5862 # default to on for easier handling.
5863 USE_NLS=no
5864 # Check whether --enable-nls or --disable-nls was given.
5865 if test "${enable_nls+set}" = set; then
5866 enableval="$enable_nls"
5868 else
5869 enable_nls=yes
5872 # Set configure bits for specified locale package
5873 case ${enable_clocale_flag} in
5874 generic)
5875 echo "$as_me:$LINENO: result: generic" >&5
5876 echo "${ECHO_T}generic" >&6
5878 CLOCALE_H=config/locale/generic/c_locale.h
5879 CLOCALE_CC=config/locale/generic/c_locale.cc
5880 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5881 CCOLLATE_CC=config/locale/generic/collate_members.cc
5882 CCTYPE_CC=config/locale/generic/ctype_members.cc
5883 CMESSAGES_H=config/locale/generic/messages_members.h
5884 CMESSAGES_CC=config/locale/generic/messages_members.cc
5885 CMONEY_CC=config/locale/generic/monetary_members.cc
5886 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5887 CTIME_H=config/locale/generic/time_members.h
5888 CTIME_CC=config/locale/generic/time_members.cc
5889 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5891 darwin)
5892 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5893 echo "${ECHO_T}darwin or freebsd" >&6
5895 CLOCALE_H=config/locale/generic/c_locale.h
5896 CLOCALE_CC=config/locale/generic/c_locale.cc
5897 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5898 CCOLLATE_CC=config/locale/generic/collate_members.cc
5899 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5900 CMESSAGES_H=config/locale/generic/messages_members.h
5901 CMESSAGES_CC=config/locale/generic/messages_members.cc
5902 CMONEY_CC=config/locale/generic/monetary_members.cc
5903 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5904 CTIME_H=config/locale/generic/time_members.h
5905 CTIME_CC=config/locale/generic/time_members.cc
5906 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5909 gnu)
5910 echo "$as_me:$LINENO: result: gnu" >&5
5911 echo "${ECHO_T}gnu" >&6
5913 # Declare intention to use gettext, and add support for specific
5914 # languages.
5915 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5916 ALL_LINGUAS="de fr"
5918 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5919 # Extract the first word of "msgfmt", so it can be a program name with args.
5920 set dummy msgfmt; ac_word=$2
5921 echo "$as_me:$LINENO: checking for $ac_word" >&5
5922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5923 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 else
5926 if test -n "$check_msgfmt"; then
5927 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_check_msgfmt="yes"
5937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5940 done
5941 done
5943 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5946 check_msgfmt=$ac_cv_prog_check_msgfmt
5947 if test -n "$check_msgfmt"; then
5948 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5949 echo "${ECHO_T}$check_msgfmt" >&6
5950 else
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5955 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5956 USE_NLS=yes
5958 # Export the build objects.
5959 for ling in $ALL_LINGUAS; do \
5960 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5961 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5962 done
5966 CLOCALE_H=config/locale/gnu/c_locale.h
5967 CLOCALE_CC=config/locale/gnu/c_locale.cc
5968 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5969 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5970 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5971 CMESSAGES_H=config/locale/gnu/messages_members.h
5972 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5973 CMONEY_CC=config/locale/gnu/monetary_members.cc
5974 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5975 CTIME_H=config/locale/gnu/time_members.h
5976 CTIME_CC=config/locale/gnu/time_members.cc
5977 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5979 ieee_1003.1-2001)
5980 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5981 echo "${ECHO_T}IEEE 1003.1" >&6
5983 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5984 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5986 CCOLLATE_CC=config/locale/generic/collate_members.cc
5987 CCTYPE_CC=config/locale/generic/ctype_members.cc
5988 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5989 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5990 CMONEY_CC=config/locale/generic/monetary_members.cc
5991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5992 CTIME_H=config/locale/generic/time_members.h
5993 CTIME_CC=config/locale/generic/time_members.cc
5994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5996 esac
5998 # This is where the testsuite looks for locale catalogs, using the
5999 # -DLOCALEDIR define during testsuite compilation.
6000 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6003 # A standalone libintl (e.g., GNU libintl) may be in use.
6004 if test $USE_NLS = yes; then
6006 for ac_header in libintl.h
6008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6010 echo "$as_me:$LINENO: checking for $ac_header" >&5
6011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6013 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6017 else
6018 # Is the header compilable?
6019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6021 cat >conftest.$ac_ext <<_ACEOF
6022 /* confdefs.h. */
6023 _ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 $ac_includes_default
6028 #include <$ac_header>
6029 _ACEOF
6030 rm -f conftest.$ac_objext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6032 (eval $ac_compile) 2>conftest.er1
6033 ac_status=$?
6034 grep -v '^ *+' conftest.er1 >conftest.err
6035 rm -f conftest.er1
6036 cat conftest.err >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } &&
6039 { ac_try='test -z "$ac_c_werror_flag"
6040 || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 (eval $ac_try) 2>&5
6043 ac_status=$?
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try='test -s conftest.$ac_objext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 (eval $ac_try) 2>&5
6049 ac_status=$?
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_header_compiler=yes
6053 else
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6057 ac_header_compiler=no
6059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6061 echo "${ECHO_T}$ac_header_compiler" >&6
6063 # Is the header present?
6064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6066 cat >conftest.$ac_ext <<_ACEOF
6067 /* confdefs.h. */
6068 _ACEOF
6069 cat confdefs.h >>conftest.$ac_ext
6070 cat >>conftest.$ac_ext <<_ACEOF
6071 /* end confdefs.h. */
6072 #include <$ac_header>
6073 _ACEOF
6074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6076 ac_status=$?
6077 grep -v '^ *+' conftest.er1 >conftest.err
6078 rm -f conftest.er1
6079 cat conftest.err >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } >/dev/null; then
6082 if test -s conftest.err; then
6083 ac_cpp_err=$ac_c_preproc_warn_flag
6084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6085 else
6086 ac_cpp_err=
6088 else
6089 ac_cpp_err=yes
6091 if test -z "$ac_cpp_err"; then
6092 ac_header_preproc=yes
6093 else
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
6097 ac_header_preproc=no
6099 rm -f conftest.err conftest.$ac_ext
6100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6101 echo "${ECHO_T}$ac_header_preproc" >&6
6103 # So? What about this header?
6104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6105 yes:no: )
6106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6110 ac_header_preproc=yes
6112 no:yes:* )
6113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6126 cat <<\_ASBOX
6127 ## ----------------------------------------- ##
6128 ## Report this to the package-unused lists. ##
6129 ## ----------------------------------------- ##
6130 _ASBOX
6132 sed "s/^/$as_me: WARNING: /" >&2
6134 esac
6135 echo "$as_me:$LINENO: checking for $ac_header" >&5
6136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 else
6140 eval "$as_ac_Header=\$ac_header_preproc"
6142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6147 cat >>confdefs.h <<_ACEOF
6148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6149 _ACEOF
6151 else
6152 USE_NLS=no
6155 done
6157 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6158 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6159 if test "${ac_cv_search_gettext+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 else
6162 ac_func_search_save_LIBS=$LIBS
6163 ac_cv_search_gettext=no
6164 if test x$gcc_no_link = xyes; then
6165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6167 { (exit 1); exit 1; }; }
6169 cat >conftest.$ac_ext <<_ACEOF
6170 /* confdefs.h. */
6171 _ACEOF
6172 cat confdefs.h >>conftest.$ac_ext
6173 cat >>conftest.$ac_ext <<_ACEOF
6174 /* end confdefs.h. */
6176 /* Override any gcc2 internal prototype to avoid an error. */
6177 #ifdef __cplusplus
6178 extern "C"
6179 #endif
6180 /* We use char because int might match the return type of a gcc2
6181 builtin and then its argument prototype would still apply. */
6182 char gettext ();
6184 main ()
6186 gettext ();
6188 return 0;
6190 _ACEOF
6191 rm -f conftest.$ac_objext conftest$ac_exeext
6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6193 (eval $ac_link) 2>conftest.er1
6194 ac_status=$?
6195 grep -v '^ *+' conftest.er1 >conftest.err
6196 rm -f conftest.er1
6197 cat conftest.err >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); } &&
6200 { ac_try='test -z "$ac_c_werror_flag"
6201 || test ! -s conftest.err'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 (eval $ac_try) 2>&5
6204 ac_status=$?
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; } &&
6207 { ac_try='test -s conftest$ac_exeext'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 (eval $ac_try) 2>&5
6210 ac_status=$?
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 ac_cv_search_gettext="none required"
6214 else
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6219 rm -f conftest.err conftest.$ac_objext \
6220 conftest$ac_exeext conftest.$ac_ext
6221 if test "$ac_cv_search_gettext" = no; then
6222 for ac_lib in intl; do
6223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6224 if test x$gcc_no_link = xyes; then
6225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6227 { (exit 1); exit 1; }; }
6229 cat >conftest.$ac_ext <<_ACEOF
6230 /* confdefs.h. */
6231 _ACEOF
6232 cat confdefs.h >>conftest.$ac_ext
6233 cat >>conftest.$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6236 /* Override any gcc2 internal prototype to avoid an error. */
6237 #ifdef __cplusplus
6238 extern "C"
6239 #endif
6240 /* We use char because int might match the return type of a gcc2
6241 builtin and then its argument prototype would still apply. */
6242 char gettext ();
6244 main ()
6246 gettext ();
6248 return 0;
6250 _ACEOF
6251 rm -f conftest.$ac_objext conftest$ac_exeext
6252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6253 (eval $ac_link) 2>conftest.er1
6254 ac_status=$?
6255 grep -v '^ *+' conftest.er1 >conftest.err
6256 rm -f conftest.er1
6257 cat conftest.err >&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } &&
6260 { ac_try='test -z "$ac_c_werror_flag"
6261 || test ! -s conftest.err'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 (eval $ac_try) 2>&5
6264 ac_status=$?
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; } &&
6267 { ac_try='test -s conftest$ac_exeext'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 (eval $ac_try) 2>&5
6270 ac_status=$?
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; }; then
6273 ac_cv_search_gettext="-l$ac_lib"
6274 break
6275 else
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6280 rm -f conftest.err conftest.$ac_objext \
6281 conftest$ac_exeext conftest.$ac_ext
6282 done
6284 LIBS=$ac_func_search_save_LIBS
6286 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6287 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6288 if test "$ac_cv_search_gettext" != no; then
6289 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6291 else
6292 USE_NLS=no
6296 if test $USE_NLS = yes; then
6298 cat >>confdefs.h <<\_ACEOF
6299 #define _GLIBCXX_USE_NLS 1
6300 _ACEOF
6319 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6320 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6321 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6322 if test "${enable_libstdcxx_allocator+set}" = set; then
6323 enableval="$enable_libstdcxx_allocator"
6325 case "$enableval" in
6326 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6327 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6328 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6329 { (exit 1); exit 1; }; } ;;
6330 esac
6332 else
6333 enable_libstdcxx_allocator=auto
6337 # If they didn't use this option switch, or if they specified --enable
6338 # with no specific model, we'll have to look for one. If they
6339 # specified --disable (???), do likewise.
6340 if test $enable_libstdcxx_allocator = no ||
6341 test $enable_libstdcxx_allocator = yes;
6342 then
6343 enable_libstdcxx_allocator=auto
6346 # Either a known package, or "auto". Auto implies the default choice
6347 # for a particular platform.
6348 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6350 # Probe for host-specific support if no specific model is specified.
6351 # Default to "new".
6352 if test $enable_libstdcxx_allocator_flag = auto; then
6353 case ${target_os} in
6354 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6355 enable_libstdcxx_allocator_flag=mt
6358 enable_libstdcxx_allocator_flag=new
6360 esac
6362 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6363 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6366 # Set configure bits for specified locale package
6367 case ${enable_libstdcxx_allocator_flag} in
6368 bitmap)
6369 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6370 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6372 malloc)
6373 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6374 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6377 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6378 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6380 new)
6381 ALLOCATOR_H=config/allocator/new_allocator_base.h
6382 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6384 pool)
6385 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6386 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6388 esac
6394 # Check whether --enable-cheaders or --disable-cheaders was given.
6395 if test "${enable_cheaders+set}" = set; then
6396 enableval="$enable_cheaders"
6398 case "$enableval" in
6399 c|c_std) ;;
6400 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6401 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6402 { (exit 1); exit 1; }; } ;;
6403 esac
6405 else
6406 enable_cheaders=$c_model
6409 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6410 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6412 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6421 # Check whether --enable-c99 or --disable-c99 was given.
6422 if test "${enable_c99+set}" = set; then
6423 enableval="$enable_c99"
6425 case "$enableval" in
6426 yes|no) ;;
6427 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6428 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6429 { (exit 1); exit 1; }; } ;;
6430 esac
6432 else
6433 enable_c99=yes
6437 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6438 # even if C99 support is turned off.
6440 for ac_header in wchar.h
6442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6444 echo "$as_me:$LINENO: checking for $ac_header" >&5
6445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6451 else
6452 # Is the header compilable?
6453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6455 cat >conftest.$ac_ext <<_ACEOF
6456 /* confdefs.h. */
6457 _ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 $ac_includes_default
6462 #include <$ac_header>
6463 _ACEOF
6464 rm -f conftest.$ac_objext
6465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6466 (eval $ac_compile) 2>conftest.er1
6467 ac_status=$?
6468 grep -v '^ *+' conftest.er1 >conftest.err
6469 rm -f conftest.er1
6470 cat conftest.err >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); } &&
6473 { ac_try='test -z "$ac_c_werror_flag"
6474 || test ! -s conftest.err'
6475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476 (eval $ac_try) 2>&5
6477 ac_status=$?
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); }; } &&
6480 { ac_try='test -s conftest.$ac_objext'
6481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 (eval $ac_try) 2>&5
6483 ac_status=$?
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then
6486 ac_header_compiler=yes
6487 else
6488 echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.$ac_ext >&5
6491 ac_header_compiler=no
6493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6495 echo "${ECHO_T}$ac_header_compiler" >&6
6497 # Is the header present?
6498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6500 cat >conftest.$ac_ext <<_ACEOF
6501 /* confdefs.h. */
6502 _ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6506 #include <$ac_header>
6507 _ACEOF
6508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6510 ac_status=$?
6511 grep -v '^ *+' conftest.er1 >conftest.err
6512 rm -f conftest.er1
6513 cat conftest.err >&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); } >/dev/null; then
6516 if test -s conftest.err; then
6517 ac_cpp_err=$ac_c_preproc_warn_flag
6518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6519 else
6520 ac_cpp_err=
6522 else
6523 ac_cpp_err=yes
6525 if test -z "$ac_cpp_err"; then
6526 ac_header_preproc=yes
6527 else
6528 echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6531 ac_header_preproc=no
6533 rm -f conftest.err conftest.$ac_ext
6534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6535 echo "${ECHO_T}$ac_header_preproc" >&6
6537 # So? What about this header?
6538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6539 yes:no: )
6540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6544 ac_header_preproc=yes
6546 no:yes:* )
6547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6560 cat <<\_ASBOX
6561 ## ----------------------------------------- ##
6562 ## Report this to the package-unused lists. ##
6563 ## ----------------------------------------- ##
6564 _ASBOX
6566 sed "s/^/$as_me: WARNING: /" >&2
6568 esac
6569 echo "$as_me:$LINENO: checking for $ac_header" >&5
6570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 else
6574 eval "$as_ac_Header=\$ac_header_preproc"
6576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6581 cat >>confdefs.h <<_ACEOF
6582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 _ACEOF
6584 ac_has_wchar_h=yes
6585 else
6586 ac_has_wchar_h=no
6589 done
6591 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6592 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 #include <wchar.h>
6601 main ()
6603 mbstate_t teststate;
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_c_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 have_mbstate_t=yes
6631 else
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 have_mbstate_t=no
6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6638 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6639 echo "${ECHO_T}$have_mbstate_t" >&6
6640 if test x"$have_mbstate_t" = xyes; then
6642 cat >>confdefs.h <<\_ACEOF
6643 #define HAVE_MBSTATE_T 1
6644 _ACEOF
6648 if test x"$enable_c99" = x"yes"; then
6652 ac_ext=cc
6653 ac_cpp='$CXXCPP $CPPFLAGS'
6654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6659 # Check for the existence of <math.h> functions used if C99 is enabled.
6660 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6661 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6662 if test "${ac_c99_math+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 else
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <math.h>
6674 main ()
6676 fpclassify(0.0);
6677 isfinite(0.0);
6678 isinf(0.0);
6679 isnan(0.0);
6680 isnormal(0.0);
6681 signbit(0.0);
6682 isgreater(0.0,0.0);
6683 isgreaterequal(0.0,0.0);
6684 isless(0.0,0.0);
6685 islessequal(0.0,0.0);
6686 islessgreater(0.0,0.0);
6687 islessgreater(0.0,0.0);
6688 isunordered(0.0,0.0);
6691 return 0;
6693 _ACEOF
6694 rm -f conftest.$ac_objext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6696 (eval $ac_compile) 2>conftest.er1
6697 ac_status=$?
6698 grep -v '^ *+' conftest.er1 >conftest.err
6699 rm -f conftest.er1
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try='test -z "$ac_cxx_werror_flag"
6704 || test ! -s conftest.err'
6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 (eval $ac_try) 2>&5
6707 ac_status=$?
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); }; } &&
6710 { ac_try='test -s conftest.$ac_objext'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 (eval $ac_try) 2>&5
6713 ac_status=$?
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; }; then
6716 ac_c99_math=yes
6717 else
6718 echo "$as_me: failed program was:" >&5
6719 sed 's/^/| /' conftest.$ac_ext >&5
6721 ac_c99_math=no
6723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6727 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6728 echo "${ECHO_T}$ac_c99_math" >&6
6729 if test x"$ac_c99_math" = x"yes"; then
6731 cat >>confdefs.h <<\_ACEOF
6732 #define _GLIBCXX_USE_C99_MATH 1
6733 _ACEOF
6737 # Check for the existence of <complex.h> complex math functions.
6738 # This is necessary even though libstdc++ uses the builtin versions
6739 # of these functions, because if the builtin cannot be used, a reference
6740 # to the library function is emitted.
6742 for ac_header in complex.h
6744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6746 echo "$as_me:$LINENO: checking for $ac_header" >&5
6747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6753 else
6754 # Is the header compilable?
6755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6757 cat >conftest.$ac_ext <<_ACEOF
6758 /* confdefs.h. */
6759 _ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6763 $ac_includes_default
6764 #include <$ac_header>
6765 _ACEOF
6766 rm -f conftest.$ac_objext
6767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6768 (eval $ac_compile) 2>conftest.er1
6769 ac_status=$?
6770 grep -v '^ *+' conftest.er1 >conftest.err
6771 rm -f conftest.er1
6772 cat conftest.err >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); } &&
6775 { ac_try='test -z "$ac_cxx_werror_flag"
6776 || test ! -s conftest.err'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 (eval $ac_try) 2>&5
6779 ac_status=$?
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; } &&
6782 { ac_try='test -s conftest.$ac_objext'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 (eval $ac_try) 2>&5
6785 ac_status=$?
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; }; then
6788 ac_header_compiler=yes
6789 else
6790 echo "$as_me: failed program was:" >&5
6791 sed 's/^/| /' conftest.$ac_ext >&5
6793 ac_header_compiler=no
6795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6797 echo "${ECHO_T}$ac_header_compiler" >&6
6799 # Is the header present?
6800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6802 cat >conftest.$ac_ext <<_ACEOF
6803 /* confdefs.h. */
6804 _ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6808 #include <$ac_header>
6809 _ACEOF
6810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6812 ac_status=$?
6813 grep -v '^ *+' conftest.er1 >conftest.err
6814 rm -f conftest.er1
6815 cat conftest.err >&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); } >/dev/null; then
6818 if test -s conftest.err; then
6819 ac_cpp_err=$ac_cxx_preproc_warn_flag
6820 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6821 else
6822 ac_cpp_err=
6824 else
6825 ac_cpp_err=yes
6827 if test -z "$ac_cpp_err"; then
6828 ac_header_preproc=yes
6829 else
6830 echo "$as_me: failed program was:" >&5
6831 sed 's/^/| /' conftest.$ac_ext >&5
6833 ac_header_preproc=no
6835 rm -f conftest.err conftest.$ac_ext
6836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6837 echo "${ECHO_T}$ac_header_preproc" >&6
6839 # So? What about this header?
6840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6841 yes:no: )
6842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6846 ac_header_preproc=yes
6848 no:yes:* )
6849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6862 cat <<\_ASBOX
6863 ## ----------------------------------------- ##
6864 ## Report this to the package-unused lists. ##
6865 ## ----------------------------------------- ##
6866 _ASBOX
6868 sed "s/^/$as_me: WARNING: /" >&2
6870 esac
6871 echo "$as_me:$LINENO: checking for $ac_header" >&5
6872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 else
6876 eval "$as_ac_Header=\$ac_header_preproc"
6878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6883 cat >>confdefs.h <<_ACEOF
6884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6885 _ACEOF
6886 ac_has_complex_h=yes
6887 else
6888 ac_has_complex_h=no
6891 done
6893 ac_c99_complex=no;
6894 if test x"$ac_has_complex_h" = x"yes"; then
6895 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6896 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6897 cat >conftest.$ac_ext <<_ACEOF
6898 /* confdefs.h. */
6899 _ACEOF
6900 cat confdefs.h >>conftest.$ac_ext
6901 cat >>conftest.$ac_ext <<_ACEOF
6902 /* end confdefs.h. */
6903 #include <complex.h>
6905 main ()
6907 typedef __complex__ float float_type; float_type tmpf;
6908 cabsf(tmpf);
6909 cargf(tmpf);
6910 ccosf(tmpf);
6911 ccoshf(tmpf);
6912 cexpf(tmpf);
6913 clogf(tmpf);
6914 csinf(tmpf);
6915 csinhf(tmpf);
6916 csqrtf(tmpf);
6917 ctanf(tmpf);
6918 ctanhf(tmpf);
6919 cpowf(tmpf, tmpf);
6920 typedef __complex__ double double_type; double_type tmpd;
6921 cabs(tmpd);
6922 carg(tmpd);
6923 ccos(tmpd);
6924 ccosh(tmpd);
6925 cexp(tmpd);
6926 clog(tmpd);
6927 csin(tmpd);
6928 csinh(tmpd);
6929 csqrt(tmpd);
6930 ctan(tmpd);
6931 ctanh(tmpd);
6932 cpow(tmpd, tmpd);
6933 typedef __complex__ long double ld_type; ld_type tmpld;
6934 cabsl(tmpld);
6935 cargl(tmpld);
6936 ccosl(tmpld);
6937 ccoshl(tmpld);
6938 cexpl(tmpld);
6939 clogl(tmpld);
6940 csinl(tmpld);
6941 csinhl(tmpld);
6942 csqrtl(tmpld);
6943 ctanl(tmpld);
6944 ctanhl(tmpld);
6945 cpowl(tmpld, tmpld);
6948 return 0;
6950 _ACEOF
6951 rm -f conftest.$ac_objext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6953 (eval $ac_compile) 2>conftest.er1
6954 ac_status=$?
6955 grep -v '^ *+' conftest.er1 >conftest.err
6956 rm -f conftest.er1
6957 cat conftest.err >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; } &&
6967 { ac_try='test -s conftest.$ac_objext'
6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 (eval $ac_try) 2>&5
6970 ac_status=$?
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); }; }; then
6973 ac_c99_complex=yes
6974 else
6975 echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6978 ac_c99_complex=no
6980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6982 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6983 echo "${ECHO_T}$ac_c99_complex" >&6
6984 if test x"$ac_c99_complex" = x"yes"; then
6986 cat >>confdefs.h <<\_ACEOF
6987 #define _GLIBCXX_USE_C99_COMPLEX 1
6988 _ACEOF
6992 # Check for the existence in <stdio.h> of vscanf, et. al.
6993 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6994 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6995 if test "${ac_c99_stdio+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 else
6999 cat >conftest.$ac_ext <<_ACEOF
7000 /* confdefs.h. */
7001 _ACEOF
7002 cat confdefs.h >>conftest.$ac_ext
7003 cat >>conftest.$ac_ext <<_ACEOF
7004 /* end confdefs.h. */
7005 #include <stdio.h>
7006 #include <stdarg.h>
7007 void foo(char* fmt, ...)
7009 va_list args; va_start(args, fmt);
7010 vfscanf(stderr, "%i", args);
7011 vscanf("%i", args);
7012 vsnprintf(fmt, 0, "%i", args);
7013 vsscanf(fmt, "%i", args);
7016 main ()
7018 snprintf("12", 0, "%i");
7020 return 0;
7022 _ACEOF
7023 rm -f conftest.$ac_objext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7025 (eval $ac_compile) 2>conftest.er1
7026 ac_status=$?
7027 grep -v '^ *+' conftest.er1 >conftest.err
7028 rm -f conftest.er1
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } &&
7032 { ac_try='test -z "$ac_cxx_werror_flag"
7033 || test ! -s conftest.err'
7034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 (eval $ac_try) 2>&5
7036 ac_status=$?
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); }; } &&
7039 { ac_try='test -s conftest.$ac_objext'
7040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 (eval $ac_try) 2>&5
7042 ac_status=$?
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); }; }; then
7045 ac_c99_stdio=yes
7046 else
7047 echo "$as_me: failed program was:" >&5
7048 sed 's/^/| /' conftest.$ac_ext >&5
7050 ac_c99_stdio=no
7052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7056 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7057 echo "${ECHO_T}$ac_c99_stdio" >&6
7059 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7060 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7061 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7062 if test "${ac_c99_stdlib+set}" = set; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 else
7066 cat >conftest.$ac_ext <<_ACEOF
7067 /* confdefs.h. */
7068 _ACEOF
7069 cat confdefs.h >>conftest.$ac_ext
7070 cat >>conftest.$ac_ext <<_ACEOF
7071 /* end confdefs.h. */
7072 #include <stdlib.h>
7074 main ()
7076 char* tmp;
7077 strtof("gnu", &tmp);
7078 strtold("gnu", &tmp);
7079 strtoll("gnu", &tmp, 10);
7080 strtoull("gnu", &tmp, 10);
7081 llabs(10);
7082 lldiv(10,1);
7083 atoll("10");
7084 _Exit(0);
7085 lldiv_t mydivt;
7087 return 0;
7089 _ACEOF
7090 rm -f conftest.$ac_objext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7092 (eval $ac_compile) 2>conftest.er1
7093 ac_status=$?
7094 grep -v '^ *+' conftest.er1 >conftest.err
7095 rm -f conftest.er1
7096 cat conftest.err >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); } &&
7099 { ac_try='test -z "$ac_cxx_werror_flag"
7100 || test ! -s conftest.err'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 (eval $ac_try) 2>&5
7103 ac_status=$?
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; } &&
7106 { ac_try='test -s conftest.$ac_objext'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 (eval $ac_try) 2>&5
7109 ac_status=$?
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; }; then
7112 ac_c99_stdlib=yes
7113 else
7114 echo "$as_me: failed program was:" >&5
7115 sed 's/^/| /' conftest.$ac_ext >&5
7117 ac_c99_stdlib=no
7119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7123 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7124 echo "${ECHO_T}$ac_c99_stdlib" >&6
7126 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7128 for ac_header in wctype.h
7130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7132 echo "$as_me:$LINENO: checking for $ac_header" >&5
7133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7139 else
7140 # Is the header compilable?
7141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7143 cat >conftest.$ac_ext <<_ACEOF
7144 /* confdefs.h. */
7145 _ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 $ac_includes_default
7150 #include <$ac_header>
7151 _ACEOF
7152 rm -f conftest.$ac_objext
7153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7154 (eval $ac_compile) 2>conftest.er1
7155 ac_status=$?
7156 grep -v '^ *+' conftest.er1 >conftest.err
7157 rm -f conftest.er1
7158 cat conftest.err >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); } &&
7161 { ac_try='test -z "$ac_cxx_werror_flag"
7162 || test ! -s conftest.err'
7163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 (eval $ac_try) 2>&5
7165 ac_status=$?
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; } &&
7168 { ac_try='test -s conftest.$ac_objext'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 (eval $ac_try) 2>&5
7171 ac_status=$?
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; }; then
7174 ac_header_compiler=yes
7175 else
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.$ac_ext >&5
7179 ac_header_compiler=no
7181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7183 echo "${ECHO_T}$ac_header_compiler" >&6
7185 # Is the header present?
7186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7188 cat >conftest.$ac_ext <<_ACEOF
7189 /* confdefs.h. */
7190 _ACEOF
7191 cat confdefs.h >>conftest.$ac_ext
7192 cat >>conftest.$ac_ext <<_ACEOF
7193 /* end confdefs.h. */
7194 #include <$ac_header>
7195 _ACEOF
7196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7198 ac_status=$?
7199 grep -v '^ *+' conftest.er1 >conftest.err
7200 rm -f conftest.er1
7201 cat conftest.err >&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); } >/dev/null; then
7204 if test -s conftest.err; then
7205 ac_cpp_err=$ac_cxx_preproc_warn_flag
7206 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7207 else
7208 ac_cpp_err=
7210 else
7211 ac_cpp_err=yes
7213 if test -z "$ac_cpp_err"; then
7214 ac_header_preproc=yes
7215 else
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.$ac_ext >&5
7219 ac_header_preproc=no
7221 rm -f conftest.err conftest.$ac_ext
7222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7223 echo "${ECHO_T}$ac_header_preproc" >&6
7225 # So? What about this header?
7226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7227 yes:no: )
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7232 ac_header_preproc=yes
7234 no:yes:* )
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7248 cat <<\_ASBOX
7249 ## ----------------------------------------- ##
7250 ## Report this to the package-unused lists. ##
7251 ## ----------------------------------------- ##
7252 _ASBOX
7254 sed "s/^/$as_me: WARNING: /" >&2
7256 esac
7257 echo "$as_me:$LINENO: checking for $ac_header" >&5
7258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7260 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 else
7262 eval "$as_ac_Header=\$ac_header_preproc"
7264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7269 cat >>confdefs.h <<_ACEOF
7270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7271 _ACEOF
7272 ac_has_wctype_h=yes
7273 else
7274 ac_has_wctype_h=no
7277 done
7279 ac_c99_wchar=no;
7280 if test x"$ac_has_wchar_h" = xyes &&
7281 test x"$ac_has_wctype_h" = xyes; then
7282 cat >conftest.$ac_ext <<_ACEOF
7283 /* confdefs.h. */
7284 _ACEOF
7285 cat confdefs.h >>conftest.$ac_ext
7286 cat >>conftest.$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7288 #include <wchar.h>
7289 #include <stddef.h>
7290 wint_t i;
7291 long l = WEOF;
7292 long j = WCHAR_MIN;
7293 long k = WCHAR_MAX;
7294 namespace test
7296 using ::btowc;
7297 using ::fgetwc;
7298 using ::fgetws;
7299 using ::fputwc;
7300 using ::fputws;
7301 using ::fwide;
7302 using ::fwprintf;
7303 using ::fwscanf;
7304 using ::getwc;
7305 using ::getwchar;
7306 using ::mbrlen;
7307 using ::mbrtowc;
7308 using ::mbsinit;
7309 using ::mbsrtowcs;
7310 using ::putwc;
7311 using ::putwchar;
7312 using ::swprintf;
7313 using ::swscanf;
7314 using ::ungetwc;
7315 using ::vfwprintf;
7316 using ::vswprintf;
7317 using ::vwprintf;
7318 using ::wcrtomb;
7319 using ::wcscat;
7320 using ::wcschr;
7321 using ::wcscmp;
7322 using ::wcscoll;
7323 using ::wcscpy;
7324 using ::wcscspn;
7325 using ::wcsftime;
7326 using ::wcslen;
7327 using ::wcsncat;
7328 using ::wcsncmp;
7329 using ::wcsncpy;
7330 using ::wcspbrk;
7331 using ::wcsrchr;
7332 using ::wcsrtombs;
7333 using ::wcsspn;
7334 using ::wcsstr;
7335 using ::wcstod;
7336 using ::wcstok;
7337 using ::wcstol;
7338 using ::wcstold;
7339 using ::wcstoll;
7340 using ::wcstoul;
7341 using ::wcstoull;
7342 using ::wcsxfrm;
7343 using ::wctob;
7344 using ::wmemchr;
7345 using ::wmemcmp;
7346 using ::wmemcpy;
7347 using ::wmemmove;
7348 using ::wmemset;
7349 using ::wprintf;
7350 using ::wscanf;
7354 main ()
7358 return 0;
7360 _ACEOF
7361 rm -f conftest.$ac_objext
7362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7363 (eval $ac_compile) 2>conftest.er1
7364 ac_status=$?
7365 grep -v '^ *+' conftest.er1 >conftest.err
7366 rm -f conftest.er1
7367 cat conftest.err >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } &&
7370 { ac_try='test -z "$ac_cxx_werror_flag"
7371 || test ! -s conftest.err'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373 (eval $ac_try) 2>&5
7374 ac_status=$?
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; } &&
7377 { ac_try='test -s conftest.$ac_objext'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7379 (eval $ac_try) 2>&5
7380 ac_status=$?
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; }; then
7383 ac_c99_wchar=yes
7384 else
7385 echo "$as_me: failed program was:" >&5
7386 sed 's/^/| /' conftest.$ac_ext >&5
7388 ac_c99_wchar=no
7390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7392 # Checks for wide character functions that may not be present.
7393 # Injection of these is wrapped with guard macros.
7394 # NB: only put functions here, instead of immediately above, if
7395 # absolutely necessary.
7396 cat >conftest.$ac_ext <<_ACEOF
7397 /* confdefs.h. */
7398 _ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 #include <wchar.h>
7403 namespace test { using ::vfwscanf; }
7405 main ()
7409 return 0;
7411 _ACEOF
7412 rm -f conftest.$ac_objext
7413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7414 (eval $ac_compile) 2>conftest.er1
7415 ac_status=$?
7416 grep -v '^ *+' conftest.er1 >conftest.err
7417 rm -f conftest.er1
7418 cat conftest.err >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); } &&
7421 { ac_try='test -z "$ac_cxx_werror_flag"
7422 || test ! -s conftest.err'
7423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 (eval $ac_try) 2>&5
7425 ac_status=$?
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); }; } &&
7428 { ac_try='test -s conftest.$ac_objext'
7429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 (eval $ac_try) 2>&5
7431 ac_status=$?
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); }; }; then
7435 cat >>confdefs.h <<\_ACEOF
7436 #define HAVE_VFWSCANF 1
7437 _ACEOF
7439 else
7440 echo "$as_me: failed program was:" >&5
7441 sed 's/^/| /' conftest.$ac_ext >&5
7444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7446 cat >conftest.$ac_ext <<_ACEOF
7447 /* confdefs.h. */
7448 _ACEOF
7449 cat confdefs.h >>conftest.$ac_ext
7450 cat >>conftest.$ac_ext <<_ACEOF
7451 /* end confdefs.h. */
7452 #include <wchar.h>
7453 namespace test { using ::vswscanf; }
7455 main ()
7459 return 0;
7461 _ACEOF
7462 rm -f conftest.$ac_objext
7463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7464 (eval $ac_compile) 2>conftest.er1
7465 ac_status=$?
7466 grep -v '^ *+' conftest.er1 >conftest.err
7467 rm -f conftest.er1
7468 cat conftest.err >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); } &&
7471 { ac_try='test -z "$ac_cxx_werror_flag"
7472 || test ! -s conftest.err'
7473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 (eval $ac_try) 2>&5
7475 ac_status=$?
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); }; } &&
7478 { ac_try='test -s conftest.$ac_objext'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 (eval $ac_try) 2>&5
7481 ac_status=$?
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; }; then
7485 cat >>confdefs.h <<\_ACEOF
7486 #define HAVE_VSWSCANF 1
7487 _ACEOF
7489 else
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7496 cat >conftest.$ac_ext <<_ACEOF
7497 /* confdefs.h. */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <wchar.h>
7503 namespace test { using ::vwscanf; }
7505 main ()
7509 return 0;
7511 _ACEOF
7512 rm -f conftest.$ac_objext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7514 (eval $ac_compile) 2>conftest.er1
7515 ac_status=$?
7516 grep -v '^ *+' conftest.er1 >conftest.err
7517 rm -f conftest.er1
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try='test -z "$ac_cxx_werror_flag"
7522 || test ! -s conftest.err'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 (eval $ac_try) 2>&5
7525 ac_status=$?
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; } &&
7528 { ac_try='test -s conftest.$ac_objext'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 (eval $ac_try) 2>&5
7531 ac_status=$?
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then
7535 cat >>confdefs.h <<\_ACEOF
7536 #define HAVE_VWSCANF 1
7537 _ACEOF
7539 else
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7546 cat >conftest.$ac_ext <<_ACEOF
7547 /* confdefs.h. */
7548 _ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 #include <wchar.h>
7553 namespace test { using ::wcstof; }
7555 main ()
7559 return 0;
7561 _ACEOF
7562 rm -f conftest.$ac_objext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7564 (eval $ac_compile) 2>conftest.er1
7565 ac_status=$?
7566 grep -v '^ *+' conftest.er1 >conftest.err
7567 rm -f conftest.er1
7568 cat conftest.err >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } &&
7571 { ac_try='test -z "$ac_cxx_werror_flag"
7572 || test ! -s conftest.err'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7574 (eval $ac_try) 2>&5
7575 ac_status=$?
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; } &&
7578 { ac_try='test -s conftest.$ac_objext'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580 (eval $ac_try) 2>&5
7581 ac_status=$?
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; }; then
7585 cat >>confdefs.h <<\_ACEOF
7586 #define HAVE_WCSTOF 1
7587 _ACEOF
7589 else
7590 echo "$as_me: failed program was:" >&5
7591 sed 's/^/| /' conftest.$ac_ext >&5
7594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7596 cat >conftest.$ac_ext <<_ACEOF
7597 /* confdefs.h. */
7598 _ACEOF
7599 cat confdefs.h >>conftest.$ac_ext
7600 cat >>conftest.$ac_ext <<_ACEOF
7601 /* end confdefs.h. */
7602 #include <wctype.h>
7604 main ()
7606 wint_t t; int i = iswblank(t);
7608 return 0;
7610 _ACEOF
7611 rm -f conftest.$ac_objext
7612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7613 (eval $ac_compile) 2>conftest.er1
7614 ac_status=$?
7615 grep -v '^ *+' conftest.er1 >conftest.err
7616 rm -f conftest.er1
7617 cat conftest.err >&5
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); } &&
7620 { ac_try='test -z "$ac_cxx_werror_flag"
7621 || test ! -s conftest.err'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 (eval $ac_try) 2>&5
7624 ac_status=$?
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; } &&
7627 { ac_try='test -s conftest.$ac_objext'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 (eval $ac_try) 2>&5
7630 ac_status=$?
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; }; then
7634 cat >>confdefs.h <<\_ACEOF
7635 #define HAVE_ISWBLANK 1
7636 _ACEOF
7638 else
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.$ac_ext >&5
7643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7645 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7646 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7647 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7648 echo "${ECHO_T}$ac_c99_wchar" >&6
7651 # Option parsed, now set things appropriately.
7652 if test x"$ac_c99_math" = x"no" ||
7653 test x"$ac_c99_complex" = x"no" ||
7654 test x"$ac_c99_stdio" = x"no" ||
7655 test x"$ac_c99_stdlib" = x"no" ||
7656 test x"$ac_c99_wchar" = x"no"; then
7657 enable_c99=no;
7658 else
7660 cat >>confdefs.h <<\_ACEOF
7661 #define _GLIBCXX_USE_C99 1
7662 _ACEOF
7666 ac_ext=c
7667 ac_cpp='$CPP $CPPFLAGS'
7668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7674 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7675 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7676 echo "$as_me:$LINENO: result: $enable_c99" >&5
7677 echo "${ECHO_T}$enable_c99" >&6
7680 # Check whether --enable-long-long or --disable-long-long was given.
7681 if test "${enable_long_long+set}" = set; then
7682 enableval="$enable_long_long"
7684 case "$enableval" in
7685 yes|no) ;;
7686 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7687 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7688 { (exit 1); exit 1; }; } ;;
7689 esac
7691 else
7692 enable_long_long=yes
7695 if test $enable_long_long = yes; then
7697 cat >>confdefs.h <<\_ACEOF
7698 #define _GLIBCXX_USE_LONG_LONG 1
7699 _ACEOF
7702 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7703 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7704 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7705 echo "${ECHO_T}$enable_long_long" >&6
7708 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7709 if test "${enable_wchar_t+set}" = set; then
7710 enableval="$enable_wchar_t"
7712 case "$enableval" in
7713 yes|no) ;;
7714 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7715 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7716 { (exit 1); exit 1; }; } ;;
7717 esac
7719 else
7720 enable_wchar_t=yes
7723 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7725 cat >>confdefs.h <<\_ACEOF
7726 #define _GLIBCXX_USE_WCHAR_T 1
7727 _ACEOF
7730 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7731 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7732 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7733 echo "${ECHO_T}$enable_wchar_t" >&6
7736 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7737 if test "${enable_concept_checks+set}" = set; then
7738 enableval="$enable_concept_checks"
7740 case "$enableval" in
7741 yes|no) ;;
7742 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7743 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7744 { (exit 1); exit 1; }; } ;;
7745 esac
7747 else
7748 enable_concept_checks=no
7751 if test $enable_concept_checks = yes; then
7753 cat >>confdefs.h <<\_ACEOF
7754 #define _GLIBCXX_CONCEPT_CHECKS 1
7755 _ACEOF
7760 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7761 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7762 enableval="$enable_libstdcxx_debug_flags"
7763 case "x$enable_libstdcxx_debug_flags" in
7764 xno | x) enable_libstdcxx_debug_flags= ;;
7765 x-*) ;;
7766 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7767 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7768 { (exit 1); exit 1; }; } ;;
7769 esac
7770 else
7771 enable_libstdcxx_debug_flags="-g3 -O0"
7775 # Option parsed, now set things appropriately
7776 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7779 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7780 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7783 echo "$as_me:$LINENO: checking for additional debug build" >&5
7784 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7785 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7786 if test "${enable_libstdcxx_debug+set}" = set; then
7787 enableval="$enable_libstdcxx_debug"
7789 case "$enableval" in
7790 yes|no) ;;
7791 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7792 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7793 { (exit 1); exit 1; }; } ;;
7794 esac
7796 else
7797 enable_libstdcxx_debug=no
7800 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7801 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7804 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7805 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7806 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7807 if test "${enable_cxx_flags+set}" = set; then
7808 enableval="$enable_cxx_flags"
7809 case "x$enable_cxx_flags" in
7810 xno | x) enable_cxx_flags= ;;
7811 x-*) ;;
7812 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7813 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7814 { (exit 1); exit 1; }; } ;;
7815 esac
7816 else
7817 enable_cxx_flags=
7821 # Run through flags (either default or command-line) and set anything
7822 # extra (e.g., #defines) that must accompany particular g++ options.
7823 if test -n "$enable_cxx_flags"; then
7824 for f in $enable_cxx_flags; do
7825 case "$f" in
7826 -fhonor-std) ;;
7827 -*) ;;
7828 *) # and we're trying to pass /what/ exactly?
7829 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7830 echo "$as_me: error: compiler flags start with a -" >&2;}
7831 { (exit 1); exit 1; }; } ;;
7832 esac
7833 done
7836 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7837 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7838 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7842 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7843 if test "${enable_fully_dynamic_string+set}" = set; then
7844 enableval="$enable_fully_dynamic_string"
7846 case "$enableval" in
7847 yes|no) ;;
7848 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7849 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7850 { (exit 1); exit 1; }; } ;;
7851 esac
7853 else
7854 enable_fully_dynamic_string=no
7857 if test $enable_fully_dynamic_string = yes; then
7859 cat >>confdefs.h <<\_ACEOF
7860 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7861 _ACEOF
7866 # No surprises, no surprises...
7868 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7869 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7870 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7871 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7872 echo "${ECHO_T}$target_thread_file" >&6
7874 if test $target_thread_file != single; then
7876 cat >>confdefs.h <<\_ACEOF
7877 #define HAVE_GTHR_DEFAULT 1
7878 _ACEOF
7882 glibcxx_thread_h=gthr-$target_thread_file.h
7884 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7885 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7886 enable_thread=yes
7887 else
7888 enable_thread=no
7893 if test $atomicity_dir = cpu/generic ; then
7894 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7895 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7896 if test $target_thread_file = single; then
7897 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7898 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7899 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7900 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7901 else
7902 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7903 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7904 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7905 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7910 if $GLIBCXX_IS_NATIVE; then
7912 # We can do more elaborate tests that assume a working linker.
7913 CANADIAN=no
7915 # Check for available headers.
7931 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7932 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7933 sys/types.h sys/ipc.h sys/sem.h
7935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7937 echo "$as_me:$LINENO: checking for $ac_header" >&5
7938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7944 else
7945 # Is the header compilable?
7946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7948 cat >conftest.$ac_ext <<_ACEOF
7949 /* confdefs.h. */
7950 _ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 $ac_includes_default
7955 #include <$ac_header>
7956 _ACEOF
7957 rm -f conftest.$ac_objext
7958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7959 (eval $ac_compile) 2>conftest.er1
7960 ac_status=$?
7961 grep -v '^ *+' conftest.er1 >conftest.err
7962 rm -f conftest.er1
7963 cat conftest.err >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } &&
7966 { ac_try='test -z "$ac_c_werror_flag"
7967 || test ! -s conftest.err'
7968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7969 (eval $ac_try) 2>&5
7970 ac_status=$?
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; } &&
7973 { ac_try='test -s conftest.$ac_objext'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 (eval $ac_try) 2>&5
7976 ac_status=$?
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; }; then
7979 ac_header_compiler=yes
7980 else
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.$ac_ext >&5
7984 ac_header_compiler=no
7986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7988 echo "${ECHO_T}$ac_header_compiler" >&6
7990 # Is the header present?
7991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7993 cat >conftest.$ac_ext <<_ACEOF
7994 /* confdefs.h. */
7995 _ACEOF
7996 cat confdefs.h >>conftest.$ac_ext
7997 cat >>conftest.$ac_ext <<_ACEOF
7998 /* end confdefs.h. */
7999 #include <$ac_header>
8000 _ACEOF
8001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8003 ac_status=$?
8004 grep -v '^ *+' conftest.er1 >conftest.err
8005 rm -f conftest.er1
8006 cat conftest.err >&5
8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 (exit $ac_status); } >/dev/null; then
8009 if test -s conftest.err; then
8010 ac_cpp_err=$ac_c_preproc_warn_flag
8011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8012 else
8013 ac_cpp_err=
8015 else
8016 ac_cpp_err=yes
8018 if test -z "$ac_cpp_err"; then
8019 ac_header_preproc=yes
8020 else
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.$ac_ext >&5
8024 ac_header_preproc=no
8026 rm -f conftest.err conftest.$ac_ext
8027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8028 echo "${ECHO_T}$ac_header_preproc" >&6
8030 # So? What about this header?
8031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8032 yes:no: )
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8037 ac_header_preproc=yes
8039 no:yes:* )
8040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8053 cat <<\_ASBOX
8054 ## ----------------------------------------- ##
8055 ## Report this to the package-unused lists. ##
8056 ## ----------------------------------------- ##
8057 _ASBOX
8059 sed "s/^/$as_me: WARNING: /" >&2
8061 esac
8062 echo "$as_me:$LINENO: checking for $ac_header" >&5
8063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 else
8067 eval "$as_ac_Header=\$ac_header_preproc"
8069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8080 done
8084 # All these tests are for C++; save the language and the compiler flags.
8085 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8086 # found in GLIBCXX_CONFIGURE.
8089 ac_ext=cc
8090 ac_cpp='$CXXCPP $CPPFLAGS'
8091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8095 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8096 ac_save_CXXFLAGS="$CXXFLAGS"
8098 # Check for maintainer-mode bits.
8099 if test x"$USE_MAINTAINER_MODE" = xno; then
8100 WERROR=''
8101 else
8102 WERROR='-Werror'
8105 # Check for -ffunction-sections -fdata-sections
8106 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8107 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8108 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8109 cat >conftest.$ac_ext <<_ACEOF
8110 /* confdefs.h. */
8111 _ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8117 main ()
8119 int foo;
8121 return 0;
8123 _ACEOF
8124 rm -f conftest.$ac_objext
8125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8126 (eval $ac_compile) 2>conftest.er1
8127 ac_status=$?
8128 grep -v '^ *+' conftest.er1 >conftest.err
8129 rm -f conftest.er1
8130 cat conftest.err >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } &&
8133 { ac_try='test -z "$ac_cxx_werror_flag"
8134 || test ! -s conftest.err'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 (eval $ac_try) 2>&5
8137 ac_status=$?
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; } &&
8140 { ac_try='test -s conftest.$ac_objext'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 (eval $ac_try) 2>&5
8143 ac_status=$?
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; }; then
8146 ac_fdsections=yes
8147 else
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 ac_fdsections=no
8153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8154 if test "$ac_test_CXXFLAGS" = set; then
8155 CXXFLAGS="$ac_save_CXXFLAGS"
8156 else
8157 # this is the suspicious part
8158 CXXFLAGS=''
8160 if test x"$ac_fdsections" = x"yes"; then
8161 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8163 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8164 echo "${ECHO_T}$ac_fdsections" >&6
8166 ac_ext=c
8167 ac_cpp='$CPP $CPPFLAGS'
8168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8176 # If we're not using GNU ld, then there's no point in even trying these
8177 # tests. Check for that first. We should have already tested for gld
8178 # by now (in libtool), but require it now just to be safe...
8179 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8180 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8184 # The name set by libtool depends on the version of libtool. Shame on us
8185 # for depending on an impl detail, but c'est la vie. Older versions used
8186 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8187 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8188 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8189 # set (hence we're using an older libtool), then set it.
8190 if test x${with_gnu_ld+set} != xset; then
8191 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8192 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8193 with_gnu_ld=no
8194 else
8195 with_gnu_ld=$ac_cv_prog_gnu_ld
8199 # Start by getting the version number. I think the libtool test already
8200 # does some of this, but throws away the result.
8202 ldver=`$LD --version 2>/dev/null | head -1 | \
8203 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8205 glibcxx_gnu_ld_version=`echo $ldver | \
8206 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8208 # Set --gc-sections.
8209 if test "$with_gnu_ld" = "notbroken"; then
8210 # GNU ld it is! Joy and bunny rabbits!
8212 # All these tests are for C++; save the language and the compiler flags.
8213 # Need to do this so that g++ won't try to link in libstdc++
8214 ac_test_CFLAGS="${CFLAGS+set}"
8215 ac_save_CFLAGS="$CFLAGS"
8216 CFLAGS='-x c++ -Wl,--gc-sections'
8218 # Check for -Wl,--gc-sections
8219 # XXX This test is broken at the moment, as symbols required for linking
8220 # are now in libsupc++ (not built yet). In addition, this test has
8221 # cored on solaris in the past. In addition, --gc-sections doesn't
8222 # really work at the moment (keeps on discarding used sections, first
8223 # .eh_frame and now some of the glibc sections for iconv).
8224 # Bzzzzt. Thanks for playing, maybe next time.
8225 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8226 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8227 if test "$cross_compiling" = yes; then
8228 ac_sectionLDflags=yes
8229 else
8230 cat >conftest.$ac_ext <<_ACEOF
8231 /* confdefs.h. */
8232 _ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8237 int main(void)
8239 try { throw 1; }
8240 catch (...) { };
8241 return 0;
8244 _ACEOF
8245 rm -f conftest$ac_exeext
8246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8247 (eval $ac_link) 2>&5
8248 ac_status=$?
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8252 (eval $ac_try) 2>&5
8253 ac_status=$?
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_sectionLDflags=yes
8257 else
8258 echo "$as_me: program exited with status $ac_status" >&5
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8262 ( exit $ac_status )
8263 ac_sectionLDflags=no
8265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8267 if test "$ac_test_CFLAGS" = set; then
8268 CFLAGS="$ac_save_CFLAGS"
8269 else
8270 # this is the suspicious part
8271 CFLAGS=''
8273 if test "$ac_sectionLDflags" = "yes"; then
8274 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8276 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8277 echo "${ECHO_T}$ac_sectionLDflags" >&6
8280 # Set linker optimization flags.
8281 if test x"$with_gnu_ld" = x"yes"; then
8282 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8290 ac_save_CXXFLAGS="$CXXFLAGS"
8291 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8293 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8294 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8295 if test "${ac_cv_lib_m_sin+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 else
8298 ac_check_lib_save_LIBS=$LIBS
8299 LIBS="-lm $LIBS"
8300 if test x$gcc_no_link = xyes; then
8301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8303 { (exit 1); exit 1; }; }
8305 cat >conftest.$ac_ext <<_ACEOF
8306 /* confdefs.h. */
8307 _ACEOF
8308 cat confdefs.h >>conftest.$ac_ext
8309 cat >>conftest.$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8312 /* Override any gcc2 internal prototype to avoid an error. */
8313 #ifdef __cplusplus
8314 extern "C"
8315 #endif
8316 /* We use char because int might match the return type of a gcc2
8317 builtin and then its argument prototype would still apply. */
8318 char sin ();
8320 main ()
8322 sin ();
8324 return 0;
8326 _ACEOF
8327 rm -f conftest.$ac_objext conftest$ac_exeext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8329 (eval $ac_link) 2>conftest.er1
8330 ac_status=$?
8331 grep -v '^ *+' conftest.er1 >conftest.err
8332 rm -f conftest.er1
8333 cat conftest.err >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try='test -z "$ac_c_werror_flag"
8337 || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 (eval $ac_try) 2>&5
8340 ac_status=$?
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try='test -s conftest$ac_exeext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 (eval $ac_try) 2>&5
8346 ac_status=$?
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_cv_lib_m_sin=yes
8350 else
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8354 ac_cv_lib_m_sin=no
8356 rm -f conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_lib_save_LIBS
8360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8361 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8362 if test $ac_cv_lib_m_sin = yes; then
8363 libm="-lm"
8366 ac_save_LIBS="$LIBS"
8367 LIBS="$LIBS $libm"
8371 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8372 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8373 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8374 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8380 ac_ext=cc
8381 ac_cpp='$CXXCPP $CPPFLAGS'
8382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8386 cat >conftest.$ac_ext <<_ACEOF
8387 /* confdefs.h. */
8388 _ACEOF
8389 cat confdefs.h >>conftest.$ac_ext
8390 cat >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8392 #include <math.h>
8393 #ifdef HAVE_IEEEFP_H
8394 #include <ieeefp.h>
8395 #endif
8398 main ()
8400 isinf(0);
8402 return 0;
8404 _ACEOF
8405 rm -f conftest.$ac_objext
8406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8407 (eval $ac_compile) 2>conftest.er1
8408 ac_status=$?
8409 grep -v '^ *+' conftest.er1 >conftest.err
8410 rm -f conftest.er1
8411 cat conftest.err >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } &&
8414 { ac_try='test -z "$ac_cxx_werror_flag"
8415 || test ! -s conftest.err'
8416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 (eval $ac_try) 2>&5
8418 ac_status=$?
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); }; } &&
8421 { ac_try='test -s conftest.$ac_objext'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423 (eval $ac_try) 2>&5
8424 ac_status=$?
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8427 glibcxx_cv_func_isinf_use=yes
8428 else
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.$ac_ext >&5
8432 glibcxx_cv_func_isinf_use=no
8434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8435 ac_ext=c
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8446 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8448 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8450 for ac_func in isinf
8452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8453 echo "$as_me:$LINENO: checking for $ac_func" >&5
8454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8455 if eval "test \"\${$as_ac_var+set}\" = set"; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 else
8458 if test x$gcc_no_link = xyes; then
8459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8461 { (exit 1); exit 1; }; }
8463 cat >conftest.$ac_ext <<_ACEOF
8464 /* confdefs.h. */
8465 _ACEOF
8466 cat confdefs.h >>conftest.$ac_ext
8467 cat >>conftest.$ac_ext <<_ACEOF
8468 /* end confdefs.h. */
8469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8471 #define $ac_func innocuous_$ac_func
8473 /* System header to define __stub macros and hopefully few prototypes,
8474 which can conflict with char $ac_func (); below.
8475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8476 <limits.h> exists even on freestanding compilers. */
8478 #ifdef __STDC__
8479 # include <limits.h>
8480 #else
8481 # include <assert.h>
8482 #endif
8484 #undef $ac_func
8486 /* Override any gcc2 internal prototype to avoid an error. */
8487 #ifdef __cplusplus
8488 extern "C"
8490 #endif
8491 /* We use char because int might match the return type of a gcc2
8492 builtin and then its argument prototype would still apply. */
8493 char $ac_func ();
8494 /* The GNU C library defines this for functions which it implements
8495 to always fail with ENOSYS. Some functions are actually named
8496 something starting with __ and the normal name is an alias. */
8497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8498 choke me
8499 #else
8500 char (*f) () = $ac_func;
8501 #endif
8502 #ifdef __cplusplus
8504 #endif
8507 main ()
8509 return f != $ac_func;
8511 return 0;
8513 _ACEOF
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516 (eval $ac_link) 2>conftest.er1
8517 ac_status=$?
8518 grep -v '^ *+' conftest.er1 >conftest.err
8519 rm -f conftest.er1
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -z "$ac_c_werror_flag"
8524 || test ! -s conftest.err'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 (eval $ac_try) 2>&5
8527 ac_status=$?
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; } &&
8530 { ac_try='test -s conftest$ac_exeext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 (eval $ac_try) 2>&5
8533 ac_status=$?
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
8536 eval "$as_ac_var=yes"
8537 else
8538 echo "$as_me: failed program was:" >&5
8539 sed 's/^/| /' conftest.$ac_ext >&5
8541 eval "$as_ac_var=no"
8543 rm -f conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8548 if test `eval echo '${'$as_ac_var'}'` = yes; then
8549 cat >>confdefs.h <<_ACEOF
8550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8551 _ACEOF
8554 done
8556 else
8558 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8559 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8560 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8561 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 else
8567 ac_ext=cc
8568 ac_cpp='$CXXCPP $CPPFLAGS'
8569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8573 cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h. */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8579 #include <math.h>
8580 #ifdef HAVE_IEEEFP_H
8581 #include <ieeefp.h>
8582 #endif
8585 main ()
8587 _isinf(0);
8589 return 0;
8591 _ACEOF
8592 rm -f conftest.$ac_objext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8594 (eval $ac_compile) 2>conftest.er1
8595 ac_status=$?
8596 grep -v '^ *+' conftest.er1 >conftest.err
8597 rm -f conftest.er1
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); } &&
8601 { ac_try='test -z "$ac_cxx_werror_flag"
8602 || test ! -s conftest.err'
8603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604 (eval $ac_try) 2>&5
8605 ac_status=$?
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); }; } &&
8608 { ac_try='test -s conftest.$ac_objext'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 (eval $ac_try) 2>&5
8611 ac_status=$?
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; }; then
8614 glibcxx_cv_func__isinf_use=yes
8615 else
8616 echo "$as_me: failed program was:" >&5
8617 sed 's/^/| /' conftest.$ac_ext >&5
8619 glibcxx_cv_func__isinf_use=no
8621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8622 ac_ext=c
8623 ac_cpp='$CPP $CPPFLAGS'
8624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8633 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8637 for ac_func in _isinf
8639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8640 echo "$as_me:$LINENO: checking for $ac_func" >&5
8641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8642 if eval "test \"\${$as_ac_var+set}\" = set"; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8644 else
8645 if test x$gcc_no_link = xyes; then
8646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8648 { (exit 1); exit 1; }; }
8650 cat >conftest.$ac_ext <<_ACEOF
8651 /* confdefs.h. */
8652 _ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8658 #define $ac_func innocuous_$ac_func
8660 /* System header to define __stub macros and hopefully few prototypes,
8661 which can conflict with char $ac_func (); below.
8662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8663 <limits.h> exists even on freestanding compilers. */
8665 #ifdef __STDC__
8666 # include <limits.h>
8667 #else
8668 # include <assert.h>
8669 #endif
8671 #undef $ac_func
8673 /* Override any gcc2 internal prototype to avoid an error. */
8674 #ifdef __cplusplus
8675 extern "C"
8677 #endif
8678 /* We use char because int might match the return type of a gcc2
8679 builtin and then its argument prototype would still apply. */
8680 char $ac_func ();
8681 /* The GNU C library defines this for functions which it implements
8682 to always fail with ENOSYS. Some functions are actually named
8683 something starting with __ and the normal name is an alias. */
8684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8685 choke me
8686 #else
8687 char (*f) () = $ac_func;
8688 #endif
8689 #ifdef __cplusplus
8691 #endif
8694 main ()
8696 return f != $ac_func;
8698 return 0;
8700 _ACEOF
8701 rm -f conftest.$ac_objext conftest$ac_exeext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8703 (eval $ac_link) 2>conftest.er1
8704 ac_status=$?
8705 grep -v '^ *+' conftest.er1 >conftest.err
8706 rm -f conftest.er1
8707 cat conftest.err >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try='test -z "$ac_c_werror_flag"
8711 || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 (eval $ac_try) 2>&5
8714 ac_status=$?
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 (eval $ac_try) 2>&5
8720 ac_status=$?
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 eval "$as_ac_var=yes"
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 eval "$as_ac_var=no"
8730 rm -f conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8735 if test `eval echo '${'$as_ac_var'}'` = yes; then
8736 cat >>confdefs.h <<_ACEOF
8737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8738 _ACEOF
8741 done
8751 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8752 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8753 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8754 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8760 ac_ext=cc
8761 ac_cpp='$CXXCPP $CPPFLAGS'
8762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8766 cat >conftest.$ac_ext <<_ACEOF
8767 /* confdefs.h. */
8768 _ACEOF
8769 cat confdefs.h >>conftest.$ac_ext
8770 cat >>conftest.$ac_ext <<_ACEOF
8771 /* end confdefs.h. */
8772 #include <math.h>
8773 #ifdef HAVE_IEEEFP_H
8774 #include <ieeefp.h>
8775 #endif
8778 main ()
8780 isnan(0);
8782 return 0;
8784 _ACEOF
8785 rm -f conftest.$ac_objext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787 (eval $ac_compile) 2>conftest.er1
8788 ac_status=$?
8789 grep -v '^ *+' conftest.er1 >conftest.err
8790 rm -f conftest.er1
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try='test -z "$ac_cxx_werror_flag"
8795 || test ! -s conftest.err'
8796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 (eval $ac_try) 2>&5
8798 ac_status=$?
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); }; } &&
8801 { ac_try='test -s conftest.$ac_objext'
8802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 (eval $ac_try) 2>&5
8804 ac_status=$?
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); }; }; then
8807 glibcxx_cv_func_isnan_use=yes
8808 else
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 glibcxx_cv_func_isnan_use=no
8814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8815 ac_ext=c
8816 ac_cpp='$CPP $CPPFLAGS'
8817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8826 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8828 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8830 for ac_func in isnan
8832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8833 echo "$as_me:$LINENO: checking for $ac_func" >&5
8834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8835 if eval "test \"\${$as_ac_var+set}\" = set"; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else
8838 if test x$gcc_no_link = xyes; then
8839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8841 { (exit 1); exit 1; }; }
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
8848 /* end confdefs.h. */
8849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8851 #define $ac_func innocuous_$ac_func
8853 /* System header to define __stub macros and hopefully few prototypes,
8854 which can conflict with char $ac_func (); below.
8855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8856 <limits.h> exists even on freestanding compilers. */
8858 #ifdef __STDC__
8859 # include <limits.h>
8860 #else
8861 # include <assert.h>
8862 #endif
8864 #undef $ac_func
8866 /* Override any gcc2 internal prototype to avoid an error. */
8867 #ifdef __cplusplus
8868 extern "C"
8870 #endif
8871 /* We use char because int might match the return type of a gcc2
8872 builtin and then its argument prototype would still apply. */
8873 char $ac_func ();
8874 /* The GNU C library defines this for functions which it implements
8875 to always fail with ENOSYS. Some functions are actually named
8876 something starting with __ and the normal name is an alias. */
8877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8878 choke me
8879 #else
8880 char (*f) () = $ac_func;
8881 #endif
8882 #ifdef __cplusplus
8884 #endif
8887 main ()
8889 return f != $ac_func;
8891 return 0;
8893 _ACEOF
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8896 (eval $ac_link) 2>conftest.er1
8897 ac_status=$?
8898 grep -v '^ *+' conftest.er1 >conftest.err
8899 rm -f conftest.er1
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } &&
8903 { ac_try='test -z "$ac_c_werror_flag"
8904 || test ! -s conftest.err'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906 (eval $ac_try) 2>&5
8907 ac_status=$?
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; } &&
8910 { ac_try='test -s conftest$ac_exeext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 (eval $ac_try) 2>&5
8913 ac_status=$?
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8916 eval "$as_ac_var=yes"
8917 else
8918 echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8921 eval "$as_ac_var=no"
8923 rm -f conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8928 if test `eval echo '${'$as_ac_var'}'` = yes; then
8929 cat >>confdefs.h <<_ACEOF
8930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8931 _ACEOF
8934 done
8936 else
8938 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8939 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8940 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8941 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 else
8947 ac_ext=cc
8948 ac_cpp='$CXXCPP $CPPFLAGS'
8949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8953 cat >conftest.$ac_ext <<_ACEOF
8954 /* confdefs.h. */
8955 _ACEOF
8956 cat confdefs.h >>conftest.$ac_ext
8957 cat >>conftest.$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8959 #include <math.h>
8960 #ifdef HAVE_IEEEFP_H
8961 #include <ieeefp.h>
8962 #endif
8965 main ()
8967 _isnan(0);
8969 return 0;
8971 _ACEOF
8972 rm -f conftest.$ac_objext
8973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8974 (eval $ac_compile) 2>conftest.er1
8975 ac_status=$?
8976 grep -v '^ *+' conftest.er1 >conftest.err
8977 rm -f conftest.er1
8978 cat conftest.err >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } &&
8981 { ac_try='test -z "$ac_cxx_werror_flag"
8982 || test ! -s conftest.err'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 (eval $ac_try) 2>&5
8985 ac_status=$?
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; } &&
8988 { ac_try='test -s conftest.$ac_objext'
8989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 (eval $ac_try) 2>&5
8991 ac_status=$?
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then
8994 glibcxx_cv_func__isnan_use=yes
8995 else
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.$ac_ext >&5
8999 glibcxx_cv_func__isnan_use=no
9001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9002 ac_ext=c
9003 ac_cpp='$CPP $CPPFLAGS'
9004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9013 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9015 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9017 for ac_func in _isnan
9019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9020 echo "$as_me:$LINENO: checking for $ac_func" >&5
9021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9022 if eval "test \"\${$as_ac_var+set}\" = set"; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025 if test x$gcc_no_link = xyes; then
9026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9028 { (exit 1); exit 1; }; }
9030 cat >conftest.$ac_ext <<_ACEOF
9031 /* confdefs.h. */
9032 _ACEOF
9033 cat confdefs.h >>conftest.$ac_ext
9034 cat >>conftest.$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9038 #define $ac_func innocuous_$ac_func
9040 /* System header to define __stub macros and hopefully few prototypes,
9041 which can conflict with char $ac_func (); below.
9042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9043 <limits.h> exists even on freestanding compilers. */
9045 #ifdef __STDC__
9046 # include <limits.h>
9047 #else
9048 # include <assert.h>
9049 #endif
9051 #undef $ac_func
9053 /* Override any gcc2 internal prototype to avoid an error. */
9054 #ifdef __cplusplus
9055 extern "C"
9057 #endif
9058 /* We use char because int might match the return type of a gcc2
9059 builtin and then its argument prototype would still apply. */
9060 char $ac_func ();
9061 /* The GNU C library defines this for functions which it implements
9062 to always fail with ENOSYS. Some functions are actually named
9063 something starting with __ and the normal name is an alias. */
9064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9065 choke me
9066 #else
9067 char (*f) () = $ac_func;
9068 #endif
9069 #ifdef __cplusplus
9071 #endif
9074 main ()
9076 return f != $ac_func;
9078 return 0;
9080 _ACEOF
9081 rm -f conftest.$ac_objext conftest$ac_exeext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9083 (eval $ac_link) 2>conftest.er1
9084 ac_status=$?
9085 grep -v '^ *+' conftest.er1 >conftest.err
9086 rm -f conftest.er1
9087 cat conftest.err >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } &&
9090 { ac_try='test -z "$ac_c_werror_flag"
9091 || test ! -s conftest.err'
9092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 (eval $ac_try) 2>&5
9094 ac_status=$?
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); }; } &&
9097 { ac_try='test -s conftest$ac_exeext'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 (eval $ac_try) 2>&5
9100 ac_status=$?
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; }; then
9103 eval "$as_ac_var=yes"
9104 else
9105 echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9108 eval "$as_ac_var=no"
9110 rm -f conftest.err conftest.$ac_objext \
9111 conftest$ac_exeext conftest.$ac_ext
9113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9115 if test `eval echo '${'$as_ac_var'}'` = yes; then
9116 cat >>confdefs.h <<_ACEOF
9117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9118 _ACEOF
9121 done
9131 echo "$as_me:$LINENO: checking for finite declaration" >&5
9132 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9133 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9134 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 else
9140 ac_ext=cc
9141 ac_cpp='$CXXCPP $CPPFLAGS'
9142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9146 cat >conftest.$ac_ext <<_ACEOF
9147 /* confdefs.h. */
9148 _ACEOF
9149 cat confdefs.h >>conftest.$ac_ext
9150 cat >>conftest.$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9152 #include <math.h>
9153 #ifdef HAVE_IEEEFP_H
9154 #include <ieeefp.h>
9155 #endif
9158 main ()
9160 finite(0);
9162 return 0;
9164 _ACEOF
9165 rm -f conftest.$ac_objext
9166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9167 (eval $ac_compile) 2>conftest.er1
9168 ac_status=$?
9169 grep -v '^ *+' conftest.er1 >conftest.err
9170 rm -f conftest.er1
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } &&
9174 { ac_try='test -z "$ac_cxx_werror_flag"
9175 || test ! -s conftest.err'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 (eval $ac_try) 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; } &&
9181 { ac_try='test -s conftest.$ac_objext'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; }; then
9187 glibcxx_cv_func_finite_use=yes
9188 else
9189 echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.$ac_ext >&5
9192 glibcxx_cv_func_finite_use=no
9194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9195 ac_ext=c
9196 ac_cpp='$CPP $CPPFLAGS'
9197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9206 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9208 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9210 for ac_func in finite
9212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9213 echo "$as_me:$LINENO: checking for $ac_func" >&5
9214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_var+set}\" = set"; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9217 else
9218 if test x$gcc_no_link = xyes; then
9219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9221 { (exit 1); exit 1; }; }
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h. */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9231 #define $ac_func innocuous_$ac_func
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func (); below.
9235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236 <limits.h> exists even on freestanding compilers. */
9238 #ifdef __STDC__
9239 # include <limits.h>
9240 #else
9241 # include <assert.h>
9242 #endif
9244 #undef $ac_func
9246 /* Override any gcc2 internal prototype to avoid an error. */
9247 #ifdef __cplusplus
9248 extern "C"
9250 #endif
9251 /* We use char because int might match the return type of a gcc2
9252 builtin and then its argument prototype would still apply. */
9253 char $ac_func ();
9254 /* The GNU C library defines this for functions which it implements
9255 to always fail with ENOSYS. Some functions are actually named
9256 something starting with __ and the normal name is an alias. */
9257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9258 choke me
9259 #else
9260 char (*f) () = $ac_func;
9261 #endif
9262 #ifdef __cplusplus
9264 #endif
9267 main ()
9269 return f != $ac_func;
9271 return 0;
9273 _ACEOF
9274 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276 (eval $ac_link) 2>conftest.er1
9277 ac_status=$?
9278 grep -v '^ *+' conftest.er1 >conftest.err
9279 rm -f conftest.er1
9280 cat conftest.err >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } &&
9283 { ac_try='test -z "$ac_c_werror_flag"
9284 || test ! -s conftest.err'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 (eval $ac_try) 2>&5
9287 ac_status=$?
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; } &&
9290 { ac_try='test -s conftest$ac_exeext'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 (eval $ac_try) 2>&5
9293 ac_status=$?
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; }; then
9296 eval "$as_ac_var=yes"
9297 else
9298 echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9301 eval "$as_ac_var=no"
9303 rm -f conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9308 if test `eval echo '${'$as_ac_var'}'` = yes; then
9309 cat >>confdefs.h <<_ACEOF
9310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9311 _ACEOF
9314 done
9316 else
9318 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9319 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9320 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9321 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9322 echo $ECHO_N "(cached) $ECHO_C" >&6
9323 else
9327 ac_ext=cc
9328 ac_cpp='$CXXCPP $CPPFLAGS'
9329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9339 #include <math.h>
9340 #ifdef HAVE_IEEEFP_H
9341 #include <ieeefp.h>
9342 #endif
9345 main ()
9347 _finite(0);
9349 return 0;
9351 _ACEOF
9352 rm -f conftest.$ac_objext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9354 (eval $ac_compile) 2>conftest.er1
9355 ac_status=$?
9356 grep -v '^ *+' conftest.er1 >conftest.err
9357 rm -f conftest.er1
9358 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } &&
9361 { ac_try='test -z "$ac_cxx_werror_flag"
9362 || test ! -s conftest.err'
9363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 (eval $ac_try) 2>&5
9365 ac_status=$?
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; } &&
9368 { ac_try='test -s conftest.$ac_objext'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 (eval $ac_try) 2>&5
9371 ac_status=$?
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; }; then
9374 glibcxx_cv_func__finite_use=yes
9375 else
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9379 glibcxx_cv_func__finite_use=no
9381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9382 ac_ext=c
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9393 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9395 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9397 for ac_func in _finite
9399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9400 echo "$as_me:$LINENO: checking for $ac_func" >&5
9401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9402 if eval "test \"\${$as_ac_var+set}\" = set"; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 else
9405 if test x$gcc_no_link = xyes; then
9406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9408 { (exit 1); exit 1; }; }
9410 cat >conftest.$ac_ext <<_ACEOF
9411 /* confdefs.h. */
9412 _ACEOF
9413 cat confdefs.h >>conftest.$ac_ext
9414 cat >>conftest.$ac_ext <<_ACEOF
9415 /* end confdefs.h. */
9416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9418 #define $ac_func innocuous_$ac_func
9420 /* System header to define __stub macros and hopefully few prototypes,
9421 which can conflict with char $ac_func (); below.
9422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9423 <limits.h> exists even on freestanding compilers. */
9425 #ifdef __STDC__
9426 # include <limits.h>
9427 #else
9428 # include <assert.h>
9429 #endif
9431 #undef $ac_func
9433 /* Override any gcc2 internal prototype to avoid an error. */
9434 #ifdef __cplusplus
9435 extern "C"
9437 #endif
9438 /* We use char because int might match the return type of a gcc2
9439 builtin and then its argument prototype would still apply. */
9440 char $ac_func ();
9441 /* The GNU C library defines this for functions which it implements
9442 to always fail with ENOSYS. Some functions are actually named
9443 something starting with __ and the normal name is an alias. */
9444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9445 choke me
9446 #else
9447 char (*f) () = $ac_func;
9448 #endif
9449 #ifdef __cplusplus
9451 #endif
9454 main ()
9456 return f != $ac_func;
9458 return 0;
9460 _ACEOF
9461 rm -f conftest.$ac_objext conftest$ac_exeext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9463 (eval $ac_link) 2>conftest.er1
9464 ac_status=$?
9465 grep -v '^ *+' conftest.er1 >conftest.err
9466 rm -f conftest.er1
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try='test -z "$ac_c_werror_flag"
9471 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 (eval $ac_try) 2>&5
9474 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try='test -s conftest$ac_exeext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 (eval $ac_try) 2>&5
9480 ac_status=$?
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 eval "$as_ac_var=yes"
9484 else
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 eval "$as_ac_var=no"
9490 rm -f conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9495 if test `eval echo '${'$as_ac_var'}'` = yes; then
9496 cat >>confdefs.h <<_ACEOF
9497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9498 _ACEOF
9501 done
9511 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9512 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9513 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9514 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 else
9520 ac_ext=cc
9521 ac_cpp='$CXXCPP $CPPFLAGS'
9522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9526 cat >conftest.$ac_ext <<_ACEOF
9527 /* confdefs.h. */
9528 _ACEOF
9529 cat confdefs.h >>conftest.$ac_ext
9530 cat >>conftest.$ac_ext <<_ACEOF
9531 /* end confdefs.h. */
9532 #include <math.h>
9534 main ()
9536 copysign(0, 0);
9538 return 0;
9540 _ACEOF
9541 rm -f conftest.$ac_objext
9542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9543 (eval $ac_compile) 2>conftest.er1
9544 ac_status=$?
9545 grep -v '^ *+' conftest.er1 >conftest.err
9546 rm -f conftest.er1
9547 cat conftest.err >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } &&
9550 { ac_try='test -z "$ac_cxx_werror_flag"
9551 || test ! -s conftest.err'
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 (eval $ac_try) 2>&5
9554 ac_status=$?
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; } &&
9557 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
9563 glibcxx_cv_func_copysign_use=yes
9564 else
9565 echo "$as_me: failed program was:" >&5
9566 sed 's/^/| /' conftest.$ac_ext >&5
9568 glibcxx_cv_func_copysign_use=no
9570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9571 ac_ext=c
9572 ac_cpp='$CPP $CPPFLAGS'
9573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9582 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9584 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9586 for ac_func in copysign
9588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9589 echo "$as_me:$LINENO: checking for $ac_func" >&5
9590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9591 if eval "test \"\${$as_ac_var+set}\" = set"; then
9592 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 else
9594 if test x$gcc_no_link = xyes; then
9595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9597 { (exit 1); exit 1; }; }
9599 cat >conftest.$ac_ext <<_ACEOF
9600 /* confdefs.h. */
9601 _ACEOF
9602 cat confdefs.h >>conftest.$ac_ext
9603 cat >>conftest.$ac_ext <<_ACEOF
9604 /* end confdefs.h. */
9605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9607 #define $ac_func innocuous_$ac_func
9609 /* System header to define __stub macros and hopefully few prototypes,
9610 which can conflict with char $ac_func (); below.
9611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9612 <limits.h> exists even on freestanding compilers. */
9614 #ifdef __STDC__
9615 # include <limits.h>
9616 #else
9617 # include <assert.h>
9618 #endif
9620 #undef $ac_func
9622 /* Override any gcc2 internal prototype to avoid an error. */
9623 #ifdef __cplusplus
9624 extern "C"
9626 #endif
9627 /* We use char because int might match the return type of a gcc2
9628 builtin and then its argument prototype would still apply. */
9629 char $ac_func ();
9630 /* The GNU C library defines this for functions which it implements
9631 to always fail with ENOSYS. Some functions are actually named
9632 something starting with __ and the normal name is an alias. */
9633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9634 choke me
9635 #else
9636 char (*f) () = $ac_func;
9637 #endif
9638 #ifdef __cplusplus
9640 #endif
9643 main ()
9645 return f != $ac_func;
9647 return 0;
9649 _ACEOF
9650 rm -f conftest.$ac_objext conftest$ac_exeext
9651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9652 (eval $ac_link) 2>conftest.er1
9653 ac_status=$?
9654 grep -v '^ *+' conftest.er1 >conftest.err
9655 rm -f conftest.er1
9656 cat conftest.err >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } &&
9659 { ac_try='test -z "$ac_c_werror_flag"
9660 || test ! -s conftest.err'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 (eval $ac_try) 2>&5
9663 ac_status=$?
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try='test -s conftest$ac_exeext'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 (eval $ac_try) 2>&5
9669 ac_status=$?
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; }; then
9672 eval "$as_ac_var=yes"
9673 else
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.$ac_ext >&5
9677 eval "$as_ac_var=no"
9679 rm -f conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9684 if test `eval echo '${'$as_ac_var'}'` = yes; then
9685 cat >>confdefs.h <<_ACEOF
9686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9687 _ACEOF
9690 done
9692 else
9694 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9695 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9696 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9697 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 else
9703 ac_ext=cc
9704 ac_cpp='$CXXCPP $CPPFLAGS'
9705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9709 cat >conftest.$ac_ext <<_ACEOF
9710 /* confdefs.h. */
9711 _ACEOF
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9715 #include <math.h>
9717 main ()
9719 _copysign(0, 0);
9721 return 0;
9723 _ACEOF
9724 rm -f conftest.$ac_objext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9726 (eval $ac_compile) 2>conftest.er1
9727 ac_status=$?
9728 grep -v '^ *+' conftest.er1 >conftest.err
9729 rm -f conftest.er1
9730 cat conftest.err >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } &&
9733 { ac_try='test -z "$ac_cxx_werror_flag"
9734 || test ! -s conftest.err'
9735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736 (eval $ac_try) 2>&5
9737 ac_status=$?
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; } &&
9740 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
9746 glibcxx_cv_func__copysign_use=yes
9747 else
9748 echo "$as_me: failed program was:" >&5
9749 sed 's/^/| /' conftest.$ac_ext >&5
9751 glibcxx_cv_func__copysign_use=no
9753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9754 ac_ext=c
9755 ac_cpp='$CPP $CPPFLAGS'
9756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9765 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9767 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9769 for ac_func in _copysign
9771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9772 echo "$as_me:$LINENO: checking for $ac_func" >&5
9773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9774 if eval "test \"\${$as_ac_var+set}\" = set"; then
9775 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 else
9777 if test x$gcc_no_link = xyes; then
9778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9780 { (exit 1); exit 1; }; }
9782 cat >conftest.$ac_ext <<_ACEOF
9783 /* confdefs.h. */
9784 _ACEOF
9785 cat confdefs.h >>conftest.$ac_ext
9786 cat >>conftest.$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9790 #define $ac_func innocuous_$ac_func
9792 /* System header to define __stub macros and hopefully few prototypes,
9793 which can conflict with char $ac_func (); below.
9794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9795 <limits.h> exists even on freestanding compilers. */
9797 #ifdef __STDC__
9798 # include <limits.h>
9799 #else
9800 # include <assert.h>
9801 #endif
9803 #undef $ac_func
9805 /* Override any gcc2 internal prototype to avoid an error. */
9806 #ifdef __cplusplus
9807 extern "C"
9809 #endif
9810 /* We use char because int might match the return type of a gcc2
9811 builtin and then its argument prototype would still apply. */
9812 char $ac_func ();
9813 /* The GNU C library defines this for functions which it implements
9814 to always fail with ENOSYS. Some functions are actually named
9815 something starting with __ and the normal name is an alias. */
9816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9817 choke me
9818 #else
9819 char (*f) () = $ac_func;
9820 #endif
9821 #ifdef __cplusplus
9823 #endif
9826 main ()
9828 return f != $ac_func;
9830 return 0;
9832 _ACEOF
9833 rm -f conftest.$ac_objext conftest$ac_exeext
9834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9835 (eval $ac_link) 2>conftest.er1
9836 ac_status=$?
9837 grep -v '^ *+' conftest.er1 >conftest.err
9838 rm -f conftest.er1
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } &&
9842 { ac_try='test -z "$ac_c_werror_flag"
9843 || test ! -s conftest.err'
9844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 (eval $ac_try) 2>&5
9846 ac_status=$?
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); }; } &&
9849 { ac_try='test -s conftest$ac_exeext'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 (eval $ac_try) 2>&5
9852 ac_status=$?
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; }; then
9855 eval "$as_ac_var=yes"
9856 else
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.$ac_ext >&5
9860 eval "$as_ac_var=no"
9862 rm -f conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9867 if test `eval echo '${'$as_ac_var'}'` = yes; then
9868 cat >>confdefs.h <<_ACEOF
9869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9870 _ACEOF
9873 done
9883 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9884 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9885 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9886 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9888 else
9892 ac_ext=cc
9893 ac_cpp='$CXXCPP $CPPFLAGS'
9894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9898 cat >conftest.$ac_ext <<_ACEOF
9899 /* confdefs.h. */
9900 _ACEOF
9901 cat confdefs.h >>conftest.$ac_ext
9902 cat >>conftest.$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 #include <math.h>
9906 main ()
9908 sincos(0, 0, 0);
9910 return 0;
9912 _ACEOF
9913 rm -f conftest.$ac_objext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_cxx_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 glibcxx_cv_func_sincos_use=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 glibcxx_cv_func_sincos_use=no
9942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9943 ac_ext=c
9944 ac_cpp='$CPP $CPPFLAGS'
9945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9954 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9958 for ac_func in sincos
9960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9961 echo "$as_me:$LINENO: checking for $ac_func" >&5
9962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9963 if eval "test \"\${$as_ac_var+set}\" = set"; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define $ac_func innocuous_$ac_func
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char $ac_func (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9992 #undef $ac_func
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char $ac_func ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10006 choke me
10007 #else
10008 char (*f) () = $ac_func;
10009 #endif
10010 #ifdef __cplusplus
10012 #endif
10015 main ()
10017 return f != $ac_func;
10019 return 0;
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 eval "$as_ac_var=yes"
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10049 eval "$as_ac_var=no"
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10056 if test `eval echo '${'$as_ac_var'}'` = yes; then
10057 cat >>confdefs.h <<_ACEOF
10058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10059 _ACEOF
10062 done
10064 else
10066 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10067 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10068 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10069 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10071 else
10075 ac_ext=cc
10076 ac_cpp='$CXXCPP $CPPFLAGS'
10077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10081 cat >conftest.$ac_ext <<_ACEOF
10082 /* confdefs.h. */
10083 _ACEOF
10084 cat confdefs.h >>conftest.$ac_ext
10085 cat >>conftest.$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10087 #include <math.h>
10089 main ()
10091 _sincos(0, 0, 0);
10093 return 0;
10095 _ACEOF
10096 rm -f conftest.$ac_objext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10098 (eval $ac_compile) 2>conftest.er1
10099 ac_status=$?
10100 grep -v '^ *+' conftest.er1 >conftest.err
10101 rm -f conftest.er1
10102 cat conftest.err >&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try='test -z "$ac_cxx_werror_flag"
10106 || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10109 ac_status=$?
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try='test -s conftest.$ac_objext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10115 ac_status=$?
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10118 glibcxx_cv_func__sincos_use=yes
10119 else
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.$ac_ext >&5
10123 glibcxx_cv_func__sincos_use=no
10125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10126 ac_ext=c
10127 ac_cpp='$CPP $CPPFLAGS'
10128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10137 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10139 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10141 for ac_func in _sincos
10143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10144 echo "$as_me:$LINENO: checking for $ac_func" >&5
10145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10146 if eval "test \"\${$as_ac_var+set}\" = set"; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 else
10149 if test x$gcc_no_link = xyes; then
10150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10152 { (exit 1); exit 1; }; }
10154 cat >conftest.$ac_ext <<_ACEOF
10155 /* confdefs.h. */
10156 _ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10162 #define $ac_func innocuous_$ac_func
10164 /* System header to define __stub macros and hopefully few prototypes,
10165 which can conflict with char $ac_func (); below.
10166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10167 <limits.h> exists even on freestanding compilers. */
10169 #ifdef __STDC__
10170 # include <limits.h>
10171 #else
10172 # include <assert.h>
10173 #endif
10175 #undef $ac_func
10177 /* Override any gcc2 internal prototype to avoid an error. */
10178 #ifdef __cplusplus
10179 extern "C"
10181 #endif
10182 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */
10184 char $ac_func ();
10185 /* The GNU C library defines this for functions which it implements
10186 to always fail with ENOSYS. Some functions are actually named
10187 something starting with __ and the normal name is an alias. */
10188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10189 choke me
10190 #else
10191 char (*f) () = $ac_func;
10192 #endif
10193 #ifdef __cplusplus
10195 #endif
10198 main ()
10200 return f != $ac_func;
10202 return 0;
10204 _ACEOF
10205 rm -f conftest.$ac_objext conftest$ac_exeext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10207 (eval $ac_link) 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try='test -z "$ac_c_werror_flag"
10215 || test ! -s conftest.err'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10218 ac_status=$?
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; } &&
10221 { ac_try='test -s conftest$ac_exeext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10224 ac_status=$?
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 eval "$as_ac_var=yes"
10228 else
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10232 eval "$as_ac_var=no"
10234 rm -f conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10239 if test `eval echo '${'$as_ac_var'}'` = yes; then
10240 cat >>confdefs.h <<_ACEOF
10241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10242 _ACEOF
10245 done
10255 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10256 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10257 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10258 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 else
10264 ac_ext=cc
10265 ac_cpp='$CXXCPP $CPPFLAGS'
10266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10270 cat >conftest.$ac_ext <<_ACEOF
10271 /* confdefs.h. */
10272 _ACEOF
10273 cat confdefs.h >>conftest.$ac_ext
10274 cat >>conftest.$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10276 #include <math.h>
10277 #ifdef HAVE_IEEEFP_H
10278 #include <ieeefp.h>
10279 #endif
10282 main ()
10284 fpclass(0);
10286 return 0;
10288 _ACEOF
10289 rm -f conftest.$ac_objext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10291 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_fpclass_use=yes
10312 else
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10316 glibcxx_cv_func_fpclass_use=no
10318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10319 ac_ext=c
10320 ac_cpp='$CPP $CPPFLAGS'
10321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10330 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10332 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10334 for ac_func in fpclass
10336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10337 echo "$as_me:$LINENO: checking for $ac_func" >&5
10338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10339 if eval "test \"\${$as_ac_var+set}\" = set"; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 else
10342 if test x$gcc_no_link = xyes; then
10343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10345 { (exit 1); exit 1; }; }
10347 cat >conftest.$ac_ext <<_ACEOF
10348 /* confdefs.h. */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10355 #define $ac_func innocuous_$ac_func
10357 /* System header to define __stub macros and hopefully few prototypes,
10358 which can conflict with char $ac_func (); below.
10359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10360 <limits.h> exists even on freestanding compilers. */
10362 #ifdef __STDC__
10363 # include <limits.h>
10364 #else
10365 # include <assert.h>
10366 #endif
10368 #undef $ac_func
10370 /* Override any gcc2 internal prototype to avoid an error. */
10371 #ifdef __cplusplus
10372 extern "C"
10374 #endif
10375 /* We use char because int might match the return type of a gcc2
10376 builtin and then its argument prototype would still apply. */
10377 char $ac_func ();
10378 /* The GNU C library defines this for functions which it implements
10379 to always fail with ENOSYS. Some functions are actually named
10380 something starting with __ and the normal name is an alias. */
10381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10382 choke me
10383 #else
10384 char (*f) () = $ac_func;
10385 #endif
10386 #ifdef __cplusplus
10388 #endif
10391 main ()
10393 return f != $ac_func;
10395 return 0;
10397 _ACEOF
10398 rm -f conftest.$ac_objext conftest$ac_exeext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10400 (eval $ac_link) 2>conftest.er1
10401 ac_status=$?
10402 grep -v '^ *+' conftest.er1 >conftest.err
10403 rm -f conftest.er1
10404 cat conftest.err >&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } &&
10407 { ac_try='test -z "$ac_c_werror_flag"
10408 || test ! -s conftest.err'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10411 ac_status=$?
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; } &&
10414 { ac_try='test -s conftest$ac_exeext'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10417 ac_status=$?
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; }; then
10420 eval "$as_ac_var=yes"
10421 else
10422 echo "$as_me: failed program was:" >&5
10423 sed 's/^/| /' conftest.$ac_ext >&5
10425 eval "$as_ac_var=no"
10427 rm -f conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10432 if test `eval echo '${'$as_ac_var'}'` = yes; then
10433 cat >>confdefs.h <<_ACEOF
10434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10435 _ACEOF
10438 done
10440 else
10442 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10443 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10444 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10445 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 else
10451 ac_ext=cc
10452 ac_cpp='$CXXCPP $CPPFLAGS'
10453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10457 cat >conftest.$ac_ext <<_ACEOF
10458 /* confdefs.h. */
10459 _ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 #include <math.h>
10464 #ifdef HAVE_IEEEFP_H
10465 #include <ieeefp.h>
10466 #endif
10469 main ()
10471 _fpclass(0);
10473 return 0;
10475 _ACEOF
10476 rm -f conftest.$ac_objext
10477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10478 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fpclass_use=yes
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10503 glibcxx_cv_func__fpclass_use=no
10505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10506 ac_ext=c
10507 ac_cpp='$CPP $CPPFLAGS'
10508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10517 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10519 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10521 for ac_func in _fpclass
10523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10524 echo "$as_me:$LINENO: checking for $ac_func" >&5
10525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10526 if eval "test \"\${$as_ac_var+set}\" = set"; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 else
10529 if test x$gcc_no_link = xyes; then
10530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10532 { (exit 1); exit 1; }; }
10534 cat >conftest.$ac_ext <<_ACEOF
10535 /* confdefs.h. */
10536 _ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10542 #define $ac_func innocuous_$ac_func
10544 /* System header to define __stub macros and hopefully few prototypes,
10545 which can conflict with char $ac_func (); below.
10546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10547 <limits.h> exists even on freestanding compilers. */
10549 #ifdef __STDC__
10550 # include <limits.h>
10551 #else
10552 # include <assert.h>
10553 #endif
10555 #undef $ac_func
10557 /* Override any gcc2 internal prototype to avoid an error. */
10558 #ifdef __cplusplus
10559 extern "C"
10561 #endif
10562 /* We use char because int might match the return type of a gcc2
10563 builtin and then its argument prototype would still apply. */
10564 char $ac_func ();
10565 /* The GNU C library defines this for functions which it implements
10566 to always fail with ENOSYS. Some functions are actually named
10567 something starting with __ and the normal name is an alias. */
10568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10569 choke me
10570 #else
10571 char (*f) () = $ac_func;
10572 #endif
10573 #ifdef __cplusplus
10575 #endif
10578 main ()
10580 return f != $ac_func;
10582 return 0;
10584 _ACEOF
10585 rm -f conftest.$ac_objext conftest$ac_exeext
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>conftest.er1
10588 ac_status=$?
10589 grep -v '^ *+' conftest.er1 >conftest.err
10590 rm -f conftest.er1
10591 cat conftest.err >&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } &&
10594 { ac_try='test -z "$ac_c_werror_flag"
10595 || test ! -s conftest.err'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10598 ac_status=$?
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; } &&
10601 { ac_try='test -s conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10604 ac_status=$?
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10607 eval "$as_ac_var=yes"
10608 else
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10612 eval "$as_ac_var=no"
10614 rm -f conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10619 if test `eval echo '${'$as_ac_var'}'` = yes; then
10620 cat >>confdefs.h <<_ACEOF
10621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10622 _ACEOF
10625 done
10635 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10636 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10637 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10638 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 else
10644 ac_ext=cc
10645 ac_cpp='$CXXCPP $CPPFLAGS'
10646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10650 cat >conftest.$ac_ext <<_ACEOF
10651 /* confdefs.h. */
10652 _ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10656 #include <math.h>
10657 #ifdef HAVE_IEEEFP_H
10658 #include <ieeefp.h>
10659 #endif
10662 main ()
10664 qfpclass(0);
10666 return 0;
10668 _ACEOF
10669 rm -f conftest.$ac_objext
10670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10671 (eval $ac_compile) 2>conftest.er1
10672 ac_status=$?
10673 grep -v '^ *+' conftest.er1 >conftest.err
10674 rm -f conftest.er1
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } &&
10678 { ac_try='test -z "$ac_cxx_werror_flag"
10679 || test ! -s conftest.err'
10680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10681 (eval $ac_try) 2>&5
10682 ac_status=$?
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); }; } &&
10685 { ac_try='test -s conftest.$ac_objext'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10688 ac_status=$?
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10691 glibcxx_cv_func_qfpclass_use=yes
10692 else
10693 echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10696 glibcxx_cv_func_qfpclass_use=no
10698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10699 ac_ext=c
10700 ac_cpp='$CPP $CPPFLAGS'
10701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10710 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10712 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10714 for ac_func in qfpclass
10716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10717 echo "$as_me:$LINENO: checking for $ac_func" >&5
10718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10719 if eval "test \"\${$as_ac_var+set}\" = set"; then
10720 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 else
10722 if test x$gcc_no_link = xyes; then
10723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10725 { (exit 1); exit 1; }; }
10727 cat >conftest.$ac_ext <<_ACEOF
10728 /* confdefs.h. */
10729 _ACEOF
10730 cat confdefs.h >>conftest.$ac_ext
10731 cat >>conftest.$ac_ext <<_ACEOF
10732 /* end confdefs.h. */
10733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10735 #define $ac_func innocuous_$ac_func
10737 /* System header to define __stub macros and hopefully few prototypes,
10738 which can conflict with char $ac_func (); below.
10739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10740 <limits.h> exists even on freestanding compilers. */
10742 #ifdef __STDC__
10743 # include <limits.h>
10744 #else
10745 # include <assert.h>
10746 #endif
10748 #undef $ac_func
10750 /* Override any gcc2 internal prototype to avoid an error. */
10751 #ifdef __cplusplus
10752 extern "C"
10754 #endif
10755 /* We use char because int might match the return type of a gcc2
10756 builtin and then its argument prototype would still apply. */
10757 char $ac_func ();
10758 /* The GNU C library defines this for functions which it implements
10759 to always fail with ENOSYS. Some functions are actually named
10760 something starting with __ and the normal name is an alias. */
10761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10762 choke me
10763 #else
10764 char (*f) () = $ac_func;
10765 #endif
10766 #ifdef __cplusplus
10768 #endif
10771 main ()
10773 return f != $ac_func;
10775 return 0;
10777 _ACEOF
10778 rm -f conftest.$ac_objext conftest$ac_exeext
10779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10780 (eval $ac_link) 2>conftest.er1
10781 ac_status=$?
10782 grep -v '^ *+' conftest.er1 >conftest.err
10783 rm -f conftest.er1
10784 cat conftest.err >&5
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); } &&
10787 { ac_try='test -z "$ac_c_werror_flag"
10788 || test ! -s conftest.err'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10791 ac_status=$?
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; } &&
10794 { ac_try='test -s conftest$ac_exeext'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; }; then
10800 eval "$as_ac_var=yes"
10801 else
10802 echo "$as_me: failed program was:" >&5
10803 sed 's/^/| /' conftest.$ac_ext >&5
10805 eval "$as_ac_var=no"
10807 rm -f conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10812 if test `eval echo '${'$as_ac_var'}'` = yes; then
10813 cat >>confdefs.h <<_ACEOF
10814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10815 _ACEOF
10818 done
10820 else
10822 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10823 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10824 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10825 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 else
10831 ac_ext=cc
10832 ac_cpp='$CXXCPP $CPPFLAGS'
10833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10837 cat >conftest.$ac_ext <<_ACEOF
10838 /* confdefs.h. */
10839 _ACEOF
10840 cat confdefs.h >>conftest.$ac_ext
10841 cat >>conftest.$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10843 #include <math.h>
10844 #ifdef HAVE_IEEEFP_H
10845 #include <ieeefp.h>
10846 #endif
10849 main ()
10851 _qfpclass(0);
10853 return 0;
10855 _ACEOF
10856 rm -f conftest.$ac_objext
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>conftest.er1
10859 ac_status=$?
10860 grep -v '^ *+' conftest.er1 >conftest.err
10861 rm -f conftest.er1
10862 cat conftest.err >&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); } &&
10865 { ac_try='test -z "$ac_cxx_werror_flag"
10866 || test ! -s conftest.err'
10867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10868 (eval $ac_try) 2>&5
10869 ac_status=$?
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); }; } &&
10872 { ac_try='test -s conftest.$ac_objext'
10873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 (eval $ac_try) 2>&5
10875 ac_status=$?
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; }; then
10878 glibcxx_cv_func__qfpclass_use=yes
10879 else
10880 echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.$ac_ext >&5
10883 glibcxx_cv_func__qfpclass_use=no
10885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10886 ac_ext=c
10887 ac_cpp='$CPP $CPPFLAGS'
10888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10897 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10899 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10901 for ac_func in _qfpclass
10903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10904 echo "$as_me:$LINENO: checking for $ac_func" >&5
10905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10906 if eval "test \"\${$as_ac_var+set}\" = set"; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10909 if test x$gcc_no_link = xyes; then
10910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10912 { (exit 1); exit 1; }; }
10914 cat >conftest.$ac_ext <<_ACEOF
10915 /* confdefs.h. */
10916 _ACEOF
10917 cat confdefs.h >>conftest.$ac_ext
10918 cat >>conftest.$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10922 #define $ac_func innocuous_$ac_func
10924 /* System header to define __stub macros and hopefully few prototypes,
10925 which can conflict with char $ac_func (); below.
10926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10927 <limits.h> exists even on freestanding compilers. */
10929 #ifdef __STDC__
10930 # include <limits.h>
10931 #else
10932 # include <assert.h>
10933 #endif
10935 #undef $ac_func
10937 /* Override any gcc2 internal prototype to avoid an error. */
10938 #ifdef __cplusplus
10939 extern "C"
10941 #endif
10942 /* We use char because int might match the return type of a gcc2
10943 builtin and then its argument prototype would still apply. */
10944 char $ac_func ();
10945 /* The GNU C library defines this for functions which it implements
10946 to always fail with ENOSYS. Some functions are actually named
10947 something starting with __ and the normal name is an alias. */
10948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10949 choke me
10950 #else
10951 char (*f) () = $ac_func;
10952 #endif
10953 #ifdef __cplusplus
10955 #endif
10958 main ()
10960 return f != $ac_func;
10962 return 0;
10964 _ACEOF
10965 rm -f conftest.$ac_objext conftest$ac_exeext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10967 (eval $ac_link) 2>conftest.er1
10968 ac_status=$?
10969 grep -v '^ *+' conftest.er1 >conftest.err
10970 rm -f conftest.er1
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try='test -z "$ac_c_werror_flag"
10975 || test ! -s conftest.err'
10976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977 (eval $ac_try) 2>&5
10978 ac_status=$?
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }; } &&
10981 { ac_try='test -s conftest$ac_exeext'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; }; then
10987 eval "$as_ac_var=yes"
10988 else
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10992 eval "$as_ac_var=no"
10994 rm -f conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10999 if test `eval echo '${'$as_ac_var'}'` = yes; then
11000 cat >>confdefs.h <<_ACEOF
11001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11002 _ACEOF
11005 done
11015 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11016 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11017 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11018 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11024 ac_ext=cc
11025 ac_cpp='$CXXCPP $CPPFLAGS'
11026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11030 cat >conftest.$ac_ext <<_ACEOF
11031 /* confdefs.h. */
11032 _ACEOF
11033 cat confdefs.h >>conftest.$ac_ext
11034 cat >>conftest.$ac_ext <<_ACEOF
11035 /* end confdefs.h. */
11036 #include <math.h>
11038 main ()
11040 hypot(0, 0);
11042 return 0;
11044 _ACEOF
11045 rm -f conftest.$ac_objext
11046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11047 (eval $ac_compile) 2>conftest.er1
11048 ac_status=$?
11049 grep -v '^ *+' conftest.er1 >conftest.err
11050 rm -f conftest.er1
11051 cat conftest.err >&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } &&
11054 { ac_try='test -z "$ac_cxx_werror_flag"
11055 || test ! -s conftest.err'
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); }; } &&
11061 { ac_try='test -s conftest.$ac_objext'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 glibcxx_cv_func_hypot_use=yes
11068 else
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11072 glibcxx_cv_func_hypot_use=no
11074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11075 ac_ext=c
11076 ac_cpp='$CPP $CPPFLAGS'
11077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11086 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11088 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11090 for ac_func in hypot
11092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11093 echo "$as_me:$LINENO: checking for $ac_func" >&5
11094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11095 if eval "test \"\${$as_ac_var+set}\" = set"; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else
11098 if test x$gcc_no_link = xyes; then
11099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11101 { (exit 1); exit 1; }; }
11103 cat >conftest.$ac_ext <<_ACEOF
11104 /* confdefs.h. */
11105 _ACEOF
11106 cat confdefs.h >>conftest.$ac_ext
11107 cat >>conftest.$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11111 #define $ac_func innocuous_$ac_func
11113 /* System header to define __stub macros and hopefully few prototypes,
11114 which can conflict with char $ac_func (); below.
11115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11116 <limits.h> exists even on freestanding compilers. */
11118 #ifdef __STDC__
11119 # include <limits.h>
11120 #else
11121 # include <assert.h>
11122 #endif
11124 #undef $ac_func
11126 /* Override any gcc2 internal prototype to avoid an error. */
11127 #ifdef __cplusplus
11128 extern "C"
11130 #endif
11131 /* We use char because int might match the return type of a gcc2
11132 builtin and then its argument prototype would still apply. */
11133 char $ac_func ();
11134 /* The GNU C library defines this for functions which it implements
11135 to always fail with ENOSYS. Some functions are actually named
11136 something starting with __ and the normal name is an alias. */
11137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11138 choke me
11139 #else
11140 char (*f) () = $ac_func;
11141 #endif
11142 #ifdef __cplusplus
11144 #endif
11147 main ()
11149 return f != $ac_func;
11151 return 0;
11153 _ACEOF
11154 rm -f conftest.$ac_objext conftest$ac_exeext
11155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11156 (eval $ac_link) 2>conftest.er1
11157 ac_status=$?
11158 grep -v '^ *+' conftest.er1 >conftest.err
11159 rm -f conftest.er1
11160 cat conftest.err >&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); } &&
11163 { ac_try='test -z "$ac_c_werror_flag"
11164 || test ! -s conftest.err'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11167 ac_status=$?
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; } &&
11170 { ac_try='test -s conftest$ac_exeext'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; }; then
11176 eval "$as_ac_var=yes"
11177 else
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.$ac_ext >&5
11181 eval "$as_ac_var=no"
11183 rm -f conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11188 if test `eval echo '${'$as_ac_var'}'` = yes; then
11189 cat >>confdefs.h <<_ACEOF
11190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11191 _ACEOF
11194 done
11196 else
11198 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11199 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11200 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11201 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 else
11207 ac_ext=cc
11208 ac_cpp='$CXXCPP $CPPFLAGS'
11209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11213 cat >conftest.$ac_ext <<_ACEOF
11214 /* confdefs.h. */
11215 _ACEOF
11216 cat confdefs.h >>conftest.$ac_ext
11217 cat >>conftest.$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219 #include <math.h>
11221 main ()
11223 _hypot(0, 0);
11225 return 0;
11227 _ACEOF
11228 rm -f conftest.$ac_objext
11229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11230 (eval $ac_compile) 2>conftest.er1
11231 ac_status=$?
11232 grep -v '^ *+' conftest.er1 >conftest.err
11233 rm -f conftest.er1
11234 cat conftest.err >&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try='test -z "$ac_cxx_werror_flag"
11238 || test ! -s conftest.err'
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); }; } &&
11244 { ac_try='test -s conftest.$ac_objext'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; }; then
11250 glibcxx_cv_func__hypot_use=yes
11251 else
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.$ac_ext >&5
11255 glibcxx_cv_func__hypot_use=no
11257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11258 ac_ext=c
11259 ac_cpp='$CPP $CPPFLAGS'
11260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11269 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11273 for ac_func in _hypot
11275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11276 echo "$as_me:$LINENO: checking for $ac_func" >&5
11277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11278 if eval "test \"\${$as_ac_var+set}\" = set"; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 else
11281 if test x$gcc_no_link = xyes; then
11282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11284 { (exit 1); exit 1; }; }
11286 cat >conftest.$ac_ext <<_ACEOF
11287 /* confdefs.h. */
11288 _ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11294 #define $ac_func innocuous_$ac_func
11296 /* System header to define __stub macros and hopefully few prototypes,
11297 which can conflict with char $ac_func (); below.
11298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11299 <limits.h> exists even on freestanding compilers. */
11301 #ifdef __STDC__
11302 # include <limits.h>
11303 #else
11304 # include <assert.h>
11305 #endif
11307 #undef $ac_func
11309 /* Override any gcc2 internal prototype to avoid an error. */
11310 #ifdef __cplusplus
11311 extern "C"
11313 #endif
11314 /* We use char because int might match the return type of a gcc2
11315 builtin and then its argument prototype would still apply. */
11316 char $ac_func ();
11317 /* The GNU C library defines this for functions which it implements
11318 to always fail with ENOSYS. Some functions are actually named
11319 something starting with __ and the normal name is an alias. */
11320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11321 choke me
11322 #else
11323 char (*f) () = $ac_func;
11324 #endif
11325 #ifdef __cplusplus
11327 #endif
11330 main ()
11332 return f != $ac_func;
11334 return 0;
11336 _ACEOF
11337 rm -f conftest.$ac_objext conftest$ac_exeext
11338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11339 (eval $ac_link) 2>conftest.er1
11340 ac_status=$?
11341 grep -v '^ *+' conftest.er1 >conftest.err
11342 rm -f conftest.er1
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } &&
11346 { ac_try='test -z "$ac_c_werror_flag"
11347 || test ! -s conftest.err'
11348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11349 (eval $ac_try) 2>&5
11350 ac_status=$?
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }; } &&
11353 { ac_try='test -s conftest$ac_exeext'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11356 ac_status=$?
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; }; then
11359 eval "$as_ac_var=yes"
11360 else
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.$ac_ext >&5
11364 eval "$as_ac_var=no"
11366 rm -f conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11371 if test `eval echo '${'$as_ac_var'}'` = yes; then
11372 cat >>confdefs.h <<_ACEOF
11373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11374 _ACEOF
11377 done
11387 echo "$as_me:$LINENO: checking for float trig functions" >&5
11388 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11389 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11395 ac_ext=cc
11396 ac_cpp='$CXXCPP $CPPFLAGS'
11397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11401 cat >conftest.$ac_ext <<_ACEOF
11402 /* confdefs.h. */
11403 _ACEOF
11404 cat confdefs.h >>conftest.$ac_ext
11405 cat >>conftest.$ac_ext <<_ACEOF
11406 /* end confdefs.h. */
11407 #include <math.h>
11409 main ()
11411 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11413 return 0;
11415 _ACEOF
11416 rm -f conftest.$ac_objext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11418 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_trig_use=yes
11439 else
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.$ac_ext >&5
11443 glibcxx_cv_func_float_trig_use=no
11445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11446 ac_ext=c
11447 ac_cpp='$CPP $CPPFLAGS'
11448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11455 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11456 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11466 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11469 echo "$as_me:$LINENO: checking for $ac_func" >&5
11470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11471 if eval "test \"\${$as_ac_var+set}\" = set"; then
11472 echo $ECHO_N "(cached) $ECHO_C" >&6
11473 else
11474 if test x$gcc_no_link = xyes; then
11475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11477 { (exit 1); exit 1; }; }
11479 cat >conftest.$ac_ext <<_ACEOF
11480 /* confdefs.h. */
11481 _ACEOF
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11487 #define $ac_func innocuous_$ac_func
11489 /* System header to define __stub macros and hopefully few prototypes,
11490 which can conflict with char $ac_func (); below.
11491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11492 <limits.h> exists even on freestanding compilers. */
11494 #ifdef __STDC__
11495 # include <limits.h>
11496 #else
11497 # include <assert.h>
11498 #endif
11500 #undef $ac_func
11502 /* Override any gcc2 internal prototype to avoid an error. */
11503 #ifdef __cplusplus
11504 extern "C"
11506 #endif
11507 /* We use char because int might match the return type of a gcc2
11508 builtin and then its argument prototype would still apply. */
11509 char $ac_func ();
11510 /* The GNU C library defines this for functions which it implements
11511 to always fail with ENOSYS. Some functions are actually named
11512 something starting with __ and the normal name is an alias. */
11513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11514 choke me
11515 #else
11516 char (*f) () = $ac_func;
11517 #endif
11518 #ifdef __cplusplus
11520 #endif
11523 main ()
11525 return f != $ac_func;
11527 return 0;
11529 _ACEOF
11530 rm -f conftest.$ac_objext conftest$ac_exeext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11532 (eval $ac_link) 2>conftest.er1
11533 ac_status=$?
11534 grep -v '^ *+' conftest.er1 >conftest.err
11535 rm -f conftest.er1
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try='test -z "$ac_c_werror_flag"
11540 || test ! -s conftest.err'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11543 ac_status=$?
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; } &&
11546 { ac_try='test -s conftest$ac_exeext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11549 ac_status=$?
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 eval "$as_ac_var=yes"
11553 else
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.$ac_ext >&5
11557 eval "$as_ac_var=no"
11559 rm -f conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11564 if test `eval echo '${'$as_ac_var'}'` = yes; then
11565 cat >>confdefs.h <<_ACEOF
11566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11567 _ACEOF
11570 done
11572 else
11573 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11574 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11575 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 else
11581 ac_ext=cc
11582 ac_cpp='$CXXCPP $CPPFLAGS'
11583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11587 cat >conftest.$ac_ext <<_ACEOF
11588 /* confdefs.h. */
11589 _ACEOF
11590 cat confdefs.h >>conftest.$ac_ext
11591 cat >>conftest.$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11593 #include <math.h>
11595 main ()
11597 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11599 return 0;
11601 _ACEOF
11602 rm -f conftest.$ac_objext
11603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11604 (eval $ac_compile) 2>conftest.er1
11605 ac_status=$?
11606 grep -v '^ *+' conftest.er1 >conftest.err
11607 rm -f conftest.er1
11608 cat conftest.err >&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } &&
11611 { ac_try='test -z "$ac_cxx_werror_flag"
11612 || test ! -s conftest.err'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; } &&
11618 { ac_try='test -s conftest.$ac_objext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11621 ac_status=$?
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11624 glibcxx_cv_func__float_trig_use=yes
11625 else
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.$ac_ext >&5
11629 glibcxx_cv_func__float_trig_use=no
11631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11632 ac_ext=c
11633 ac_cpp='$CPP $CPPFLAGS'
11634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11641 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11642 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11652 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11655 echo "$as_me:$LINENO: checking for $ac_func" >&5
11656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11657 if eval "test \"\${$as_ac_var+set}\" = set"; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 else
11660 if test x$gcc_no_link = xyes; then
11661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11663 { (exit 1); exit 1; }; }
11665 cat >conftest.$ac_ext <<_ACEOF
11666 /* confdefs.h. */
11667 _ACEOF
11668 cat confdefs.h >>conftest.$ac_ext
11669 cat >>conftest.$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11673 #define $ac_func innocuous_$ac_func
11675 /* System header to define __stub macros and hopefully few prototypes,
11676 which can conflict with char $ac_func (); below.
11677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11678 <limits.h> exists even on freestanding compilers. */
11680 #ifdef __STDC__
11681 # include <limits.h>
11682 #else
11683 # include <assert.h>
11684 #endif
11686 #undef $ac_func
11688 /* Override any gcc2 internal prototype to avoid an error. */
11689 #ifdef __cplusplus
11690 extern "C"
11692 #endif
11693 /* We use char because int might match the return type of a gcc2
11694 builtin and then its argument prototype would still apply. */
11695 char $ac_func ();
11696 /* The GNU C library defines this for functions which it implements
11697 to always fail with ENOSYS. Some functions are actually named
11698 something starting with __ and the normal name is an alias. */
11699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11700 choke me
11701 #else
11702 char (*f) () = $ac_func;
11703 #endif
11704 #ifdef __cplusplus
11706 #endif
11709 main ()
11711 return f != $ac_func;
11713 return 0;
11715 _ACEOF
11716 rm -f conftest.$ac_objext conftest$ac_exeext
11717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11718 (eval $ac_link) 2>conftest.er1
11719 ac_status=$?
11720 grep -v '^ *+' conftest.er1 >conftest.err
11721 rm -f conftest.er1
11722 cat conftest.err >&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try='test -z "$ac_c_werror_flag"
11726 || test ! -s conftest.err'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11729 ac_status=$?
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; } &&
11732 { ac_try='test -s conftest$ac_exeext'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11735 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; }; then
11738 eval "$as_ac_var=yes"
11739 else
11740 echo "$as_me: failed program was:" >&5
11741 sed 's/^/| /' conftest.$ac_ext >&5
11743 eval "$as_ac_var=no"
11745 rm -f conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11750 if test `eval echo '${'$as_ac_var'}'` = yes; then
11751 cat >>confdefs.h <<_ACEOF
11752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11753 _ACEOF
11756 done
11774 echo "$as_me:$LINENO: checking for float round functions" >&5
11775 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11776 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 else
11782 ac_ext=cc
11783 ac_cpp='$CXXCPP $CPPFLAGS'
11784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11788 cat >conftest.$ac_ext <<_ACEOF
11789 /* confdefs.h. */
11790 _ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 #include <math.h>
11796 main ()
11798 ceilf (0); floorf (0);
11800 return 0;
11802 _ACEOF
11803 rm -f conftest.$ac_objext
11804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11805 (eval $ac_compile) 2>conftest.er1
11806 ac_status=$?
11807 grep -v '^ *+' conftest.er1 >conftest.err
11808 rm -f conftest.er1
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } &&
11812 { ac_try='test -z "$ac_cxx_werror_flag"
11813 || test ! -s conftest.err'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11816 ac_status=$?
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; } &&
11819 { ac_try='test -s conftest.$ac_objext'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11822 ac_status=$?
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; }; then
11825 glibcxx_cv_func_float_round_use=yes
11826 else
11827 echo "$as_me: failed program was:" >&5
11828 sed 's/^/| /' conftest.$ac_ext >&5
11830 glibcxx_cv_func_float_round_use=no
11832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11833 ac_ext=c
11834 ac_cpp='$CPP $CPPFLAGS'
11835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11842 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11843 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11846 for ac_func in ceilf floorf
11848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11849 echo "$as_me:$LINENO: checking for $ac_func" >&5
11850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11851 if eval "test \"\${$as_ac_var+set}\" = set"; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 else
11854 if test x$gcc_no_link = xyes; then
11855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11857 { (exit 1); exit 1; }; }
11859 cat >conftest.$ac_ext <<_ACEOF
11860 /* confdefs.h. */
11861 _ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11867 #define $ac_func innocuous_$ac_func
11869 /* System header to define __stub macros and hopefully few prototypes,
11870 which can conflict with char $ac_func (); below.
11871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11872 <limits.h> exists even on freestanding compilers. */
11874 #ifdef __STDC__
11875 # include <limits.h>
11876 #else
11877 # include <assert.h>
11878 #endif
11880 #undef $ac_func
11882 /* Override any gcc2 internal prototype to avoid an error. */
11883 #ifdef __cplusplus
11884 extern "C"
11886 #endif
11887 /* We use char because int might match the return type of a gcc2
11888 builtin and then its argument prototype would still apply. */
11889 char $ac_func ();
11890 /* The GNU C library defines this for functions which it implements
11891 to always fail with ENOSYS. Some functions are actually named
11892 something starting with __ and the normal name is an alias. */
11893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11894 choke me
11895 #else
11896 char (*f) () = $ac_func;
11897 #endif
11898 #ifdef __cplusplus
11900 #endif
11903 main ()
11905 return f != $ac_func;
11907 return 0;
11909 _ACEOF
11910 rm -f conftest.$ac_objext conftest$ac_exeext
11911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11912 (eval $ac_link) 2>conftest.er1
11913 ac_status=$?
11914 grep -v '^ *+' conftest.er1 >conftest.err
11915 rm -f conftest.er1
11916 cat conftest.err >&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 { ac_try='test -z "$ac_c_werror_flag"
11920 || test ! -s conftest.err'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11923 ac_status=$?
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; } &&
11926 { ac_try='test -s conftest$ac_exeext'
11927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11928 (eval $ac_try) 2>&5
11929 ac_status=$?
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; }; then
11932 eval "$as_ac_var=yes"
11933 else
11934 echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5
11937 eval "$as_ac_var=no"
11939 rm -f conftest.err conftest.$ac_objext \
11940 conftest$ac_exeext conftest.$ac_ext
11942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11944 if test `eval echo '${'$as_ac_var'}'` = yes; then
11945 cat >>confdefs.h <<_ACEOF
11946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11947 _ACEOF
11950 done
11952 else
11953 echo "$as_me:$LINENO: checking for _float round functions" >&5
11954 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11955 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 else
11961 ac_ext=cc
11962 ac_cpp='$CXXCPP $CPPFLAGS'
11963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11967 cat >conftest.$ac_ext <<_ACEOF
11968 /* confdefs.h. */
11969 _ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 #include <math.h>
11975 main ()
11977 _ceilf (0); _floorf (0);
11979 return 0;
11981 _ACEOF
11982 rm -f conftest.$ac_objext
11983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11984 (eval $ac_compile) 2>conftest.er1
11985 ac_status=$?
11986 grep -v '^ *+' conftest.er1 >conftest.err
11987 rm -f conftest.er1
11988 cat conftest.err >&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } &&
11991 { ac_try='test -z "$ac_cxx_werror_flag"
11992 || test ! -s conftest.err'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11995 ac_status=$?
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; } &&
11998 { ac_try='test -s conftest.$ac_objext'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12001 ac_status=$?
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; }; then
12004 glibcxx_cv_func__float_round_use=yes
12005 else
12006 echo "$as_me: failed program was:" >&5
12007 sed 's/^/| /' conftest.$ac_ext >&5
12009 glibcxx_cv_func__float_round_use=no
12011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12012 ac_ext=c
12013 ac_cpp='$CPP $CPPFLAGS'
12014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12021 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12022 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12025 for ac_func in _ceilf _floorf
12027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12028 echo "$as_me:$LINENO: checking for $ac_func" >&5
12029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12030 if eval "test \"\${$as_ac_var+set}\" = set"; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 else
12033 if test x$gcc_no_link = xyes; then
12034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12036 { (exit 1); exit 1; }; }
12038 cat >conftest.$ac_ext <<_ACEOF
12039 /* confdefs.h. */
12040 _ACEOF
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12046 #define $ac_func innocuous_$ac_func
12048 /* System header to define __stub macros and hopefully few prototypes,
12049 which can conflict with char $ac_func (); below.
12050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12051 <limits.h> exists even on freestanding compilers. */
12053 #ifdef __STDC__
12054 # include <limits.h>
12055 #else
12056 # include <assert.h>
12057 #endif
12059 #undef $ac_func
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 #ifdef __cplusplus
12063 extern "C"
12065 #endif
12066 /* We use char because int might match the return type of a gcc2
12067 builtin and then its argument prototype would still apply. */
12068 char $ac_func ();
12069 /* The GNU C library defines this for functions which it implements
12070 to always fail with ENOSYS. Some functions are actually named
12071 something starting with __ and the normal name is an alias. */
12072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12073 choke me
12074 #else
12075 char (*f) () = $ac_func;
12076 #endif
12077 #ifdef __cplusplus
12079 #endif
12082 main ()
12084 return f != $ac_func;
12086 return 0;
12088 _ACEOF
12089 rm -f conftest.$ac_objext conftest$ac_exeext
12090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12091 (eval $ac_link) 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try='test -z "$ac_c_werror_flag"
12099 || test ! -s conftest.err'
12100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12101 (eval $ac_try) 2>&5
12102 ac_status=$?
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; } &&
12105 { ac_try='test -s conftest$ac_exeext'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12108 ac_status=$?
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; }; then
12111 eval "$as_ac_var=yes"
12112 else
12113 echo "$as_me: failed program was:" >&5
12114 sed 's/^/| /' conftest.$ac_ext >&5
12116 eval "$as_ac_var=no"
12118 rm -f conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12123 if test `eval echo '${'$as_ac_var'}'` = yes; then
12124 cat >>confdefs.h <<_ACEOF
12125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12126 _ACEOF
12129 done
12141 echo "$as_me:$LINENO: checking for expf declaration" >&5
12142 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12143 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12144 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12145 echo $ECHO_N "(cached) $ECHO_C" >&6
12146 else
12150 ac_ext=cc
12151 ac_cpp='$CXXCPP $CPPFLAGS'
12152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <math.h>
12163 #ifdef HAVE_IEEEFP_H
12164 #include <ieeefp.h>
12165 #endif
12168 main ()
12170 expf(0);
12172 return 0;
12174 _ACEOF
12175 rm -f conftest.$ac_objext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12177 (eval $ac_compile) 2>conftest.er1
12178 ac_status=$?
12179 grep -v '^ *+' conftest.er1 >conftest.err
12180 rm -f conftest.er1
12181 cat conftest.err >&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try='test -z "$ac_cxx_werror_flag"
12185 || test ! -s conftest.err'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12188 ac_status=$?
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; } &&
12191 { ac_try='test -s conftest.$ac_objext'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12194 ac_status=$?
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; }; then
12197 glibcxx_cv_func_expf_use=yes
12198 else
12199 echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.$ac_ext >&5
12202 glibcxx_cv_func_expf_use=no
12204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12205 ac_ext=c
12206 ac_cpp='$CPP $CPPFLAGS'
12207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12216 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12218 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12220 for ac_func in expf
12222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12223 echo "$as_me:$LINENO: checking for $ac_func" >&5
12224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12225 if eval "test \"\${$as_ac_var+set}\" = set"; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 else
12228 if test x$gcc_no_link = xyes; then
12229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12231 { (exit 1); exit 1; }; }
12233 cat >conftest.$ac_ext <<_ACEOF
12234 /* confdefs.h. */
12235 _ACEOF
12236 cat confdefs.h >>conftest.$ac_ext
12237 cat >>conftest.$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12241 #define $ac_func innocuous_$ac_func
12243 /* System header to define __stub macros and hopefully few prototypes,
12244 which can conflict with char $ac_func (); below.
12245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12246 <limits.h> exists even on freestanding compilers. */
12248 #ifdef __STDC__
12249 # include <limits.h>
12250 #else
12251 # include <assert.h>
12252 #endif
12254 #undef $ac_func
12256 /* Override any gcc2 internal prototype to avoid an error. */
12257 #ifdef __cplusplus
12258 extern "C"
12260 #endif
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12263 char $ac_func ();
12264 /* The GNU C library defines this for functions which it implements
12265 to always fail with ENOSYS. Some functions are actually named
12266 something starting with __ and the normal name is an alias. */
12267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12268 choke me
12269 #else
12270 char (*f) () = $ac_func;
12271 #endif
12272 #ifdef __cplusplus
12274 #endif
12277 main ()
12279 return f != $ac_func;
12281 return 0;
12283 _ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12286 (eval $ac_link) 2>conftest.er1
12287 ac_status=$?
12288 grep -v '^ *+' conftest.er1 >conftest.err
12289 rm -f conftest.er1
12290 cat conftest.err >&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); } &&
12293 { ac_try='test -z "$ac_c_werror_flag"
12294 || test ! -s conftest.err'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12297 ac_status=$?
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; } &&
12300 { ac_try='test -s conftest$ac_exeext'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5
12303 ac_status=$?
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; }; then
12306 eval "$as_ac_var=yes"
12307 else
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12311 eval "$as_ac_var=no"
12313 rm -f conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12318 if test `eval echo '${'$as_ac_var'}'` = yes; then
12319 cat >>confdefs.h <<_ACEOF
12320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12321 _ACEOF
12324 done
12326 else
12328 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12329 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12330 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12331 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 else
12337 ac_ext=cc
12338 ac_cpp='$CXXCPP $CPPFLAGS'
12339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 #include <math.h>
12350 #ifdef HAVE_IEEEFP_H
12351 #include <ieeefp.h>
12352 #endif
12355 main ()
12357 _expf(0);
12359 return 0;
12361 _ACEOF
12362 rm -f conftest.$ac_objext
12363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12364 (eval $ac_compile) 2>conftest.er1
12365 ac_status=$?
12366 grep -v '^ *+' conftest.er1 >conftest.err
12367 rm -f conftest.er1
12368 cat conftest.err >&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } &&
12371 { ac_try='test -z "$ac_cxx_werror_flag"
12372 || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12375 ac_status=$?
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try='test -s conftest.$ac_objext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12381 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 glibcxx_cv_func__expf_use=yes
12385 else
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12389 glibcxx_cv_func__expf_use=no
12391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12392 ac_ext=c
12393 ac_cpp='$CPP $CPPFLAGS'
12394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12403 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12405 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12407 for ac_func in _expf
12409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12410 echo "$as_me:$LINENO: checking for $ac_func" >&5
12411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12412 if eval "test \"\${$as_ac_var+set}\" = set"; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12414 else
12415 if test x$gcc_no_link = xyes; then
12416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418 { (exit 1); exit 1; }; }
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12428 #define $ac_func innocuous_$ac_func
12430 /* System header to define __stub macros and hopefully few prototypes,
12431 which can conflict with char $ac_func (); below.
12432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12433 <limits.h> exists even on freestanding compilers. */
12435 #ifdef __STDC__
12436 # include <limits.h>
12437 #else
12438 # include <assert.h>
12439 #endif
12441 #undef $ac_func
12443 /* Override any gcc2 internal prototype to avoid an error. */
12444 #ifdef __cplusplus
12445 extern "C"
12447 #endif
12448 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */
12450 char $ac_func ();
12451 /* The GNU C library defines this for functions which it implements
12452 to always fail with ENOSYS. Some functions are actually named
12453 something starting with __ and the normal name is an alias. */
12454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12455 choke me
12456 #else
12457 char (*f) () = $ac_func;
12458 #endif
12459 #ifdef __cplusplus
12461 #endif
12464 main ()
12466 return f != $ac_func;
12468 return 0;
12470 _ACEOF
12471 rm -f conftest.$ac_objext conftest$ac_exeext
12472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12473 (eval $ac_link) 2>conftest.er1
12474 ac_status=$?
12475 grep -v '^ *+' conftest.er1 >conftest.err
12476 rm -f conftest.er1
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } &&
12480 { ac_try='test -z "$ac_c_werror_flag"
12481 || test ! -s conftest.err'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12484 ac_status=$?
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; } &&
12487 { ac_try='test -s conftest$ac_exeext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12490 ac_status=$?
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 eval "$as_ac_var=yes"
12494 else
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.$ac_ext >&5
12498 eval "$as_ac_var=no"
12500 rm -f conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12505 if test `eval echo '${'$as_ac_var'}'` = yes; then
12506 cat >>confdefs.h <<_ACEOF
12507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12508 _ACEOF
12511 done
12521 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12522 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12523 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12524 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 else
12530 ac_ext=cc
12531 ac_cpp='$CXXCPP $CPPFLAGS'
12532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12536 cat >conftest.$ac_ext <<_ACEOF
12537 /* confdefs.h. */
12538 _ACEOF
12539 cat confdefs.h >>conftest.$ac_ext
12540 cat >>conftest.$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 #include <math.h>
12543 #ifdef HAVE_IEEEFP_H
12544 #include <ieeefp.h>
12545 #endif
12548 main ()
12550 isnanf(0);
12552 return 0;
12554 _ACEOF
12555 rm -f conftest.$ac_objext
12556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12557 (eval $ac_compile) 2>conftest.er1
12558 ac_status=$?
12559 grep -v '^ *+' conftest.er1 >conftest.err
12560 rm -f conftest.er1
12561 cat conftest.err >&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try='test -z "$ac_cxx_werror_flag"
12565 || test ! -s conftest.err'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try='test -s conftest.$ac_objext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12574 ac_status=$?
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 glibcxx_cv_func_isnanf_use=yes
12578 else
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.$ac_ext >&5
12582 glibcxx_cv_func_isnanf_use=no
12584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12585 ac_ext=c
12586 ac_cpp='$CPP $CPPFLAGS'
12587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12596 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12598 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12600 for ac_func in isnanf
12602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12603 echo "$as_me:$LINENO: checking for $ac_func" >&5
12604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12605 if eval "test \"\${$as_ac_var+set}\" = set"; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 else
12608 if test x$gcc_no_link = xyes; then
12609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12611 { (exit 1); exit 1; }; }
12613 cat >conftest.$ac_ext <<_ACEOF
12614 /* confdefs.h. */
12615 _ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12621 #define $ac_func innocuous_$ac_func
12623 /* System header to define __stub macros and hopefully few prototypes,
12624 which can conflict with char $ac_func (); below.
12625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12626 <limits.h> exists even on freestanding compilers. */
12628 #ifdef __STDC__
12629 # include <limits.h>
12630 #else
12631 # include <assert.h>
12632 #endif
12634 #undef $ac_func
12636 /* Override any gcc2 internal prototype to avoid an error. */
12637 #ifdef __cplusplus
12638 extern "C"
12640 #endif
12641 /* We use char because int might match the return type of a gcc2
12642 builtin and then its argument prototype would still apply. */
12643 char $ac_func ();
12644 /* The GNU C library defines this for functions which it implements
12645 to always fail with ENOSYS. Some functions are actually named
12646 something starting with __ and the normal name is an alias. */
12647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12648 choke me
12649 #else
12650 char (*f) () = $ac_func;
12651 #endif
12652 #ifdef __cplusplus
12654 #endif
12657 main ()
12659 return f != $ac_func;
12661 return 0;
12663 _ACEOF
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>conftest.er1
12667 ac_status=$?
12668 grep -v '^ *+' conftest.er1 >conftest.err
12669 rm -f conftest.er1
12670 cat conftest.err >&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try='test -z "$ac_c_werror_flag"
12674 || test ! -s conftest.err'
12675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676 (eval $ac_try) 2>&5
12677 ac_status=$?
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }; } &&
12680 { ac_try='test -s conftest$ac_exeext'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12683 ac_status=$?
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; }; then
12686 eval "$as_ac_var=yes"
12687 else
12688 echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12691 eval "$as_ac_var=no"
12693 rm -f conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12698 if test `eval echo '${'$as_ac_var'}'` = yes; then
12699 cat >>confdefs.h <<_ACEOF
12700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12701 _ACEOF
12704 done
12706 else
12708 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12709 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12710 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12711 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 else
12717 ac_ext=cc
12718 ac_cpp='$CXXCPP $CPPFLAGS'
12719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 #include <math.h>
12730 #ifdef HAVE_IEEEFP_H
12731 #include <ieeefp.h>
12732 #endif
12735 main ()
12737 _isnanf(0);
12739 return 0;
12741 _ACEOF
12742 rm -f conftest.$ac_objext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12744 (eval $ac_compile) 2>conftest.er1
12745 ac_status=$?
12746 grep -v '^ *+' conftest.er1 >conftest.err
12747 rm -f conftest.er1
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try='test -z "$ac_cxx_werror_flag"
12752 || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 glibcxx_cv_func__isnanf_use=yes
12765 else
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.$ac_ext >&5
12769 glibcxx_cv_func__isnanf_use=no
12771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12772 ac_ext=c
12773 ac_cpp='$CPP $CPPFLAGS'
12774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12783 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12785 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12787 for ac_func in _isnanf
12789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12790 echo "$as_me:$LINENO: checking for $ac_func" >&5
12791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12792 if eval "test \"\${$as_ac_var+set}\" = set"; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 else
12795 if test x$gcc_no_link = xyes; then
12796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12798 { (exit 1); exit 1; }; }
12800 cat >conftest.$ac_ext <<_ACEOF
12801 /* confdefs.h. */
12802 _ACEOF
12803 cat confdefs.h >>conftest.$ac_ext
12804 cat >>conftest.$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12808 #define $ac_func innocuous_$ac_func
12810 /* System header to define __stub macros and hopefully few prototypes,
12811 which can conflict with char $ac_func (); below.
12812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12813 <limits.h> exists even on freestanding compilers. */
12815 #ifdef __STDC__
12816 # include <limits.h>
12817 #else
12818 # include <assert.h>
12819 #endif
12821 #undef $ac_func
12823 /* Override any gcc2 internal prototype to avoid an error. */
12824 #ifdef __cplusplus
12825 extern "C"
12827 #endif
12828 /* We use char because int might match the return type of a gcc2
12829 builtin and then its argument prototype would still apply. */
12830 char $ac_func ();
12831 /* The GNU C library defines this for functions which it implements
12832 to always fail with ENOSYS. Some functions are actually named
12833 something starting with __ and the normal name is an alias. */
12834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12835 choke me
12836 #else
12837 char (*f) () = $ac_func;
12838 #endif
12839 #ifdef __cplusplus
12841 #endif
12844 main ()
12846 return f != $ac_func;
12848 return 0;
12850 _ACEOF
12851 rm -f conftest.$ac_objext conftest$ac_exeext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12853 (eval $ac_link) 2>conftest.er1
12854 ac_status=$?
12855 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag"
12861 || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try='test -s conftest$ac_exeext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12870 ac_status=$?
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 eval "$as_ac_var=yes"
12874 else
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12878 eval "$as_ac_var=no"
12880 rm -f conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12885 if test `eval echo '${'$as_ac_var'}'` = yes; then
12886 cat >>confdefs.h <<_ACEOF
12887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12888 _ACEOF
12891 done
12901 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12902 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12903 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12904 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 else
12910 ac_ext=cc
12911 ac_cpp='$CXXCPP $CPPFLAGS'
12912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12916 cat >conftest.$ac_ext <<_ACEOF
12917 /* confdefs.h. */
12918 _ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922 #include <math.h>
12923 #ifdef HAVE_IEEEFP_H
12924 #include <ieeefp.h>
12925 #endif
12928 main ()
12930 isinff(0);
12932 return 0;
12934 _ACEOF
12935 rm -f conftest.$ac_objext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12937 (eval $ac_compile) 2>conftest.er1
12938 ac_status=$?
12939 grep -v '^ *+' conftest.er1 >conftest.err
12940 rm -f conftest.er1
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -z "$ac_cxx_werror_flag"
12945 || test ! -s conftest.err'
12946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947 (eval $ac_try) 2>&5
12948 ac_status=$?
12949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 (exit $ac_status); }; } &&
12951 { ac_try='test -s conftest.$ac_objext'
12952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12953 (eval $ac_try) 2>&5
12954 ac_status=$?
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); }; }; then
12957 glibcxx_cv_func_isinff_use=yes
12958 else
12959 echo "$as_me: failed program was:" >&5
12960 sed 's/^/| /' conftest.$ac_ext >&5
12962 glibcxx_cv_func_isinff_use=no
12964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12965 ac_ext=c
12966 ac_cpp='$CPP $CPPFLAGS'
12967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12976 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12978 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12980 for ac_func in isinff
12982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12983 echo "$as_me:$LINENO: checking for $ac_func" >&5
12984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12985 if eval "test \"\${$as_ac_var+set}\" = set"; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 else
12988 if test x$gcc_no_link = xyes; then
12989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12991 { (exit 1); exit 1; }; }
12993 cat >conftest.$ac_ext <<_ACEOF
12994 /* confdefs.h. */
12995 _ACEOF
12996 cat confdefs.h >>conftest.$ac_ext
12997 cat >>conftest.$ac_ext <<_ACEOF
12998 /* end confdefs.h. */
12999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13001 #define $ac_func innocuous_$ac_func
13003 /* System header to define __stub macros and hopefully few prototypes,
13004 which can conflict with char $ac_func (); below.
13005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13006 <limits.h> exists even on freestanding compilers. */
13008 #ifdef __STDC__
13009 # include <limits.h>
13010 #else
13011 # include <assert.h>
13012 #endif
13014 #undef $ac_func
13016 /* Override any gcc2 internal prototype to avoid an error. */
13017 #ifdef __cplusplus
13018 extern "C"
13020 #endif
13021 /* We use char because int might match the return type of a gcc2
13022 builtin and then its argument prototype would still apply. */
13023 char $ac_func ();
13024 /* The GNU C library defines this for functions which it implements
13025 to always fail with ENOSYS. Some functions are actually named
13026 something starting with __ and the normal name is an alias. */
13027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13028 choke me
13029 #else
13030 char (*f) () = $ac_func;
13031 #endif
13032 #ifdef __cplusplus
13034 #endif
13037 main ()
13039 return f != $ac_func;
13041 return 0;
13043 _ACEOF
13044 rm -f conftest.$ac_objext conftest$ac_exeext
13045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13046 (eval $ac_link) 2>conftest.er1
13047 ac_status=$?
13048 grep -v '^ *+' conftest.er1 >conftest.err
13049 rm -f conftest.er1
13050 cat conftest.err >&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } &&
13053 { ac_try='test -z "$ac_c_werror_flag"
13054 || test ! -s conftest.err'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13057 ac_status=$?
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; } &&
13060 { ac_try='test -s conftest$ac_exeext'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; }; then
13066 eval "$as_ac_var=yes"
13067 else
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.$ac_ext >&5
13071 eval "$as_ac_var=no"
13073 rm -f conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13078 if test `eval echo '${'$as_ac_var'}'` = yes; then
13079 cat >>confdefs.h <<_ACEOF
13080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13081 _ACEOF
13084 done
13086 else
13088 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13089 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13090 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13091 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 else
13097 ac_ext=cc
13098 ac_cpp='$CXXCPP $CPPFLAGS'
13099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13103 cat >conftest.$ac_ext <<_ACEOF
13104 /* confdefs.h. */
13105 _ACEOF
13106 cat confdefs.h >>conftest.$ac_ext
13107 cat >>conftest.$ac_ext <<_ACEOF
13108 /* end confdefs.h. */
13109 #include <math.h>
13110 #ifdef HAVE_IEEEFP_H
13111 #include <ieeefp.h>
13112 #endif
13115 main ()
13117 _isinff(0);
13119 return 0;
13121 _ACEOF
13122 rm -f conftest.$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>conftest.er1
13125 ac_status=$?
13126 grep -v '^ *+' conftest.er1 >conftest.err
13127 rm -f conftest.er1
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try='test -z "$ac_cxx_werror_flag"
13132 || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13135 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 glibcxx_cv_func__isinff_use=yes
13145 else
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13149 glibcxx_cv_func__isinff_use=no
13151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13152 ac_ext=c
13153 ac_cpp='$CPP $CPPFLAGS'
13154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13163 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13165 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13167 for ac_func in _isinff
13169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13170 echo "$as_me:$LINENO: checking for $ac_func" >&5
13171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13172 if eval "test \"\${$as_ac_var+set}\" = set"; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13174 else
13175 if test x$gcc_no_link = xyes; then
13176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13178 { (exit 1); exit 1; }; }
13180 cat >conftest.$ac_ext <<_ACEOF
13181 /* confdefs.h. */
13182 _ACEOF
13183 cat confdefs.h >>conftest.$ac_ext
13184 cat >>conftest.$ac_ext <<_ACEOF
13185 /* end confdefs.h. */
13186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13188 #define $ac_func innocuous_$ac_func
13190 /* System header to define __stub macros and hopefully few prototypes,
13191 which can conflict with char $ac_func (); below.
13192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13193 <limits.h> exists even on freestanding compilers. */
13195 #ifdef __STDC__
13196 # include <limits.h>
13197 #else
13198 # include <assert.h>
13199 #endif
13201 #undef $ac_func
13203 /* Override any gcc2 internal prototype to avoid an error. */
13204 #ifdef __cplusplus
13205 extern "C"
13207 #endif
13208 /* We use char because int might match the return type of a gcc2
13209 builtin and then its argument prototype would still apply. */
13210 char $ac_func ();
13211 /* The GNU C library defines this for functions which it implements
13212 to always fail with ENOSYS. Some functions are actually named
13213 something starting with __ and the normal name is an alias. */
13214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13215 choke me
13216 #else
13217 char (*f) () = $ac_func;
13218 #endif
13219 #ifdef __cplusplus
13221 #endif
13224 main ()
13226 return f != $ac_func;
13228 return 0;
13230 _ACEOF
13231 rm -f conftest.$ac_objext conftest$ac_exeext
13232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13233 (eval $ac_link) 2>conftest.er1
13234 ac_status=$?
13235 grep -v '^ *+' conftest.er1 >conftest.err
13236 rm -f conftest.er1
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } &&
13240 { ac_try='test -z "$ac_c_werror_flag"
13241 || test ! -s conftest.err'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13244 ac_status=$?
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try='test -s conftest$ac_exeext'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13250 ac_status=$?
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; }; then
13253 eval "$as_ac_var=yes"
13254 else
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.$ac_ext >&5
13258 eval "$as_ac_var=no"
13260 rm -f conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13265 if test `eval echo '${'$as_ac_var'}'` = yes; then
13266 cat >>confdefs.h <<_ACEOF
13267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13268 _ACEOF
13271 done
13281 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13282 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13283 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13284 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13290 ac_ext=cc
13291 ac_cpp='$CXXCPP $CPPFLAGS'
13292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13296 cat >conftest.$ac_ext <<_ACEOF
13297 /* confdefs.h. */
13298 _ACEOF
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 #include <math.h>
13304 main ()
13306 atan2f(0, 0);
13308 return 0;
13310 _ACEOF
13311 rm -f conftest.$ac_objext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } &&
13320 { ac_try='test -z "$ac_cxx_werror_flag"
13321 || test ! -s conftest.err'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13324 ac_status=$?
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; } &&
13327 { ac_try='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 glibcxx_cv_func_atan2f_use=yes
13334 else
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.$ac_ext >&5
13338 glibcxx_cv_func_atan2f_use=no
13340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13341 ac_ext=c
13342 ac_cpp='$CPP $CPPFLAGS'
13343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13352 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13354 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13356 for ac_func in atan2f
13358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13359 echo "$as_me:$LINENO: checking for $ac_func" >&5
13360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13361 if eval "test \"\${$as_ac_var+set}\" = set"; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 else
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13377 #define $ac_func innocuous_$ac_func
13379 /* System header to define __stub macros and hopefully few prototypes,
13380 which can conflict with char $ac_func (); below.
13381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13382 <limits.h> exists even on freestanding compilers. */
13384 #ifdef __STDC__
13385 # include <limits.h>
13386 #else
13387 # include <assert.h>
13388 #endif
13390 #undef $ac_func
13392 /* Override any gcc2 internal prototype to avoid an error. */
13393 #ifdef __cplusplus
13394 extern "C"
13396 #endif
13397 /* We use char because int might match the return type of a gcc2
13398 builtin and then its argument prototype would still apply. */
13399 char $ac_func ();
13400 /* The GNU C library defines this for functions which it implements
13401 to always fail with ENOSYS. Some functions are actually named
13402 something starting with __ and the normal name is an alias. */
13403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13404 choke me
13405 #else
13406 char (*f) () = $ac_func;
13407 #endif
13408 #ifdef __cplusplus
13410 #endif
13413 main ()
13415 return f != $ac_func;
13417 return 0;
13419 _ACEOF
13420 rm -f conftest.$ac_objext conftest$ac_exeext
13421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13422 (eval $ac_link) 2>conftest.er1
13423 ac_status=$?
13424 grep -v '^ *+' conftest.er1 >conftest.err
13425 rm -f conftest.er1
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try='test -z "$ac_c_werror_flag"
13430 || test ! -s conftest.err'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13433 ac_status=$?
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; } &&
13436 { ac_try='test -s conftest$ac_exeext'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13439 ac_status=$?
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; }; then
13442 eval "$as_ac_var=yes"
13443 else
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.$ac_ext >&5
13447 eval "$as_ac_var=no"
13449 rm -f conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13454 if test `eval echo '${'$as_ac_var'}'` = yes; then
13455 cat >>confdefs.h <<_ACEOF
13456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13457 _ACEOF
13460 done
13462 else
13464 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13465 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13466 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13467 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 else
13473 ac_ext=cc
13474 ac_cpp='$CXXCPP $CPPFLAGS'
13475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485 #include <math.h>
13487 main ()
13489 _atan2f(0, 0);
13491 return 0;
13493 _ACEOF
13494 rm -f conftest.$ac_objext
13495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13496 (eval $ac_compile) 2>conftest.er1
13497 ac_status=$?
13498 grep -v '^ *+' conftest.er1 >conftest.err
13499 rm -f conftest.er1
13500 cat conftest.err >&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try='test -z "$ac_cxx_werror_flag"
13504 || test ! -s conftest.err'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13507 ac_status=$?
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest.$ac_objext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13513 ac_status=$?
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 glibcxx_cv_func__atan2f_use=yes
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13521 glibcxx_cv_func__atan2f_use=no
13523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13524 ac_ext=c
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13535 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13537 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13539 for ac_func in _atan2f
13541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13542 echo "$as_me:$LINENO: checking for $ac_func" >&5
13543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13544 if eval "test \"\${$as_ac_var+set}\" = set"; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 else
13547 if test x$gcc_no_link = xyes; then
13548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13550 { (exit 1); exit 1; }; }
13552 cat >conftest.$ac_ext <<_ACEOF
13553 /* confdefs.h. */
13554 _ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13560 #define $ac_func innocuous_$ac_func
13562 /* System header to define __stub macros and hopefully few prototypes,
13563 which can conflict with char $ac_func (); below.
13564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13565 <limits.h> exists even on freestanding compilers. */
13567 #ifdef __STDC__
13568 # include <limits.h>
13569 #else
13570 # include <assert.h>
13571 #endif
13573 #undef $ac_func
13575 /* Override any gcc2 internal prototype to avoid an error. */
13576 #ifdef __cplusplus
13577 extern "C"
13579 #endif
13580 /* We use char because int might match the return type of a gcc2
13581 builtin and then its argument prototype would still apply. */
13582 char $ac_func ();
13583 /* The GNU C library defines this for functions which it implements
13584 to always fail with ENOSYS. Some functions are actually named
13585 something starting with __ and the normal name is an alias. */
13586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13587 choke me
13588 #else
13589 char (*f) () = $ac_func;
13590 #endif
13591 #ifdef __cplusplus
13593 #endif
13596 main ()
13598 return f != $ac_func;
13600 return 0;
13602 _ACEOF
13603 rm -f conftest.$ac_objext conftest$ac_exeext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605 (eval $ac_link) 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try='test -z "$ac_c_werror_flag"
13613 || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13616 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try='test -s conftest$ac_exeext'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13622 ac_status=$?
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13625 eval "$as_ac_var=yes"
13626 else
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.$ac_ext >&5
13630 eval "$as_ac_var=no"
13632 rm -f conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13637 if test `eval echo '${'$as_ac_var'}'` = yes; then
13638 cat >>confdefs.h <<_ACEOF
13639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13640 _ACEOF
13643 done
13653 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13654 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13655 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13656 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 else
13662 ac_ext=cc
13663 ac_cpp='$CXXCPP $CPPFLAGS'
13664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13668 cat >conftest.$ac_ext <<_ACEOF
13669 /* confdefs.h. */
13670 _ACEOF
13671 cat confdefs.h >>conftest.$ac_ext
13672 cat >>conftest.$ac_ext <<_ACEOF
13673 /* end confdefs.h. */
13674 #include <math.h>
13675 #ifdef HAVE_IEEEFP_H
13676 #include <ieeefp.h>
13677 #endif
13680 main ()
13682 fabsf(0);
13684 return 0;
13686 _ACEOF
13687 rm -f conftest.$ac_objext
13688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13689 (eval $ac_compile) 2>conftest.er1
13690 ac_status=$?
13691 grep -v '^ *+' conftest.er1 >conftest.err
13692 rm -f conftest.er1
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -z "$ac_cxx_werror_flag"
13697 || test ! -s conftest.err'
13698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699 (eval $ac_try) 2>&5
13700 ac_status=$?
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); }; } &&
13703 { ac_try='test -s conftest.$ac_objext'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13706 ac_status=$?
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; }; then
13709 glibcxx_cv_func_fabsf_use=yes
13710 else
13711 echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.$ac_ext >&5
13714 glibcxx_cv_func_fabsf_use=no
13716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13717 ac_ext=c
13718 ac_cpp='$CPP $CPPFLAGS'
13719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13728 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13730 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13732 for ac_func in fabsf
13734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13735 echo "$as_me:$LINENO: checking for $ac_func" >&5
13736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13737 if eval "test \"\${$as_ac_var+set}\" = set"; then
13738 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 else
13740 if test x$gcc_no_link = xyes; then
13741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13743 { (exit 1); exit 1; }; }
13745 cat >conftest.$ac_ext <<_ACEOF
13746 /* confdefs.h. */
13747 _ACEOF
13748 cat confdefs.h >>conftest.$ac_ext
13749 cat >>conftest.$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13753 #define $ac_func innocuous_$ac_func
13755 /* System header to define __stub macros and hopefully few prototypes,
13756 which can conflict with char $ac_func (); below.
13757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13758 <limits.h> exists even on freestanding compilers. */
13760 #ifdef __STDC__
13761 # include <limits.h>
13762 #else
13763 # include <assert.h>
13764 #endif
13766 #undef $ac_func
13768 /* Override any gcc2 internal prototype to avoid an error. */
13769 #ifdef __cplusplus
13770 extern "C"
13772 #endif
13773 /* We use char because int might match the return type of a gcc2
13774 builtin and then its argument prototype would still apply. */
13775 char $ac_func ();
13776 /* The GNU C library defines this for functions which it implements
13777 to always fail with ENOSYS. Some functions are actually named
13778 something starting with __ and the normal name is an alias. */
13779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13780 choke me
13781 #else
13782 char (*f) () = $ac_func;
13783 #endif
13784 #ifdef __cplusplus
13786 #endif
13789 main ()
13791 return f != $ac_func;
13793 return 0;
13795 _ACEOF
13796 rm -f conftest.$ac_objext conftest$ac_exeext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13798 (eval $ac_link) 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try='test -z "$ac_c_werror_flag"
13806 || test ! -s conftest.err'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13809 ac_status=$?
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; } &&
13812 { ac_try='test -s conftest$ac_exeext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 eval "$as_ac_var=yes"
13819 else
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13823 eval "$as_ac_var=no"
13825 rm -f conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13830 if test `eval echo '${'$as_ac_var'}'` = yes; then
13831 cat >>confdefs.h <<_ACEOF
13832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13833 _ACEOF
13836 done
13838 else
13840 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13841 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13842 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13843 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 else
13849 ac_ext=cc
13850 ac_cpp='$CXXCPP $CPPFLAGS'
13851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <math.h>
13862 #ifdef HAVE_IEEEFP_H
13863 #include <ieeefp.h>
13864 #endif
13867 main ()
13869 _fabsf(0);
13871 return 0;
13873 _ACEOF
13874 rm -f conftest.$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -z "$ac_cxx_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 glibcxx_cv_func__fabsf_use=yes
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13901 glibcxx_cv_func__fabsf_use=no
13903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13904 ac_ext=c
13905 ac_cpp='$CPP $CPPFLAGS'
13906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13915 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13917 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13919 for ac_func in _fabsf
13921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13922 echo "$as_me:$LINENO: checking for $ac_func" >&5
13923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13924 if eval "test \"\${$as_ac_var+set}\" = set"; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 else
13927 if test x$gcc_no_link = xyes; then
13928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13930 { (exit 1); exit 1; }; }
13932 cat >conftest.$ac_ext <<_ACEOF
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13940 #define $ac_func innocuous_$ac_func
13942 /* System header to define __stub macros and hopefully few prototypes,
13943 which can conflict with char $ac_func (); below.
13944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13945 <limits.h> exists even on freestanding compilers. */
13947 #ifdef __STDC__
13948 # include <limits.h>
13949 #else
13950 # include <assert.h>
13951 #endif
13953 #undef $ac_func
13955 /* Override any gcc2 internal prototype to avoid an error. */
13956 #ifdef __cplusplus
13957 extern "C"
13959 #endif
13960 /* We use char because int might match the return type of a gcc2
13961 builtin and then its argument prototype would still apply. */
13962 char $ac_func ();
13963 /* The GNU C library defines this for functions which it implements
13964 to always fail with ENOSYS. Some functions are actually named
13965 something starting with __ and the normal name is an alias. */
13966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13967 choke me
13968 #else
13969 char (*f) () = $ac_func;
13970 #endif
13971 #ifdef __cplusplus
13973 #endif
13976 main ()
13978 return f != $ac_func;
13980 return 0;
13982 _ACEOF
13983 rm -f conftest.$ac_objext conftest$ac_exeext
13984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13985 (eval $ac_link) 2>conftest.er1
13986 ac_status=$?
13987 grep -v '^ *+' conftest.er1 >conftest.err
13988 rm -f conftest.er1
13989 cat conftest.err >&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); } &&
13992 { ac_try='test -z "$ac_c_werror_flag"
13993 || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try='test -s conftest$ac_exeext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 eval "$as_ac_var=yes"
14006 else
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.$ac_ext >&5
14010 eval "$as_ac_var=no"
14012 rm -f conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14017 if test `eval echo '${'$as_ac_var'}'` = yes; then
14018 cat >>confdefs.h <<_ACEOF
14019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14020 _ACEOF
14023 done
14033 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14034 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14035 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14036 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 else
14042 ac_ext=cc
14043 ac_cpp='$CXXCPP $CPPFLAGS'
14044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14048 cat >conftest.$ac_ext <<_ACEOF
14049 /* confdefs.h. */
14050 _ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 #include <math.h>
14056 main ()
14058 fmodf(0, 0);
14060 return 0;
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>conftest.er1
14066 ac_status=$?
14067 grep -v '^ *+' conftest.er1 >conftest.err
14068 rm -f conftest.er1
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } &&
14072 { ac_try='test -z "$ac_cxx_werror_flag"
14073 || test ! -s conftest.err'
14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075 (eval $ac_try) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; } &&
14079 { ac_try='test -s conftest.$ac_objext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 glibcxx_cv_func_fmodf_use=yes
14086 else
14087 echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14090 glibcxx_cv_func_fmodf_use=no
14092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14093 ac_ext=c
14094 ac_cpp='$CPP $CPPFLAGS'
14095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14104 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14106 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14108 for ac_func in fmodf
14110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14111 echo "$as_me:$LINENO: checking for $ac_func" >&5
14112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_var+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 else
14116 if test x$gcc_no_link = xyes; then
14117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14119 { (exit 1); exit 1; }; }
14121 cat >conftest.$ac_ext <<_ACEOF
14122 /* confdefs.h. */
14123 _ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14129 #define $ac_func innocuous_$ac_func
14131 /* System header to define __stub macros and hopefully few prototypes,
14132 which can conflict with char $ac_func (); below.
14133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14134 <limits.h> exists even on freestanding compilers. */
14136 #ifdef __STDC__
14137 # include <limits.h>
14138 #else
14139 # include <assert.h>
14140 #endif
14142 #undef $ac_func
14144 /* Override any gcc2 internal prototype to avoid an error. */
14145 #ifdef __cplusplus
14146 extern "C"
14148 #endif
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14151 char $ac_func ();
14152 /* The GNU C library defines this for functions which it implements
14153 to always fail with ENOSYS. Some functions are actually named
14154 something starting with __ and the normal name is an alias. */
14155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14156 choke me
14157 #else
14158 char (*f) () = $ac_func;
14159 #endif
14160 #ifdef __cplusplus
14162 #endif
14165 main ()
14167 return f != $ac_func;
14169 return 0;
14171 _ACEOF
14172 rm -f conftest.$ac_objext conftest$ac_exeext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14174 (eval $ac_link) 2>conftest.er1
14175 ac_status=$?
14176 grep -v '^ *+' conftest.er1 >conftest.err
14177 rm -f conftest.er1
14178 cat conftest.err >&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -z "$ac_c_werror_flag"
14182 || test ! -s conftest.err'
14183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14184 (eval $ac_try) 2>&5
14185 ac_status=$?
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try='test -s conftest$ac_exeext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 eval "$as_ac_var=yes"
14195 else
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.$ac_ext >&5
14199 eval "$as_ac_var=no"
14201 rm -f conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14206 if test `eval echo '${'$as_ac_var'}'` = yes; then
14207 cat >>confdefs.h <<_ACEOF
14208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14209 _ACEOF
14212 done
14214 else
14216 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14217 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14218 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14219 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 else
14225 ac_ext=cc
14226 ac_cpp='$CXXCPP $CPPFLAGS'
14227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14231 cat >conftest.$ac_ext <<_ACEOF
14232 /* confdefs.h. */
14233 _ACEOF
14234 cat confdefs.h >>conftest.$ac_ext
14235 cat >>conftest.$ac_ext <<_ACEOF
14236 /* end confdefs.h. */
14237 #include <math.h>
14239 main ()
14241 _fmodf(0, 0);
14243 return 0;
14245 _ACEOF
14246 rm -f conftest.$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>conftest.er1
14249 ac_status=$?
14250 grep -v '^ *+' conftest.er1 >conftest.err
14251 rm -f conftest.er1
14252 cat conftest.err >&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try='test -z "$ac_cxx_werror_flag"
14256 || test ! -s conftest.err'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; } &&
14262 { ac_try='test -s conftest.$ac_objext'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14265 ac_status=$?
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; }; then
14268 glibcxx_cv_func__fmodf_use=yes
14269 else
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.$ac_ext >&5
14273 glibcxx_cv_func__fmodf_use=no
14275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14276 ac_ext=c
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14287 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14289 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14291 for ac_func in _fmodf
14293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14294 echo "$as_me:$LINENO: checking for $ac_func" >&5
14295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_var+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299 if test x$gcc_no_link = xyes; then
14300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14302 { (exit 1); exit 1; }; }
14304 cat >conftest.$ac_ext <<_ACEOF
14305 /* confdefs.h. */
14306 _ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14312 #define $ac_func innocuous_$ac_func
14314 /* System header to define __stub macros and hopefully few prototypes,
14315 which can conflict with char $ac_func (); below.
14316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14317 <limits.h> exists even on freestanding compilers. */
14319 #ifdef __STDC__
14320 # include <limits.h>
14321 #else
14322 # include <assert.h>
14323 #endif
14325 #undef $ac_func
14327 /* Override any gcc2 internal prototype to avoid an error. */
14328 #ifdef __cplusplus
14329 extern "C"
14331 #endif
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14334 char $ac_func ();
14335 /* The GNU C library defines this for functions which it implements
14336 to always fail with ENOSYS. Some functions are actually named
14337 something starting with __ and the normal name is an alias. */
14338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14339 choke me
14340 #else
14341 char (*f) () = $ac_func;
14342 #endif
14343 #ifdef __cplusplus
14345 #endif
14348 main ()
14350 return f != $ac_func;
14352 return 0;
14354 _ACEOF
14355 rm -f conftest.$ac_objext conftest$ac_exeext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14357 (eval $ac_link) 2>conftest.er1
14358 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1
14361 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try='test -z "$ac_c_werror_flag"
14365 || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try='test -s conftest$ac_exeext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 eval "$as_ac_var=yes"
14378 else
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14382 eval "$as_ac_var=no"
14384 rm -f conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14389 if test `eval echo '${'$as_ac_var'}'` = yes; then
14390 cat >>confdefs.h <<_ACEOF
14391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14392 _ACEOF
14395 done
14405 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14406 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14407 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14408 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 else
14414 ac_ext=cc
14415 ac_cpp='$CXXCPP $CPPFLAGS'
14416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 #include <math.h>
14428 main ()
14430 frexpf(0, 0);
14432 return 0;
14434 _ACEOF
14435 rm -f conftest.$ac_objext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try='test -z "$ac_cxx_werror_flag"
14445 || test ! -s conftest.err'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14454 ac_status=$?
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 glibcxx_cv_func_frexpf_use=yes
14458 else
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14462 glibcxx_cv_func_frexpf_use=no
14464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14465 ac_ext=c
14466 ac_cpp='$CPP $CPPFLAGS'
14467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14476 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14478 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14480 for ac_func in frexpf
14482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14483 echo "$as_me:$LINENO: checking for $ac_func" >&5
14484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14485 if eval "test \"\${$as_ac_var+set}\" = set"; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 else
14488 if test x$gcc_no_link = xyes; then
14489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14491 { (exit 1); exit 1; }; }
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14501 #define $ac_func innocuous_$ac_func
14503 /* System header to define __stub macros and hopefully few prototypes,
14504 which can conflict with char $ac_func (); below.
14505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14506 <limits.h> exists even on freestanding compilers. */
14508 #ifdef __STDC__
14509 # include <limits.h>
14510 #else
14511 # include <assert.h>
14512 #endif
14514 #undef $ac_func
14516 /* Override any gcc2 internal prototype to avoid an error. */
14517 #ifdef __cplusplus
14518 extern "C"
14520 #endif
14521 /* We use char because int might match the return type of a gcc2
14522 builtin and then its argument prototype would still apply. */
14523 char $ac_func ();
14524 /* The GNU C library defines this for functions which it implements
14525 to always fail with ENOSYS. Some functions are actually named
14526 something starting with __ and the normal name is an alias. */
14527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14528 choke me
14529 #else
14530 char (*f) () = $ac_func;
14531 #endif
14532 #ifdef __cplusplus
14534 #endif
14537 main ()
14539 return f != $ac_func;
14541 return 0;
14543 _ACEOF
14544 rm -f conftest.$ac_objext conftest$ac_exeext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14546 (eval $ac_link) 2>conftest.er1
14547 ac_status=$?
14548 grep -v '^ *+' conftest.er1 >conftest.err
14549 rm -f conftest.er1
14550 cat conftest.err >&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14557 ac_status=$?
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try='test -s conftest$ac_exeext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 eval "$as_ac_var=yes"
14567 else
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.$ac_ext >&5
14571 eval "$as_ac_var=no"
14573 rm -f conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14578 if test `eval echo '${'$as_ac_var'}'` = yes; then
14579 cat >>confdefs.h <<_ACEOF
14580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14581 _ACEOF
14584 done
14586 else
14588 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14589 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14590 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14591 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 else
14597 ac_ext=cc
14598 ac_cpp='$CXXCPP $CPPFLAGS'
14599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 #include <math.h>
14611 main ()
14613 _frexpf(0, 0);
14615 return 0;
14617 _ACEOF
14618 rm -f conftest.$ac_objext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14620 (eval $ac_compile) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_cxx_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest.$ac_objext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 glibcxx_cv_func__frexpf_use=yes
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14645 glibcxx_cv_func__frexpf_use=no
14647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14648 ac_ext=c
14649 ac_cpp='$CPP $CPPFLAGS'
14650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14659 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14661 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14663 for ac_func in _frexpf
14665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14666 echo "$as_me:$LINENO: checking for $ac_func" >&5
14667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14668 if eval "test \"\${$as_ac_var+set}\" = set"; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 else
14671 if test x$gcc_no_link = xyes; then
14672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14674 { (exit 1); exit 1; }; }
14676 cat >conftest.$ac_ext <<_ACEOF
14677 /* confdefs.h. */
14678 _ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14684 #define $ac_func innocuous_$ac_func
14686 /* System header to define __stub macros and hopefully few prototypes,
14687 which can conflict with char $ac_func (); below.
14688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14689 <limits.h> exists even on freestanding compilers. */
14691 #ifdef __STDC__
14692 # include <limits.h>
14693 #else
14694 # include <assert.h>
14695 #endif
14697 #undef $ac_func
14699 /* Override any gcc2 internal prototype to avoid an error. */
14700 #ifdef __cplusplus
14701 extern "C"
14703 #endif
14704 /* We use char because int might match the return type of a gcc2
14705 builtin and then its argument prototype would still apply. */
14706 char $ac_func ();
14707 /* The GNU C library defines this for functions which it implements
14708 to always fail with ENOSYS. Some functions are actually named
14709 something starting with __ and the normal name is an alias. */
14710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14711 choke me
14712 #else
14713 char (*f) () = $ac_func;
14714 #endif
14715 #ifdef __cplusplus
14717 #endif
14720 main ()
14722 return f != $ac_func;
14724 return 0;
14726 _ACEOF
14727 rm -f conftest.$ac_objext conftest$ac_exeext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14729 (eval $ac_link) 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag"
14737 || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 eval "$as_ac_var=yes"
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 eval "$as_ac_var=no"
14756 rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14761 if test `eval echo '${'$as_ac_var'}'` = yes; then
14762 cat >>confdefs.h <<_ACEOF
14763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14764 _ACEOF
14767 done
14777 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14778 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14779 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14780 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 else
14786 ac_ext=cc
14787 ac_cpp='$CXXCPP $CPPFLAGS'
14788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14792 cat >conftest.$ac_ext <<_ACEOF
14793 /* confdefs.h. */
14794 _ACEOF
14795 cat confdefs.h >>conftest.$ac_ext
14796 cat >>conftest.$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <math.h>
14800 main ()
14802 hypotf(0, 0);
14804 return 0;
14806 _ACEOF
14807 rm -f conftest.$ac_objext
14808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14809 (eval $ac_compile) 2>conftest.er1
14810 ac_status=$?
14811 grep -v '^ *+' conftest.er1 >conftest.err
14812 rm -f conftest.er1
14813 cat conftest.err >&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } &&
14816 { ac_try='test -z "$ac_cxx_werror_flag"
14817 || test ! -s conftest.err'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 glibcxx_cv_func_hypotf_use=yes
14830 else
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14834 glibcxx_cv_func_hypotf_use=no
14836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14837 ac_ext=c
14838 ac_cpp='$CPP $CPPFLAGS'
14839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14848 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14850 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14852 for ac_func in hypotf
14854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14855 echo "$as_me:$LINENO: checking for $ac_func" >&5
14856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14857 if eval "test \"\${$as_ac_var+set}\" = set"; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 if test x$gcc_no_link = xyes; then
14861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14863 { (exit 1); exit 1; }; }
14865 cat >conftest.$ac_ext <<_ACEOF
14866 /* confdefs.h. */
14867 _ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14873 #define $ac_func innocuous_$ac_func
14875 /* System header to define __stub macros and hopefully few prototypes,
14876 which can conflict with char $ac_func (); below.
14877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14878 <limits.h> exists even on freestanding compilers. */
14880 #ifdef __STDC__
14881 # include <limits.h>
14882 #else
14883 # include <assert.h>
14884 #endif
14886 #undef $ac_func
14888 /* Override any gcc2 internal prototype to avoid an error. */
14889 #ifdef __cplusplus
14890 extern "C"
14892 #endif
14893 /* We use char because int might match the return type of a gcc2
14894 builtin and then its argument prototype would still apply. */
14895 char $ac_func ();
14896 /* The GNU C library defines this for functions which it implements
14897 to always fail with ENOSYS. Some functions are actually named
14898 something starting with __ and the normal name is an alias. */
14899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14900 choke me
14901 #else
14902 char (*f) () = $ac_func;
14903 #endif
14904 #ifdef __cplusplus
14906 #endif
14909 main ()
14911 return f != $ac_func;
14913 return 0;
14915 _ACEOF
14916 rm -f conftest.$ac_objext conftest$ac_exeext
14917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14918 (eval $ac_link) 2>conftest.er1
14919 ac_status=$?
14920 grep -v '^ *+' conftest.er1 >conftest.err
14921 rm -f conftest.er1
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try='test -z "$ac_c_werror_flag"
14926 || test ! -s conftest.err'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; } &&
14932 { ac_try='test -s conftest$ac_exeext'
14933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14934 (eval $ac_try) 2>&5
14935 ac_status=$?
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); }; }; then
14938 eval "$as_ac_var=yes"
14939 else
14940 echo "$as_me: failed program was:" >&5
14941 sed 's/^/| /' conftest.$ac_ext >&5
14943 eval "$as_ac_var=no"
14945 rm -f conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext conftest.$ac_ext
14948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14950 if test `eval echo '${'$as_ac_var'}'` = yes; then
14951 cat >>confdefs.h <<_ACEOF
14952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14953 _ACEOF
14956 done
14958 else
14960 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14961 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14965 else
14969 ac_ext=cc
14970 ac_cpp='$CXXCPP $CPPFLAGS'
14971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14975 cat >conftest.$ac_ext <<_ACEOF
14976 /* confdefs.h. */
14977 _ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 #include <math.h>
14983 main ()
14985 _hypotf(0, 0);
14987 return 0;
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_cxx_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 glibcxx_cv_func__hypotf_use=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15017 glibcxx_cv_func__hypotf_use=no
15019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15020 ac_ext=c
15021 ac_cpp='$CPP $CPPFLAGS'
15022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15031 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15033 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15035 for ac_func in _hypotf
15037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15038 echo "$as_me:$LINENO: checking for $ac_func" >&5
15039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15040 if eval "test \"\${$as_ac_var+set}\" = set"; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 else
15043 if test x$gcc_no_link = xyes; then
15044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15046 { (exit 1); exit 1; }; }
15048 cat >conftest.$ac_ext <<_ACEOF
15049 /* confdefs.h. */
15050 _ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15056 #define $ac_func innocuous_$ac_func
15058 /* System header to define __stub macros and hopefully few prototypes,
15059 which can conflict with char $ac_func (); below.
15060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15061 <limits.h> exists even on freestanding compilers. */
15063 #ifdef __STDC__
15064 # include <limits.h>
15065 #else
15066 # include <assert.h>
15067 #endif
15069 #undef $ac_func
15071 /* Override any gcc2 internal prototype to avoid an error. */
15072 #ifdef __cplusplus
15073 extern "C"
15075 #endif
15076 /* We use char because int might match the return type of a gcc2
15077 builtin and then its argument prototype would still apply. */
15078 char $ac_func ();
15079 /* The GNU C library defines this for functions which it implements
15080 to always fail with ENOSYS. Some functions are actually named
15081 something starting with __ and the normal name is an alias. */
15082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15083 choke me
15084 #else
15085 char (*f) () = $ac_func;
15086 #endif
15087 #ifdef __cplusplus
15089 #endif
15092 main ()
15094 return f != $ac_func;
15096 return 0;
15098 _ACEOF
15099 rm -f conftest.$ac_objext conftest$ac_exeext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15101 (eval $ac_link) 2>conftest.er1
15102 ac_status=$?
15103 grep -v '^ *+' conftest.er1 >conftest.err
15104 rm -f conftest.er1
15105 cat conftest.err >&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try='test -z "$ac_c_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try='test -s conftest$ac_exeext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15118 ac_status=$?
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15121 eval "$as_ac_var=yes"
15122 else
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.$ac_ext >&5
15126 eval "$as_ac_var=no"
15128 rm -f conftest.err conftest.$ac_objext \
15129 conftest$ac_exeext conftest.$ac_ext
15131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15133 if test `eval echo '${'$as_ac_var'}'` = yes; then
15134 cat >>confdefs.h <<_ACEOF
15135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15136 _ACEOF
15139 done
15149 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15150 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15151 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15152 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15158 ac_ext=cc
15159 ac_cpp='$CXXCPP $CPPFLAGS'
15160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15164 cat >conftest.$ac_ext <<_ACEOF
15165 /* confdefs.h. */
15166 _ACEOF
15167 cat confdefs.h >>conftest.$ac_ext
15168 cat >>conftest.$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15170 #include <math.h>
15172 main ()
15174 ldexpf(0, 0);
15176 return 0;
15178 _ACEOF
15179 rm -f conftest.$ac_objext
15180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15181 (eval $ac_compile) 2>conftest.er1
15182 ac_status=$?
15183 grep -v '^ *+' conftest.er1 >conftest.err
15184 rm -f conftest.er1
15185 cat conftest.err >&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try='test -z "$ac_cxx_werror_flag"
15189 || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15198 ac_status=$?
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 glibcxx_cv_func_ldexpf_use=yes
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15206 glibcxx_cv_func_ldexpf_use=no
15208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15209 ac_ext=c
15210 ac_cpp='$CPP $CPPFLAGS'
15211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15220 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15222 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15224 for ac_func in ldexpf
15226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15227 echo "$as_me:$LINENO: checking for $ac_func" >&5
15228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15229 if eval "test \"\${$as_ac_var+set}\" = set"; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15231 else
15232 if test x$gcc_no_link = xyes; then
15233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15235 { (exit 1); exit 1; }; }
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15245 #define $ac_func innocuous_$ac_func
15247 /* System header to define __stub macros and hopefully few prototypes,
15248 which can conflict with char $ac_func (); below.
15249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15250 <limits.h> exists even on freestanding compilers. */
15252 #ifdef __STDC__
15253 # include <limits.h>
15254 #else
15255 # include <assert.h>
15256 #endif
15258 #undef $ac_func
15260 /* Override any gcc2 internal prototype to avoid an error. */
15261 #ifdef __cplusplus
15262 extern "C"
15264 #endif
15265 /* We use char because int might match the return type of a gcc2
15266 builtin and then its argument prototype would still apply. */
15267 char $ac_func ();
15268 /* The GNU C library defines this for functions which it implements
15269 to always fail with ENOSYS. Some functions are actually named
15270 something starting with __ and the normal name is an alias. */
15271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15272 choke me
15273 #else
15274 char (*f) () = $ac_func;
15275 #endif
15276 #ifdef __cplusplus
15278 #endif
15281 main ()
15283 return f != $ac_func;
15285 return 0;
15287 _ACEOF
15288 rm -f conftest.$ac_objext conftest$ac_exeext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15290 (eval $ac_link) 2>conftest.er1
15291 ac_status=$?
15292 grep -v '^ *+' conftest.er1 >conftest.err
15293 rm -f conftest.er1
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } &&
15297 { ac_try='test -z "$ac_c_werror_flag"
15298 || test ! -s conftest.err'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try='test -s conftest$ac_exeext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15307 ac_status=$?
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 eval "$as_ac_var=yes"
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 eval "$as_ac_var=no"
15317 rm -f conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15322 if test `eval echo '${'$as_ac_var'}'` = yes; then
15323 cat >>confdefs.h <<_ACEOF
15324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15325 _ACEOF
15328 done
15330 else
15332 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15333 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15334 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15335 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 else
15341 ac_ext=cc
15342 ac_cpp='$CXXCPP $CPPFLAGS'
15343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15347 cat >conftest.$ac_ext <<_ACEOF
15348 /* confdefs.h. */
15349 _ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 #include <math.h>
15355 main ()
15357 _ldexpf(0, 0);
15359 return 0;
15361 _ACEOF
15362 rm -f conftest.$ac_objext
15363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15364 (eval $ac_compile) 2>conftest.er1
15365 ac_status=$?
15366 grep -v '^ *+' conftest.er1 >conftest.err
15367 rm -f conftest.er1
15368 cat conftest.err >&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); } &&
15371 { ac_try='test -z "$ac_cxx_werror_flag"
15372 || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try='test -s conftest.$ac_objext'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 glibcxx_cv_func__ldexpf_use=yes
15385 else
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.$ac_ext >&5
15389 glibcxx_cv_func__ldexpf_use=no
15391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15392 ac_ext=c
15393 ac_cpp='$CPP $CPPFLAGS'
15394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15403 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15405 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15407 for ac_func in _ldexpf
15409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15410 echo "$as_me:$LINENO: checking for $ac_func" >&5
15411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15412 if eval "test \"\${$as_ac_var+set}\" = set"; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415 if test x$gcc_no_link = xyes; then
15416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15418 { (exit 1); exit 1; }; }
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15428 #define $ac_func innocuous_$ac_func
15430 /* System header to define __stub macros and hopefully few prototypes,
15431 which can conflict with char $ac_func (); below.
15432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15433 <limits.h> exists even on freestanding compilers. */
15435 #ifdef __STDC__
15436 # include <limits.h>
15437 #else
15438 # include <assert.h>
15439 #endif
15441 #undef $ac_func
15443 /* Override any gcc2 internal prototype to avoid an error. */
15444 #ifdef __cplusplus
15445 extern "C"
15447 #endif
15448 /* We use char because int might match the return type of a gcc2
15449 builtin and then its argument prototype would still apply. */
15450 char $ac_func ();
15451 /* The GNU C library defines this for functions which it implements
15452 to always fail with ENOSYS. Some functions are actually named
15453 something starting with __ and the normal name is an alias. */
15454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15455 choke me
15456 #else
15457 char (*f) () = $ac_func;
15458 #endif
15459 #ifdef __cplusplus
15461 #endif
15464 main ()
15466 return f != $ac_func;
15468 return 0;
15470 _ACEOF
15471 rm -f conftest.$ac_objext conftest$ac_exeext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15473 (eval $ac_link) 2>conftest.er1
15474 ac_status=$?
15475 grep -v '^ *+' conftest.er1 >conftest.err
15476 rm -f conftest.er1
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try='test -z "$ac_c_werror_flag"
15481 || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try='test -s conftest$ac_exeext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 eval "$as_ac_var=yes"
15494 else
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15498 eval "$as_ac_var=no"
15500 rm -f conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15505 if test `eval echo '${'$as_ac_var'}'` = yes; then
15506 cat >>confdefs.h <<_ACEOF
15507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15508 _ACEOF
15511 done
15521 echo "$as_me:$LINENO: checking for logf declaration" >&5
15522 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15523 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15524 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15525 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 else
15530 ac_ext=cc
15531 ac_cpp='$CXXCPP $CPPFLAGS'
15532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 #include <math.h>
15543 #ifdef HAVE_IEEEFP_H
15544 #include <ieeefp.h>
15545 #endif
15548 main ()
15550 logf(0);
15552 return 0;
15554 _ACEOF
15555 rm -f conftest.$ac_objext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15557 (eval $ac_compile) 2>conftest.er1
15558 ac_status=$?
15559 grep -v '^ *+' conftest.er1 >conftest.err
15560 rm -f conftest.er1
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } &&
15564 { ac_try='test -z "$ac_cxx_werror_flag"
15565 || test ! -s conftest.err'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; } &&
15571 { ac_try='test -s conftest.$ac_objext'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15574 ac_status=$?
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; }; then
15577 glibcxx_cv_func_logf_use=yes
15578 else
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.$ac_ext >&5
15582 glibcxx_cv_func_logf_use=no
15584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15585 ac_ext=c
15586 ac_cpp='$CPP $CPPFLAGS'
15587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15596 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15598 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15600 for ac_func in logf
15602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 echo "$as_me:$LINENO: checking for $ac_func" >&5
15604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15605 if eval "test \"\${$as_ac_var+set}\" = set"; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 else
15608 if test x$gcc_no_link = xyes; then
15609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15611 { (exit 1); exit 1; }; }
15613 cat >conftest.$ac_ext <<_ACEOF
15614 /* confdefs.h. */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h. */
15619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15621 #define $ac_func innocuous_$ac_func
15623 /* System header to define __stub macros and hopefully few prototypes,
15624 which can conflict with char $ac_func (); below.
15625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15626 <limits.h> exists even on freestanding compilers. */
15628 #ifdef __STDC__
15629 # include <limits.h>
15630 #else
15631 # include <assert.h>
15632 #endif
15634 #undef $ac_func
15636 /* Override any gcc2 internal prototype to avoid an error. */
15637 #ifdef __cplusplus
15638 extern "C"
15640 #endif
15641 /* We use char because int might match the return type of a gcc2
15642 builtin and then its argument prototype would still apply. */
15643 char $ac_func ();
15644 /* The GNU C library defines this for functions which it implements
15645 to always fail with ENOSYS. Some functions are actually named
15646 something starting with __ and the normal name is an alias. */
15647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15648 choke me
15649 #else
15650 char (*f) () = $ac_func;
15651 #endif
15652 #ifdef __cplusplus
15654 #endif
15657 main ()
15659 return f != $ac_func;
15661 return 0;
15663 _ACEOF
15664 rm -f conftest.$ac_objext conftest$ac_exeext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15666 (eval $ac_link) 2>conftest.er1
15667 ac_status=$?
15668 grep -v '^ *+' conftest.er1 >conftest.err
15669 rm -f conftest.er1
15670 cat conftest.err >&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -z "$ac_c_werror_flag"
15674 || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try='test -s conftest$ac_exeext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 eval "$as_ac_var=yes"
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15691 eval "$as_ac_var=no"
15693 rm -f conftest.err conftest.$ac_objext \
15694 conftest$ac_exeext conftest.$ac_ext
15696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15698 if test `eval echo '${'$as_ac_var'}'` = yes; then
15699 cat >>confdefs.h <<_ACEOF
15700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15701 _ACEOF
15704 done
15706 else
15708 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15709 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15710 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15711 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 else
15717 ac_ext=cc
15718 ac_cpp='$CXXCPP $CPPFLAGS'
15719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15723 cat >conftest.$ac_ext <<_ACEOF
15724 /* confdefs.h. */
15725 _ACEOF
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 #include <math.h>
15730 #ifdef HAVE_IEEEFP_H
15731 #include <ieeefp.h>
15732 #endif
15735 main ()
15737 _logf(0);
15739 return 0;
15741 _ACEOF
15742 rm -f conftest.$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>conftest.er1
15745 ac_status=$?
15746 grep -v '^ *+' conftest.er1 >conftest.err
15747 rm -f conftest.er1
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -z "$ac_cxx_werror_flag"
15752 || test ! -s conftest.err'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15755 ac_status=$?
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; } &&
15758 { ac_try='test -s conftest.$ac_objext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 glibcxx_cv_func__logf_use=yes
15765 else
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15769 glibcxx_cv_func__logf_use=no
15771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15772 ac_ext=c
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15783 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15785 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15787 for ac_func in _logf
15789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15790 echo "$as_me:$LINENO: checking for $ac_func" >&5
15791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15792 if eval "test \"\${$as_ac_var+set}\" = set"; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 else
15795 if test x$gcc_no_link = xyes; then
15796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15798 { (exit 1); exit 1; }; }
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15808 #define $ac_func innocuous_$ac_func
15810 /* System header to define __stub macros and hopefully few prototypes,
15811 which can conflict with char $ac_func (); below.
15812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15813 <limits.h> exists even on freestanding compilers. */
15815 #ifdef __STDC__
15816 # include <limits.h>
15817 #else
15818 # include <assert.h>
15819 #endif
15821 #undef $ac_func
15823 /* Override any gcc2 internal prototype to avoid an error. */
15824 #ifdef __cplusplus
15825 extern "C"
15827 #endif
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15830 char $ac_func ();
15831 /* The GNU C library defines this for functions which it implements
15832 to always fail with ENOSYS. Some functions are actually named
15833 something starting with __ and the normal name is an alias. */
15834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15835 choke me
15836 #else
15837 char (*f) () = $ac_func;
15838 #endif
15839 #ifdef __cplusplus
15841 #endif
15844 main ()
15846 return f != $ac_func;
15848 return 0;
15850 _ACEOF
15851 rm -f conftest.$ac_objext conftest$ac_exeext
15852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15853 (eval $ac_link) 2>conftest.er1
15854 ac_status=$?
15855 grep -v '^ *+' conftest.er1 >conftest.err
15856 rm -f conftest.er1
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try='test -z "$ac_c_werror_flag"
15861 || test ! -s conftest.err'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try='test -s conftest$ac_exeext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 eval "$as_ac_var=yes"
15874 else
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.$ac_ext >&5
15878 eval "$as_ac_var=no"
15880 rm -f conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15885 if test `eval echo '${'$as_ac_var'}'` = yes; then
15886 cat >>confdefs.h <<_ACEOF
15887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15888 _ACEOF
15891 done
15901 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15902 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15903 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15904 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15910 ac_ext=cc
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <math.h>
15923 #ifdef HAVE_IEEEFP_H
15924 #include <ieeefp.h>
15925 #endif
15928 main ()
15930 log10f(0);
15932 return 0;
15934 _ACEOF
15935 rm -f conftest.$ac_objext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>conftest.er1
15938 ac_status=$?
15939 grep -v '^ *+' conftest.er1 >conftest.err
15940 rm -f conftest.er1
15941 cat conftest.err >&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } &&
15944 { ac_try='test -z "$ac_cxx_werror_flag"
15945 || test ! -s conftest.err'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15948 ac_status=$?
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; } &&
15951 { ac_try='test -s conftest.$ac_objext'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15954 ac_status=$?
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15957 glibcxx_cv_func_log10f_use=yes
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15962 glibcxx_cv_func_log10f_use=no
15964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15965 ac_ext=c
15966 ac_cpp='$CPP $CPPFLAGS'
15967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15976 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15978 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15980 for ac_func in log10f
15982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15983 echo "$as_me:$LINENO: checking for $ac_func" >&5
15984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15985 if eval "test \"\${$as_ac_var+set}\" = set"; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 else
15988 if test x$gcc_no_link = xyes; then
15989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15991 { (exit 1); exit 1; }; }
15993 cat >conftest.$ac_ext <<_ACEOF
15994 /* confdefs.h. */
15995 _ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16001 #define $ac_func innocuous_$ac_func
16003 /* System header to define __stub macros and hopefully few prototypes,
16004 which can conflict with char $ac_func (); below.
16005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16006 <limits.h> exists even on freestanding compilers. */
16008 #ifdef __STDC__
16009 # include <limits.h>
16010 #else
16011 # include <assert.h>
16012 #endif
16014 #undef $ac_func
16016 /* Override any gcc2 internal prototype to avoid an error. */
16017 #ifdef __cplusplus
16018 extern "C"
16020 #endif
16021 /* We use char because int might match the return type of a gcc2
16022 builtin and then its argument prototype would still apply. */
16023 char $ac_func ();
16024 /* The GNU C library defines this for functions which it implements
16025 to always fail with ENOSYS. Some functions are actually named
16026 something starting with __ and the normal name is an alias. */
16027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16028 choke me
16029 #else
16030 char (*f) () = $ac_func;
16031 #endif
16032 #ifdef __cplusplus
16034 #endif
16037 main ()
16039 return f != $ac_func;
16041 return 0;
16043 _ACEOF
16044 rm -f conftest.$ac_objext conftest$ac_exeext
16045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16046 (eval $ac_link) 2>conftest.er1
16047 ac_status=$?
16048 grep -v '^ *+' conftest.er1 >conftest.err
16049 rm -f conftest.er1
16050 cat conftest.err >&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); } &&
16053 { ac_try='test -z "$ac_c_werror_flag"
16054 || test ! -s conftest.err'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16057 ac_status=$?
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; } &&
16060 { ac_try='test -s conftest$ac_exeext'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; }; then
16066 eval "$as_ac_var=yes"
16067 else
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
16071 eval "$as_ac_var=no"
16073 rm -f conftest.err conftest.$ac_objext \
16074 conftest$ac_exeext conftest.$ac_ext
16076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16078 if test `eval echo '${'$as_ac_var'}'` = yes; then
16079 cat >>confdefs.h <<_ACEOF
16080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16081 _ACEOF
16084 done
16086 else
16088 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16089 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16090 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16091 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16092 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 else
16097 ac_ext=cc
16098 ac_cpp='$CXXCPP $CPPFLAGS'
16099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16103 cat >conftest.$ac_ext <<_ACEOF
16104 /* confdefs.h. */
16105 _ACEOF
16106 cat confdefs.h >>conftest.$ac_ext
16107 cat >>conftest.$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 #include <math.h>
16110 #ifdef HAVE_IEEEFP_H
16111 #include <ieeefp.h>
16112 #endif
16115 main ()
16117 _log10f(0);
16119 return 0;
16121 _ACEOF
16122 rm -f conftest.$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>conftest.er1
16125 ac_status=$?
16126 grep -v '^ *+' conftest.er1 >conftest.err
16127 rm -f conftest.er1
16128 cat conftest.err >&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try='test -z "$ac_cxx_werror_flag"
16132 || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 glibcxx_cv_func__log10f_use=yes
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 glibcxx_cv_func__log10f_use=no
16151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16152 ac_ext=c
16153 ac_cpp='$CPP $CPPFLAGS'
16154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16163 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16165 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16167 for ac_func in _log10f
16169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16170 echo "$as_me:$LINENO: checking for $ac_func" >&5
16171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16172 if eval "test \"\${$as_ac_var+set}\" = set"; then
16173 echo $ECHO_N "(cached) $ECHO_C" >&6
16174 else
16175 if test x$gcc_no_link = xyes; then
16176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16178 { (exit 1); exit 1; }; }
16180 cat >conftest.$ac_ext <<_ACEOF
16181 /* confdefs.h. */
16182 _ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16188 #define $ac_func innocuous_$ac_func
16190 /* System header to define __stub macros and hopefully few prototypes,
16191 which can conflict with char $ac_func (); below.
16192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16193 <limits.h> exists even on freestanding compilers. */
16195 #ifdef __STDC__
16196 # include <limits.h>
16197 #else
16198 # include <assert.h>
16199 #endif
16201 #undef $ac_func
16203 /* Override any gcc2 internal prototype to avoid an error. */
16204 #ifdef __cplusplus
16205 extern "C"
16207 #endif
16208 /* We use char because int might match the return type of a gcc2
16209 builtin and then its argument prototype would still apply. */
16210 char $ac_func ();
16211 /* The GNU C library defines this for functions which it implements
16212 to always fail with ENOSYS. Some functions are actually named
16213 something starting with __ and the normal name is an alias. */
16214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16215 choke me
16216 #else
16217 char (*f) () = $ac_func;
16218 #endif
16219 #ifdef __cplusplus
16221 #endif
16224 main ()
16226 return f != $ac_func;
16228 return 0;
16230 _ACEOF
16231 rm -f conftest.$ac_objext conftest$ac_exeext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16233 (eval $ac_link) 2>conftest.er1
16234 ac_status=$?
16235 grep -v '^ *+' conftest.er1 >conftest.err
16236 rm -f conftest.er1
16237 cat conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try='test -z "$ac_c_werror_flag"
16241 || test ! -s conftest.err'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try='test -s conftest$ac_exeext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 eval "$as_ac_var=yes"
16254 else
16255 echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16258 eval "$as_ac_var=no"
16260 rm -f conftest.err conftest.$ac_objext \
16261 conftest$ac_exeext conftest.$ac_ext
16263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16265 if test `eval echo '${'$as_ac_var'}'` = yes; then
16266 cat >>confdefs.h <<_ACEOF
16267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16268 _ACEOF
16271 done
16281 echo "$as_me:$LINENO: checking for modff declaration" >&5
16282 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16283 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16284 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16290 ac_ext=cc
16291 ac_cpp='$CXXCPP $CPPFLAGS'
16292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16296 cat >conftest.$ac_ext <<_ACEOF
16297 /* confdefs.h. */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 #include <math.h>
16304 main ()
16306 modff(0, 0);
16308 return 0;
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313 (eval $ac_compile) 2>conftest.er1
16314 ac_status=$?
16315 grep -v '^ *+' conftest.er1 >conftest.err
16316 rm -f conftest.er1
16317 cat conftest.err >&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try='test -z "$ac_cxx_werror_flag"
16321 || test ! -s conftest.err'
16322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 (eval $ac_try) 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; } &&
16327 { ac_try='test -s conftest.$ac_objext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 glibcxx_cv_func_modff_use=yes
16334 else
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16338 glibcxx_cv_func_modff_use=no
16340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16341 ac_ext=c
16342 ac_cpp='$CPP $CPPFLAGS'
16343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16352 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16354 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16356 for ac_func in modff
16358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16359 echo "$as_me:$LINENO: checking for $ac_func" >&5
16360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16361 if eval "test \"\${$as_ac_var+set}\" = set"; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 else
16364 if test x$gcc_no_link = xyes; then
16365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16367 { (exit 1); exit 1; }; }
16369 cat >conftest.$ac_ext <<_ACEOF
16370 /* confdefs.h. */
16371 _ACEOF
16372 cat confdefs.h >>conftest.$ac_ext
16373 cat >>conftest.$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16377 #define $ac_func innocuous_$ac_func
16379 /* System header to define __stub macros and hopefully few prototypes,
16380 which can conflict with char $ac_func (); below.
16381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16382 <limits.h> exists even on freestanding compilers. */
16384 #ifdef __STDC__
16385 # include <limits.h>
16386 #else
16387 # include <assert.h>
16388 #endif
16390 #undef $ac_func
16392 /* Override any gcc2 internal prototype to avoid an error. */
16393 #ifdef __cplusplus
16394 extern "C"
16396 #endif
16397 /* We use char because int might match the return type of a gcc2
16398 builtin and then its argument prototype would still apply. */
16399 char $ac_func ();
16400 /* The GNU C library defines this for functions which it implements
16401 to always fail with ENOSYS. Some functions are actually named
16402 something starting with __ and the normal name is an alias. */
16403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16404 choke me
16405 #else
16406 char (*f) () = $ac_func;
16407 #endif
16408 #ifdef __cplusplus
16410 #endif
16413 main ()
16415 return f != $ac_func;
16417 return 0;
16419 _ACEOF
16420 rm -f conftest.$ac_objext conftest$ac_exeext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16422 (eval $ac_link) 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try='test -z "$ac_c_werror_flag"
16430 || test ! -s conftest.err'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16433 ac_status=$?
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; } &&
16436 { ac_try='test -s conftest$ac_exeext'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; }; then
16442 eval "$as_ac_var=yes"
16443 else
16444 echo "$as_me: failed program was:" >&5
16445 sed 's/^/| /' conftest.$ac_ext >&5
16447 eval "$as_ac_var=no"
16449 rm -f conftest.err conftest.$ac_objext \
16450 conftest$ac_exeext conftest.$ac_ext
16452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16454 if test `eval echo '${'$as_ac_var'}'` = yes; then
16455 cat >>confdefs.h <<_ACEOF
16456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16457 _ACEOF
16460 done
16462 else
16464 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16465 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16466 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16467 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 else
16473 ac_ext=cc
16474 ac_cpp='$CXXCPP $CPPFLAGS'
16475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16479 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */
16481 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext
16483 cat >>conftest.$ac_ext <<_ACEOF
16484 /* end confdefs.h. */
16485 #include <math.h>
16487 main ()
16489 _modff(0, 0);
16491 return 0;
16493 _ACEOF
16494 rm -f conftest.$ac_objext
16495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16496 (eval $ac_compile) 2>conftest.er1
16497 ac_status=$?
16498 grep -v '^ *+' conftest.er1 >conftest.err
16499 rm -f conftest.er1
16500 cat conftest.err >&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); } &&
16503 { ac_try='test -z "$ac_cxx_werror_flag"
16504 || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16513 ac_status=$?
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16516 glibcxx_cv_func__modff_use=yes
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16521 glibcxx_cv_func__modff_use=no
16523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16524 ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16535 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16537 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16539 for ac_func in _modff
16541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16542 echo "$as_me:$LINENO: checking for $ac_func" >&5
16543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16544 if eval "test \"\${$as_ac_var+set}\" = set"; then
16545 echo $ECHO_N "(cached) $ECHO_C" >&6
16546 else
16547 if test x$gcc_no_link = xyes; then
16548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16550 { (exit 1); exit 1; }; }
16552 cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16560 #define $ac_func innocuous_$ac_func
16562 /* System header to define __stub macros and hopefully few prototypes,
16563 which can conflict with char $ac_func (); below.
16564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16565 <limits.h> exists even on freestanding compilers. */
16567 #ifdef __STDC__
16568 # include <limits.h>
16569 #else
16570 # include <assert.h>
16571 #endif
16573 #undef $ac_func
16575 /* Override any gcc2 internal prototype to avoid an error. */
16576 #ifdef __cplusplus
16577 extern "C"
16579 #endif
16580 /* We use char because int might match the return type of a gcc2
16581 builtin and then its argument prototype would still apply. */
16582 char $ac_func ();
16583 /* The GNU C library defines this for functions which it implements
16584 to always fail with ENOSYS. Some functions are actually named
16585 something starting with __ and the normal name is an alias. */
16586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16587 choke me
16588 #else
16589 char (*f) () = $ac_func;
16590 #endif
16591 #ifdef __cplusplus
16593 #endif
16596 main ()
16598 return f != $ac_func;
16600 return 0;
16602 _ACEOF
16603 rm -f conftest.$ac_objext conftest$ac_exeext
16604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16605 (eval $ac_link) 2>conftest.er1
16606 ac_status=$?
16607 grep -v '^ *+' conftest.er1 >conftest.err
16608 rm -f conftest.er1
16609 cat conftest.err >&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } &&
16612 { ac_try='test -z "$ac_c_werror_flag"
16613 || test ! -s conftest.err'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try='test -s conftest$ac_exeext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16622 ac_status=$?
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 eval "$as_ac_var=yes"
16626 else
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 eval "$as_ac_var=no"
16632 rm -f conftest.err conftest.$ac_objext \
16633 conftest$ac_exeext conftest.$ac_ext
16635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16637 if test `eval echo '${'$as_ac_var'}'` = yes; then
16638 cat >>confdefs.h <<_ACEOF
16639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16640 _ACEOF
16643 done
16653 echo "$as_me:$LINENO: checking for modf declaration" >&5
16654 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16655 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16656 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16662 ac_ext=cc
16663 ac_cpp='$CXXCPP $CPPFLAGS'
16664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 #include <math.h>
16676 main ()
16678 modf(0, 0);
16680 return 0;
16682 _ACEOF
16683 rm -f conftest.$ac_objext
16684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16685 (eval $ac_compile) 2>conftest.er1
16686 ac_status=$?
16687 grep -v '^ *+' conftest.er1 >conftest.err
16688 rm -f conftest.er1
16689 cat conftest.err >&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } &&
16692 { ac_try='test -z "$ac_cxx_werror_flag"
16693 || test ! -s conftest.err'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; } &&
16699 { ac_try='test -s conftest.$ac_objext'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 glibcxx_cv_func_modf_use=yes
16706 else
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.$ac_ext >&5
16710 glibcxx_cv_func_modf_use=no
16712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16713 ac_ext=c
16714 ac_cpp='$CPP $CPPFLAGS'
16715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16724 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16726 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16728 for ac_func in modf
16730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16731 echo "$as_me:$LINENO: checking for $ac_func" >&5
16732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16733 if eval "test \"\${$as_ac_var+set}\" = set"; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 else
16736 if test x$gcc_no_link = xyes; then
16737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16739 { (exit 1); exit 1; }; }
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16749 #define $ac_func innocuous_$ac_func
16751 /* System header to define __stub macros and hopefully few prototypes,
16752 which can conflict with char $ac_func (); below.
16753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16754 <limits.h> exists even on freestanding compilers. */
16756 #ifdef __STDC__
16757 # include <limits.h>
16758 #else
16759 # include <assert.h>
16760 #endif
16762 #undef $ac_func
16764 /* Override any gcc2 internal prototype to avoid an error. */
16765 #ifdef __cplusplus
16766 extern "C"
16768 #endif
16769 /* We use char because int might match the return type of a gcc2
16770 builtin and then its argument prototype would still apply. */
16771 char $ac_func ();
16772 /* The GNU C library defines this for functions which it implements
16773 to always fail with ENOSYS. Some functions are actually named
16774 something starting with __ and the normal name is an alias. */
16775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16776 choke me
16777 #else
16778 char (*f) () = $ac_func;
16779 #endif
16780 #ifdef __cplusplus
16782 #endif
16785 main ()
16787 return f != $ac_func;
16789 return 0;
16791 _ACEOF
16792 rm -f conftest.$ac_objext conftest$ac_exeext
16793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16794 (eval $ac_link) 2>conftest.er1
16795 ac_status=$?
16796 grep -v '^ *+' conftest.er1 >conftest.err
16797 rm -f conftest.er1
16798 cat conftest.err >&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try='test -z "$ac_c_werror_flag"
16802 || test ! -s conftest.err'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16805 ac_status=$?
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; } &&
16808 { ac_try='test -s conftest$ac_exeext'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16811 ac_status=$?
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 eval "$as_ac_var=yes"
16815 else
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 eval "$as_ac_var=no"
16821 rm -f conftest.err conftest.$ac_objext \
16822 conftest$ac_exeext conftest.$ac_ext
16824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16826 if test `eval echo '${'$as_ac_var'}'` = yes; then
16827 cat >>confdefs.h <<_ACEOF
16828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16829 _ACEOF
16832 done
16834 else
16836 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16837 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16838 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16839 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16840 echo $ECHO_N "(cached) $ECHO_C" >&6
16841 else
16845 ac_ext=cc
16846 ac_cpp='$CXXCPP $CPPFLAGS'
16847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16851 cat >conftest.$ac_ext <<_ACEOF
16852 /* confdefs.h. */
16853 _ACEOF
16854 cat confdefs.h >>conftest.$ac_ext
16855 cat >>conftest.$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 #include <math.h>
16859 main ()
16861 _modf(0, 0);
16863 return 0;
16865 _ACEOF
16866 rm -f conftest.$ac_objext
16867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16868 (eval $ac_compile) 2>conftest.er1
16869 ac_status=$?
16870 grep -v '^ *+' conftest.er1 >conftest.err
16871 rm -f conftest.er1
16872 cat conftest.err >&5
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); } &&
16875 { ac_try='test -z "$ac_cxx_werror_flag"
16876 || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16879 ac_status=$?
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16885 ac_status=$?
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 glibcxx_cv_func__modf_use=yes
16889 else
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16893 glibcxx_cv_func__modf_use=no
16895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16896 ac_ext=c
16897 ac_cpp='$CPP $CPPFLAGS'
16898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16907 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16909 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16911 for ac_func in _modf
16913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16914 echo "$as_me:$LINENO: checking for $ac_func" >&5
16915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16916 if eval "test \"\${$as_ac_var+set}\" = set"; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16922 { (exit 1); exit 1; }; }
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16932 #define $ac_func innocuous_$ac_func
16934 /* System header to define __stub macros and hopefully few prototypes,
16935 which can conflict with char $ac_func (); below.
16936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16937 <limits.h> exists even on freestanding compilers. */
16939 #ifdef __STDC__
16940 # include <limits.h>
16941 #else
16942 # include <assert.h>
16943 #endif
16945 #undef $ac_func
16947 /* Override any gcc2 internal prototype to avoid an error. */
16948 #ifdef __cplusplus
16949 extern "C"
16951 #endif
16952 /* We use char because int might match the return type of a gcc2
16953 builtin and then its argument prototype would still apply. */
16954 char $ac_func ();
16955 /* The GNU C library defines this for functions which it implements
16956 to always fail with ENOSYS. Some functions are actually named
16957 something starting with __ and the normal name is an alias. */
16958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16959 choke me
16960 #else
16961 char (*f) () = $ac_func;
16962 #endif
16963 #ifdef __cplusplus
16965 #endif
16968 main ()
16970 return f != $ac_func;
16972 return 0;
16974 _ACEOF
16975 rm -f conftest.$ac_objext conftest$ac_exeext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16977 (eval $ac_link) 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try='test -z "$ac_c_werror_flag"
16985 || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16988 ac_status=$?
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try='test -s conftest$ac_exeext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 eval "$as_ac_var=yes"
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17002 eval "$as_ac_var=no"
17004 rm -f conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17009 if test `eval echo '${'$as_ac_var'}'` = yes; then
17010 cat >>confdefs.h <<_ACEOF
17011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17012 _ACEOF
17015 done
17025 echo "$as_me:$LINENO: checking for powf declaration" >&5
17026 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17027 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17028 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17034 ac_ext=cc
17035 ac_cpp='$CXXCPP $CPPFLAGS'
17036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #include <math.h>
17048 main ()
17050 powf(0, 0);
17052 return 0;
17054 _ACEOF
17055 rm -f conftest.$ac_objext
17056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17057 (eval $ac_compile) 2>conftest.er1
17058 ac_status=$?
17059 grep -v '^ *+' conftest.er1 >conftest.err
17060 rm -f conftest.er1
17061 cat conftest.err >&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } &&
17064 { ac_try='test -z "$ac_cxx_werror_flag"
17065 || test ! -s conftest.err'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17068 ac_status=$?
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; } &&
17071 { ac_try='test -s conftest.$ac_objext'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17074 ac_status=$?
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; }; then
17077 glibcxx_cv_func_powf_use=yes
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 glibcxx_cv_func_powf_use=no
17084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17096 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17098 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17100 for ac_func in powf
17102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17103 echo "$as_me:$LINENO: checking for $ac_func" >&5
17104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17105 if eval "test \"\${$as_ac_var+set}\" = set"; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 if test x$gcc_no_link = xyes; then
17109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17111 { (exit 1); exit 1; }; }
17113 cat >conftest.$ac_ext <<_ACEOF
17114 /* confdefs.h. */
17115 _ACEOF
17116 cat confdefs.h >>conftest.$ac_ext
17117 cat >>conftest.$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17121 #define $ac_func innocuous_$ac_func
17123 /* System header to define __stub macros and hopefully few prototypes,
17124 which can conflict with char $ac_func (); below.
17125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17126 <limits.h> exists even on freestanding compilers. */
17128 #ifdef __STDC__
17129 # include <limits.h>
17130 #else
17131 # include <assert.h>
17132 #endif
17134 #undef $ac_func
17136 /* Override any gcc2 internal prototype to avoid an error. */
17137 #ifdef __cplusplus
17138 extern "C"
17140 #endif
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17143 char $ac_func ();
17144 /* The GNU C library defines this for functions which it implements
17145 to always fail with ENOSYS. Some functions are actually named
17146 something starting with __ and the normal name is an alias. */
17147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17148 choke me
17149 #else
17150 char (*f) () = $ac_func;
17151 #endif
17152 #ifdef __cplusplus
17154 #endif
17157 main ()
17159 return f != $ac_func;
17161 return 0;
17163 _ACEOF
17164 rm -f conftest.$ac_objext conftest$ac_exeext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17166 (eval $ac_link) 2>conftest.er1
17167 ac_status=$?
17168 grep -v '^ *+' conftest.er1 >conftest.err
17169 rm -f conftest.er1
17170 cat conftest.err >&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try='test -z "$ac_c_werror_flag"
17174 || test ! -s conftest.err'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17177 ac_status=$?
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; } &&
17180 { ac_try='test -s conftest$ac_exeext'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17183 ac_status=$?
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17186 eval "$as_ac_var=yes"
17187 else
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17191 eval "$as_ac_var=no"
17193 rm -f conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17198 if test `eval echo '${'$as_ac_var'}'` = yes; then
17199 cat >>confdefs.h <<_ACEOF
17200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17201 _ACEOF
17204 done
17206 else
17208 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17209 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17210 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17211 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17217 ac_ext=cc
17218 ac_cpp='$CXXCPP $CPPFLAGS'
17219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17223 cat >conftest.$ac_ext <<_ACEOF
17224 /* confdefs.h. */
17225 _ACEOF
17226 cat confdefs.h >>conftest.$ac_ext
17227 cat >>conftest.$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 #include <math.h>
17231 main ()
17233 _powf(0, 0);
17235 return 0;
17237 _ACEOF
17238 rm -f conftest.$ac_objext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17240 (eval $ac_compile) 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try='test -z "$ac_cxx_werror_flag"
17248 || test ! -s conftest.err'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17251 ac_status=$?
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; } &&
17254 { ac_try='test -s conftest.$ac_objext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17257 ac_status=$?
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 glibcxx_cv_func__powf_use=yes
17261 else
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17265 glibcxx_cv_func__powf_use=no
17267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17268 ac_ext=c
17269 ac_cpp='$CPP $CPPFLAGS'
17270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17279 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17281 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17283 for ac_func in _powf
17285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17286 echo "$as_me:$LINENO: checking for $ac_func" >&5
17287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17288 if eval "test \"\${$as_ac_var+set}\" = set"; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 else
17291 if test x$gcc_no_link = xyes; then
17292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17294 { (exit 1); exit 1; }; }
17296 cat >conftest.$ac_ext <<_ACEOF
17297 /* confdefs.h. */
17298 _ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17304 #define $ac_func innocuous_$ac_func
17306 /* System header to define __stub macros and hopefully few prototypes,
17307 which can conflict with char $ac_func (); below.
17308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17309 <limits.h> exists even on freestanding compilers. */
17311 #ifdef __STDC__
17312 # include <limits.h>
17313 #else
17314 # include <assert.h>
17315 #endif
17317 #undef $ac_func
17319 /* Override any gcc2 internal prototype to avoid an error. */
17320 #ifdef __cplusplus
17321 extern "C"
17323 #endif
17324 /* We use char because int might match the return type of a gcc2
17325 builtin and then its argument prototype would still apply. */
17326 char $ac_func ();
17327 /* The GNU C library defines this for functions which it implements
17328 to always fail with ENOSYS. Some functions are actually named
17329 something starting with __ and the normal name is an alias. */
17330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17331 choke me
17332 #else
17333 char (*f) () = $ac_func;
17334 #endif
17335 #ifdef __cplusplus
17337 #endif
17340 main ()
17342 return f != $ac_func;
17344 return 0;
17346 _ACEOF
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17349 (eval $ac_link) 2>conftest.er1
17350 ac_status=$?
17351 grep -v '^ *+' conftest.er1 >conftest.err
17352 rm -f conftest.er1
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } &&
17356 { ac_try='test -z "$ac_c_werror_flag"
17357 || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17360 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try='test -s conftest$ac_exeext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 eval "$as_ac_var=yes"
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17374 eval "$as_ac_var=no"
17376 rm -f conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17381 if test `eval echo '${'$as_ac_var'}'` = yes; then
17382 cat >>confdefs.h <<_ACEOF
17383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17384 _ACEOF
17387 done
17397 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17398 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17399 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17400 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17406 ac_ext=cc
17407 ac_cpp='$CXXCPP $CPPFLAGS'
17408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17412 cat >conftest.$ac_ext <<_ACEOF
17413 /* confdefs.h. */
17414 _ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 #include <math.h>
17419 #ifdef HAVE_IEEEFP_H
17420 #include <ieeefp.h>
17421 #endif
17424 main ()
17426 sqrtf(0);
17428 return 0;
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_cxx_werror_flag"
17441 || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 glibcxx_cv_func_sqrtf_use=yes
17454 else
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17458 glibcxx_cv_func_sqrtf_use=no
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461 ac_ext=c
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17472 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17474 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17476 for ac_func in sqrtf
17478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17479 echo "$as_me:$LINENO: checking for $ac_func" >&5
17480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17481 if eval "test \"\${$as_ac_var+set}\" = set"; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 else
17484 if test x$gcc_no_link = xyes; then
17485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17487 { (exit 1); exit 1; }; }
17489 cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17497 #define $ac_func innocuous_$ac_func
17499 /* System header to define __stub macros and hopefully few prototypes,
17500 which can conflict with char $ac_func (); below.
17501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17502 <limits.h> exists even on freestanding compilers. */
17504 #ifdef __STDC__
17505 # include <limits.h>
17506 #else
17507 # include <assert.h>
17508 #endif
17510 #undef $ac_func
17512 /* Override any gcc2 internal prototype to avoid an error. */
17513 #ifdef __cplusplus
17514 extern "C"
17516 #endif
17517 /* We use char because int might match the return type of a gcc2
17518 builtin and then its argument prototype would still apply. */
17519 char $ac_func ();
17520 /* The GNU C library defines this for functions which it implements
17521 to always fail with ENOSYS. Some functions are actually named
17522 something starting with __ and the normal name is an alias. */
17523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17524 choke me
17525 #else
17526 char (*f) () = $ac_func;
17527 #endif
17528 #ifdef __cplusplus
17530 #endif
17533 main ()
17535 return f != $ac_func;
17537 return 0;
17539 _ACEOF
17540 rm -f conftest.$ac_objext conftest$ac_exeext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17542 (eval $ac_link) 2>conftest.er1
17543 ac_status=$?
17544 grep -v '^ *+' conftest.er1 >conftest.err
17545 rm -f conftest.er1
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try='test -z "$ac_c_werror_flag"
17550 || test ! -s conftest.err'
17551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552 (eval $ac_try) 2>&5
17553 ac_status=$?
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; } &&
17556 { ac_try='test -s conftest$ac_exeext'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17559 ac_status=$?
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; }; then
17562 eval "$as_ac_var=yes"
17563 else
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.$ac_ext >&5
17567 eval "$as_ac_var=no"
17569 rm -f conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17574 if test `eval echo '${'$as_ac_var'}'` = yes; then
17575 cat >>confdefs.h <<_ACEOF
17576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17577 _ACEOF
17580 done
17582 else
17584 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17585 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17586 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17587 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17589 else
17593 ac_ext=cc
17594 ac_cpp='$CXXCPP $CPPFLAGS'
17595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 #include <math.h>
17606 #ifdef HAVE_IEEEFP_H
17607 #include <ieeefp.h>
17608 #endif
17611 main ()
17613 _sqrtf(0);
17615 return 0;
17617 _ACEOF
17618 rm -f conftest.$ac_objext
17619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17620 (eval $ac_compile) 2>conftest.er1
17621 ac_status=$?
17622 grep -v '^ *+' conftest.er1 >conftest.err
17623 rm -f conftest.er1
17624 cat conftest.err >&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); } &&
17627 { ac_try='test -z "$ac_cxx_werror_flag"
17628 || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest.$ac_objext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 glibcxx_cv_func__sqrtf_use=yes
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17645 glibcxx_cv_func__sqrtf_use=no
17647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17648 ac_ext=c
17649 ac_cpp='$CPP $CPPFLAGS'
17650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17659 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17661 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17663 for ac_func in _sqrtf
17665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17666 echo "$as_me:$LINENO: checking for $ac_func" >&5
17667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17668 if eval "test \"\${$as_ac_var+set}\" = set"; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17670 else
17671 if test x$gcc_no_link = xyes; then
17672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17674 { (exit 1); exit 1; }; }
17676 cat >conftest.$ac_ext <<_ACEOF
17677 /* confdefs.h. */
17678 _ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17684 #define $ac_func innocuous_$ac_func
17686 /* System header to define __stub macros and hopefully few prototypes,
17687 which can conflict with char $ac_func (); below.
17688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17689 <limits.h> exists even on freestanding compilers. */
17691 #ifdef __STDC__
17692 # include <limits.h>
17693 #else
17694 # include <assert.h>
17695 #endif
17697 #undef $ac_func
17699 /* Override any gcc2 internal prototype to avoid an error. */
17700 #ifdef __cplusplus
17701 extern "C"
17703 #endif
17704 /* We use char because int might match the return type of a gcc2
17705 builtin and then its argument prototype would still apply. */
17706 char $ac_func ();
17707 /* The GNU C library defines this for functions which it implements
17708 to always fail with ENOSYS. Some functions are actually named
17709 something starting with __ and the normal name is an alias. */
17710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17711 choke me
17712 #else
17713 char (*f) () = $ac_func;
17714 #endif
17715 #ifdef __cplusplus
17717 #endif
17720 main ()
17722 return f != $ac_func;
17724 return 0;
17726 _ACEOF
17727 rm -f conftest.$ac_objext conftest$ac_exeext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17729 (eval $ac_link) 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try='test -z "$ac_c_werror_flag"
17737 || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest$ac_exeext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 eval "$as_ac_var=yes"
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17754 eval "$as_ac_var=no"
17756 rm -f conftest.err conftest.$ac_objext \
17757 conftest$ac_exeext conftest.$ac_ext
17759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17761 if test `eval echo '${'$as_ac_var'}'` = yes; then
17762 cat >>confdefs.h <<_ACEOF
17763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17764 _ACEOF
17767 done
17777 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17778 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17779 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17780 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17786 ac_ext=cc
17787 ac_cpp='$CXXCPP $CPPFLAGS'
17788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 #include <math.h>
17800 main ()
17802 sincosf(0, 0, 0);
17804 return 0;
17806 _ACEOF
17807 rm -f conftest.$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_cxx_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 glibcxx_cv_func_sincosf_use=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17834 glibcxx_cv_func_sincosf_use=no
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 ac_ext=c
17838 ac_cpp='$CPP $CPPFLAGS'
17839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17848 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17850 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17852 for ac_func in sincosf
17854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17855 echo "$as_me:$LINENO: checking for $ac_func" >&5
17856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17857 if eval "test \"\${$as_ac_var+set}\" = set"; then
17858 echo $ECHO_N "(cached) $ECHO_C" >&6
17859 else
17860 if test x$gcc_no_link = xyes; then
17861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17863 { (exit 1); exit 1; }; }
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17873 #define $ac_func innocuous_$ac_func
17875 /* System header to define __stub macros and hopefully few prototypes,
17876 which can conflict with char $ac_func (); below.
17877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17878 <limits.h> exists even on freestanding compilers. */
17880 #ifdef __STDC__
17881 # include <limits.h>
17882 #else
17883 # include <assert.h>
17884 #endif
17886 #undef $ac_func
17888 /* Override any gcc2 internal prototype to avoid an error. */
17889 #ifdef __cplusplus
17890 extern "C"
17892 #endif
17893 /* We use char because int might match the return type of a gcc2
17894 builtin and then its argument prototype would still apply. */
17895 char $ac_func ();
17896 /* The GNU C library defines this for functions which it implements
17897 to always fail with ENOSYS. Some functions are actually named
17898 something starting with __ and the normal name is an alias. */
17899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17900 choke me
17901 #else
17902 char (*f) () = $ac_func;
17903 #endif
17904 #ifdef __cplusplus
17906 #endif
17909 main ()
17911 return f != $ac_func;
17913 return 0;
17915 _ACEOF
17916 rm -f conftest.$ac_objext conftest$ac_exeext
17917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17918 (eval $ac_link) 2>conftest.er1
17919 ac_status=$?
17920 grep -v '^ *+' conftest.er1 >conftest.err
17921 rm -f conftest.er1
17922 cat conftest.err >&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } &&
17925 { ac_try='test -z "$ac_c_werror_flag"
17926 || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try='test -s conftest$ac_exeext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17935 ac_status=$?
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 eval "$as_ac_var=yes"
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17943 eval "$as_ac_var=no"
17945 rm -f conftest.err conftest.$ac_objext \
17946 conftest$ac_exeext conftest.$ac_ext
17948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17950 if test `eval echo '${'$as_ac_var'}'` = yes; then
17951 cat >>confdefs.h <<_ACEOF
17952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17953 _ACEOF
17956 done
17958 else
17960 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17961 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17962 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17963 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 else
17969 ac_ext=cc
17970 ac_cpp='$CXXCPP $CPPFLAGS'
17971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 #include <math.h>
17983 main ()
17985 _sincosf(0, 0, 0);
17987 return 0;
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17992 (eval $ac_compile) 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } &&
17999 { ac_try='test -z "$ac_cxx_werror_flag"
18000 || test ! -s conftest.err'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; } &&
18006 { ac_try='test -s conftest.$ac_objext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 glibcxx_cv_func__sincosf_use=yes
18013 else
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18017 glibcxx_cv_func__sincosf_use=no
18019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18020 ac_ext=c
18021 ac_cpp='$CPP $CPPFLAGS'
18022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18031 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18033 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18035 for ac_func in _sincosf
18037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18038 echo "$as_me:$LINENO: checking for $ac_func" >&5
18039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18040 if eval "test \"\${$as_ac_var+set}\" = set"; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 else
18043 if test x$gcc_no_link = xyes; then
18044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18046 { (exit 1); exit 1; }; }
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18056 #define $ac_func innocuous_$ac_func
18058 /* System header to define __stub macros and hopefully few prototypes,
18059 which can conflict with char $ac_func (); below.
18060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18061 <limits.h> exists even on freestanding compilers. */
18063 #ifdef __STDC__
18064 # include <limits.h>
18065 #else
18066 # include <assert.h>
18067 #endif
18069 #undef $ac_func
18071 /* Override any gcc2 internal prototype to avoid an error. */
18072 #ifdef __cplusplus
18073 extern "C"
18075 #endif
18076 /* We use char because int might match the return type of a gcc2
18077 builtin and then its argument prototype would still apply. */
18078 char $ac_func ();
18079 /* The GNU C library defines this for functions which it implements
18080 to always fail with ENOSYS. Some functions are actually named
18081 something starting with __ and the normal name is an alias. */
18082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18083 choke me
18084 #else
18085 char (*f) () = $ac_func;
18086 #endif
18087 #ifdef __cplusplus
18089 #endif
18092 main ()
18094 return f != $ac_func;
18096 return 0;
18098 _ACEOF
18099 rm -f conftest.$ac_objext conftest$ac_exeext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18101 (eval $ac_link) 2>conftest.er1
18102 ac_status=$?
18103 grep -v '^ *+' conftest.er1 >conftest.err
18104 rm -f conftest.er1
18105 cat conftest.err >&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try='test -z "$ac_c_werror_flag"
18109 || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18112 ac_status=$?
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try='test -s conftest$ac_exeext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18118 ac_status=$?
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 eval "$as_ac_var=yes"
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18126 eval "$as_ac_var=no"
18128 rm -f conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext conftest.$ac_ext
18131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18133 if test `eval echo '${'$as_ac_var'}'` = yes; then
18134 cat >>confdefs.h <<_ACEOF
18135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18136 _ACEOF
18139 done
18149 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18150 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18151 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18152 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 else
18158 ac_ext=cc
18159 ac_cpp='$CXXCPP $CPPFLAGS'
18160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164 cat >conftest.$ac_ext <<_ACEOF
18165 /* confdefs.h. */
18166 _ACEOF
18167 cat confdefs.h >>conftest.$ac_ext
18168 cat >>conftest.$ac_ext <<_ACEOF
18169 /* end confdefs.h. */
18170 #include <math.h>
18171 #ifdef HAVE_IEEEFP_H
18172 #include <ieeefp.h>
18173 #endif
18176 main ()
18178 finitef(0);
18180 return 0;
18182 _ACEOF
18183 rm -f conftest.$ac_objext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18185 (eval $ac_compile) 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } &&
18192 { ac_try='test -z "$ac_cxx_werror_flag"
18193 || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18196 ac_status=$?
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 glibcxx_cv_func_finitef_use=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18210 glibcxx_cv_func_finitef_use=no
18212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18213 ac_ext=c
18214 ac_cpp='$CPP $CPPFLAGS'
18215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18224 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18226 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18228 for ac_func in finitef
18230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18231 echo "$as_me:$LINENO: checking for $ac_func" >&5
18232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18233 if eval "test \"\${$as_ac_var+set}\" = set"; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 else
18236 if test x$gcc_no_link = xyes; then
18237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18239 { (exit 1); exit 1; }; }
18241 cat >conftest.$ac_ext <<_ACEOF
18242 /* confdefs.h. */
18243 _ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18249 #define $ac_func innocuous_$ac_func
18251 /* System header to define __stub macros and hopefully few prototypes,
18252 which can conflict with char $ac_func (); below.
18253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18254 <limits.h> exists even on freestanding compilers. */
18256 #ifdef __STDC__
18257 # include <limits.h>
18258 #else
18259 # include <assert.h>
18260 #endif
18262 #undef $ac_func
18264 /* Override any gcc2 internal prototype to avoid an error. */
18265 #ifdef __cplusplus
18266 extern "C"
18268 #endif
18269 /* We use char because int might match the return type of a gcc2
18270 builtin and then its argument prototype would still apply. */
18271 char $ac_func ();
18272 /* The GNU C library defines this for functions which it implements
18273 to always fail with ENOSYS. Some functions are actually named
18274 something starting with __ and the normal name is an alias. */
18275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18276 choke me
18277 #else
18278 char (*f) () = $ac_func;
18279 #endif
18280 #ifdef __cplusplus
18282 #endif
18285 main ()
18287 return f != $ac_func;
18289 return 0;
18291 _ACEOF
18292 rm -f conftest.$ac_objext conftest$ac_exeext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18294 (eval $ac_link) 2>conftest.er1
18295 ac_status=$?
18296 grep -v '^ *+' conftest.er1 >conftest.err
18297 rm -f conftest.er1
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } &&
18301 { ac_try='test -z "$ac_c_werror_flag"
18302 || test ! -s conftest.err'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18305 ac_status=$?
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; } &&
18308 { ac_try='test -s conftest$ac_exeext'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; }; then
18314 eval "$as_ac_var=yes"
18315 else
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.$ac_ext >&5
18319 eval "$as_ac_var=no"
18321 rm -f conftest.err conftest.$ac_objext \
18322 conftest$ac_exeext conftest.$ac_ext
18324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18326 if test `eval echo '${'$as_ac_var'}'` = yes; then
18327 cat >>confdefs.h <<_ACEOF
18328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18329 _ACEOF
18332 done
18334 else
18336 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18337 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18338 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18339 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18345 ac_ext=cc
18346 ac_cpp='$CXXCPP $CPPFLAGS'
18347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18351 cat >conftest.$ac_ext <<_ACEOF
18352 /* confdefs.h. */
18353 _ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 #include <math.h>
18358 #ifdef HAVE_IEEEFP_H
18359 #include <ieeefp.h>
18360 #endif
18363 main ()
18365 _finitef(0);
18367 return 0;
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_cxx_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 glibcxx_cv_func__finitef_use=yes
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18397 glibcxx_cv_func__finitef_use=no
18399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18400 ac_ext=c
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18411 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18413 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18415 for ac_func in _finitef
18417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18418 echo "$as_me:$LINENO: checking for $ac_func" >&5
18419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18420 if eval "test \"\${$as_ac_var+set}\" = set"; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 else
18423 if test x$gcc_no_link = xyes; then
18424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18426 { (exit 1); exit 1; }; }
18428 cat >conftest.$ac_ext <<_ACEOF
18429 /* confdefs.h. */
18430 _ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18436 #define $ac_func innocuous_$ac_func
18438 /* System header to define __stub macros and hopefully few prototypes,
18439 which can conflict with char $ac_func (); below.
18440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18441 <limits.h> exists even on freestanding compilers. */
18443 #ifdef __STDC__
18444 # include <limits.h>
18445 #else
18446 # include <assert.h>
18447 #endif
18449 #undef $ac_func
18451 /* Override any gcc2 internal prototype to avoid an error. */
18452 #ifdef __cplusplus
18453 extern "C"
18455 #endif
18456 /* We use char because int might match the return type of a gcc2
18457 builtin and then its argument prototype would still apply. */
18458 char $ac_func ();
18459 /* The GNU C library defines this for functions which it implements
18460 to always fail with ENOSYS. Some functions are actually named
18461 something starting with __ and the normal name is an alias. */
18462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18463 choke me
18464 #else
18465 char (*f) () = $ac_func;
18466 #endif
18467 #ifdef __cplusplus
18469 #endif
18472 main ()
18474 return f != $ac_func;
18476 return 0;
18478 _ACEOF
18479 rm -f conftest.$ac_objext conftest$ac_exeext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18481 (eval $ac_link) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try='test -z "$ac_c_werror_flag"
18489 || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest$ac_exeext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 eval "$as_ac_var=yes"
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18506 eval "$as_ac_var=no"
18508 rm -f conftest.err conftest.$ac_objext \
18509 conftest$ac_exeext conftest.$ac_ext
18511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18513 if test `eval echo '${'$as_ac_var'}'` = yes; then
18514 cat >>confdefs.h <<_ACEOF
18515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18516 _ACEOF
18519 done
18529 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18530 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18531 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18532 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 else
18537 ac_ext=cc
18538 ac_cpp='$CXXCPP $CPPFLAGS'
18539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543 cat >conftest.$ac_ext <<_ACEOF
18544 /* confdefs.h. */
18545 _ACEOF
18546 cat confdefs.h >>conftest.$ac_ext
18547 cat >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 #include <math.h>
18551 main ()
18553 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18555 return 0;
18557 _ACEOF
18558 rm -f conftest.$ac_objext
18559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18560 (eval $ac_compile) 2>conftest.er1
18561 ac_status=$?
18562 grep -v '^ *+' conftest.er1 >conftest.err
18563 rm -f conftest.er1
18564 cat conftest.err >&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } &&
18567 { ac_try='test -z "$ac_cxx_werror_flag"
18568 || test ! -s conftest.err'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; } &&
18574 { ac_try='test -s conftest.$ac_objext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 glibcxx_cv_func_long_double_trig_use=yes
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18585 glibcxx_cv_func_long_double_trig_use=no
18587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18588 ac_ext=c
18589 ac_cpp='$CPP $CPPFLAGS'
18590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18597 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18598 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18608 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18611 echo "$as_me:$LINENO: checking for $ac_func" >&5
18612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18613 if eval "test \"\${$as_ac_var+set}\" = set"; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 else
18616 if test x$gcc_no_link = xyes; then
18617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18619 { (exit 1); exit 1; }; }
18621 cat >conftest.$ac_ext <<_ACEOF
18622 /* confdefs.h. */
18623 _ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18629 #define $ac_func innocuous_$ac_func
18631 /* System header to define __stub macros and hopefully few prototypes,
18632 which can conflict with char $ac_func (); below.
18633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18634 <limits.h> exists even on freestanding compilers. */
18636 #ifdef __STDC__
18637 # include <limits.h>
18638 #else
18639 # include <assert.h>
18640 #endif
18642 #undef $ac_func
18644 /* Override any gcc2 internal prototype to avoid an error. */
18645 #ifdef __cplusplus
18646 extern "C"
18648 #endif
18649 /* We use char because int might match the return type of a gcc2
18650 builtin and then its argument prototype would still apply. */
18651 char $ac_func ();
18652 /* The GNU C library defines this for functions which it implements
18653 to always fail with ENOSYS. Some functions are actually named
18654 something starting with __ and the normal name is an alias. */
18655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18656 choke me
18657 #else
18658 char (*f) () = $ac_func;
18659 #endif
18660 #ifdef __cplusplus
18662 #endif
18665 main ()
18667 return f != $ac_func;
18669 return 0;
18671 _ACEOF
18672 rm -f conftest.$ac_objext conftest$ac_exeext
18673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18674 (eval $ac_link) 2>conftest.er1
18675 ac_status=$?
18676 grep -v '^ *+' conftest.er1 >conftest.err
18677 rm -f conftest.er1
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } &&
18681 { ac_try='test -z "$ac_c_werror_flag"
18682 || test ! -s conftest.err'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; } &&
18688 { ac_try='test -s conftest$ac_exeext'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; }; then
18694 eval "$as_ac_var=yes"
18695 else
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18699 eval "$as_ac_var=no"
18701 rm -f conftest.err conftest.$ac_objext \
18702 conftest$ac_exeext conftest.$ac_ext
18704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18706 if test `eval echo '${'$as_ac_var'}'` = yes; then
18707 cat >>confdefs.h <<_ACEOF
18708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18709 _ACEOF
18712 done
18714 else
18715 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18716 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18717 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 else
18723 ac_ext=cc
18724 ac_cpp='$CXXCPP $CPPFLAGS'
18725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 #include <math.h>
18737 main ()
18739 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18741 return 0;
18743 _ACEOF
18744 rm -f conftest.$ac_objext
18745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18746 (eval $ac_compile) 2>conftest.er1
18747 ac_status=$?
18748 grep -v '^ *+' conftest.er1 >conftest.err
18749 rm -f conftest.er1
18750 cat conftest.err >&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); } &&
18753 { ac_try='test -z "$ac_cxx_werror_flag"
18754 || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18763 ac_status=$?
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18766 glibcxx_cv_func__long_double_trig_use=yes
18767 else
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18771 glibcxx_cv_func__long_double_trig_use=no
18773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18774 ac_ext=c
18775 ac_cpp='$CPP $CPPFLAGS'
18776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18783 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18784 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18794 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18797 echo "$as_me:$LINENO: checking for $ac_func" >&5
18798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18799 if eval "test \"\${$as_ac_var+set}\" = set"; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 else
18802 if test x$gcc_no_link = xyes; then
18803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18805 { (exit 1); exit 1; }; }
18807 cat >conftest.$ac_ext <<_ACEOF
18808 /* confdefs.h. */
18809 _ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18815 #define $ac_func innocuous_$ac_func
18817 /* System header to define __stub macros and hopefully few prototypes,
18818 which can conflict with char $ac_func (); below.
18819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18820 <limits.h> exists even on freestanding compilers. */
18822 #ifdef __STDC__
18823 # include <limits.h>
18824 #else
18825 # include <assert.h>
18826 #endif
18828 #undef $ac_func
18830 /* Override any gcc2 internal prototype to avoid an error. */
18831 #ifdef __cplusplus
18832 extern "C"
18834 #endif
18835 /* We use char because int might match the return type of a gcc2
18836 builtin and then its argument prototype would still apply. */
18837 char $ac_func ();
18838 /* The GNU C library defines this for functions which it implements
18839 to always fail with ENOSYS. Some functions are actually named
18840 something starting with __ and the normal name is an alias. */
18841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18842 choke me
18843 #else
18844 char (*f) () = $ac_func;
18845 #endif
18846 #ifdef __cplusplus
18848 #endif
18851 main ()
18853 return f != $ac_func;
18855 return 0;
18857 _ACEOF
18858 rm -f conftest.$ac_objext conftest$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860 (eval $ac_link) 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } &&
18867 { ac_try='test -z "$ac_c_werror_flag"
18868 || test ! -s conftest.err'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18871 ac_status=$?
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; } &&
18874 { ac_try='test -s conftest$ac_exeext'
18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18876 (eval $ac_try) 2>&5
18877 ac_status=$?
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); }; }; then
18880 eval "$as_ac_var=yes"
18881 else
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18885 eval "$as_ac_var=no"
18887 rm -f conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext conftest.$ac_ext
18890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18892 if test `eval echo '${'$as_ac_var'}'` = yes; then
18893 cat >>confdefs.h <<_ACEOF
18894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18895 _ACEOF
18898 done
18916 echo "$as_me:$LINENO: checking for long double round functions" >&5
18917 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18918 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 else
18924 ac_ext=cc
18925 ac_cpp='$CXXCPP $CPPFLAGS'
18926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18930 cat >conftest.$ac_ext <<_ACEOF
18931 /* confdefs.h. */
18932 _ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 #include <math.h>
18938 main ()
18940 ceill (0); floorl (0);
18942 return 0;
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_cxx_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 glibcxx_cv_func_long_double_round_use=yes
18968 else
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.$ac_ext >&5
18972 glibcxx_cv_func_long_double_round_use=no
18974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18975 ac_ext=c
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18984 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18985 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18988 for ac_func in ceill floorl
18990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18991 echo "$as_me:$LINENO: checking for $ac_func" >&5
18992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18993 if eval "test \"\${$as_ac_var+set}\" = set"; then
18994 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 else
18996 if test x$gcc_no_link = xyes; then
18997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18999 { (exit 1); exit 1; }; }
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19009 #define $ac_func innocuous_$ac_func
19011 /* System header to define __stub macros and hopefully few prototypes,
19012 which can conflict with char $ac_func (); below.
19013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19014 <limits.h> exists even on freestanding compilers. */
19016 #ifdef __STDC__
19017 # include <limits.h>
19018 #else
19019 # include <assert.h>
19020 #endif
19022 #undef $ac_func
19024 /* Override any gcc2 internal prototype to avoid an error. */
19025 #ifdef __cplusplus
19026 extern "C"
19028 #endif
19029 /* We use char because int might match the return type of a gcc2
19030 builtin and then its argument prototype would still apply. */
19031 char $ac_func ();
19032 /* The GNU C library defines this for functions which it implements
19033 to always fail with ENOSYS. Some functions are actually named
19034 something starting with __ and the normal name is an alias. */
19035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19036 choke me
19037 #else
19038 char (*f) () = $ac_func;
19039 #endif
19040 #ifdef __cplusplus
19042 #endif
19045 main ()
19047 return f != $ac_func;
19049 return 0;
19051 _ACEOF
19052 rm -f conftest.$ac_objext conftest$ac_exeext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19054 (eval $ac_link) 2>conftest.er1
19055 ac_status=$?
19056 grep -v '^ *+' conftest.er1 >conftest.err
19057 rm -f conftest.er1
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -z "$ac_c_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try='test -s conftest$ac_exeext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 eval "$as_ac_var=yes"
19075 else
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19079 eval "$as_ac_var=no"
19081 rm -f conftest.err conftest.$ac_objext \
19082 conftest$ac_exeext conftest.$ac_ext
19084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19086 if test `eval echo '${'$as_ac_var'}'` = yes; then
19087 cat >>confdefs.h <<_ACEOF
19088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19089 _ACEOF
19092 done
19094 else
19095 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19096 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19103 ac_ext=cc
19104 ac_cpp='$CXXCPP $CPPFLAGS'
19105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 #include <math.h>
19117 main ()
19119 _ceill (0); _floorl (0);
19121 return 0;
19123 _ACEOF
19124 rm -f conftest.$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19127 ac_status=$?
19128 grep -v '^ *+' conftest.er1 >conftest.err
19129 rm -f conftest.er1
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try='test -z "$ac_cxx_werror_flag"
19134 || test ! -s conftest.err'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; } &&
19140 { ac_try='test -s conftest.$ac_objext'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 glibcxx_cv_func__long_double_round_use=yes
19147 else
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19151 glibcxx_cv_func__long_double_round_use=no
19153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19154 ac_ext=c
19155 ac_cpp='$CPP $CPPFLAGS'
19156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19163 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19164 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19167 for ac_func in _ceill _floorl
19169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19170 echo "$as_me:$LINENO: checking for $ac_func" >&5
19171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19172 if eval "test \"\${$as_ac_var+set}\" = set"; then
19173 echo $ECHO_N "(cached) $ECHO_C" >&6
19174 else
19175 if test x$gcc_no_link = xyes; then
19176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19178 { (exit 1); exit 1; }; }
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19188 #define $ac_func innocuous_$ac_func
19190 /* System header to define __stub macros and hopefully few prototypes,
19191 which can conflict with char $ac_func (); below.
19192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19193 <limits.h> exists even on freestanding compilers. */
19195 #ifdef __STDC__
19196 # include <limits.h>
19197 #else
19198 # include <assert.h>
19199 #endif
19201 #undef $ac_func
19203 /* Override any gcc2 internal prototype to avoid an error. */
19204 #ifdef __cplusplus
19205 extern "C"
19207 #endif
19208 /* We use char because int might match the return type of a gcc2
19209 builtin and then its argument prototype would still apply. */
19210 char $ac_func ();
19211 /* The GNU C library defines this for functions which it implements
19212 to always fail with ENOSYS. Some functions are actually named
19213 something starting with __ and the normal name is an alias. */
19214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19215 choke me
19216 #else
19217 char (*f) () = $ac_func;
19218 #endif
19219 #ifdef __cplusplus
19221 #endif
19224 main ()
19226 return f != $ac_func;
19228 return 0;
19230 _ACEOF
19231 rm -f conftest.$ac_objext conftest$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>conftest.er1
19234 ac_status=$?
19235 grep -v '^ *+' conftest.er1 >conftest.err
19236 rm -f conftest.er1
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -z "$ac_c_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19244 ac_status=$?
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try='test -s conftest$ac_exeext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19250 ac_status=$?
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 eval "$as_ac_var=yes"
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 eval "$as_ac_var=no"
19260 rm -f conftest.err conftest.$ac_objext \
19261 conftest$ac_exeext conftest.$ac_ext
19263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19265 if test `eval echo '${'$as_ac_var'}'` = yes; then
19266 cat >>confdefs.h <<_ACEOF
19267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19268 _ACEOF
19271 done
19283 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19284 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19285 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19286 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19287 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 else
19292 ac_ext=cc
19293 ac_cpp='$CXXCPP $CPPFLAGS'
19294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 #include <math.h>
19305 #ifdef HAVE_IEEEFP_H
19306 #include <ieeefp.h>
19307 #endif
19310 main ()
19312 isnanl(0);
19314 return 0;
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_cxx_werror_flag"
19327 || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest.$ac_objext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 glibcxx_cv_func_isnanl_use=yes
19340 else
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 glibcxx_cv_func_isnanl_use=no
19346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19347 ac_ext=c
19348 ac_cpp='$CPP $CPPFLAGS'
19349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19358 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19360 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19362 for ac_func in isnanl
19364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19365 echo "$as_me:$LINENO: checking for $ac_func" >&5
19366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19367 if eval "test \"\${$as_ac_var+set}\" = set"; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 if test x$gcc_no_link = xyes; then
19371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19373 { (exit 1); exit 1; }; }
19375 cat >conftest.$ac_ext <<_ACEOF
19376 /* confdefs.h. */
19377 _ACEOF
19378 cat confdefs.h >>conftest.$ac_ext
19379 cat >>conftest.$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19383 #define $ac_func innocuous_$ac_func
19385 /* System header to define __stub macros and hopefully few prototypes,
19386 which can conflict with char $ac_func (); below.
19387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19388 <limits.h> exists even on freestanding compilers. */
19390 #ifdef __STDC__
19391 # include <limits.h>
19392 #else
19393 # include <assert.h>
19394 #endif
19396 #undef $ac_func
19398 /* Override any gcc2 internal prototype to avoid an error. */
19399 #ifdef __cplusplus
19400 extern "C"
19402 #endif
19403 /* We use char because int might match the return type of a gcc2
19404 builtin and then its argument prototype would still apply. */
19405 char $ac_func ();
19406 /* The GNU C library defines this for functions which it implements
19407 to always fail with ENOSYS. Some functions are actually named
19408 something starting with __ and the normal name is an alias. */
19409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19410 choke me
19411 #else
19412 char (*f) () = $ac_func;
19413 #endif
19414 #ifdef __cplusplus
19416 #endif
19419 main ()
19421 return f != $ac_func;
19423 return 0;
19425 _ACEOF
19426 rm -f conftest.$ac_objext conftest$ac_exeext
19427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19428 (eval $ac_link) 2>conftest.er1
19429 ac_status=$?
19430 grep -v '^ *+' conftest.er1 >conftest.err
19431 rm -f conftest.er1
19432 cat conftest.err >&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try='test -z "$ac_c_werror_flag"
19436 || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest$ac_exeext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 eval "$as_ac_var=yes"
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 eval "$as_ac_var=no"
19455 rm -f conftest.err conftest.$ac_objext \
19456 conftest$ac_exeext conftest.$ac_ext
19458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19460 if test `eval echo '${'$as_ac_var'}'` = yes; then
19461 cat >>confdefs.h <<_ACEOF
19462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19463 _ACEOF
19466 done
19468 else
19470 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19471 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19472 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19473 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 else
19479 ac_ext=cc
19480 ac_cpp='$CXXCPP $CPPFLAGS'
19481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 #include <math.h>
19492 #ifdef HAVE_IEEEFP_H
19493 #include <ieeefp.h>
19494 #endif
19497 main ()
19499 _isnanl(0);
19501 return 0;
19503 _ACEOF
19504 rm -f conftest.$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19507 ac_status=$?
19508 grep -v '^ *+' conftest.er1 >conftest.err
19509 rm -f conftest.er1
19510 cat conftest.err >&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try='test -z "$ac_cxx_werror_flag"
19514 || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 glibcxx_cv_func__isnanl_use=yes
19527 else
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19531 glibcxx_cv_func__isnanl_use=no
19533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19534 ac_ext=c
19535 ac_cpp='$CPP $CPPFLAGS'
19536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19545 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19547 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19549 for ac_func in _isnanl
19551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19552 echo "$as_me:$LINENO: checking for $ac_func" >&5
19553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19554 if eval "test \"\${$as_ac_var+set}\" = set"; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 else
19557 if test x$gcc_no_link = xyes; then
19558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19560 { (exit 1); exit 1; }; }
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19570 #define $ac_func innocuous_$ac_func
19572 /* System header to define __stub macros and hopefully few prototypes,
19573 which can conflict with char $ac_func (); below.
19574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19575 <limits.h> exists even on freestanding compilers. */
19577 #ifdef __STDC__
19578 # include <limits.h>
19579 #else
19580 # include <assert.h>
19581 #endif
19583 #undef $ac_func
19585 /* Override any gcc2 internal prototype to avoid an error. */
19586 #ifdef __cplusplus
19587 extern "C"
19589 #endif
19590 /* We use char because int might match the return type of a gcc2
19591 builtin and then its argument prototype would still apply. */
19592 char $ac_func ();
19593 /* The GNU C library defines this for functions which it implements
19594 to always fail with ENOSYS. Some functions are actually named
19595 something starting with __ and the normal name is an alias. */
19596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19597 choke me
19598 #else
19599 char (*f) () = $ac_func;
19600 #endif
19601 #ifdef __cplusplus
19603 #endif
19606 main ()
19608 return f != $ac_func;
19610 return 0;
19612 _ACEOF
19613 rm -f conftest.$ac_objext conftest$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -z "$ac_c_werror_flag"
19623 || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try='test -s conftest$ac_exeext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 eval "$as_ac_var=yes"
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 eval "$as_ac_var=no"
19642 rm -f conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext conftest.$ac_ext
19645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19647 if test `eval echo '${'$as_ac_var'}'` = yes; then
19648 cat >>confdefs.h <<_ACEOF
19649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19650 _ACEOF
19653 done
19663 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19664 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19665 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19666 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19667 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 else
19672 ac_ext=cc
19673 ac_cpp='$CXXCPP $CPPFLAGS'
19674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #include <math.h>
19685 #ifdef HAVE_IEEEFP_H
19686 #include <ieeefp.h>
19687 #endif
19690 main ()
19692 isinfl(0);
19694 return 0;
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19699 (eval $ac_compile) 2>conftest.er1
19700 ac_status=$?
19701 grep -v '^ *+' conftest.er1 >conftest.err
19702 rm -f conftest.er1
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try='test -z "$ac_cxx_werror_flag"
19707 || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19710 ac_status=$?
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try='test -s conftest.$ac_objext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 glibcxx_cv_func_isinfl_use=yes
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 glibcxx_cv_func_isinfl_use=no
19726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19727 ac_ext=c
19728 ac_cpp='$CPP $CPPFLAGS'
19729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19738 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19742 for ac_func in isinfl
19744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19745 echo "$as_me:$LINENO: checking for $ac_func" >&5
19746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19747 if eval "test \"\${$as_ac_var+set}\" = set"; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750 if test x$gcc_no_link = xyes; then
19751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19753 { (exit 1); exit 1; }; }
19755 cat >conftest.$ac_ext <<_ACEOF
19756 /* confdefs.h. */
19757 _ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19763 #define $ac_func innocuous_$ac_func
19765 /* System header to define __stub macros and hopefully few prototypes,
19766 which can conflict with char $ac_func (); below.
19767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19768 <limits.h> exists even on freestanding compilers. */
19770 #ifdef __STDC__
19771 # include <limits.h>
19772 #else
19773 # include <assert.h>
19774 #endif
19776 #undef $ac_func
19778 /* Override any gcc2 internal prototype to avoid an error. */
19779 #ifdef __cplusplus
19780 extern "C"
19782 #endif
19783 /* We use char because int might match the return type of a gcc2
19784 builtin and then its argument prototype would still apply. */
19785 char $ac_func ();
19786 /* The GNU C library defines this for functions which it implements
19787 to always fail with ENOSYS. Some functions are actually named
19788 something starting with __ and the normal name is an alias. */
19789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19790 choke me
19791 #else
19792 char (*f) () = $ac_func;
19793 #endif
19794 #ifdef __cplusplus
19796 #endif
19799 main ()
19801 return f != $ac_func;
19803 return 0;
19805 _ACEOF
19806 rm -f conftest.$ac_objext conftest$ac_exeext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19808 (eval $ac_link) 2>conftest.er1
19809 ac_status=$?
19810 grep -v '^ *+' conftest.er1 >conftest.err
19811 rm -f conftest.er1
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } &&
19815 { ac_try='test -z "$ac_c_werror_flag"
19816 || test ! -s conftest.err'
19817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818 (eval $ac_try) 2>&5
19819 ac_status=$?
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); }; } &&
19822 { ac_try='test -s conftest$ac_exeext'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19825 ac_status=$?
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; }; then
19828 eval "$as_ac_var=yes"
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 eval "$as_ac_var=no"
19835 rm -f conftest.err conftest.$ac_objext \
19836 conftest$ac_exeext conftest.$ac_ext
19838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19840 if test `eval echo '${'$as_ac_var'}'` = yes; then
19841 cat >>confdefs.h <<_ACEOF
19842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19843 _ACEOF
19846 done
19848 else
19850 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19851 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19852 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19853 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19855 else
19859 ac_ext=cc
19860 ac_cpp='$CXXCPP $CPPFLAGS'
19861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19865 cat >conftest.$ac_ext <<_ACEOF
19866 /* confdefs.h. */
19867 _ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 #include <math.h>
19872 #ifdef HAVE_IEEEFP_H
19873 #include <ieeefp.h>
19874 #endif
19877 main ()
19879 _isinfl(0);
19881 return 0;
19883 _ACEOF
19884 rm -f conftest.$ac_objext
19885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19886 (eval $ac_compile) 2>conftest.er1
19887 ac_status=$?
19888 grep -v '^ *+' conftest.er1 >conftest.err
19889 rm -f conftest.er1
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } &&
19893 { ac_try='test -z "$ac_cxx_werror_flag"
19894 || test ! -s conftest.err'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19897 ac_status=$?
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; } &&
19900 { ac_try='test -s conftest.$ac_objext'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 glibcxx_cv_func__isinfl_use=yes
19907 else
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19911 glibcxx_cv_func__isinfl_use=no
19913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19914 ac_ext=c
19915 ac_cpp='$CPP $CPPFLAGS'
19916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19925 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19927 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19929 for ac_func in _isinfl
19931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19932 echo "$as_me:$LINENO: checking for $ac_func" >&5
19933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19934 if eval "test \"\${$as_ac_var+set}\" = set"; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 if test x$gcc_no_link = xyes; then
19938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19940 { (exit 1); exit 1; }; }
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19950 #define $ac_func innocuous_$ac_func
19952 /* System header to define __stub macros and hopefully few prototypes,
19953 which can conflict with char $ac_func (); below.
19954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19955 <limits.h> exists even on freestanding compilers. */
19957 #ifdef __STDC__
19958 # include <limits.h>
19959 #else
19960 # include <assert.h>
19961 #endif
19963 #undef $ac_func
19965 /* Override any gcc2 internal prototype to avoid an error. */
19966 #ifdef __cplusplus
19967 extern "C"
19969 #endif
19970 /* We use char because int might match the return type of a gcc2
19971 builtin and then its argument prototype would still apply. */
19972 char $ac_func ();
19973 /* The GNU C library defines this for functions which it implements
19974 to always fail with ENOSYS. Some functions are actually named
19975 something starting with __ and the normal name is an alias. */
19976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19977 choke me
19978 #else
19979 char (*f) () = $ac_func;
19980 #endif
19981 #ifdef __cplusplus
19983 #endif
19986 main ()
19988 return f != $ac_func;
19990 return 0;
19992 _ACEOF
19993 rm -f conftest.$ac_objext conftest$ac_exeext
19994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19995 (eval $ac_link) 2>conftest.er1
19996 ac_status=$?
19997 grep -v '^ *+' conftest.er1 >conftest.err
19998 rm -f conftest.er1
19999 cat conftest.err >&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } &&
20002 { ac_try='test -z "$ac_c_werror_flag"
20003 || test ! -s conftest.err'
20004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005 (eval $ac_try) 2>&5
20006 ac_status=$?
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); }; } &&
20009 { ac_try='test -s conftest$ac_exeext'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 eval "$as_ac_var=yes"
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20020 eval "$as_ac_var=no"
20022 rm -f conftest.err conftest.$ac_objext \
20023 conftest$ac_exeext conftest.$ac_ext
20025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20027 if test `eval echo '${'$as_ac_var'}'` = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20030 _ACEOF
20033 done
20043 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20044 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20045 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20046 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20052 ac_ext=cc
20053 ac_cpp='$CXXCPP $CPPFLAGS'
20054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20058 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h. */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 #include <math.h>
20066 main ()
20068 copysignl(0, 0);
20070 return 0;
20072 _ACEOF
20073 rm -f conftest.$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>conftest.er1
20076 ac_status=$?
20077 grep -v '^ *+' conftest.er1 >conftest.err
20078 rm -f conftest.er1
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try='test -z "$ac_cxx_werror_flag"
20083 || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 glibcxx_cv_func_copysignl_use=yes
20096 else
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20100 glibcxx_cv_func_copysignl_use=no
20102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20103 ac_ext=c
20104 ac_cpp='$CPP $CPPFLAGS'
20105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20114 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20116 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20118 for ac_func in copysignl
20120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20121 echo "$as_me:$LINENO: checking for $ac_func" >&5
20122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20123 if eval "test \"\${$as_ac_var+set}\" = set"; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 if test x$gcc_no_link = xyes; then
20127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20129 { (exit 1); exit 1; }; }
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20139 #define $ac_func innocuous_$ac_func
20141 /* System header to define __stub macros and hopefully few prototypes,
20142 which can conflict with char $ac_func (); below.
20143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20144 <limits.h> exists even on freestanding compilers. */
20146 #ifdef __STDC__
20147 # include <limits.h>
20148 #else
20149 # include <assert.h>
20150 #endif
20152 #undef $ac_func
20154 /* Override any gcc2 internal prototype to avoid an error. */
20155 #ifdef __cplusplus
20156 extern "C"
20158 #endif
20159 /* We use char because int might match the return type of a gcc2
20160 builtin and then its argument prototype would still apply. */
20161 char $ac_func ();
20162 /* The GNU C library defines this for functions which it implements
20163 to always fail with ENOSYS. Some functions are actually named
20164 something starting with __ and the normal name is an alias. */
20165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20166 choke me
20167 #else
20168 char (*f) () = $ac_func;
20169 #endif
20170 #ifdef __cplusplus
20172 #endif
20175 main ()
20177 return f != $ac_func;
20179 return 0;
20181 _ACEOF
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>conftest.er1
20185 ac_status=$?
20186 grep -v '^ *+' conftest.er1 >conftest.err
20187 rm -f conftest.er1
20188 cat conftest.err >&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try='test -z "$ac_c_werror_flag"
20192 || test ! -s conftest.err'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; } &&
20198 { ac_try='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 eval "$as_ac_var=yes"
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20209 eval "$as_ac_var=no"
20211 rm -f conftest.err conftest.$ac_objext \
20212 conftest$ac_exeext conftest.$ac_ext
20214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20216 if test `eval echo '${'$as_ac_var'}'` = yes; then
20217 cat >>confdefs.h <<_ACEOF
20218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20219 _ACEOF
20222 done
20224 else
20226 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20227 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20228 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20229 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20231 else
20235 ac_ext=cc
20236 ac_cpp='$CXXCPP $CPPFLAGS'
20237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 #include <math.h>
20249 main ()
20251 _copysignl(0, 0);
20253 return 0;
20255 _ACEOF
20256 rm -f conftest.$ac_objext
20257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20258 (eval $ac_compile) 2>conftest.er1
20259 ac_status=$?
20260 grep -v '^ *+' conftest.er1 >conftest.err
20261 rm -f conftest.er1
20262 cat conftest.err >&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); } &&
20265 { ac_try='test -z "$ac_cxx_werror_flag"
20266 || test ! -s conftest.err'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try='test -s conftest.$ac_objext'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20275 ac_status=$?
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; }; then
20278 glibcxx_cv_func__copysignl_use=yes
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20283 glibcxx_cv_func__copysignl_use=no
20285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20286 ac_ext=c
20287 ac_cpp='$CPP $CPPFLAGS'
20288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20297 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20299 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20301 for ac_func in _copysignl
20303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20304 echo "$as_me:$LINENO: checking for $ac_func" >&5
20305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20306 if eval "test \"\${$as_ac_var+set}\" = set"; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20309 if test x$gcc_no_link = xyes; then
20310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20312 { (exit 1); exit 1; }; }
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20322 #define $ac_func innocuous_$ac_func
20324 /* System header to define __stub macros and hopefully few prototypes,
20325 which can conflict with char $ac_func (); below.
20326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20327 <limits.h> exists even on freestanding compilers. */
20329 #ifdef __STDC__
20330 # include <limits.h>
20331 #else
20332 # include <assert.h>
20333 #endif
20335 #undef $ac_func
20337 /* Override any gcc2 internal prototype to avoid an error. */
20338 #ifdef __cplusplus
20339 extern "C"
20341 #endif
20342 /* We use char because int might match the return type of a gcc2
20343 builtin and then its argument prototype would still apply. */
20344 char $ac_func ();
20345 /* The GNU C library defines this for functions which it implements
20346 to always fail with ENOSYS. Some functions are actually named
20347 something starting with __ and the normal name is an alias. */
20348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20349 choke me
20350 #else
20351 char (*f) () = $ac_func;
20352 #endif
20353 #ifdef __cplusplus
20355 #endif
20358 main ()
20360 return f != $ac_func;
20362 return 0;
20364 _ACEOF
20365 rm -f conftest.$ac_objext conftest$ac_exeext
20366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20367 (eval $ac_link) 2>conftest.er1
20368 ac_status=$?
20369 grep -v '^ *+' conftest.er1 >conftest.err
20370 rm -f conftest.er1
20371 cat conftest.err >&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } &&
20374 { ac_try='test -z "$ac_c_werror_flag"
20375 || test ! -s conftest.err'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; } &&
20381 { ac_try='test -s conftest$ac_exeext'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; }; then
20387 eval "$as_ac_var=yes"
20388 else
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.$ac_ext >&5
20392 eval "$as_ac_var=no"
20394 rm -f conftest.err conftest.$ac_objext \
20395 conftest$ac_exeext conftest.$ac_ext
20397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20399 if test `eval echo '${'$as_ac_var'}'` = yes; then
20400 cat >>confdefs.h <<_ACEOF
20401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20402 _ACEOF
20405 done
20415 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20416 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20419 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 else
20424 ac_ext=cc
20425 ac_cpp='$CXXCPP $CPPFLAGS'
20426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <math.h>
20438 main ()
20440 atan2l(0, 0);
20442 return 0;
20444 _ACEOF
20445 rm -f conftest.$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } &&
20454 { ac_try='test -z "$ac_cxx_werror_flag"
20455 || test ! -s conftest.err'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20458 ac_status=$?
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; } &&
20461 { ac_try='test -s conftest.$ac_objext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 glibcxx_cv_func_atan2l_use=yes
20468 else
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.$ac_ext >&5
20472 glibcxx_cv_func_atan2l_use=no
20474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20475 ac_ext=c
20476 ac_cpp='$CPP $CPPFLAGS'
20477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20486 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20488 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20490 for ac_func in atan2l
20492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20493 echo "$as_me:$LINENO: checking for $ac_func" >&5
20494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20495 if eval "test \"\${$as_ac_var+set}\" = set"; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 else
20498 if test x$gcc_no_link = xyes; then
20499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20501 { (exit 1); exit 1; }; }
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20511 #define $ac_func innocuous_$ac_func
20513 /* System header to define __stub macros and hopefully few prototypes,
20514 which can conflict with char $ac_func (); below.
20515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20516 <limits.h> exists even on freestanding compilers. */
20518 #ifdef __STDC__
20519 # include <limits.h>
20520 #else
20521 # include <assert.h>
20522 #endif
20524 #undef $ac_func
20526 /* Override any gcc2 internal prototype to avoid an error. */
20527 #ifdef __cplusplus
20528 extern "C"
20530 #endif
20531 /* We use char because int might match the return type of a gcc2
20532 builtin and then its argument prototype would still apply. */
20533 char $ac_func ();
20534 /* The GNU C library defines this for functions which it implements
20535 to always fail with ENOSYS. Some functions are actually named
20536 something starting with __ and the normal name is an alias. */
20537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20538 choke me
20539 #else
20540 char (*f) () = $ac_func;
20541 #endif
20542 #ifdef __cplusplus
20544 #endif
20547 main ()
20549 return f != $ac_func;
20551 return 0;
20553 _ACEOF
20554 rm -f conftest.$ac_objext conftest$ac_exeext
20555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20556 (eval $ac_link) 2>conftest.er1
20557 ac_status=$?
20558 grep -v '^ *+' conftest.er1 >conftest.err
20559 rm -f conftest.er1
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } &&
20563 { ac_try='test -z "$ac_c_werror_flag"
20564 || test ! -s conftest.err'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20567 ac_status=$?
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; } &&
20570 { ac_try='test -s conftest$ac_exeext'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; }; then
20576 eval "$as_ac_var=yes"
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20581 eval "$as_ac_var=no"
20583 rm -f conftest.err conftest.$ac_objext \
20584 conftest$ac_exeext conftest.$ac_ext
20586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20588 if test `eval echo '${'$as_ac_var'}'` = yes; then
20589 cat >>confdefs.h <<_ACEOF
20590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20591 _ACEOF
20594 done
20596 else
20598 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20599 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20600 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20601 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 else
20607 ac_ext=cc
20608 ac_cpp='$CXXCPP $CPPFLAGS'
20609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20613 cat >conftest.$ac_ext <<_ACEOF
20614 /* confdefs.h. */
20615 _ACEOF
20616 cat confdefs.h >>conftest.$ac_ext
20617 cat >>conftest.$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 #include <math.h>
20621 main ()
20623 _atan2l(0, 0);
20625 return 0;
20627 _ACEOF
20628 rm -f conftest.$ac_objext
20629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20630 (eval $ac_compile) 2>conftest.er1
20631 ac_status=$?
20632 grep -v '^ *+' conftest.er1 >conftest.err
20633 rm -f conftest.er1
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try='test -z "$ac_cxx_werror_flag"
20638 || test ! -s conftest.err'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20641 ac_status=$?
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; } &&
20644 { ac_try='test -s conftest.$ac_objext'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20647 ac_status=$?
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; }; then
20650 glibcxx_cv_func__atan2l_use=yes
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20655 glibcxx_cv_func__atan2l_use=no
20657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20658 ac_ext=c
20659 ac_cpp='$CPP $CPPFLAGS'
20660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20669 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20671 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20673 for ac_func in _atan2l
20675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20676 echo "$as_me:$LINENO: checking for $ac_func" >&5
20677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20678 if eval "test \"\${$as_ac_var+set}\" = set"; then
20679 echo $ECHO_N "(cached) $ECHO_C" >&6
20680 else
20681 if test x$gcc_no_link = xyes; then
20682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20684 { (exit 1); exit 1; }; }
20686 cat >conftest.$ac_ext <<_ACEOF
20687 /* confdefs.h. */
20688 _ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20694 #define $ac_func innocuous_$ac_func
20696 /* System header to define __stub macros and hopefully few prototypes,
20697 which can conflict with char $ac_func (); below.
20698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20699 <limits.h> exists even on freestanding compilers. */
20701 #ifdef __STDC__
20702 # include <limits.h>
20703 #else
20704 # include <assert.h>
20705 #endif
20707 #undef $ac_func
20709 /* Override any gcc2 internal prototype to avoid an error. */
20710 #ifdef __cplusplus
20711 extern "C"
20713 #endif
20714 /* We use char because int might match the return type of a gcc2
20715 builtin and then its argument prototype would still apply. */
20716 char $ac_func ();
20717 /* The GNU C library defines this for functions which it implements
20718 to always fail with ENOSYS. Some functions are actually named
20719 something starting with __ and the normal name is an alias. */
20720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20721 choke me
20722 #else
20723 char (*f) () = $ac_func;
20724 #endif
20725 #ifdef __cplusplus
20727 #endif
20730 main ()
20732 return f != $ac_func;
20734 return 0;
20736 _ACEOF
20737 rm -f conftest.$ac_objext conftest$ac_exeext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20739 (eval $ac_link) 2>conftest.er1
20740 ac_status=$?
20741 grep -v '^ *+' conftest.er1 >conftest.err
20742 rm -f conftest.er1
20743 cat conftest.err >&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try='test -z "$ac_c_werror_flag"
20747 || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try='test -s conftest$ac_exeext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 eval "$as_ac_var=yes"
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20764 eval "$as_ac_var=no"
20766 rm -f conftest.err conftest.$ac_objext \
20767 conftest$ac_exeext conftest.$ac_ext
20769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20771 if test `eval echo '${'$as_ac_var'}'` = yes; then
20772 cat >>confdefs.h <<_ACEOF
20773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20774 _ACEOF
20777 done
20787 echo "$as_me:$LINENO: checking for expl declaration" >&5
20788 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20789 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20790 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20791 echo $ECHO_N "(cached) $ECHO_C" >&6
20792 else
20796 ac_ext=cc
20797 ac_cpp='$CXXCPP $CPPFLAGS'
20798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20802 cat >conftest.$ac_ext <<_ACEOF
20803 /* confdefs.h. */
20804 _ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 #include <math.h>
20809 #ifdef HAVE_IEEEFP_H
20810 #include <ieeefp.h>
20811 #endif
20814 main ()
20816 expl(0);
20818 return 0;
20820 _ACEOF
20821 rm -f conftest.$ac_objext
20822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20823 (eval $ac_compile) 2>conftest.er1
20824 ac_status=$?
20825 grep -v '^ *+' conftest.er1 >conftest.err
20826 rm -f conftest.er1
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } &&
20830 { ac_try='test -z "$ac_cxx_werror_flag"
20831 || test ! -s conftest.err'
20832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20833 (eval $ac_try) 2>&5
20834 ac_status=$?
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); }; } &&
20837 { ac_try='test -s conftest.$ac_objext'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20840 ac_status=$?
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; }; then
20843 glibcxx_cv_func_expl_use=yes
20844 else
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 glibcxx_cv_func_expl_use=no
20850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20851 ac_ext=c
20852 ac_cpp='$CPP $CPPFLAGS'
20853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20862 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20864 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20866 for ac_func in expl
20868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20869 echo "$as_me:$LINENO: checking for $ac_func" >&5
20870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20871 if eval "test \"\${$as_ac_var+set}\" = set"; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 else
20874 if test x$gcc_no_link = xyes; then
20875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20877 { (exit 1); exit 1; }; }
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20887 #define $ac_func innocuous_$ac_func
20889 /* System header to define __stub macros and hopefully few prototypes,
20890 which can conflict with char $ac_func (); below.
20891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20892 <limits.h> exists even on freestanding compilers. */
20894 #ifdef __STDC__
20895 # include <limits.h>
20896 #else
20897 # include <assert.h>
20898 #endif
20900 #undef $ac_func
20902 /* Override any gcc2 internal prototype to avoid an error. */
20903 #ifdef __cplusplus
20904 extern "C"
20906 #endif
20907 /* We use char because int might match the return type of a gcc2
20908 builtin and then its argument prototype would still apply. */
20909 char $ac_func ();
20910 /* The GNU C library defines this for functions which it implements
20911 to always fail with ENOSYS. Some functions are actually named
20912 something starting with __ and the normal name is an alias. */
20913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20914 choke me
20915 #else
20916 char (*f) () = $ac_func;
20917 #endif
20918 #ifdef __cplusplus
20920 #endif
20923 main ()
20925 return f != $ac_func;
20927 return 0;
20929 _ACEOF
20930 rm -f conftest.$ac_objext conftest$ac_exeext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20932 (eval $ac_link) 2>conftest.er1
20933 ac_status=$?
20934 grep -v '^ *+' conftest.er1 >conftest.err
20935 rm -f conftest.er1
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try='test -z "$ac_c_werror_flag"
20940 || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try='test -s conftest$ac_exeext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 eval "$as_ac_var=yes"
20953 else
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20957 eval "$as_ac_var=no"
20959 rm -f conftest.err conftest.$ac_objext \
20960 conftest$ac_exeext conftest.$ac_ext
20962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20964 if test `eval echo '${'$as_ac_var'}'` = yes; then
20965 cat >>confdefs.h <<_ACEOF
20966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20967 _ACEOF
20970 done
20972 else
20974 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20975 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20976 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20977 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20979 else
20983 ac_ext=cc
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 #include <math.h>
20996 #ifdef HAVE_IEEEFP_H
20997 #include <ieeefp.h>
20998 #endif
21001 main ()
21003 _expl(0);
21005 return 0;
21007 _ACEOF
21008 rm -f conftest.$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010 (eval $ac_compile) 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } &&
21017 { ac_try='test -z "$ac_cxx_werror_flag"
21018 || test ! -s conftest.err'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; } &&
21024 { ac_try='test -s conftest.$ac_objext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 glibcxx_cv_func__expl_use=yes
21031 else
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21035 glibcxx_cv_func__expl_use=no
21037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21038 ac_ext=c
21039 ac_cpp='$CPP $CPPFLAGS'
21040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21049 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21051 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21053 for ac_func in _expl
21055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21056 echo "$as_me:$LINENO: checking for $ac_func" >&5
21057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21058 if eval "test \"\${$as_ac_var+set}\" = set"; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 else
21061 if test x$gcc_no_link = xyes; then
21062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21064 { (exit 1); exit 1; }; }
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21074 #define $ac_func innocuous_$ac_func
21076 /* System header to define __stub macros and hopefully few prototypes,
21077 which can conflict with char $ac_func (); below.
21078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21079 <limits.h> exists even on freestanding compilers. */
21081 #ifdef __STDC__
21082 # include <limits.h>
21083 #else
21084 # include <assert.h>
21085 #endif
21087 #undef $ac_func
21089 /* Override any gcc2 internal prototype to avoid an error. */
21090 #ifdef __cplusplus
21091 extern "C"
21093 #endif
21094 /* We use char because int might match the return type of a gcc2
21095 builtin and then its argument prototype would still apply. */
21096 char $ac_func ();
21097 /* The GNU C library defines this for functions which it implements
21098 to always fail with ENOSYS. Some functions are actually named
21099 something starting with __ and the normal name is an alias. */
21100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21101 choke me
21102 #else
21103 char (*f) () = $ac_func;
21104 #endif
21105 #ifdef __cplusplus
21107 #endif
21110 main ()
21112 return f != $ac_func;
21114 return 0;
21116 _ACEOF
21117 rm -f conftest.$ac_objext conftest$ac_exeext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21119 (eval $ac_link) 2>conftest.er1
21120 ac_status=$?
21121 grep -v '^ *+' conftest.er1 >conftest.err
21122 rm -f conftest.er1
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } &&
21126 { ac_try='test -z "$ac_c_werror_flag"
21127 || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 eval "$as_ac_var=yes"
21140 else
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21144 eval "$as_ac_var=no"
21146 rm -f conftest.err conftest.$ac_objext \
21147 conftest$ac_exeext conftest.$ac_ext
21149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21151 if test `eval echo '${'$as_ac_var'}'` = yes; then
21152 cat >>confdefs.h <<_ACEOF
21153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21154 _ACEOF
21157 done
21167 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21168 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21169 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21170 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 else
21176 ac_ext=cc
21177 ac_cpp='$CXXCPP $CPPFLAGS'
21178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21182 cat >conftest.$ac_ext <<_ACEOF
21183 /* confdefs.h. */
21184 _ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 #include <math.h>
21189 #ifdef HAVE_IEEEFP_H
21190 #include <ieeefp.h>
21191 #endif
21194 main ()
21196 fabsl(0);
21198 return 0;
21200 _ACEOF
21201 rm -f conftest.$ac_objext
21202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21203 (eval $ac_compile) 2>conftest.er1
21204 ac_status=$?
21205 grep -v '^ *+' conftest.er1 >conftest.err
21206 rm -f conftest.er1
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } &&
21210 { ac_try='test -z "$ac_cxx_werror_flag"
21211 || test ! -s conftest.err'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest.$ac_objext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 glibcxx_cv_func_fabsl_use=yes
21224 else
21225 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21228 glibcxx_cv_func_fabsl_use=no
21230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21231 ac_ext=c
21232 ac_cpp='$CPP $CPPFLAGS'
21233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21242 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21244 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21246 for ac_func in fabsl
21248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21249 echo "$as_me:$LINENO: checking for $ac_func" >&5
21250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21251 if eval "test \"\${$as_ac_var+set}\" = set"; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21253 else
21254 if test x$gcc_no_link = xyes; then
21255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21257 { (exit 1); exit 1; }; }
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21267 #define $ac_func innocuous_$ac_func
21269 /* System header to define __stub macros and hopefully few prototypes,
21270 which can conflict with char $ac_func (); below.
21271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21272 <limits.h> exists even on freestanding compilers. */
21274 #ifdef __STDC__
21275 # include <limits.h>
21276 #else
21277 # include <assert.h>
21278 #endif
21280 #undef $ac_func
21282 /* Override any gcc2 internal prototype to avoid an error. */
21283 #ifdef __cplusplus
21284 extern "C"
21286 #endif
21287 /* We use char because int might match the return type of a gcc2
21288 builtin and then its argument prototype would still apply. */
21289 char $ac_func ();
21290 /* The GNU C library defines this for functions which it implements
21291 to always fail with ENOSYS. Some functions are actually named
21292 something starting with __ and the normal name is an alias. */
21293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21294 choke me
21295 #else
21296 char (*f) () = $ac_func;
21297 #endif
21298 #ifdef __cplusplus
21300 #endif
21303 main ()
21305 return f != $ac_func;
21307 return 0;
21309 _ACEOF
21310 rm -f conftest.$ac_objext conftest$ac_exeext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21312 (eval $ac_link) 2>conftest.er1
21313 ac_status=$?
21314 grep -v '^ *+' conftest.er1 >conftest.err
21315 rm -f conftest.er1
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try='test -z "$ac_c_werror_flag"
21320 || test ! -s conftest.err'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21323 ac_status=$?
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; } &&
21326 { ac_try='test -s conftest$ac_exeext'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; }; then
21332 eval "$as_ac_var=yes"
21333 else
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.$ac_ext >&5
21337 eval "$as_ac_var=no"
21339 rm -f conftest.err conftest.$ac_objext \
21340 conftest$ac_exeext conftest.$ac_ext
21342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21344 if test `eval echo '${'$as_ac_var'}'` = yes; then
21345 cat >>confdefs.h <<_ACEOF
21346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21347 _ACEOF
21350 done
21352 else
21354 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21355 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21356 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21357 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21358 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 else
21363 ac_ext=cc
21364 ac_cpp='$CXXCPP $CPPFLAGS'
21365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <math.h>
21376 #ifdef HAVE_IEEEFP_H
21377 #include <ieeefp.h>
21378 #endif
21381 main ()
21383 _fabsl(0);
21385 return 0;
21387 _ACEOF
21388 rm -f conftest.$ac_objext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21390 (eval $ac_compile) 2>conftest.er1
21391 ac_status=$?
21392 grep -v '^ *+' conftest.er1 >conftest.err
21393 rm -f conftest.er1
21394 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -z "$ac_cxx_werror_flag"
21398 || test ! -s conftest.err'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21401 ac_status=$?
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try='test -s conftest.$ac_objext'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; }; then
21410 glibcxx_cv_func__fabsl_use=yes
21411 else
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21415 glibcxx_cv_func__fabsl_use=no
21417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21418 ac_ext=c
21419 ac_cpp='$CPP $CPPFLAGS'
21420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21429 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21431 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21433 for ac_func in _fabsl
21435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21436 echo "$as_me:$LINENO: checking for $ac_func" >&5
21437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21438 if eval "test \"\${$as_ac_var+set}\" = set"; then
21439 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 else
21441 if test x$gcc_no_link = xyes; then
21442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21444 { (exit 1); exit 1; }; }
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21454 #define $ac_func innocuous_$ac_func
21456 /* System header to define __stub macros and hopefully few prototypes,
21457 which can conflict with char $ac_func (); below.
21458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21459 <limits.h> exists even on freestanding compilers. */
21461 #ifdef __STDC__
21462 # include <limits.h>
21463 #else
21464 # include <assert.h>
21465 #endif
21467 #undef $ac_func
21469 /* Override any gcc2 internal prototype to avoid an error. */
21470 #ifdef __cplusplus
21471 extern "C"
21473 #endif
21474 /* We use char because int might match the return type of a gcc2
21475 builtin and then its argument prototype would still apply. */
21476 char $ac_func ();
21477 /* The GNU C library defines this for functions which it implements
21478 to always fail with ENOSYS. Some functions are actually named
21479 something starting with __ and the normal name is an alias. */
21480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21481 choke me
21482 #else
21483 char (*f) () = $ac_func;
21484 #endif
21485 #ifdef __cplusplus
21487 #endif
21490 main ()
21492 return f != $ac_func;
21494 return 0;
21496 _ACEOF
21497 rm -f conftest.$ac_objext conftest$ac_exeext
21498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21499 (eval $ac_link) 2>conftest.er1
21500 ac_status=$?
21501 grep -v '^ *+' conftest.er1 >conftest.err
21502 rm -f conftest.er1
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try='test -z "$ac_c_werror_flag"
21507 || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try='test -s conftest$ac_exeext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 eval "$as_ac_var=yes"
21520 else
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21524 eval "$as_ac_var=no"
21526 rm -f conftest.err conftest.$ac_objext \
21527 conftest$ac_exeext conftest.$ac_ext
21529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21531 if test `eval echo '${'$as_ac_var'}'` = yes; then
21532 cat >>confdefs.h <<_ACEOF
21533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21534 _ACEOF
21537 done
21547 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21548 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21549 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21550 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 else
21556 ac_ext=cc
21557 ac_cpp='$CXXCPP $CPPFLAGS'
21558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21562 cat >conftest.$ac_ext <<_ACEOF
21563 /* confdefs.h. */
21564 _ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568 #include <math.h>
21570 main ()
21572 fmodl(0, 0);
21574 return 0;
21576 _ACEOF
21577 rm -f conftest.$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_cxx_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 glibcxx_cv_func_fmodl_use=yes
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21604 glibcxx_cv_func_fmodl_use=no
21606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21607 ac_ext=c
21608 ac_cpp='$CPP $CPPFLAGS'
21609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21618 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21620 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21622 for ac_func in fmodl
21624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21625 echo "$as_me:$LINENO: checking for $ac_func" >&5
21626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21627 if eval "test \"\${$as_ac_var+set}\" = set"; then
21628 echo $ECHO_N "(cached) $ECHO_C" >&6
21629 else
21630 if test x$gcc_no_link = xyes; then
21631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21633 { (exit 1); exit 1; }; }
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21643 #define $ac_func innocuous_$ac_func
21645 /* System header to define __stub macros and hopefully few prototypes,
21646 which can conflict with char $ac_func (); below.
21647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21648 <limits.h> exists even on freestanding compilers. */
21650 #ifdef __STDC__
21651 # include <limits.h>
21652 #else
21653 # include <assert.h>
21654 #endif
21656 #undef $ac_func
21658 /* Override any gcc2 internal prototype to avoid an error. */
21659 #ifdef __cplusplus
21660 extern "C"
21662 #endif
21663 /* We use char because int might match the return type of a gcc2
21664 builtin and then its argument prototype would still apply. */
21665 char $ac_func ();
21666 /* The GNU C library defines this for functions which it implements
21667 to always fail with ENOSYS. Some functions are actually named
21668 something starting with __ and the normal name is an alias. */
21669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21670 choke me
21671 #else
21672 char (*f) () = $ac_func;
21673 #endif
21674 #ifdef __cplusplus
21676 #endif
21679 main ()
21681 return f != $ac_func;
21683 return 0;
21685 _ACEOF
21686 rm -f conftest.$ac_objext conftest$ac_exeext
21687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21688 (eval $ac_link) 2>conftest.er1
21689 ac_status=$?
21690 grep -v '^ *+' conftest.er1 >conftest.err
21691 rm -f conftest.er1
21692 cat conftest.err >&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } &&
21695 { ac_try='test -z "$ac_c_werror_flag"
21696 || test ! -s conftest.err'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; } &&
21702 { ac_try='test -s conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 eval "$as_ac_var=yes"
21709 else
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.$ac_ext >&5
21713 eval "$as_ac_var=no"
21715 rm -f conftest.err conftest.$ac_objext \
21716 conftest$ac_exeext conftest.$ac_ext
21718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21720 if test `eval echo '${'$as_ac_var'}'` = yes; then
21721 cat >>confdefs.h <<_ACEOF
21722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21723 _ACEOF
21726 done
21728 else
21730 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21731 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21732 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21733 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21735 else
21739 ac_ext=cc
21740 ac_cpp='$CXXCPP $CPPFLAGS'
21741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 #include <math.h>
21753 main ()
21755 _fmodl(0, 0);
21757 return 0;
21759 _ACEOF
21760 rm -f conftest.$ac_objext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21762 (eval $ac_compile) 2>conftest.er1
21763 ac_status=$?
21764 grep -v '^ *+' conftest.er1 >conftest.err
21765 rm -f conftest.er1
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -z "$ac_cxx_werror_flag"
21770 || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21773 ac_status=$?
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest.$ac_objext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 glibcxx_cv_func__fmodl_use=yes
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21787 glibcxx_cv_func__fmodl_use=no
21789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21801 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21803 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21805 for ac_func in _fmodl
21807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21808 echo "$as_me:$LINENO: checking for $ac_func" >&5
21809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21810 if eval "test \"\${$as_ac_var+set}\" = set"; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21813 if test x$gcc_no_link = xyes; then
21814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21816 { (exit 1); exit 1; }; }
21818 cat >conftest.$ac_ext <<_ACEOF
21819 /* confdefs.h. */
21820 _ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21826 #define $ac_func innocuous_$ac_func
21828 /* System header to define __stub macros and hopefully few prototypes,
21829 which can conflict with char $ac_func (); below.
21830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21831 <limits.h> exists even on freestanding compilers. */
21833 #ifdef __STDC__
21834 # include <limits.h>
21835 #else
21836 # include <assert.h>
21837 #endif
21839 #undef $ac_func
21841 /* Override any gcc2 internal prototype to avoid an error. */
21842 #ifdef __cplusplus
21843 extern "C"
21845 #endif
21846 /* We use char because int might match the return type of a gcc2
21847 builtin and then its argument prototype would still apply. */
21848 char $ac_func ();
21849 /* The GNU C library defines this for functions which it implements
21850 to always fail with ENOSYS. Some functions are actually named
21851 something starting with __ and the normal name is an alias. */
21852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21853 choke me
21854 #else
21855 char (*f) () = $ac_func;
21856 #endif
21857 #ifdef __cplusplus
21859 #endif
21862 main ()
21864 return f != $ac_func;
21866 return 0;
21868 _ACEOF
21869 rm -f conftest.$ac_objext conftest$ac_exeext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21871 (eval $ac_link) 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try='test -z "$ac_c_werror_flag"
21879 || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try='test -s conftest$ac_exeext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 eval "$as_ac_var=yes"
21892 else
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21896 eval "$as_ac_var=no"
21898 rm -f conftest.err conftest.$ac_objext \
21899 conftest$ac_exeext conftest.$ac_ext
21901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21903 if test `eval echo '${'$as_ac_var'}'` = yes; then
21904 cat >>confdefs.h <<_ACEOF
21905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21906 _ACEOF
21909 done
21919 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21920 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21921 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21922 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 else
21928 ac_ext=cc
21929 ac_cpp='$CXXCPP $CPPFLAGS'
21930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21934 cat >conftest.$ac_ext <<_ACEOF
21935 /* confdefs.h. */
21936 _ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 #include <math.h>
21942 main ()
21944 frexpl(0, 0);
21946 return 0;
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21951 (eval $ac_compile) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try='test -z "$ac_cxx_werror_flag"
21959 || test ! -s conftest.err'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; } &&
21965 { ac_try='test -s conftest.$ac_objext'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 glibcxx_cv_func_frexpl_use=yes
21972 else
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21976 glibcxx_cv_func_frexpl_use=no
21978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21979 ac_ext=c
21980 ac_cpp='$CPP $CPPFLAGS'
21981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21990 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21992 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21994 for ac_func in frexpl
21996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21997 echo "$as_me:$LINENO: checking for $ac_func" >&5
21998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21999 if eval "test \"\${$as_ac_var+set}\" = set"; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22001 else
22002 if test x$gcc_no_link = xyes; then
22003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22005 { (exit 1); exit 1; }; }
22007 cat >conftest.$ac_ext <<_ACEOF
22008 /* confdefs.h. */
22009 _ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22015 #define $ac_func innocuous_$ac_func
22017 /* System header to define __stub macros and hopefully few prototypes,
22018 which can conflict with char $ac_func (); below.
22019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22020 <limits.h> exists even on freestanding compilers. */
22022 #ifdef __STDC__
22023 # include <limits.h>
22024 #else
22025 # include <assert.h>
22026 #endif
22028 #undef $ac_func
22030 /* Override any gcc2 internal prototype to avoid an error. */
22031 #ifdef __cplusplus
22032 extern "C"
22034 #endif
22035 /* We use char because int might match the return type of a gcc2
22036 builtin and then its argument prototype would still apply. */
22037 char $ac_func ();
22038 /* The GNU C library defines this for functions which it implements
22039 to always fail with ENOSYS. Some functions are actually named
22040 something starting with __ and the normal name is an alias. */
22041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22042 choke me
22043 #else
22044 char (*f) () = $ac_func;
22045 #endif
22046 #ifdef __cplusplus
22048 #endif
22051 main ()
22053 return f != $ac_func;
22055 return 0;
22057 _ACEOF
22058 rm -f conftest.$ac_objext conftest$ac_exeext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22060 (eval $ac_link) 2>conftest.er1
22061 ac_status=$?
22062 grep -v '^ *+' conftest.er1 >conftest.err
22063 rm -f conftest.er1
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -z "$ac_c_werror_flag"
22068 || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try='test -s conftest$ac_exeext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22077 ac_status=$?
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 eval "$as_ac_var=yes"
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22085 eval "$as_ac_var=no"
22087 rm -f conftest.err conftest.$ac_objext \
22088 conftest$ac_exeext conftest.$ac_ext
22090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22092 if test `eval echo '${'$as_ac_var'}'` = yes; then
22093 cat >>confdefs.h <<_ACEOF
22094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22095 _ACEOF
22098 done
22100 else
22102 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22103 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22104 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22105 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22107 else
22111 ac_ext=cc
22112 ac_cpp='$CXXCPP $CPPFLAGS'
22113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22117 cat >conftest.$ac_ext <<_ACEOF
22118 /* confdefs.h. */
22119 _ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 #include <math.h>
22125 main ()
22127 _frexpl(0, 0);
22129 return 0;
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22134 (eval $ac_compile) 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try='test -z "$ac_cxx_werror_flag"
22142 || test ! -s conftest.err'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5
22145 ac_status=$?
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); }; } &&
22148 { ac_try='test -s conftest.$ac_objext'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22151 ac_status=$?
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 glibcxx_cv_func__frexpl_use=yes
22155 else
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22159 glibcxx_cv_func__frexpl_use=no
22161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22162 ac_ext=c
22163 ac_cpp='$CPP $CPPFLAGS'
22164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22173 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22175 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22177 for ac_func in _frexpl
22179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22180 echo "$as_me:$LINENO: checking for $ac_func" >&5
22181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22182 if eval "test \"\${$as_ac_var+set}\" = set"; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 else
22185 if test x$gcc_no_link = xyes; then
22186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22188 { (exit 1); exit 1; }; }
22190 cat >conftest.$ac_ext <<_ACEOF
22191 /* confdefs.h. */
22192 _ACEOF
22193 cat confdefs.h >>conftest.$ac_ext
22194 cat >>conftest.$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22198 #define $ac_func innocuous_$ac_func
22200 /* System header to define __stub macros and hopefully few prototypes,
22201 which can conflict with char $ac_func (); below.
22202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22203 <limits.h> exists even on freestanding compilers. */
22205 #ifdef __STDC__
22206 # include <limits.h>
22207 #else
22208 # include <assert.h>
22209 #endif
22211 #undef $ac_func
22213 /* Override any gcc2 internal prototype to avoid an error. */
22214 #ifdef __cplusplus
22215 extern "C"
22217 #endif
22218 /* We use char because int might match the return type of a gcc2
22219 builtin and then its argument prototype would still apply. */
22220 char $ac_func ();
22221 /* The GNU C library defines this for functions which it implements
22222 to always fail with ENOSYS. Some functions are actually named
22223 something starting with __ and the normal name is an alias. */
22224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22225 choke me
22226 #else
22227 char (*f) () = $ac_func;
22228 #endif
22229 #ifdef __cplusplus
22231 #endif
22234 main ()
22236 return f != $ac_func;
22238 return 0;
22240 _ACEOF
22241 rm -f conftest.$ac_objext conftest$ac_exeext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22243 (eval $ac_link) 2>conftest.er1
22244 ac_status=$?
22245 grep -v '^ *+' conftest.er1 >conftest.err
22246 rm -f conftest.er1
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } &&
22250 { ac_try='test -z "$ac_c_werror_flag"
22251 || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try='test -s conftest$ac_exeext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 eval "$as_ac_var=yes"
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22268 eval "$as_ac_var=no"
22270 rm -f conftest.err conftest.$ac_objext \
22271 conftest$ac_exeext conftest.$ac_ext
22273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22275 if test `eval echo '${'$as_ac_var'}'` = yes; then
22276 cat >>confdefs.h <<_ACEOF
22277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22278 _ACEOF
22281 done
22291 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22292 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22293 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22294 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22296 else
22300 ac_ext=cc
22301 ac_cpp='$CXXCPP $CPPFLAGS'
22302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306 cat >conftest.$ac_ext <<_ACEOF
22307 /* confdefs.h. */
22308 _ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 #include <math.h>
22314 main ()
22316 hypotl(0, 0);
22318 return 0;
22320 _ACEOF
22321 rm -f conftest.$ac_objext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22323 (eval $ac_compile) 2>conftest.er1
22324 ac_status=$?
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
22330 { ac_try='test -z "$ac_cxx_werror_flag"
22331 || test ! -s conftest.err'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22334 ac_status=$?
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; } &&
22337 { ac_try='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 glibcxx_cv_func_hypotl_use=yes
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22348 glibcxx_cv_func_hypotl_use=no
22350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22351 ac_ext=c
22352 ac_cpp='$CPP $CPPFLAGS'
22353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22362 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22364 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22366 for ac_func in hypotl
22368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22369 echo "$as_me:$LINENO: checking for $ac_func" >&5
22370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22371 if eval "test \"\${$as_ac_var+set}\" = set"; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 else
22374 if test x$gcc_no_link = xyes; then
22375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22377 { (exit 1); exit 1; }; }
22379 cat >conftest.$ac_ext <<_ACEOF
22380 /* confdefs.h. */
22381 _ACEOF
22382 cat confdefs.h >>conftest.$ac_ext
22383 cat >>conftest.$ac_ext <<_ACEOF
22384 /* end confdefs.h. */
22385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22387 #define $ac_func innocuous_$ac_func
22389 /* System header to define __stub macros and hopefully few prototypes,
22390 which can conflict with char $ac_func (); below.
22391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22392 <limits.h> exists even on freestanding compilers. */
22394 #ifdef __STDC__
22395 # include <limits.h>
22396 #else
22397 # include <assert.h>
22398 #endif
22400 #undef $ac_func
22402 /* Override any gcc2 internal prototype to avoid an error. */
22403 #ifdef __cplusplus
22404 extern "C"
22406 #endif
22407 /* We use char because int might match the return type of a gcc2
22408 builtin and then its argument prototype would still apply. */
22409 char $ac_func ();
22410 /* The GNU C library defines this for functions which it implements
22411 to always fail with ENOSYS. Some functions are actually named
22412 something starting with __ and the normal name is an alias. */
22413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22414 choke me
22415 #else
22416 char (*f) () = $ac_func;
22417 #endif
22418 #ifdef __cplusplus
22420 #endif
22423 main ()
22425 return f != $ac_func;
22427 return 0;
22429 _ACEOF
22430 rm -f conftest.$ac_objext conftest$ac_exeext
22431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22432 (eval $ac_link) 2>conftest.er1
22433 ac_status=$?
22434 grep -v '^ *+' conftest.er1 >conftest.err
22435 rm -f conftest.er1
22436 cat conftest.err >&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } &&
22439 { ac_try='test -z "$ac_c_werror_flag"
22440 || test ! -s conftest.err'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22443 ac_status=$?
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; } &&
22446 { ac_try='test -s conftest$ac_exeext'
22447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22448 (eval $ac_try) 2>&5
22449 ac_status=$?
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; }; then
22452 eval "$as_ac_var=yes"
22453 else
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.$ac_ext >&5
22457 eval "$as_ac_var=no"
22459 rm -f conftest.err conftest.$ac_objext \
22460 conftest$ac_exeext conftest.$ac_ext
22462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22464 if test `eval echo '${'$as_ac_var'}'` = yes; then
22465 cat >>confdefs.h <<_ACEOF
22466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22467 _ACEOF
22470 done
22472 else
22474 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22475 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22476 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22477 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 else
22483 ac_ext=cc
22484 ac_cpp='$CXXCPP $CPPFLAGS'
22485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22489 cat >conftest.$ac_ext <<_ACEOF
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 #include <math.h>
22497 main ()
22499 _hypotl(0, 0);
22501 return 0;
22503 _ACEOF
22504 rm -f conftest.$ac_objext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22506 (eval $ac_compile) 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try='test -z "$ac_cxx_werror_flag"
22514 || test ! -s conftest.err'
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22517 ac_status=$?
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; } &&
22520 { ac_try='test -s conftest.$ac_objext'
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; }; then
22526 glibcxx_cv_func__hypotl_use=yes
22527 else
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.$ac_ext >&5
22531 glibcxx_cv_func__hypotl_use=no
22533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22534 ac_ext=c
22535 ac_cpp='$CPP $CPPFLAGS'
22536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22545 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22547 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22549 for ac_func in _hypotl
22551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22552 echo "$as_me:$LINENO: checking for $ac_func" >&5
22553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22554 if eval "test \"\${$as_ac_var+set}\" = set"; then
22555 echo $ECHO_N "(cached) $ECHO_C" >&6
22556 else
22557 if test x$gcc_no_link = xyes; then
22558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22560 { (exit 1); exit 1; }; }
22562 cat >conftest.$ac_ext <<_ACEOF
22563 /* confdefs.h. */
22564 _ACEOF
22565 cat confdefs.h >>conftest.$ac_ext
22566 cat >>conftest.$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22570 #define $ac_func innocuous_$ac_func
22572 /* System header to define __stub macros and hopefully few prototypes,
22573 which can conflict with char $ac_func (); below.
22574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22575 <limits.h> exists even on freestanding compilers. */
22577 #ifdef __STDC__
22578 # include <limits.h>
22579 #else
22580 # include <assert.h>
22581 #endif
22583 #undef $ac_func
22585 /* Override any gcc2 internal prototype to avoid an error. */
22586 #ifdef __cplusplus
22587 extern "C"
22589 #endif
22590 /* We use char because int might match the return type of a gcc2
22591 builtin and then its argument prototype would still apply. */
22592 char $ac_func ();
22593 /* The GNU C library defines this for functions which it implements
22594 to always fail with ENOSYS. Some functions are actually named
22595 something starting with __ and the normal name is an alias. */
22596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22597 choke me
22598 #else
22599 char (*f) () = $ac_func;
22600 #endif
22601 #ifdef __cplusplus
22603 #endif
22606 main ()
22608 return f != $ac_func;
22610 return 0;
22612 _ACEOF
22613 rm -f conftest.$ac_objext conftest$ac_exeext
22614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22615 (eval $ac_link) 2>conftest.er1
22616 ac_status=$?
22617 grep -v '^ *+' conftest.er1 >conftest.err
22618 rm -f conftest.er1
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try='test -z "$ac_c_werror_flag"
22623 || test ! -s conftest.err'
22624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625 (eval $ac_try) 2>&5
22626 ac_status=$?
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; } &&
22629 { ac_try='test -s conftest$ac_exeext'
22630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22631 (eval $ac_try) 2>&5
22632 ac_status=$?
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; }; then
22635 eval "$as_ac_var=yes"
22636 else
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22640 eval "$as_ac_var=no"
22642 rm -f conftest.err conftest.$ac_objext \
22643 conftest$ac_exeext conftest.$ac_ext
22645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22647 if test `eval echo '${'$as_ac_var'}'` = yes; then
22648 cat >>confdefs.h <<_ACEOF
22649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22650 _ACEOF
22653 done
22663 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22664 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22665 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22666 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22667 echo $ECHO_N "(cached) $ECHO_C" >&6
22668 else
22672 ac_ext=cc
22673 ac_cpp='$CXXCPP $CPPFLAGS'
22674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22678 cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h. */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684 #include <math.h>
22686 main ()
22688 ldexpl(0, 0);
22690 return 0;
22692 _ACEOF
22693 rm -f conftest.$ac_objext
22694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22695 (eval $ac_compile) 2>conftest.er1
22696 ac_status=$?
22697 grep -v '^ *+' conftest.er1 >conftest.err
22698 rm -f conftest.er1
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try='test -z "$ac_cxx_werror_flag"
22703 || test ! -s conftest.err'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try='test -s conftest.$ac_objext'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; }; then
22715 glibcxx_cv_func_ldexpl_use=yes
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22720 glibcxx_cv_func_ldexpl_use=no
22722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22723 ac_ext=c
22724 ac_cpp='$CPP $CPPFLAGS'
22725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22734 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22736 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22738 for ac_func in ldexpl
22740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22741 echo "$as_me:$LINENO: checking for $ac_func" >&5
22742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22743 if eval "test \"\${$as_ac_var+set}\" = set"; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 else
22746 if test x$gcc_no_link = xyes; then
22747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22749 { (exit 1); exit 1; }; }
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22759 #define $ac_func innocuous_$ac_func
22761 /* System header to define __stub macros and hopefully few prototypes,
22762 which can conflict with char $ac_func (); below.
22763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22764 <limits.h> exists even on freestanding compilers. */
22766 #ifdef __STDC__
22767 # include <limits.h>
22768 #else
22769 # include <assert.h>
22770 #endif
22772 #undef $ac_func
22774 /* Override any gcc2 internal prototype to avoid an error. */
22775 #ifdef __cplusplus
22776 extern "C"
22778 #endif
22779 /* We use char because int might match the return type of a gcc2
22780 builtin and then its argument prototype would still apply. */
22781 char $ac_func ();
22782 /* The GNU C library defines this for functions which it implements
22783 to always fail with ENOSYS. Some functions are actually named
22784 something starting with __ and the normal name is an alias. */
22785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22786 choke me
22787 #else
22788 char (*f) () = $ac_func;
22789 #endif
22790 #ifdef __cplusplus
22792 #endif
22795 main ()
22797 return f != $ac_func;
22799 return 0;
22801 _ACEOF
22802 rm -f conftest.$ac_objext conftest$ac_exeext
22803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22804 (eval $ac_link) 2>conftest.er1
22805 ac_status=$?
22806 grep -v '^ *+' conftest.er1 >conftest.err
22807 rm -f conftest.er1
22808 cat conftest.err >&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } &&
22811 { ac_try='test -z "$ac_c_werror_flag"
22812 || test ! -s conftest.err'
22813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22814 (eval $ac_try) 2>&5
22815 ac_status=$?
22816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817 (exit $ac_status); }; } &&
22818 { ac_try='test -s conftest$ac_exeext'
22819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820 (eval $ac_try) 2>&5
22821 ac_status=$?
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); }; }; then
22824 eval "$as_ac_var=yes"
22825 else
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22829 eval "$as_ac_var=no"
22831 rm -f conftest.err conftest.$ac_objext \
22832 conftest$ac_exeext conftest.$ac_ext
22834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22836 if test `eval echo '${'$as_ac_var'}'` = yes; then
22837 cat >>confdefs.h <<_ACEOF
22838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22839 _ACEOF
22842 done
22844 else
22846 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22847 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22848 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22849 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22850 echo $ECHO_N "(cached) $ECHO_C" >&6
22851 else
22855 ac_ext=cc
22856 ac_cpp='$CXXCPP $CPPFLAGS'
22857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22861 cat >conftest.$ac_ext <<_ACEOF
22862 /* confdefs.h. */
22863 _ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867 #include <math.h>
22869 main ()
22871 _ldexpl(0, 0);
22873 return 0;
22875 _ACEOF
22876 rm -f conftest.$ac_objext
22877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22878 (eval $ac_compile) 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try='test -z "$ac_cxx_werror_flag"
22886 || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try='test -s conftest.$ac_objext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 glibcxx_cv_func__ldexpl_use=yes
22899 else
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22903 glibcxx_cv_func__ldexpl_use=no
22905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22906 ac_ext=c
22907 ac_cpp='$CPP $CPPFLAGS'
22908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22917 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22919 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22921 for ac_func in _ldexpl
22923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22924 echo "$as_me:$LINENO: checking for $ac_func" >&5
22925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22926 if eval "test \"\${$as_ac_var+set}\" = set"; then
22927 echo $ECHO_N "(cached) $ECHO_C" >&6
22928 else
22929 if test x$gcc_no_link = xyes; then
22930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22932 { (exit 1); exit 1; }; }
22934 cat >conftest.$ac_ext <<_ACEOF
22935 /* confdefs.h. */
22936 _ACEOF
22937 cat confdefs.h >>conftest.$ac_ext
22938 cat >>conftest.$ac_ext <<_ACEOF
22939 /* end confdefs.h. */
22940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22942 #define $ac_func innocuous_$ac_func
22944 /* System header to define __stub macros and hopefully few prototypes,
22945 which can conflict with char $ac_func (); below.
22946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22947 <limits.h> exists even on freestanding compilers. */
22949 #ifdef __STDC__
22950 # include <limits.h>
22951 #else
22952 # include <assert.h>
22953 #endif
22955 #undef $ac_func
22957 /* Override any gcc2 internal prototype to avoid an error. */
22958 #ifdef __cplusplus
22959 extern "C"
22961 #endif
22962 /* We use char because int might match the return type of a gcc2
22963 builtin and then its argument prototype would still apply. */
22964 char $ac_func ();
22965 /* The GNU C library defines this for functions which it implements
22966 to always fail with ENOSYS. Some functions are actually named
22967 something starting with __ and the normal name is an alias. */
22968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22969 choke me
22970 #else
22971 char (*f) () = $ac_func;
22972 #endif
22973 #ifdef __cplusplus
22975 #endif
22978 main ()
22980 return f != $ac_func;
22982 return 0;
22984 _ACEOF
22985 rm -f conftest.$ac_objext conftest$ac_exeext
22986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22987 (eval $ac_link) 2>conftest.er1
22988 ac_status=$?
22989 grep -v '^ *+' conftest.er1 >conftest.err
22990 rm -f conftest.er1
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } &&
22994 { ac_try='test -z "$ac_c_werror_flag"
22995 || test ! -s conftest.err'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; } &&
23001 { ac_try='test -s conftest$ac_exeext'
23002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23003 (eval $ac_try) 2>&5
23004 ac_status=$?
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); }; }; then
23007 eval "$as_ac_var=yes"
23008 else
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23012 eval "$as_ac_var=no"
23014 rm -f conftest.err conftest.$ac_objext \
23015 conftest$ac_exeext conftest.$ac_ext
23017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23019 if test `eval echo '${'$as_ac_var'}'` = yes; then
23020 cat >>confdefs.h <<_ACEOF
23021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23022 _ACEOF
23025 done
23035 echo "$as_me:$LINENO: checking for logl declaration" >&5
23036 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23037 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23038 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23039 echo $ECHO_N "(cached) $ECHO_C" >&6
23040 else
23044 ac_ext=cc
23045 ac_cpp='$CXXCPP $CPPFLAGS'
23046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23050 cat >conftest.$ac_ext <<_ACEOF
23051 /* confdefs.h. */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 #include <math.h>
23057 #ifdef HAVE_IEEEFP_H
23058 #include <ieeefp.h>
23059 #endif
23062 main ()
23064 logl(0);
23066 return 0;
23068 _ACEOF
23069 rm -f conftest.$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try='test -z "$ac_cxx_werror_flag"
23079 || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try='test -s conftest.$ac_objext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 glibcxx_cv_func_logl_use=yes
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23096 glibcxx_cv_func_logl_use=no
23098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23099 ac_ext=c
23100 ac_cpp='$CPP $CPPFLAGS'
23101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23110 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23112 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23114 for ac_func in logl
23116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23117 echo "$as_me:$LINENO: checking for $ac_func" >&5
23118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23119 if eval "test \"\${$as_ac_var+set}\" = set"; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 else
23122 if test x$gcc_no_link = xyes; then
23123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23125 { (exit 1); exit 1; }; }
23127 cat >conftest.$ac_ext <<_ACEOF
23128 /* confdefs.h. */
23129 _ACEOF
23130 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23135 #define $ac_func innocuous_$ac_func
23137 /* System header to define __stub macros and hopefully few prototypes,
23138 which can conflict with char $ac_func (); below.
23139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23140 <limits.h> exists even on freestanding compilers. */
23142 #ifdef __STDC__
23143 # include <limits.h>
23144 #else
23145 # include <assert.h>
23146 #endif
23148 #undef $ac_func
23150 /* Override any gcc2 internal prototype to avoid an error. */
23151 #ifdef __cplusplus
23152 extern "C"
23154 #endif
23155 /* We use char because int might match the return type of a gcc2
23156 builtin and then its argument prototype would still apply. */
23157 char $ac_func ();
23158 /* The GNU C library defines this for functions which it implements
23159 to always fail with ENOSYS. Some functions are actually named
23160 something starting with __ and the normal name is an alias. */
23161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23162 choke me
23163 #else
23164 char (*f) () = $ac_func;
23165 #endif
23166 #ifdef __cplusplus
23168 #endif
23171 main ()
23173 return f != $ac_func;
23175 return 0;
23177 _ACEOF
23178 rm -f conftest.$ac_objext conftest$ac_exeext
23179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23180 (eval $ac_link) 2>conftest.er1
23181 ac_status=$?
23182 grep -v '^ *+' conftest.er1 >conftest.err
23183 rm -f conftest.er1
23184 cat conftest.err >&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); } &&
23187 { ac_try='test -z "$ac_c_werror_flag"
23188 || test ! -s conftest.err'
23189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23190 (eval $ac_try) 2>&5
23191 ac_status=$?
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; } &&
23194 { ac_try='test -s conftest$ac_exeext'
23195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196 (eval $ac_try) 2>&5
23197 ac_status=$?
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; }; then
23200 eval "$as_ac_var=yes"
23201 else
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23205 eval "$as_ac_var=no"
23207 rm -f conftest.err conftest.$ac_objext \
23208 conftest$ac_exeext conftest.$ac_ext
23210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23212 if test `eval echo '${'$as_ac_var'}'` = yes; then
23213 cat >>confdefs.h <<_ACEOF
23214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23215 _ACEOF
23218 done
23220 else
23222 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23223 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23224 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23225 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23226 echo $ECHO_N "(cached) $ECHO_C" >&6
23227 else
23231 ac_ext=cc
23232 ac_cpp='$CXXCPP $CPPFLAGS'
23233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23237 cat >conftest.$ac_ext <<_ACEOF
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 #include <math.h>
23244 #ifdef HAVE_IEEEFP_H
23245 #include <ieeefp.h>
23246 #endif
23249 main ()
23251 _logl(0);
23253 return 0;
23255 _ACEOF
23256 rm -f conftest.$ac_objext
23257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23258 (eval $ac_compile) 2>conftest.er1
23259 ac_status=$?
23260 grep -v '^ *+' conftest.er1 >conftest.err
23261 rm -f conftest.er1
23262 cat conftest.err >&5
23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264 (exit $ac_status); } &&
23265 { ac_try='test -z "$ac_cxx_werror_flag"
23266 || test ! -s conftest.err'
23267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268 (eval $ac_try) 2>&5
23269 ac_status=$?
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }; } &&
23272 { ac_try='test -s conftest.$ac_objext'
23273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23274 (eval $ac_try) 2>&5
23275 ac_status=$?
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; }; then
23278 glibcxx_cv_func__logl_use=yes
23279 else
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.$ac_ext >&5
23283 glibcxx_cv_func__logl_use=no
23285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23286 ac_ext=c
23287 ac_cpp='$CPP $CPPFLAGS'
23288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23297 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23299 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23301 for ac_func in _logl
23303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23304 echo "$as_me:$LINENO: checking for $ac_func" >&5
23305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23306 if eval "test \"\${$as_ac_var+set}\" = set"; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 else
23309 if test x$gcc_no_link = xyes; then
23310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23312 { (exit 1); exit 1; }; }
23314 cat >conftest.$ac_ext <<_ACEOF
23315 /* confdefs.h. */
23316 _ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23322 #define $ac_func innocuous_$ac_func
23324 /* System header to define __stub macros and hopefully few prototypes,
23325 which can conflict with char $ac_func (); below.
23326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23327 <limits.h> exists even on freestanding compilers. */
23329 #ifdef __STDC__
23330 # include <limits.h>
23331 #else
23332 # include <assert.h>
23333 #endif
23335 #undef $ac_func
23337 /* Override any gcc2 internal prototype to avoid an error. */
23338 #ifdef __cplusplus
23339 extern "C"
23341 #endif
23342 /* We use char because int might match the return type of a gcc2
23343 builtin and then its argument prototype would still apply. */
23344 char $ac_func ();
23345 /* The GNU C library defines this for functions which it implements
23346 to always fail with ENOSYS. Some functions are actually named
23347 something starting with __ and the normal name is an alias. */
23348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23349 choke me
23350 #else
23351 char (*f) () = $ac_func;
23352 #endif
23353 #ifdef __cplusplus
23355 #endif
23358 main ()
23360 return f != $ac_func;
23362 return 0;
23364 _ACEOF
23365 rm -f conftest.$ac_objext conftest$ac_exeext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23367 (eval $ac_link) 2>conftest.er1
23368 ac_status=$?
23369 grep -v '^ *+' conftest.er1 >conftest.err
23370 rm -f conftest.er1
23371 cat conftest.err >&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } &&
23374 { ac_try='test -z "$ac_c_werror_flag"
23375 || test ! -s conftest.err'
23376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23377 (eval $ac_try) 2>&5
23378 ac_status=$?
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); }; } &&
23381 { ac_try='test -s conftest$ac_exeext'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; }; then
23387 eval "$as_ac_var=yes"
23388 else
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23392 eval "$as_ac_var=no"
23394 rm -f conftest.err conftest.$ac_objext \
23395 conftest$ac_exeext conftest.$ac_ext
23397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23399 if test `eval echo '${'$as_ac_var'}'` = yes; then
23400 cat >>confdefs.h <<_ACEOF
23401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23402 _ACEOF
23405 done
23415 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23416 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23417 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23418 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23419 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 else
23424 ac_ext=cc
23425 ac_cpp='$CXXCPP $CPPFLAGS'
23426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23430 cat >conftest.$ac_ext <<_ACEOF
23431 /* confdefs.h. */
23432 _ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 #include <math.h>
23437 #ifdef HAVE_IEEEFP_H
23438 #include <ieeefp.h>
23439 #endif
23442 main ()
23444 log10l(0);
23446 return 0;
23448 _ACEOF
23449 rm -f conftest.$ac_objext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23451 (eval $ac_compile) 2>conftest.er1
23452 ac_status=$?
23453 grep -v '^ *+' conftest.er1 >conftest.err
23454 rm -f conftest.er1
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try='test -z "$ac_cxx_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 glibcxx_cv_func_log10l_use=yes
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23476 glibcxx_cv_func_log10l_use=no
23478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23479 ac_ext=c
23480 ac_cpp='$CPP $CPPFLAGS'
23481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23490 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23494 for ac_func in log10l
23496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23497 echo "$as_me:$LINENO: checking for $ac_func" >&5
23498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23499 if eval "test \"\${$as_ac_var+set}\" = set"; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 else
23502 if test x$gcc_no_link = xyes; then
23503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23505 { (exit 1); exit 1; }; }
23507 cat >conftest.$ac_ext <<_ACEOF
23508 /* confdefs.h. */
23509 _ACEOF
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23515 #define $ac_func innocuous_$ac_func
23517 /* System header to define __stub macros and hopefully few prototypes,
23518 which can conflict with char $ac_func (); below.
23519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23520 <limits.h> exists even on freestanding compilers. */
23522 #ifdef __STDC__
23523 # include <limits.h>
23524 #else
23525 # include <assert.h>
23526 #endif
23528 #undef $ac_func
23530 /* Override any gcc2 internal prototype to avoid an error. */
23531 #ifdef __cplusplus
23532 extern "C"
23534 #endif
23535 /* We use char because int might match the return type of a gcc2
23536 builtin and then its argument prototype would still apply. */
23537 char $ac_func ();
23538 /* The GNU C library defines this for functions which it implements
23539 to always fail with ENOSYS. Some functions are actually named
23540 something starting with __ and the normal name is an alias. */
23541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23542 choke me
23543 #else
23544 char (*f) () = $ac_func;
23545 #endif
23546 #ifdef __cplusplus
23548 #endif
23551 main ()
23553 return f != $ac_func;
23555 return 0;
23557 _ACEOF
23558 rm -f conftest.$ac_objext conftest$ac_exeext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23560 (eval $ac_link) 2>conftest.er1
23561 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try='test -z "$ac_c_werror_flag"
23568 || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest$ac_exeext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 eval "$as_ac_var=yes"
23581 else
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23585 eval "$as_ac_var=no"
23587 rm -f conftest.err conftest.$ac_objext \
23588 conftest$ac_exeext conftest.$ac_ext
23590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23592 if test `eval echo '${'$as_ac_var'}'` = yes; then
23593 cat >>confdefs.h <<_ACEOF
23594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23595 _ACEOF
23598 done
23600 else
23602 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23603 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23604 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23605 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23611 ac_ext=cc
23612 ac_cpp='$CXXCPP $CPPFLAGS'
23613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23617 cat >conftest.$ac_ext <<_ACEOF
23618 /* confdefs.h. */
23619 _ACEOF
23620 cat confdefs.h >>conftest.$ac_ext
23621 cat >>conftest.$ac_ext <<_ACEOF
23622 /* end confdefs.h. */
23623 #include <math.h>
23624 #ifdef HAVE_IEEEFP_H
23625 #include <ieeefp.h>
23626 #endif
23629 main ()
23631 _log10l(0);
23633 return 0;
23635 _ACEOF
23636 rm -f conftest.$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23639 ac_status=$?
23640 grep -v '^ *+' conftest.er1 >conftest.err
23641 rm -f conftest.er1
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try='test -z "$ac_cxx_werror_flag"
23646 || test ! -s conftest.err'
23647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648 (eval $ac_try) 2>&5
23649 ac_status=$?
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; } &&
23652 { ac_try='test -s conftest.$ac_objext'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23658 glibcxx_cv_func__log10l_use=yes
23659 else
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.$ac_ext >&5
23663 glibcxx_cv_func__log10l_use=no
23665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23677 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23679 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23681 for ac_func in _log10l
23683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23684 echo "$as_me:$LINENO: checking for $ac_func" >&5
23685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23686 if eval "test \"\${$as_ac_var+set}\" = set"; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 else
23689 if test x$gcc_no_link = xyes; then
23690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23692 { (exit 1); exit 1; }; }
23694 cat >conftest.$ac_ext <<_ACEOF
23695 /* confdefs.h. */
23696 _ACEOF
23697 cat confdefs.h >>conftest.$ac_ext
23698 cat >>conftest.$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23702 #define $ac_func innocuous_$ac_func
23704 /* System header to define __stub macros and hopefully few prototypes,
23705 which can conflict with char $ac_func (); below.
23706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23707 <limits.h> exists even on freestanding compilers. */
23709 #ifdef __STDC__
23710 # include <limits.h>
23711 #else
23712 # include <assert.h>
23713 #endif
23715 #undef $ac_func
23717 /* Override any gcc2 internal prototype to avoid an error. */
23718 #ifdef __cplusplus
23719 extern "C"
23721 #endif
23722 /* We use char because int might match the return type of a gcc2
23723 builtin and then its argument prototype would still apply. */
23724 char $ac_func ();
23725 /* The GNU C library defines this for functions which it implements
23726 to always fail with ENOSYS. Some functions are actually named
23727 something starting with __ and the normal name is an alias. */
23728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23729 choke me
23730 #else
23731 char (*f) () = $ac_func;
23732 #endif
23733 #ifdef __cplusplus
23735 #endif
23738 main ()
23740 return f != $ac_func;
23742 return 0;
23744 _ACEOF
23745 rm -f conftest.$ac_objext conftest$ac_exeext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23747 (eval $ac_link) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_c_werror_flag"
23755 || test ! -s conftest.err'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; } &&
23761 { ac_try='test -s conftest$ac_exeext'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; }; then
23767 eval "$as_ac_var=yes"
23768 else
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.$ac_ext >&5
23772 eval "$as_ac_var=no"
23774 rm -f conftest.err conftest.$ac_objext \
23775 conftest$ac_exeext conftest.$ac_ext
23777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23779 if test `eval echo '${'$as_ac_var'}'` = yes; then
23780 cat >>confdefs.h <<_ACEOF
23781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23782 _ACEOF
23785 done
23795 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23796 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23797 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23798 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 else
23804 ac_ext=cc
23805 ac_cpp='$CXXCPP $CPPFLAGS'
23806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23810 cat >conftest.$ac_ext <<_ACEOF
23811 /* confdefs.h. */
23812 _ACEOF
23813 cat confdefs.h >>conftest.$ac_ext
23814 cat >>conftest.$ac_ext <<_ACEOF
23815 /* end confdefs.h. */
23816 #include <math.h>
23818 main ()
23820 modfl(0, 0);
23822 return 0;
23824 _ACEOF
23825 rm -f conftest.$ac_objext
23826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23827 (eval $ac_compile) 2>conftest.er1
23828 ac_status=$?
23829 grep -v '^ *+' conftest.er1 >conftest.err
23830 rm -f conftest.er1
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } &&
23834 { ac_try='test -z "$ac_cxx_werror_flag"
23835 || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try='test -s conftest.$ac_objext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 glibcxx_cv_func_modfl_use=yes
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23852 glibcxx_cv_func_modfl_use=no
23854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23866 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23868 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23870 for ac_func in modfl
23872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23873 echo "$as_me:$LINENO: checking for $ac_func" >&5
23874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23875 if eval "test \"\${$as_ac_var+set}\" = set"; then
23876 echo $ECHO_N "(cached) $ECHO_C" >&6
23877 else
23878 if test x$gcc_no_link = xyes; then
23879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23881 { (exit 1); exit 1; }; }
23883 cat >conftest.$ac_ext <<_ACEOF
23884 /* confdefs.h. */
23885 _ACEOF
23886 cat confdefs.h >>conftest.$ac_ext
23887 cat >>conftest.$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23891 #define $ac_func innocuous_$ac_func
23893 /* System header to define __stub macros and hopefully few prototypes,
23894 which can conflict with char $ac_func (); below.
23895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23896 <limits.h> exists even on freestanding compilers. */
23898 #ifdef __STDC__
23899 # include <limits.h>
23900 #else
23901 # include <assert.h>
23902 #endif
23904 #undef $ac_func
23906 /* Override any gcc2 internal prototype to avoid an error. */
23907 #ifdef __cplusplus
23908 extern "C"
23910 #endif
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913 char $ac_func ();
23914 /* The GNU C library defines this for functions which it implements
23915 to always fail with ENOSYS. Some functions are actually named
23916 something starting with __ and the normal name is an alias. */
23917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23918 choke me
23919 #else
23920 char (*f) () = $ac_func;
23921 #endif
23922 #ifdef __cplusplus
23924 #endif
23927 main ()
23929 return f != $ac_func;
23931 return 0;
23933 _ACEOF
23934 rm -f conftest.$ac_objext conftest$ac_exeext
23935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23936 (eval $ac_link) 2>conftest.er1
23937 ac_status=$?
23938 grep -v '^ *+' conftest.er1 >conftest.err
23939 rm -f conftest.er1
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } &&
23943 { ac_try='test -z "$ac_c_werror_flag"
23944 || test ! -s conftest.err'
23945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23946 (eval $ac_try) 2>&5
23947 ac_status=$?
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; } &&
23950 { ac_try='test -s conftest$ac_exeext'
23951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23952 (eval $ac_try) 2>&5
23953 ac_status=$?
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); }; }; then
23956 eval "$as_ac_var=yes"
23957 else
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.$ac_ext >&5
23961 eval "$as_ac_var=no"
23963 rm -f conftest.err conftest.$ac_objext \
23964 conftest$ac_exeext conftest.$ac_ext
23966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23968 if test `eval echo '${'$as_ac_var'}'` = yes; then
23969 cat >>confdefs.h <<_ACEOF
23970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23971 _ACEOF
23974 done
23976 else
23978 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23979 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23980 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23981 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 else
23987 ac_ext=cc
23988 ac_cpp='$CXXCPP $CPPFLAGS'
23989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23993 cat >conftest.$ac_ext <<_ACEOF
23994 /* confdefs.h. */
23995 _ACEOF
23996 cat confdefs.h >>conftest.$ac_ext
23997 cat >>conftest.$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999 #include <math.h>
24001 main ()
24003 _modfl(0, 0);
24005 return 0;
24007 _ACEOF
24008 rm -f conftest.$ac_objext
24009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24010 (eval $ac_compile) 2>conftest.er1
24011 ac_status=$?
24012 grep -v '^ *+' conftest.er1 >conftest.err
24013 rm -f conftest.er1
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } &&
24017 { ac_try='test -z "$ac_cxx_werror_flag"
24018 || test ! -s conftest.err'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24021 ac_status=$?
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; } &&
24024 { ac_try='test -s conftest.$ac_objext'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24027 ac_status=$?
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030 glibcxx_cv_func__modfl_use=yes
24031 else
24032 echo "$as_me: failed program was:" >&5
24033 sed 's/^/| /' conftest.$ac_ext >&5
24035 glibcxx_cv_func__modfl_use=no
24037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24038 ac_ext=c
24039 ac_cpp='$CPP $CPPFLAGS'
24040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24049 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24051 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24053 for ac_func in _modfl
24055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24056 echo "$as_me:$LINENO: checking for $ac_func" >&5
24057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24058 if eval "test \"\${$as_ac_var+set}\" = set"; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24060 else
24061 if test x$gcc_no_link = xyes; then
24062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24064 { (exit 1); exit 1; }; }
24066 cat >conftest.$ac_ext <<_ACEOF
24067 /* confdefs.h. */
24068 _ACEOF
24069 cat confdefs.h >>conftest.$ac_ext
24070 cat >>conftest.$ac_ext <<_ACEOF
24071 /* end confdefs.h. */
24072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24074 #define $ac_func innocuous_$ac_func
24076 /* System header to define __stub macros and hopefully few prototypes,
24077 which can conflict with char $ac_func (); below.
24078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24079 <limits.h> exists even on freestanding compilers. */
24081 #ifdef __STDC__
24082 # include <limits.h>
24083 #else
24084 # include <assert.h>
24085 #endif
24087 #undef $ac_func
24089 /* Override any gcc2 internal prototype to avoid an error. */
24090 #ifdef __cplusplus
24091 extern "C"
24093 #endif
24094 /* We use char because int might match the return type of a gcc2
24095 builtin and then its argument prototype would still apply. */
24096 char $ac_func ();
24097 /* The GNU C library defines this for functions which it implements
24098 to always fail with ENOSYS. Some functions are actually named
24099 something starting with __ and the normal name is an alias. */
24100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24101 choke me
24102 #else
24103 char (*f) () = $ac_func;
24104 #endif
24105 #ifdef __cplusplus
24107 #endif
24110 main ()
24112 return f != $ac_func;
24114 return 0;
24116 _ACEOF
24117 rm -f conftest.$ac_objext conftest$ac_exeext
24118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24119 (eval $ac_link) 2>conftest.er1
24120 ac_status=$?
24121 grep -v '^ *+' conftest.er1 >conftest.err
24122 rm -f conftest.er1
24123 cat conftest.err >&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); } &&
24126 { ac_try='test -z "$ac_c_werror_flag"
24127 || test ! -s conftest.err'
24128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24129 (eval $ac_try) 2>&5
24130 ac_status=$?
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); }; } &&
24133 { ac_try='test -s conftest$ac_exeext'
24134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24135 (eval $ac_try) 2>&5
24136 ac_status=$?
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); }; }; then
24139 eval "$as_ac_var=yes"
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24144 eval "$as_ac_var=no"
24146 rm -f conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24151 if test `eval echo '${'$as_ac_var'}'` = yes; then
24152 cat >>confdefs.h <<_ACEOF
24153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24154 _ACEOF
24157 done
24167 echo "$as_me:$LINENO: checking for powl declaration" >&5
24168 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24169 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24170 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 else
24176 ac_ext=cc
24177 ac_cpp='$CXXCPP $CPPFLAGS'
24178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <math.h>
24190 main ()
24192 powl(0, 0);
24194 return 0;
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24199 (eval $ac_compile) 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -z "$ac_cxx_werror_flag"
24207 || test ! -s conftest.err'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; } &&
24213 { ac_try='test -s conftest.$ac_objext'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24216 ac_status=$?
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; }; then
24219 glibcxx_cv_func_powl_use=yes
24220 else
24221 echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24224 glibcxx_cv_func_powl_use=no
24226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24238 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24240 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24242 for ac_func in powl
24244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24245 echo "$as_me:$LINENO: checking for $ac_func" >&5
24246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24247 if eval "test \"\${$as_ac_var+set}\" = set"; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 else
24250 if test x$gcc_no_link = xyes; then
24251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24253 { (exit 1); exit 1; }; }
24255 cat >conftest.$ac_ext <<_ACEOF
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24263 #define $ac_func innocuous_$ac_func
24265 /* System header to define __stub macros and hopefully few prototypes,
24266 which can conflict with char $ac_func (); below.
24267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24268 <limits.h> exists even on freestanding compilers. */
24270 #ifdef __STDC__
24271 # include <limits.h>
24272 #else
24273 # include <assert.h>
24274 #endif
24276 #undef $ac_func
24278 /* Override any gcc2 internal prototype to avoid an error. */
24279 #ifdef __cplusplus
24280 extern "C"
24282 #endif
24283 /* We use char because int might match the return type of a gcc2
24284 builtin and then its argument prototype would still apply. */
24285 char $ac_func ();
24286 /* The GNU C library defines this for functions which it implements
24287 to always fail with ENOSYS. Some functions are actually named
24288 something starting with __ and the normal name is an alias. */
24289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24290 choke me
24291 #else
24292 char (*f) () = $ac_func;
24293 #endif
24294 #ifdef __cplusplus
24296 #endif
24299 main ()
24301 return f != $ac_func;
24303 return 0;
24305 _ACEOF
24306 rm -f conftest.$ac_objext conftest$ac_exeext
24307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24308 (eval $ac_link) 2>conftest.er1
24309 ac_status=$?
24310 grep -v '^ *+' conftest.er1 >conftest.err
24311 rm -f conftest.er1
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } &&
24315 { ac_try='test -z "$ac_c_werror_flag"
24316 || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try='test -s conftest$ac_exeext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 eval "$as_ac_var=yes"
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24333 eval "$as_ac_var=no"
24335 rm -f conftest.err conftest.$ac_objext \
24336 conftest$ac_exeext conftest.$ac_ext
24338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24340 if test `eval echo '${'$as_ac_var'}'` = yes; then
24341 cat >>confdefs.h <<_ACEOF
24342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24343 _ACEOF
24346 done
24348 else
24350 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24351 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24352 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24353 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24354 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 else
24359 ac_ext=cc
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24365 cat >conftest.$ac_ext <<_ACEOF
24366 /* confdefs.h. */
24367 _ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 #include <math.h>
24373 main ()
24375 _powl(0, 0);
24377 return 0;
24379 _ACEOF
24380 rm -f conftest.$ac_objext
24381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24382 (eval $ac_compile) 2>conftest.er1
24383 ac_status=$?
24384 grep -v '^ *+' conftest.er1 >conftest.err
24385 rm -f conftest.er1
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } &&
24389 { ac_try='test -z "$ac_cxx_werror_flag"
24390 || test ! -s conftest.err'
24391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392 (eval $ac_try) 2>&5
24393 ac_status=$?
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); }; } &&
24396 { ac_try='test -s conftest.$ac_objext'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24399 ac_status=$?
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; }; then
24402 glibcxx_cv_func__powl_use=yes
24403 else
24404 echo "$as_me: failed program was:" >&5
24405 sed 's/^/| /' conftest.$ac_ext >&5
24407 glibcxx_cv_func__powl_use=no
24409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24421 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24423 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24425 for ac_func in _powl
24427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24428 echo "$as_me:$LINENO: checking for $ac_func" >&5
24429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24430 if eval "test \"\${$as_ac_var+set}\" = set"; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 else
24433 if test x$gcc_no_link = xyes; then
24434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24436 { (exit 1); exit 1; }; }
24438 cat >conftest.$ac_ext <<_ACEOF
24439 /* confdefs.h. */
24440 _ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24446 #define $ac_func innocuous_$ac_func
24448 /* System header to define __stub macros and hopefully few prototypes,
24449 which can conflict with char $ac_func (); below.
24450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24451 <limits.h> exists even on freestanding compilers. */
24453 #ifdef __STDC__
24454 # include <limits.h>
24455 #else
24456 # include <assert.h>
24457 #endif
24459 #undef $ac_func
24461 /* Override any gcc2 internal prototype to avoid an error. */
24462 #ifdef __cplusplus
24463 extern "C"
24465 #endif
24466 /* We use char because int might match the return type of a gcc2
24467 builtin and then its argument prototype would still apply. */
24468 char $ac_func ();
24469 /* The GNU C library defines this for functions which it implements
24470 to always fail with ENOSYS. Some functions are actually named
24471 something starting with __ and the normal name is an alias. */
24472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24473 choke me
24474 #else
24475 char (*f) () = $ac_func;
24476 #endif
24477 #ifdef __cplusplus
24479 #endif
24482 main ()
24484 return f != $ac_func;
24486 return 0;
24488 _ACEOF
24489 rm -f conftest.$ac_objext conftest$ac_exeext
24490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24491 (eval $ac_link) 2>conftest.er1
24492 ac_status=$?
24493 grep -v '^ *+' conftest.er1 >conftest.err
24494 rm -f conftest.er1
24495 cat conftest.err >&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try='test -z "$ac_c_werror_flag"
24499 || test ! -s conftest.err'
24500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24501 (eval $ac_try) 2>&5
24502 ac_status=$?
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); }; } &&
24505 { ac_try='test -s conftest$ac_exeext'
24506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24507 (eval $ac_try) 2>&5
24508 ac_status=$?
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); }; }; then
24511 eval "$as_ac_var=yes"
24512 else
24513 echo "$as_me: failed program was:" >&5
24514 sed 's/^/| /' conftest.$ac_ext >&5
24516 eval "$as_ac_var=no"
24518 rm -f conftest.err conftest.$ac_objext \
24519 conftest$ac_exeext conftest.$ac_ext
24521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24523 if test `eval echo '${'$as_ac_var'}'` = yes; then
24524 cat >>confdefs.h <<_ACEOF
24525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24526 _ACEOF
24529 done
24539 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24540 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24541 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24542 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24544 else
24548 ac_ext=cc
24549 ac_cpp='$CXXCPP $CPPFLAGS'
24550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <math.h>
24561 #ifdef HAVE_IEEEFP_H
24562 #include <ieeefp.h>
24563 #endif
24566 main ()
24568 sqrtl(0);
24570 return 0;
24572 _ACEOF
24573 rm -f conftest.$ac_objext
24574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24575 (eval $ac_compile) 2>conftest.er1
24576 ac_status=$?
24577 grep -v '^ *+' conftest.er1 >conftest.err
24578 rm -f conftest.er1
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } &&
24582 { ac_try='test -z "$ac_cxx_werror_flag"
24583 || test ! -s conftest.err'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24586 ac_status=$?
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; } &&
24589 { ac_try='test -s conftest.$ac_objext'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24592 ac_status=$?
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; }; then
24595 glibcxx_cv_func_sqrtl_use=yes
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24600 glibcxx_cv_func_sqrtl_use=no
24602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24603 ac_ext=c
24604 ac_cpp='$CPP $CPPFLAGS'
24605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24614 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24616 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24618 for ac_func in sqrtl
24620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24621 echo "$as_me:$LINENO: checking for $ac_func" >&5
24622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24623 if eval "test \"\${$as_ac_var+set}\" = set"; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24625 else
24626 if test x$gcc_no_link = xyes; then
24627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24629 { (exit 1); exit 1; }; }
24631 cat >conftest.$ac_ext <<_ACEOF
24632 /* confdefs.h. */
24633 _ACEOF
24634 cat confdefs.h >>conftest.$ac_ext
24635 cat >>conftest.$ac_ext <<_ACEOF
24636 /* end confdefs.h. */
24637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24639 #define $ac_func innocuous_$ac_func
24641 /* System header to define __stub macros and hopefully few prototypes,
24642 which can conflict with char $ac_func (); below.
24643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24644 <limits.h> exists even on freestanding compilers. */
24646 #ifdef __STDC__
24647 # include <limits.h>
24648 #else
24649 # include <assert.h>
24650 #endif
24652 #undef $ac_func
24654 /* Override any gcc2 internal prototype to avoid an error. */
24655 #ifdef __cplusplus
24656 extern "C"
24658 #endif
24659 /* We use char because int might match the return type of a gcc2
24660 builtin and then its argument prototype would still apply. */
24661 char $ac_func ();
24662 /* The GNU C library defines this for functions which it implements
24663 to always fail with ENOSYS. Some functions are actually named
24664 something starting with __ and the normal name is an alias. */
24665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24666 choke me
24667 #else
24668 char (*f) () = $ac_func;
24669 #endif
24670 #ifdef __cplusplus
24672 #endif
24675 main ()
24677 return f != $ac_func;
24679 return 0;
24681 _ACEOF
24682 rm -f conftest.$ac_objext conftest$ac_exeext
24683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24684 (eval $ac_link) 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } &&
24691 { ac_try='test -z "$ac_c_werror_flag"
24692 || test ! -s conftest.err'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24695 ac_status=$?
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; } &&
24698 { ac_try='test -s conftest$ac_exeext'
24699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700 (eval $ac_try) 2>&5
24701 ac_status=$?
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); }; }; then
24704 eval "$as_ac_var=yes"
24705 else
24706 echo "$as_me: failed program was:" >&5
24707 sed 's/^/| /' conftest.$ac_ext >&5
24709 eval "$as_ac_var=no"
24711 rm -f conftest.err conftest.$ac_objext \
24712 conftest$ac_exeext conftest.$ac_ext
24714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24716 if test `eval echo '${'$as_ac_var'}'` = yes; then
24717 cat >>confdefs.h <<_ACEOF
24718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24719 _ACEOF
24722 done
24724 else
24726 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24727 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24728 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24729 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24730 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 else
24735 ac_ext=cc
24736 ac_cpp='$CXXCPP $CPPFLAGS'
24737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h. */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 #include <math.h>
24748 #ifdef HAVE_IEEEFP_H
24749 #include <ieeefp.h>
24750 #endif
24753 main ()
24755 _sqrtl(0);
24757 return 0;
24759 _ACEOF
24760 rm -f conftest.$ac_objext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24762 (eval $ac_compile) 2>conftest.er1
24763 ac_status=$?
24764 grep -v '^ *+' conftest.er1 >conftest.err
24765 rm -f conftest.er1
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } &&
24769 { ac_try='test -z "$ac_cxx_werror_flag"
24770 || test ! -s conftest.err'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; } &&
24776 { ac_try='test -s conftest.$ac_objext'
24777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778 (eval $ac_try) 2>&5
24779 ac_status=$?
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; }; then
24782 glibcxx_cv_func__sqrtl_use=yes
24783 else
24784 echo "$as_me: failed program was:" >&5
24785 sed 's/^/| /' conftest.$ac_ext >&5
24787 glibcxx_cv_func__sqrtl_use=no
24789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24790 ac_ext=c
24791 ac_cpp='$CPP $CPPFLAGS'
24792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24801 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24803 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24805 for ac_func in _sqrtl
24807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24808 echo "$as_me:$LINENO: checking for $ac_func" >&5
24809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24810 if eval "test \"\${$as_ac_var+set}\" = set"; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 else
24813 if test x$gcc_no_link = xyes; then
24814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24816 { (exit 1); exit 1; }; }
24818 cat >conftest.$ac_ext <<_ACEOF
24819 /* confdefs.h. */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24826 #define $ac_func innocuous_$ac_func
24828 /* System header to define __stub macros and hopefully few prototypes,
24829 which can conflict with char $ac_func (); below.
24830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24831 <limits.h> exists even on freestanding compilers. */
24833 #ifdef __STDC__
24834 # include <limits.h>
24835 #else
24836 # include <assert.h>
24837 #endif
24839 #undef $ac_func
24841 /* Override any gcc2 internal prototype to avoid an error. */
24842 #ifdef __cplusplus
24843 extern "C"
24845 #endif
24846 /* We use char because int might match the return type of a gcc2
24847 builtin and then its argument prototype would still apply. */
24848 char $ac_func ();
24849 /* The GNU C library defines this for functions which it implements
24850 to always fail with ENOSYS. Some functions are actually named
24851 something starting with __ and the normal name is an alias. */
24852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24853 choke me
24854 #else
24855 char (*f) () = $ac_func;
24856 #endif
24857 #ifdef __cplusplus
24859 #endif
24862 main ()
24864 return f != $ac_func;
24866 return 0;
24868 _ACEOF
24869 rm -f conftest.$ac_objext conftest$ac_exeext
24870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24871 (eval $ac_link) 2>conftest.er1
24872 ac_status=$?
24873 grep -v '^ *+' conftest.er1 >conftest.err
24874 rm -f conftest.er1
24875 cat conftest.err >&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try='test -z "$ac_c_werror_flag"
24879 || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24882 ac_status=$?
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try='test -s conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 eval "$as_ac_var=yes"
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24896 eval "$as_ac_var=no"
24898 rm -f conftest.err conftest.$ac_objext \
24899 conftest$ac_exeext conftest.$ac_ext
24901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24903 if test `eval echo '${'$as_ac_var'}'` = yes; then
24904 cat >>confdefs.h <<_ACEOF
24905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24906 _ACEOF
24909 done
24919 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24920 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24921 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24922 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 else
24928 ac_ext=cc
24929 ac_cpp='$CXXCPP $CPPFLAGS'
24930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h. */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24940 #include <math.h>
24942 main ()
24944 sincosl(0, 0, 0);
24946 return 0;
24948 _ACEOF
24949 rm -f conftest.$ac_objext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24951 (eval $ac_compile) 2>conftest.er1
24952 ac_status=$?
24953 grep -v '^ *+' conftest.er1 >conftest.err
24954 rm -f conftest.er1
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try='test -z "$ac_cxx_werror_flag"
24959 || test ! -s conftest.err'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest.$ac_objext'
24966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967 (eval $ac_try) 2>&5
24968 ac_status=$?
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 glibcxx_cv_func_sincosl_use=yes
24972 else
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.$ac_ext >&5
24976 glibcxx_cv_func_sincosl_use=no
24978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24979 ac_ext=c
24980 ac_cpp='$CPP $CPPFLAGS'
24981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24990 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24992 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24994 for ac_func in sincosl
24996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24997 echo "$as_me:$LINENO: checking for $ac_func" >&5
24998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24999 if eval "test \"\${$as_ac_var+set}\" = set"; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 if test x$gcc_no_link = xyes; then
25003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25005 { (exit 1); exit 1; }; }
25007 cat >conftest.$ac_ext <<_ACEOF
25008 /* confdefs.h. */
25009 _ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25015 #define $ac_func innocuous_$ac_func
25017 /* System header to define __stub macros and hopefully few prototypes,
25018 which can conflict with char $ac_func (); below.
25019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25020 <limits.h> exists even on freestanding compilers. */
25022 #ifdef __STDC__
25023 # include <limits.h>
25024 #else
25025 # include <assert.h>
25026 #endif
25028 #undef $ac_func
25030 /* Override any gcc2 internal prototype to avoid an error. */
25031 #ifdef __cplusplus
25032 extern "C"
25034 #endif
25035 /* We use char because int might match the return type of a gcc2
25036 builtin and then its argument prototype would still apply. */
25037 char $ac_func ();
25038 /* The GNU C library defines this for functions which it implements
25039 to always fail with ENOSYS. Some functions are actually named
25040 something starting with __ and the normal name is an alias. */
25041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25042 choke me
25043 #else
25044 char (*f) () = $ac_func;
25045 #endif
25046 #ifdef __cplusplus
25048 #endif
25051 main ()
25053 return f != $ac_func;
25055 return 0;
25057 _ACEOF
25058 rm -f conftest.$ac_objext conftest$ac_exeext
25059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25060 (eval $ac_link) 2>conftest.er1
25061 ac_status=$?
25062 grep -v '^ *+' conftest.er1 >conftest.err
25063 rm -f conftest.er1
25064 cat conftest.err >&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } &&
25067 { ac_try='test -z "$ac_c_werror_flag"
25068 || test ! -s conftest.err'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25071 ac_status=$?
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; } &&
25074 { ac_try='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25077 ac_status=$?
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25080 eval "$as_ac_var=yes"
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25085 eval "$as_ac_var=no"
25087 rm -f conftest.err conftest.$ac_objext \
25088 conftest$ac_exeext conftest.$ac_ext
25090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25092 if test `eval echo '${'$as_ac_var'}'` = yes; then
25093 cat >>confdefs.h <<_ACEOF
25094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25095 _ACEOF
25098 done
25100 else
25102 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25103 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25104 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25105 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25106 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 else
25111 ac_ext=cc
25112 ac_cpp='$CXXCPP $CPPFLAGS'
25113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25117 cat >conftest.$ac_ext <<_ACEOF
25118 /* confdefs.h. */
25119 _ACEOF
25120 cat confdefs.h >>conftest.$ac_ext
25121 cat >>conftest.$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123 #include <math.h>
25125 main ()
25127 _sincosl(0, 0, 0);
25129 return 0;
25131 _ACEOF
25132 rm -f conftest.$ac_objext
25133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25134 (eval $ac_compile) 2>conftest.er1
25135 ac_status=$?
25136 grep -v '^ *+' conftest.er1 >conftest.err
25137 rm -f conftest.er1
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } &&
25141 { ac_try='test -z "$ac_cxx_werror_flag"
25142 || test ! -s conftest.err'
25143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144 (eval $ac_try) 2>&5
25145 ac_status=$?
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); }; } &&
25148 { ac_try='test -s conftest.$ac_objext'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25151 ac_status=$?
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; }; then
25154 glibcxx_cv_func__sincosl_use=yes
25155 else
25156 echo "$as_me: failed program was:" >&5
25157 sed 's/^/| /' conftest.$ac_ext >&5
25159 glibcxx_cv_func__sincosl_use=no
25161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25173 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25175 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25177 for ac_func in _sincosl
25179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25180 echo "$as_me:$LINENO: checking for $ac_func" >&5
25181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25182 if eval "test \"\${$as_ac_var+set}\" = set"; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 if test x$gcc_no_link = xyes; then
25186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25188 { (exit 1); exit 1; }; }
25190 cat >conftest.$ac_ext <<_ACEOF
25191 /* confdefs.h. */
25192 _ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25198 #define $ac_func innocuous_$ac_func
25200 /* System header to define __stub macros and hopefully few prototypes,
25201 which can conflict with char $ac_func (); below.
25202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25203 <limits.h> exists even on freestanding compilers. */
25205 #ifdef __STDC__
25206 # include <limits.h>
25207 #else
25208 # include <assert.h>
25209 #endif
25211 #undef $ac_func
25213 /* Override any gcc2 internal prototype to avoid an error. */
25214 #ifdef __cplusplus
25215 extern "C"
25217 #endif
25218 /* We use char because int might match the return type of a gcc2
25219 builtin and then its argument prototype would still apply. */
25220 char $ac_func ();
25221 /* The GNU C library defines this for functions which it implements
25222 to always fail with ENOSYS. Some functions are actually named
25223 something starting with __ and the normal name is an alias. */
25224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25225 choke me
25226 #else
25227 char (*f) () = $ac_func;
25228 #endif
25229 #ifdef __cplusplus
25231 #endif
25234 main ()
25236 return f != $ac_func;
25238 return 0;
25240 _ACEOF
25241 rm -f conftest.$ac_objext conftest$ac_exeext
25242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25243 (eval $ac_link) 2>conftest.er1
25244 ac_status=$?
25245 grep -v '^ *+' conftest.er1 >conftest.err
25246 rm -f conftest.er1
25247 cat conftest.err >&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); } &&
25250 { ac_try='test -z "$ac_c_werror_flag"
25251 || test ! -s conftest.err'
25252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25253 (eval $ac_try) 2>&5
25254 ac_status=$?
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); }; } &&
25257 { ac_try='test -s conftest$ac_exeext'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25260 ac_status=$?
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; }; then
25263 eval "$as_ac_var=yes"
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25268 eval "$as_ac_var=no"
25270 rm -f conftest.err conftest.$ac_objext \
25271 conftest$ac_exeext conftest.$ac_ext
25273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25275 if test `eval echo '${'$as_ac_var'}'` = yes; then
25276 cat >>confdefs.h <<_ACEOF
25277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25278 _ACEOF
25281 done
25291 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25292 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25293 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25294 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25295 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 else
25300 ac_ext=cc
25301 ac_cpp='$CXXCPP $CPPFLAGS'
25302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 #include <math.h>
25313 #ifdef HAVE_IEEEFP_H
25314 #include <ieeefp.h>
25315 #endif
25318 main ()
25320 finitel(0);
25322 return 0;
25324 _ACEOF
25325 rm -f conftest.$ac_objext
25326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25327 (eval $ac_compile) 2>conftest.er1
25328 ac_status=$?
25329 grep -v '^ *+' conftest.er1 >conftest.err
25330 rm -f conftest.er1
25331 cat conftest.err >&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); } &&
25334 { ac_try='test -z "$ac_cxx_werror_flag"
25335 || test ! -s conftest.err'
25336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337 (eval $ac_try) 2>&5
25338 ac_status=$?
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); }; } &&
25341 { ac_try='test -s conftest.$ac_objext'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25344 ac_status=$?
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; }; then
25347 glibcxx_cv_func_finitel_use=yes
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25352 glibcxx_cv_func_finitel_use=no
25354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25355 ac_ext=c
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25366 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25368 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25370 for ac_func in finitel
25372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25373 echo "$as_me:$LINENO: checking for $ac_func" >&5
25374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25375 if eval "test \"\${$as_ac_var+set}\" = set"; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 else
25378 if test x$gcc_no_link = xyes; then
25379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25381 { (exit 1); exit 1; }; }
25383 cat >conftest.$ac_ext <<_ACEOF
25384 /* confdefs.h. */
25385 _ACEOF
25386 cat confdefs.h >>conftest.$ac_ext
25387 cat >>conftest.$ac_ext <<_ACEOF
25388 /* end confdefs.h. */
25389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25391 #define $ac_func innocuous_$ac_func
25393 /* System header to define __stub macros and hopefully few prototypes,
25394 which can conflict with char $ac_func (); below.
25395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25396 <limits.h> exists even on freestanding compilers. */
25398 #ifdef __STDC__
25399 # include <limits.h>
25400 #else
25401 # include <assert.h>
25402 #endif
25404 #undef $ac_func
25406 /* Override any gcc2 internal prototype to avoid an error. */
25407 #ifdef __cplusplus
25408 extern "C"
25410 #endif
25411 /* We use char because int might match the return type of a gcc2
25412 builtin and then its argument prototype would still apply. */
25413 char $ac_func ();
25414 /* The GNU C library defines this for functions which it implements
25415 to always fail with ENOSYS. Some functions are actually named
25416 something starting with __ and the normal name is an alias. */
25417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25418 choke me
25419 #else
25420 char (*f) () = $ac_func;
25421 #endif
25422 #ifdef __cplusplus
25424 #endif
25427 main ()
25429 return f != $ac_func;
25431 return 0;
25433 _ACEOF
25434 rm -f conftest.$ac_objext conftest$ac_exeext
25435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25436 (eval $ac_link) 2>conftest.er1
25437 ac_status=$?
25438 grep -v '^ *+' conftest.er1 >conftest.err
25439 rm -f conftest.er1
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } &&
25443 { ac_try='test -z "$ac_c_werror_flag"
25444 || test ! -s conftest.err'
25445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25446 (eval $ac_try) 2>&5
25447 ac_status=$?
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); }; } &&
25450 { ac_try='test -s conftest$ac_exeext'
25451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452 (eval $ac_try) 2>&5
25453 ac_status=$?
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); }; }; then
25456 eval "$as_ac_var=yes"
25457 else
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25461 eval "$as_ac_var=no"
25463 rm -f conftest.err conftest.$ac_objext \
25464 conftest$ac_exeext conftest.$ac_ext
25466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25468 if test `eval echo '${'$as_ac_var'}'` = yes; then
25469 cat >>confdefs.h <<_ACEOF
25470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25471 _ACEOF
25474 done
25476 else
25478 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25479 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25480 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25481 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 else
25487 ac_ext=cc
25488 ac_cpp='$CXXCPP $CPPFLAGS'
25489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25493 cat >conftest.$ac_ext <<_ACEOF
25494 /* confdefs.h. */
25495 _ACEOF
25496 cat confdefs.h >>conftest.$ac_ext
25497 cat >>conftest.$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25499 #include <math.h>
25500 #ifdef HAVE_IEEEFP_H
25501 #include <ieeefp.h>
25502 #endif
25505 main ()
25507 _finitel(0);
25509 return 0;
25511 _ACEOF
25512 rm -f conftest.$ac_objext
25513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25514 (eval $ac_compile) 2>conftest.er1
25515 ac_status=$?
25516 grep -v '^ *+' conftest.er1 >conftest.err
25517 rm -f conftest.er1
25518 cat conftest.err >&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); } &&
25521 { ac_try='test -z "$ac_cxx_werror_flag"
25522 || test ! -s conftest.err'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25525 ac_status=$?
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; } &&
25528 { ac_try='test -s conftest.$ac_objext'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; }; then
25534 glibcxx_cv_func__finitel_use=yes
25535 else
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.$ac_ext >&5
25539 glibcxx_cv_func__finitel_use=no
25541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25542 ac_ext=c
25543 ac_cpp='$CPP $CPPFLAGS'
25544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25553 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25555 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25557 for ac_func in _finitel
25559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25560 echo "$as_me:$LINENO: checking for $ac_func" >&5
25561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25562 if eval "test \"\${$as_ac_var+set}\" = set"; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 else
25565 if test x$gcc_no_link = xyes; then
25566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25568 { (exit 1); exit 1; }; }
25570 cat >conftest.$ac_ext <<_ACEOF
25571 /* confdefs.h. */
25572 _ACEOF
25573 cat confdefs.h >>conftest.$ac_ext
25574 cat >>conftest.$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25578 #define $ac_func innocuous_$ac_func
25580 /* System header to define __stub macros and hopefully few prototypes,
25581 which can conflict with char $ac_func (); below.
25582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25583 <limits.h> exists even on freestanding compilers. */
25585 #ifdef __STDC__
25586 # include <limits.h>
25587 #else
25588 # include <assert.h>
25589 #endif
25591 #undef $ac_func
25593 /* Override any gcc2 internal prototype to avoid an error. */
25594 #ifdef __cplusplus
25595 extern "C"
25597 #endif
25598 /* We use char because int might match the return type of a gcc2
25599 builtin and then its argument prototype would still apply. */
25600 char $ac_func ();
25601 /* The GNU C library defines this for functions which it implements
25602 to always fail with ENOSYS. Some functions are actually named
25603 something starting with __ and the normal name is an alias. */
25604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25605 choke me
25606 #else
25607 char (*f) () = $ac_func;
25608 #endif
25609 #ifdef __cplusplus
25611 #endif
25614 main ()
25616 return f != $ac_func;
25618 return 0;
25620 _ACEOF
25621 rm -f conftest.$ac_objext conftest$ac_exeext
25622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25623 (eval $ac_link) 2>conftest.er1
25624 ac_status=$?
25625 grep -v '^ *+' conftest.er1 >conftest.err
25626 rm -f conftest.er1
25627 cat conftest.err >&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } &&
25630 { ac_try='test -z "$ac_c_werror_flag"
25631 || test ! -s conftest.err'
25632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25633 (eval $ac_try) 2>&5
25634 ac_status=$?
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); }; } &&
25637 { ac_try='test -s conftest$ac_exeext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 eval "$as_ac_var=yes"
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25648 eval "$as_ac_var=no"
25650 rm -f conftest.err conftest.$ac_objext \
25651 conftest$ac_exeext conftest.$ac_ext
25653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25655 if test `eval echo '${'$as_ac_var'}'` = yes; then
25656 cat >>confdefs.h <<_ACEOF
25657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25658 _ACEOF
25661 done
25670 LIBS="$ac_save_LIBS"
25671 CXXFLAGS="$ac_save_CXXFLAGS"
25675 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25676 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25677 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25678 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25679 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 else
25684 ac_ext=cc
25685 ac_cpp='$CXXCPP $CPPFLAGS'
25686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690 cat >conftest.$ac_ext <<_ACEOF
25691 /* confdefs.h. */
25692 _ACEOF
25693 cat confdefs.h >>conftest.$ac_ext
25694 cat >>conftest.$ac_ext <<_ACEOF
25695 /* end confdefs.h. */
25696 #include <math.h>
25698 main ()
25700 __builtin_abs(0);
25702 return 0;
25704 _ACEOF
25705 rm -f conftest.$ac_objext
25706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25707 (eval $ac_compile) 2>conftest.er1
25708 ac_status=$?
25709 grep -v '^ *+' conftest.er1 >conftest.err
25710 rm -f conftest.er1
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } &&
25714 { ac_try='test -z "$ac_cxx_werror_flag"
25715 || test ! -s conftest.err'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25718 ac_status=$?
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try='test -s conftest.$ac_objext'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25724 ac_status=$?
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; }; then
25727 glibcxx_cv_func___builtin_abs_use=yes
25728 else
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25732 glibcxx_cv_func___builtin_abs_use=no
25734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25735 ac_ext=c
25736 ac_cpp='$CPP $CPPFLAGS'
25737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25745 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25746 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25747 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25748 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25749 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25750 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25751 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25752 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 else
25755 if test x$gcc_no_link = xyes; then
25756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25758 { (exit 1); exit 1; }; }
25760 cat >conftest.$ac_ext <<_ACEOF
25761 /* confdefs.h. */
25762 _ACEOF
25763 cat confdefs.h >>conftest.$ac_ext
25764 cat >>conftest.$ac_ext <<_ACEOF
25765 /* end confdefs.h. */
25766 #include <math.h>
25768 main ()
25770 __builtin_abs(0);
25772 return 0;
25774 _ACEOF
25775 rm -f conftest.$ac_objext conftest$ac_exeext
25776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25777 (eval $ac_link) 2>conftest.er1
25778 ac_status=$?
25779 grep -v '^ *+' conftest.er1 >conftest.err
25780 rm -f conftest.er1
25781 cat conftest.err >&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); } &&
25784 { ac_try='test -z "$ac_c_werror_flag"
25785 || test ! -s conftest.err'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; } &&
25791 { ac_try='test -s conftest$ac_exeext'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25794 ac_status=$?
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; }; then
25797 glibcxx_cv_func___builtin_abs_link=yes
25798 else
25799 echo "$as_me: failed program was:" >&5
25800 sed 's/^/| /' conftest.$ac_ext >&5
25802 glibcxx_cv_func___builtin_abs_link=no
25804 rm -f conftest.err conftest.$ac_objext \
25805 conftest$ac_exeext conftest.$ac_ext
25810 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25811 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25813 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25815 cat >>confdefs.h <<\_ACEOF
25816 #define HAVE___BUILTIN_ABS 1
25817 _ACEOF
25824 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25825 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25826 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25827 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25828 echo $ECHO_N "(cached) $ECHO_C" >&6
25829 else
25833 ac_ext=cc
25834 ac_cpp='$CXXCPP $CPPFLAGS'
25835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845 #include <math.h>
25847 main ()
25849 __builtin_fabsf(0);
25851 return 0;
25853 _ACEOF
25854 rm -f conftest.$ac_objext
25855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25856 (eval $ac_compile) 2>conftest.er1
25857 ac_status=$?
25858 grep -v '^ *+' conftest.er1 >conftest.err
25859 rm -f conftest.er1
25860 cat conftest.err >&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } &&
25863 { ac_try='test -z "$ac_cxx_werror_flag"
25864 || test ! -s conftest.err'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25867 ac_status=$?
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; } &&
25870 { ac_try='test -s conftest.$ac_objext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25876 glibcxx_cv_func___builtin_fabsf_use=yes
25877 else
25878 echo "$as_me: failed program was:" >&5
25879 sed 's/^/| /' conftest.$ac_ext >&5
25881 glibcxx_cv_func___builtin_fabsf_use=no
25883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25884 ac_ext=c
25885 ac_cpp='$CPP $CPPFLAGS'
25886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25895 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25896 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25897 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25898 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25899 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25900 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25904 if test x$gcc_no_link = xyes; then
25905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25907 { (exit 1); exit 1; }; }
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 #include <math.h>
25917 main ()
25919 __builtin_fabsf(0);
25921 return 0;
25923 _ACEOF
25924 rm -f conftest.$ac_objext conftest$ac_exeext
25925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25926 (eval $ac_link) 2>conftest.er1
25927 ac_status=$?
25928 grep -v '^ *+' conftest.er1 >conftest.err
25929 rm -f conftest.er1
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } &&
25933 { ac_try='test -z "$ac_c_werror_flag"
25934 || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try='test -s conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 glibcxx_cv_func___builtin_fabsf_link=yes
25947 else
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25951 glibcxx_cv_func___builtin_fabsf_link=no
25953 rm -f conftest.err conftest.$ac_objext \
25954 conftest$ac_exeext conftest.$ac_ext
25959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25960 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25962 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25964 cat >>confdefs.h <<\_ACEOF
25965 #define HAVE___BUILTIN_FABSF 1
25966 _ACEOF
25973 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25974 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25975 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25976 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25982 ac_ext=cc
25983 ac_cpp='$CXXCPP $CPPFLAGS'
25984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25988 cat >conftest.$ac_ext <<_ACEOF
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994 #include <math.h>
25996 main ()
25998 __builtin_fabs(0);
26000 return 0;
26002 _ACEOF
26003 rm -f conftest.$ac_objext
26004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26005 (eval $ac_compile) 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } &&
26012 { ac_try='test -z "$ac_cxx_werror_flag"
26013 || test ! -s conftest.err'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; } &&
26019 { ac_try='test -s conftest.$ac_objext'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; }; then
26025 glibcxx_cv_func___builtin_fabs_use=yes
26026 else
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26030 glibcxx_cv_func___builtin_fabs_use=no
26032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26033 ac_ext=c
26034 ac_cpp='$CPP $CPPFLAGS'
26035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26044 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26045 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26046 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26047 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26048 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26049 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26050 echo $ECHO_N "(cached) $ECHO_C" >&6
26051 else
26053 if test x$gcc_no_link = xyes; then
26054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26056 { (exit 1); exit 1; }; }
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #include <math.h>
26066 main ()
26068 __builtin_fabs(0);
26070 return 0;
26072 _ACEOF
26073 rm -f conftest.$ac_objext conftest$ac_exeext
26074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26075 (eval $ac_link) 2>conftest.er1
26076 ac_status=$?
26077 grep -v '^ *+' conftest.er1 >conftest.err
26078 rm -f conftest.er1
26079 cat conftest.err >&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } &&
26082 { ac_try='test -z "$ac_c_werror_flag"
26083 || test ! -s conftest.err'
26084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26085 (eval $ac_try) 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); }; } &&
26089 { ac_try='test -s conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 glibcxx_cv_func___builtin_fabs_link=yes
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26100 glibcxx_cv_func___builtin_fabs_link=no
26102 rm -f conftest.err conftest.$ac_objext \
26103 conftest$ac_exeext conftest.$ac_ext
26108 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26109 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26111 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26113 cat >>confdefs.h <<\_ACEOF
26114 #define HAVE___BUILTIN_FABS 1
26115 _ACEOF
26122 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26123 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26124 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26125 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26126 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 else
26131 ac_ext=cc
26132 ac_cpp='$CXXCPP $CPPFLAGS'
26133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26137 cat >conftest.$ac_ext <<_ACEOF
26138 /* confdefs.h. */
26139 _ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26143 #include <math.h>
26145 main ()
26147 __builtin_fabsl(0);
26149 return 0;
26151 _ACEOF
26152 rm -f conftest.$ac_objext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26154 (eval $ac_compile) 2>conftest.er1
26155 ac_status=$?
26156 grep -v '^ *+' conftest.er1 >conftest.err
26157 rm -f conftest.er1
26158 cat conftest.err >&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
26161 { ac_try='test -z "$ac_cxx_werror_flag"
26162 || test ! -s conftest.err'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26165 ac_status=$?
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; } &&
26168 { ac_try='test -s conftest.$ac_objext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 glibcxx_cv_func___builtin_fabsl_use=yes
26175 else
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26179 glibcxx_cv_func___builtin_fabsl_use=no
26181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26182 ac_ext=c
26183 ac_cpp='$CPP $CPPFLAGS'
26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26193 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26194 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26195 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26196 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26197 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26198 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26199 echo $ECHO_N "(cached) $ECHO_C" >&6
26200 else
26202 if test x$gcc_no_link = xyes; then
26203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26205 { (exit 1); exit 1; }; }
26207 cat >conftest.$ac_ext <<_ACEOF
26208 /* confdefs.h. */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <math.h>
26215 main ()
26217 __builtin_fabsl(0);
26219 return 0;
26221 _ACEOF
26222 rm -f conftest.$ac_objext conftest$ac_exeext
26223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26224 (eval $ac_link) 2>conftest.er1
26225 ac_status=$?
26226 grep -v '^ *+' conftest.er1 >conftest.err
26227 rm -f conftest.er1
26228 cat conftest.err >&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } &&
26231 { ac_try='test -z "$ac_c_werror_flag"
26232 || test ! -s conftest.err'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26235 ac_status=$?
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; } &&
26238 { ac_try='test -s conftest$ac_exeext'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26241 ac_status=$?
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; }; then
26244 glibcxx_cv_func___builtin_fabsl_link=yes
26245 else
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26249 glibcxx_cv_func___builtin_fabsl_link=no
26251 rm -f conftest.err conftest.$ac_objext \
26252 conftest$ac_exeext conftest.$ac_ext
26257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26258 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26260 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26262 cat >>confdefs.h <<\_ACEOF
26263 #define HAVE___BUILTIN_FABSL 1
26264 _ACEOF
26271 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26272 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26273 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26274 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26280 ac_ext=cc
26281 ac_cpp='$CXXCPP $CPPFLAGS'
26282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 #include <math.h>
26294 main ()
26296 __builtin_labs(0);
26298 return 0;
26300 _ACEOF
26301 rm -f conftest.$ac_objext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26303 (eval $ac_compile) 2>conftest.er1
26304 ac_status=$?
26305 grep -v '^ *+' conftest.er1 >conftest.err
26306 rm -f conftest.er1
26307 cat conftest.err >&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } &&
26310 { ac_try='test -z "$ac_cxx_werror_flag"
26311 || test ! -s conftest.err'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26314 ac_status=$?
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; } &&
26317 { ac_try='test -s conftest.$ac_objext'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; }; then
26323 glibcxx_cv_func___builtin_labs_use=yes
26324 else
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26328 glibcxx_cv_func___builtin_labs_use=no
26330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26331 ac_ext=c
26332 ac_cpp='$CPP $CPPFLAGS'
26333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26341 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26342 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26343 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26344 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26345 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26346 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26347 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26351 if test x$gcc_no_link = xyes; then
26352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26354 { (exit 1); exit 1; }; }
26356 cat >conftest.$ac_ext <<_ACEOF
26357 /* confdefs.h. */
26358 _ACEOF
26359 cat confdefs.h >>conftest.$ac_ext
26360 cat >>conftest.$ac_ext <<_ACEOF
26361 /* end confdefs.h. */
26362 #include <math.h>
26364 main ()
26366 __builtin_labs(0);
26368 return 0;
26370 _ACEOF
26371 rm -f conftest.$ac_objext conftest$ac_exeext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26373 (eval $ac_link) 2>conftest.er1
26374 ac_status=$?
26375 grep -v '^ *+' conftest.er1 >conftest.err
26376 rm -f conftest.er1
26377 cat conftest.err >&5
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); } &&
26380 { ac_try='test -z "$ac_c_werror_flag"
26381 || test ! -s conftest.err'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26384 ac_status=$?
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; } &&
26387 { ac_try='test -s conftest$ac_exeext'
26388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26389 (eval $ac_try) 2>&5
26390 ac_status=$?
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); }; }; then
26393 glibcxx_cv_func___builtin_labs_link=yes
26394 else
26395 echo "$as_me: failed program was:" >&5
26396 sed 's/^/| /' conftest.$ac_ext >&5
26398 glibcxx_cv_func___builtin_labs_link=no
26400 rm -f conftest.err conftest.$ac_objext \
26401 conftest$ac_exeext conftest.$ac_ext
26406 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26407 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26409 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26411 cat >>confdefs.h <<\_ACEOF
26412 #define HAVE___BUILTIN_LABS 1
26413 _ACEOF
26421 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26422 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26423 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26424 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26425 echo $ECHO_N "(cached) $ECHO_C" >&6
26426 else
26430 ac_ext=cc
26431 ac_cpp='$CXXCPP $CPPFLAGS'
26432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26436 cat >conftest.$ac_ext <<_ACEOF
26437 /* confdefs.h. */
26438 _ACEOF
26439 cat confdefs.h >>conftest.$ac_ext
26440 cat >>conftest.$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442 #include <math.h>
26444 main ()
26446 __builtin_sqrtf(0);
26448 return 0;
26450 _ACEOF
26451 rm -f conftest.$ac_objext
26452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26453 (eval $ac_compile) 2>conftest.er1
26454 ac_status=$?
26455 grep -v '^ *+' conftest.er1 >conftest.err
26456 rm -f conftest.er1
26457 cat conftest.err >&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); } &&
26460 { ac_try='test -z "$ac_cxx_werror_flag"
26461 || test ! -s conftest.err'
26462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26463 (eval $ac_try) 2>&5
26464 ac_status=$?
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); }; } &&
26467 { ac_try='test -s conftest.$ac_objext'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26470 ac_status=$?
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; }; then
26473 glibcxx_cv_func___builtin_sqrtf_use=yes
26474 else
26475 echo "$as_me: failed program was:" >&5
26476 sed 's/^/| /' conftest.$ac_ext >&5
26478 glibcxx_cv_func___builtin_sqrtf_use=no
26480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26481 ac_ext=c
26482 ac_cpp='$CPP $CPPFLAGS'
26483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26492 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26493 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26494 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26495 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26496 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26497 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 else
26501 if test x$gcc_no_link = xyes; then
26502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26504 { (exit 1); exit 1; }; }
26506 cat >conftest.$ac_ext <<_ACEOF
26507 /* confdefs.h. */
26508 _ACEOF
26509 cat confdefs.h >>conftest.$ac_ext
26510 cat >>conftest.$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26512 #include <math.h>
26514 main ()
26516 __builtin_sqrtf(0);
26518 return 0;
26520 _ACEOF
26521 rm -f conftest.$ac_objext conftest$ac_exeext
26522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26523 (eval $ac_link) 2>conftest.er1
26524 ac_status=$?
26525 grep -v '^ *+' conftest.er1 >conftest.err
26526 rm -f conftest.er1
26527 cat conftest.err >&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); } &&
26530 { ac_try='test -z "$ac_c_werror_flag"
26531 || test ! -s conftest.err'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26534 ac_status=$?
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; } &&
26537 { ac_try='test -s conftest$ac_exeext'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26540 ac_status=$?
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; }; then
26543 glibcxx_cv_func___builtin_sqrtf_link=yes
26544 else
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26548 glibcxx_cv_func___builtin_sqrtf_link=no
26550 rm -f conftest.err conftest.$ac_objext \
26551 conftest$ac_exeext conftest.$ac_ext
26556 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26557 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26559 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26561 cat >>confdefs.h <<\_ACEOF
26562 #define HAVE___BUILTIN_SQRTF 1
26563 _ACEOF
26570 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26571 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26572 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26573 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 else
26579 ac_ext=cc
26580 ac_cpp='$CXXCPP $CPPFLAGS'
26581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26585 cat >conftest.$ac_ext <<_ACEOF
26586 /* confdefs.h. */
26587 _ACEOF
26588 cat confdefs.h >>conftest.$ac_ext
26589 cat >>conftest.$ac_ext <<_ACEOF
26590 /* end confdefs.h. */
26591 #include <math.h>
26593 main ()
26595 __builtin_sqrt(0);
26597 return 0;
26599 _ACEOF
26600 rm -f conftest.$ac_objext
26601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26602 (eval $ac_compile) 2>conftest.er1
26603 ac_status=$?
26604 grep -v '^ *+' conftest.er1 >conftest.err
26605 rm -f conftest.er1
26606 cat conftest.err >&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); } &&
26609 { ac_try='test -z "$ac_cxx_werror_flag"
26610 || test ! -s conftest.err'
26611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612 (eval $ac_try) 2>&5
26613 ac_status=$?
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; } &&
26616 { ac_try='test -s conftest.$ac_objext'
26617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618 (eval $ac_try) 2>&5
26619 ac_status=$?
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); }; }; then
26622 glibcxx_cv_func___builtin_sqrt_use=yes
26623 else
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26627 glibcxx_cv_func___builtin_sqrt_use=no
26629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26630 ac_ext=c
26631 ac_cpp='$CPP $CPPFLAGS'
26632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26640 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26641 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26642 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26643 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26644 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26645 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26646 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 else
26650 if test x$gcc_no_link = xyes; then
26651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26653 { (exit 1); exit 1; }; }
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 #include <math.h>
26663 main ()
26665 __builtin_sqrt(0);
26667 return 0;
26669 _ACEOF
26670 rm -f conftest.$ac_objext conftest$ac_exeext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26672 (eval $ac_link) 2>conftest.er1
26673 ac_status=$?
26674 grep -v '^ *+' conftest.er1 >conftest.err
26675 rm -f conftest.er1
26676 cat conftest.err >&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -z "$ac_c_werror_flag"
26680 || test ! -s conftest.err'
26681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682 (eval $ac_try) 2>&5
26683 ac_status=$?
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); }; } &&
26686 { ac_try='test -s conftest$ac_exeext'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26689 ac_status=$?
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 glibcxx_cv_func___builtin_sqrt_link=yes
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26697 glibcxx_cv_func___builtin_sqrt_link=no
26699 rm -f conftest.err conftest.$ac_objext \
26700 conftest$ac_exeext conftest.$ac_ext
26705 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26706 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26708 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26710 cat >>confdefs.h <<\_ACEOF
26711 #define HAVE___BUILTIN_SQRT 1
26712 _ACEOF
26719 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26720 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26721 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26722 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26723 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 else
26728 ac_ext=cc
26729 ac_cpp='$CXXCPP $CPPFLAGS'
26730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h. */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740 #include <math.h>
26742 main ()
26744 __builtin_sqrtl(0);
26746 return 0;
26748 _ACEOF
26749 rm -f conftest.$ac_objext
26750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26751 (eval $ac_compile) 2>conftest.er1
26752 ac_status=$?
26753 grep -v '^ *+' conftest.er1 >conftest.err
26754 rm -f conftest.er1
26755 cat conftest.err >&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); } &&
26758 { ac_try='test -z "$ac_cxx_werror_flag"
26759 || test ! -s conftest.err'
26760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26761 (eval $ac_try) 2>&5
26762 ac_status=$?
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); }; } &&
26765 { ac_try='test -s conftest.$ac_objext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26771 glibcxx_cv_func___builtin_sqrtl_use=yes
26772 else
26773 echo "$as_me: failed program was:" >&5
26774 sed 's/^/| /' conftest.$ac_ext >&5
26776 glibcxx_cv_func___builtin_sqrtl_use=no
26778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26779 ac_ext=c
26780 ac_cpp='$CPP $CPPFLAGS'
26781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26789 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26790 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26791 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26792 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26793 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26794 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26795 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26796 echo $ECHO_N "(cached) $ECHO_C" >&6
26797 else
26799 if test x$gcc_no_link = xyes; then
26800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26802 { (exit 1); exit 1; }; }
26804 cat >conftest.$ac_ext <<_ACEOF
26805 /* confdefs.h. */
26806 _ACEOF
26807 cat confdefs.h >>conftest.$ac_ext
26808 cat >>conftest.$ac_ext <<_ACEOF
26809 /* end confdefs.h. */
26810 #include <math.h>
26812 main ()
26814 __builtin_sqrtl(0);
26816 return 0;
26818 _ACEOF
26819 rm -f conftest.$ac_objext conftest$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821 (eval $ac_link) 2>conftest.er1
26822 ac_status=$?
26823 grep -v '^ *+' conftest.er1 >conftest.err
26824 rm -f conftest.er1
26825 cat conftest.err >&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try='test -z "$ac_c_werror_flag"
26829 || test ! -s conftest.err'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26832 ac_status=$?
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; } &&
26835 { ac_try='test -s conftest$ac_exeext'
26836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837 (eval $ac_try) 2>&5
26838 ac_status=$?
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); }; }; then
26841 glibcxx_cv_func___builtin_sqrtl_link=yes
26842 else
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26846 glibcxx_cv_func___builtin_sqrtl_link=no
26848 rm -f conftest.err conftest.$ac_objext \
26849 conftest$ac_exeext conftest.$ac_ext
26854 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26855 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26857 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26859 cat >>confdefs.h <<\_ACEOF
26860 #define HAVE___BUILTIN_SQRTL 1
26861 _ACEOF
26869 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26870 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26871 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26872 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 else
26878 ac_ext=cc
26879 ac_cpp='$CXXCPP $CPPFLAGS'
26880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26884 cat >conftest.$ac_ext <<_ACEOF
26885 /* confdefs.h. */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890 #include <math.h>
26892 main ()
26894 __builtin_sinf(0);
26896 return 0;
26898 _ACEOF
26899 rm -f conftest.$ac_objext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26901 (eval $ac_compile) 2>conftest.er1
26902 ac_status=$?
26903 grep -v '^ *+' conftest.er1 >conftest.err
26904 rm -f conftest.er1
26905 cat conftest.err >&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -z "$ac_cxx_werror_flag"
26909 || test ! -s conftest.err'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; } &&
26915 { ac_try='test -s conftest.$ac_objext'
26916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26917 (eval $ac_try) 2>&5
26918 ac_status=$?
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); }; }; then
26921 glibcxx_cv_func___builtin_sinf_use=yes
26922 else
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26926 glibcxx_cv_func___builtin_sinf_use=no
26928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26929 ac_ext=c
26930 ac_cpp='$CPP $CPPFLAGS'
26931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26940 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26941 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26942 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26943 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26944 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26945 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26949 if test x$gcc_no_link = xyes; then
26950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26952 { (exit 1); exit 1; }; }
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <math.h>
26962 main ()
26964 __builtin_sinf(0);
26966 return 0;
26968 _ACEOF
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26971 (eval $ac_link) 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -z "$ac_c_werror_flag"
26979 || test ! -s conftest.err'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26982 ac_status=$?
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; } &&
26985 { ac_try='test -s conftest$ac_exeext'
26986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987 (eval $ac_try) 2>&5
26988 ac_status=$?
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; }; then
26991 glibcxx_cv_func___builtin_sinf_link=yes
26992 else
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26996 glibcxx_cv_func___builtin_sinf_link=no
26998 rm -f conftest.err conftest.$ac_objext \
26999 conftest$ac_exeext conftest.$ac_ext
27004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27005 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27007 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27009 cat >>confdefs.h <<\_ACEOF
27010 #define HAVE___BUILTIN_SINF 1
27011 _ACEOF
27018 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27019 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27020 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27021 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27022 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 else
27027 ac_ext=cc
27028 ac_cpp='$CXXCPP $CPPFLAGS'
27029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27033 cat >conftest.$ac_ext <<_ACEOF
27034 /* confdefs.h. */
27035 _ACEOF
27036 cat confdefs.h >>conftest.$ac_ext
27037 cat >>conftest.$ac_ext <<_ACEOF
27038 /* end confdefs.h. */
27039 #include <math.h>
27041 main ()
27043 __builtin_sin(0);
27045 return 0;
27047 _ACEOF
27048 rm -f conftest.$ac_objext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27050 (eval $ac_compile) 2>conftest.er1
27051 ac_status=$?
27052 grep -v '^ *+' conftest.er1 >conftest.err
27053 rm -f conftest.er1
27054 cat conftest.err >&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try='test -z "$ac_cxx_werror_flag"
27058 || test ! -s conftest.err'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; } &&
27064 { ac_try='test -s conftest.$ac_objext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 glibcxx_cv_func___builtin_sin_use=yes
27071 else
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27075 glibcxx_cv_func___builtin_sin_use=no
27077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27078 ac_ext=c
27079 ac_cpp='$CPP $CPPFLAGS'
27080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27089 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27090 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27091 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27092 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27093 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27094 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27096 else
27098 if test x$gcc_no_link = xyes; then
27099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27101 { (exit 1); exit 1; }; }
27103 cat >conftest.$ac_ext <<_ACEOF
27104 /* confdefs.h. */
27105 _ACEOF
27106 cat confdefs.h >>conftest.$ac_ext
27107 cat >>conftest.$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 #include <math.h>
27111 main ()
27113 __builtin_sin(0);
27115 return 0;
27117 _ACEOF
27118 rm -f conftest.$ac_objext conftest$ac_exeext
27119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27120 (eval $ac_link) 2>conftest.er1
27121 ac_status=$?
27122 grep -v '^ *+' conftest.er1 >conftest.err
27123 rm -f conftest.er1
27124 cat conftest.err >&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } &&
27127 { ac_try='test -z "$ac_c_werror_flag"
27128 || test ! -s conftest.err'
27129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27130 (eval $ac_try) 2>&5
27131 ac_status=$?
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; } &&
27134 { ac_try='test -s conftest$ac_exeext'
27135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27136 (eval $ac_try) 2>&5
27137 ac_status=$?
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); }; }; then
27140 glibcxx_cv_func___builtin_sin_link=yes
27141 else
27142 echo "$as_me: failed program was:" >&5
27143 sed 's/^/| /' conftest.$ac_ext >&5
27145 glibcxx_cv_func___builtin_sin_link=no
27147 rm -f conftest.err conftest.$ac_objext \
27148 conftest$ac_exeext conftest.$ac_ext
27153 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27154 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27156 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27158 cat >>confdefs.h <<\_ACEOF
27159 #define HAVE___BUILTIN_SIN 1
27160 _ACEOF
27167 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27168 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27169 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27170 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27171 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 else
27176 ac_ext=cc
27177 ac_cpp='$CXXCPP $CPPFLAGS'
27178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27182 cat >conftest.$ac_ext <<_ACEOF
27183 /* confdefs.h. */
27184 _ACEOF
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188 #include <math.h>
27190 main ()
27192 __builtin_sinl(0);
27194 return 0;
27196 _ACEOF
27197 rm -f conftest.$ac_objext
27198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27199 (eval $ac_compile) 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try='test -z "$ac_cxx_werror_flag"
27207 || test ! -s conftest.err'
27208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209 (eval $ac_try) 2>&5
27210 ac_status=$?
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); }; } &&
27213 { ac_try='test -s conftest.$ac_objext'
27214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 (eval $ac_try) 2>&5
27216 ac_status=$?
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); }; }; then
27219 glibcxx_cv_func___builtin_sinl_use=yes
27220 else
27221 echo "$as_me: failed program was:" >&5
27222 sed 's/^/| /' conftest.$ac_ext >&5
27224 glibcxx_cv_func___builtin_sinl_use=no
27226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27227 ac_ext=c
27228 ac_cpp='$CPP $CPPFLAGS'
27229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27237 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27238 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27239 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27240 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27241 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27242 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27243 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 else
27247 if test x$gcc_no_link = xyes; then
27248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27250 { (exit 1); exit 1; }; }
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 #include <math.h>
27260 main ()
27262 __builtin_sinl(0);
27264 return 0;
27266 _ACEOF
27267 rm -f conftest.$ac_objext conftest$ac_exeext
27268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27269 (eval $ac_link) 2>conftest.er1
27270 ac_status=$?
27271 grep -v '^ *+' conftest.er1 >conftest.err
27272 rm -f conftest.er1
27273 cat conftest.err >&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } &&
27276 { ac_try='test -z "$ac_c_werror_flag"
27277 || test ! -s conftest.err'
27278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27279 (eval $ac_try) 2>&5
27280 ac_status=$?
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); }; } &&
27283 { ac_try='test -s conftest$ac_exeext'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27286 ac_status=$?
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; }; then
27289 glibcxx_cv_func___builtin_sinl_link=yes
27290 else
27291 echo "$as_me: failed program was:" >&5
27292 sed 's/^/| /' conftest.$ac_ext >&5
27294 glibcxx_cv_func___builtin_sinl_link=no
27296 rm -f conftest.err conftest.$ac_objext \
27297 conftest$ac_exeext conftest.$ac_ext
27302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27303 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27305 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27307 cat >>confdefs.h <<\_ACEOF
27308 #define HAVE___BUILTIN_SINL 1
27309 _ACEOF
27317 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27318 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27319 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27320 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27322 else
27326 ac_ext=cc
27327 ac_cpp='$CXXCPP $CPPFLAGS'
27328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338 #include <math.h>
27340 main ()
27342 __builtin_cosf(0);
27344 return 0;
27346 _ACEOF
27347 rm -f conftest.$ac_objext
27348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27349 (eval $ac_compile) 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } &&
27356 { ac_try='test -z "$ac_cxx_werror_flag"
27357 || test ! -s conftest.err'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; } &&
27363 { ac_try='test -s conftest.$ac_objext'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; }; then
27369 glibcxx_cv_func___builtin_cosf_use=yes
27370 else
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.$ac_ext >&5
27374 glibcxx_cv_func___builtin_cosf_use=no
27376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27377 ac_ext=c
27378 ac_cpp='$CPP $CPPFLAGS'
27379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27388 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27389 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27390 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27391 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27392 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27393 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 else
27397 if test x$gcc_no_link = xyes; then
27398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27400 { (exit 1); exit 1; }; }
27402 cat >conftest.$ac_ext <<_ACEOF
27403 /* confdefs.h. */
27404 _ACEOF
27405 cat confdefs.h >>conftest.$ac_ext
27406 cat >>conftest.$ac_ext <<_ACEOF
27407 /* end confdefs.h. */
27408 #include <math.h>
27410 main ()
27412 __builtin_cosf(0);
27414 return 0;
27416 _ACEOF
27417 rm -f conftest.$ac_objext conftest$ac_exeext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27419 (eval $ac_link) 2>conftest.er1
27420 ac_status=$?
27421 grep -v '^ *+' conftest.er1 >conftest.err
27422 rm -f conftest.er1
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } &&
27426 { ac_try='test -z "$ac_c_werror_flag"
27427 || test ! -s conftest.err'
27428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429 (eval $ac_try) 2>&5
27430 ac_status=$?
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); }; } &&
27433 { ac_try='test -s conftest$ac_exeext'
27434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27435 (eval $ac_try) 2>&5
27436 ac_status=$?
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); }; }; then
27439 glibcxx_cv_func___builtin_cosf_link=yes
27440 else
27441 echo "$as_me: failed program was:" >&5
27442 sed 's/^/| /' conftest.$ac_ext >&5
27444 glibcxx_cv_func___builtin_cosf_link=no
27446 rm -f conftest.err conftest.$ac_objext \
27447 conftest$ac_exeext conftest.$ac_ext
27452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27453 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27455 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27457 cat >>confdefs.h <<\_ACEOF
27458 #define HAVE___BUILTIN_COSF 1
27459 _ACEOF
27466 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27467 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27468 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27469 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 else
27475 ac_ext=cc
27476 ac_cpp='$CXXCPP $CPPFLAGS'
27477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27481 cat >conftest.$ac_ext <<_ACEOF
27482 /* confdefs.h. */
27483 _ACEOF
27484 cat confdefs.h >>conftest.$ac_ext
27485 cat >>conftest.$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27487 #include <math.h>
27489 main ()
27491 __builtin_cos(0);
27493 return 0;
27495 _ACEOF
27496 rm -f conftest.$ac_objext
27497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27498 (eval $ac_compile) 2>conftest.er1
27499 ac_status=$?
27500 grep -v '^ *+' conftest.er1 >conftest.err
27501 rm -f conftest.er1
27502 cat conftest.err >&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } &&
27505 { ac_try='test -z "$ac_cxx_werror_flag"
27506 || test ! -s conftest.err'
27507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508 (eval $ac_try) 2>&5
27509 ac_status=$?
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; } &&
27512 { ac_try='test -s conftest.$ac_objext'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27515 ac_status=$?
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; }; then
27518 glibcxx_cv_func___builtin_cos_use=yes
27519 else
27520 echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.$ac_ext >&5
27523 glibcxx_cv_func___builtin_cos_use=no
27525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27526 ac_ext=c
27527 ac_cpp='$CPP $CPPFLAGS'
27528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27537 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27538 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27539 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27540 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27541 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27542 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27546 if test x$gcc_no_link = xyes; then
27547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27549 { (exit 1); exit 1; }; }
27551 cat >conftest.$ac_ext <<_ACEOF
27552 /* confdefs.h. */
27553 _ACEOF
27554 cat confdefs.h >>conftest.$ac_ext
27555 cat >>conftest.$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27557 #include <math.h>
27559 main ()
27561 __builtin_cos(0);
27563 return 0;
27565 _ACEOF
27566 rm -f conftest.$ac_objext conftest$ac_exeext
27567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27568 (eval $ac_link) 2>conftest.er1
27569 ac_status=$?
27570 grep -v '^ *+' conftest.er1 >conftest.err
27571 rm -f conftest.er1
27572 cat conftest.err >&5
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); } &&
27575 { ac_try='test -z "$ac_c_werror_flag"
27576 || test ! -s conftest.err'
27577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27578 (eval $ac_try) 2>&5
27579 ac_status=$?
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); }; } &&
27582 { ac_try='test -s conftest$ac_exeext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27585 ac_status=$?
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 glibcxx_cv_func___builtin_cos_link=yes
27589 else
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27593 glibcxx_cv_func___builtin_cos_link=no
27595 rm -f conftest.err conftest.$ac_objext \
27596 conftest$ac_exeext conftest.$ac_ext
27601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27602 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27604 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27606 cat >>confdefs.h <<\_ACEOF
27607 #define HAVE___BUILTIN_COS 1
27608 _ACEOF
27615 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27616 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27617 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27618 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27619 echo $ECHO_N "(cached) $ECHO_C" >&6
27620 else
27624 ac_ext=cc
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27630 cat >conftest.$ac_ext <<_ACEOF
27631 /* confdefs.h. */
27632 _ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636 #include <math.h>
27638 main ()
27640 __builtin_cosl(0);
27642 return 0;
27644 _ACEOF
27645 rm -f conftest.$ac_objext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27647 (eval $ac_compile) 2>conftest.er1
27648 ac_status=$?
27649 grep -v '^ *+' conftest.er1 >conftest.err
27650 rm -f conftest.er1
27651 cat conftest.err >&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); } &&
27654 { ac_try='test -z "$ac_cxx_werror_flag"
27655 || test ! -s conftest.err'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27658 ac_status=$?
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; } &&
27661 { ac_try='test -s conftest.$ac_objext'
27662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27663 (eval $ac_try) 2>&5
27664 ac_status=$?
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); }; }; then
27667 glibcxx_cv_func___builtin_cosl_use=yes
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27672 glibcxx_cv_func___builtin_cosl_use=no
27674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27675 ac_ext=c
27676 ac_cpp='$CPP $CPPFLAGS'
27677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27686 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27687 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27688 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27689 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27690 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27691 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27695 if test x$gcc_no_link = xyes; then
27696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27698 { (exit 1); exit 1; }; }
27700 cat >conftest.$ac_ext <<_ACEOF
27701 /* confdefs.h. */
27702 _ACEOF
27703 cat confdefs.h >>conftest.$ac_ext
27704 cat >>conftest.$ac_ext <<_ACEOF
27705 /* end confdefs.h. */
27706 #include <math.h>
27708 main ()
27710 __builtin_cosl(0);
27712 return 0;
27714 _ACEOF
27715 rm -f conftest.$ac_objext conftest$ac_exeext
27716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27717 (eval $ac_link) 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } &&
27724 { ac_try='test -z "$ac_c_werror_flag"
27725 || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 glibcxx_cv_func___builtin_cosl_link=yes
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27742 glibcxx_cv_func___builtin_cosl_link=no
27744 rm -f conftest.err conftest.$ac_objext \
27745 conftest$ac_exeext conftest.$ac_ext
27750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27751 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27753 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27755 cat >>confdefs.h <<\_ACEOF
27756 #define HAVE___BUILTIN_COSL 1
27757 _ACEOF
27766 echo "$as_me:$LINENO: checking for main in -lm" >&5
27767 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27768 if test "${ac_cv_lib_m_main+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771 ac_check_lib_save_LIBS=$LIBS
27772 LIBS="-lm $LIBS"
27773 if test x$gcc_no_link = xyes; then
27774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27776 { (exit 1); exit 1; }; }
27778 cat >conftest.$ac_ext <<_ACEOF
27779 /* confdefs.h. */
27780 _ACEOF
27781 cat confdefs.h >>conftest.$ac_ext
27782 cat >>conftest.$ac_ext <<_ACEOF
27783 /* end confdefs.h. */
27787 main ()
27789 main ();
27791 return 0;
27793 _ACEOF
27794 rm -f conftest.$ac_objext conftest$ac_exeext
27795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27796 (eval $ac_link) 2>conftest.er1
27797 ac_status=$?
27798 grep -v '^ *+' conftest.er1 >conftest.err
27799 rm -f conftest.er1
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } &&
27803 { ac_try='test -z "$ac_c_werror_flag"
27804 || test ! -s conftest.err'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; } &&
27810 { ac_try='test -s conftest$ac_exeext'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27816 ac_cv_lib_m_main=yes
27817 else
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27821 ac_cv_lib_m_main=no
27823 rm -f conftest.err conftest.$ac_objext \
27824 conftest$ac_exeext conftest.$ac_ext
27825 LIBS=$ac_check_lib_save_LIBS
27827 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27828 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27829 if test $ac_cv_lib_m_main = yes; then
27830 cat >>confdefs.h <<_ACEOF
27831 #define HAVE_LIBM 1
27832 _ACEOF
27834 LIBS="-lm $LIBS"
27839 for ac_func in copysignf
27841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27842 echo "$as_me:$LINENO: checking for $ac_func" >&5
27843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27844 if eval "test \"\${$as_ac_var+set}\" = set"; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 if test x$gcc_no_link = xyes; then
27848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27850 { (exit 1); exit 1; }; }
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27860 #define $ac_func innocuous_$ac_func
27862 /* System header to define __stub macros and hopefully few prototypes,
27863 which can conflict with char $ac_func (); below.
27864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27865 <limits.h> exists even on freestanding compilers. */
27867 #ifdef __STDC__
27868 # include <limits.h>
27869 #else
27870 # include <assert.h>
27871 #endif
27873 #undef $ac_func
27875 /* Override any gcc2 internal prototype to avoid an error. */
27876 #ifdef __cplusplus
27877 extern "C"
27879 #endif
27880 /* We use char because int might match the return type of a gcc2
27881 builtin and then its argument prototype would still apply. */
27882 char $ac_func ();
27883 /* The GNU C library defines this for functions which it implements
27884 to always fail with ENOSYS. Some functions are actually named
27885 something starting with __ and the normal name is an alias. */
27886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27887 choke me
27888 #else
27889 char (*f) () = $ac_func;
27890 #endif
27891 #ifdef __cplusplus
27893 #endif
27896 main ()
27898 return f != $ac_func;
27900 return 0;
27902 _ACEOF
27903 rm -f conftest.$ac_objext conftest$ac_exeext
27904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27905 (eval $ac_link) 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try='test -z "$ac_c_werror_flag"
27913 || test ! -s conftest.err'
27914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27915 (eval $ac_try) 2>&5
27916 ac_status=$?
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); }; } &&
27919 { ac_try='test -s conftest$ac_exeext'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27922 ac_status=$?
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; }; then
27925 eval "$as_ac_var=yes"
27926 else
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27930 eval "$as_ac_var=no"
27932 rm -f conftest.err conftest.$ac_objext \
27933 conftest$ac_exeext conftest.$ac_ext
27935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27937 if test `eval echo '${'$as_ac_var'}'` = yes; then
27938 cat >>confdefs.h <<_ACEOF
27939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27940 _ACEOF
27942 else
27943 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27945 done
27949 for ac_func in __signbit
27951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27952 echo "$as_me:$LINENO: checking for $ac_func" >&5
27953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27954 if eval "test \"\${$as_ac_var+set}\" = set"; then
27955 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 else
27957 if test x$gcc_no_link = xyes; then
27958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27960 { (exit 1); exit 1; }; }
27962 cat >conftest.$ac_ext <<_ACEOF
27963 /* confdefs.h. */
27964 _ACEOF
27965 cat confdefs.h >>conftest.$ac_ext
27966 cat >>conftest.$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27970 #define $ac_func innocuous_$ac_func
27972 /* System header to define __stub macros and hopefully few prototypes,
27973 which can conflict with char $ac_func (); below.
27974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27975 <limits.h> exists even on freestanding compilers. */
27977 #ifdef __STDC__
27978 # include <limits.h>
27979 #else
27980 # include <assert.h>
27981 #endif
27983 #undef $ac_func
27985 /* Override any gcc2 internal prototype to avoid an error. */
27986 #ifdef __cplusplus
27987 extern "C"
27989 #endif
27990 /* We use char because int might match the return type of a gcc2
27991 builtin and then its argument prototype would still apply. */
27992 char $ac_func ();
27993 /* The GNU C library defines this for functions which it implements
27994 to always fail with ENOSYS. Some functions are actually named
27995 something starting with __ and the normal name is an alias. */
27996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27997 choke me
27998 #else
27999 char (*f) () = $ac_func;
28000 #endif
28001 #ifdef __cplusplus
28003 #endif
28006 main ()
28008 return f != $ac_func;
28010 return 0;
28012 _ACEOF
28013 rm -f conftest.$ac_objext conftest$ac_exeext
28014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015 (eval $ac_link) 2>conftest.er1
28016 ac_status=$?
28017 grep -v '^ *+' conftest.er1 >conftest.err
28018 rm -f conftest.er1
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } &&
28022 { ac_try='test -z "$ac_c_werror_flag"
28023 || test ! -s conftest.err'
28024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28025 (eval $ac_try) 2>&5
28026 ac_status=$?
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; } &&
28029 { ac_try='test -s conftest$ac_exeext'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28032 ac_status=$?
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; }; then
28035 eval "$as_ac_var=yes"
28036 else
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.$ac_ext >&5
28040 eval "$as_ac_var=no"
28042 rm -f conftest.err conftest.$ac_objext \
28043 conftest$ac_exeext conftest.$ac_ext
28045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28047 if test `eval echo '${'$as_ac_var'}'` = yes; then
28048 cat >>confdefs.h <<_ACEOF
28049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28050 _ACEOF
28052 else
28053 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28055 done
28059 for ac_func in __signbitf
28061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28062 echo "$as_me:$LINENO: checking for $ac_func" >&5
28063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28064 if eval "test \"\${$as_ac_var+set}\" = set"; then
28065 echo $ECHO_N "(cached) $ECHO_C" >&6
28066 else
28067 if test x$gcc_no_link = xyes; then
28068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28070 { (exit 1); exit 1; }; }
28072 cat >conftest.$ac_ext <<_ACEOF
28073 /* confdefs.h. */
28074 _ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28080 #define $ac_func innocuous_$ac_func
28082 /* System header to define __stub macros and hopefully few prototypes,
28083 which can conflict with char $ac_func (); below.
28084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28085 <limits.h> exists even on freestanding compilers. */
28087 #ifdef __STDC__
28088 # include <limits.h>
28089 #else
28090 # include <assert.h>
28091 #endif
28093 #undef $ac_func
28095 /* Override any gcc2 internal prototype to avoid an error. */
28096 #ifdef __cplusplus
28097 extern "C"
28099 #endif
28100 /* We use char because int might match the return type of a gcc2
28101 builtin and then its argument prototype would still apply. */
28102 char $ac_func ();
28103 /* The GNU C library defines this for functions which it implements
28104 to always fail with ENOSYS. Some functions are actually named
28105 something starting with __ and the normal name is an alias. */
28106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28107 choke me
28108 #else
28109 char (*f) () = $ac_func;
28110 #endif
28111 #ifdef __cplusplus
28113 #endif
28116 main ()
28118 return f != $ac_func;
28120 return 0;
28122 _ACEOF
28123 rm -f conftest.$ac_objext conftest$ac_exeext
28124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28125 (eval $ac_link) 2>conftest.er1
28126 ac_status=$?
28127 grep -v '^ *+' conftest.er1 >conftest.err
28128 rm -f conftest.er1
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } &&
28132 { ac_try='test -z "$ac_c_werror_flag"
28133 || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try='test -s conftest$ac_exeext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28145 eval "$as_ac_var=yes"
28146 else
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28150 eval "$as_ac_var=no"
28152 rm -f conftest.err conftest.$ac_objext \
28153 conftest$ac_exeext conftest.$ac_ext
28155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28157 if test `eval echo '${'$as_ac_var'}'` = yes; then
28158 cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28160 _ACEOF
28162 else
28163 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28165 done
28168 if test x$ac_cv_func_copysignl = x"yes"; then
28170 for ac_func in __signbitl
28172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28173 echo "$as_me:$LINENO: checking for $ac_func" >&5
28174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28175 if eval "test \"\${$as_ac_var+set}\" = set"; then
28176 echo $ECHO_N "(cached) $ECHO_C" >&6
28177 else
28178 if test x$gcc_no_link = xyes; then
28179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28181 { (exit 1); exit 1; }; }
28183 cat >conftest.$ac_ext <<_ACEOF
28184 /* confdefs.h. */
28185 _ACEOF
28186 cat confdefs.h >>conftest.$ac_ext
28187 cat >>conftest.$ac_ext <<_ACEOF
28188 /* end confdefs.h. */
28189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28191 #define $ac_func innocuous_$ac_func
28193 /* System header to define __stub macros and hopefully few prototypes,
28194 which can conflict with char $ac_func (); below.
28195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28196 <limits.h> exists even on freestanding compilers. */
28198 #ifdef __STDC__
28199 # include <limits.h>
28200 #else
28201 # include <assert.h>
28202 #endif
28204 #undef $ac_func
28206 /* Override any gcc2 internal prototype to avoid an error. */
28207 #ifdef __cplusplus
28208 extern "C"
28210 #endif
28211 /* We use char because int might match the return type of a gcc2
28212 builtin and then its argument prototype would still apply. */
28213 char $ac_func ();
28214 /* The GNU C library defines this for functions which it implements
28215 to always fail with ENOSYS. Some functions are actually named
28216 something starting with __ and the normal name is an alias. */
28217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28218 choke me
28219 #else
28220 char (*f) () = $ac_func;
28221 #endif
28222 #ifdef __cplusplus
28224 #endif
28227 main ()
28229 return f != $ac_func;
28231 return 0;
28233 _ACEOF
28234 rm -f conftest.$ac_objext conftest$ac_exeext
28235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28236 (eval $ac_link) 2>conftest.er1
28237 ac_status=$?
28238 grep -v '^ *+' conftest.er1 >conftest.err
28239 rm -f conftest.er1
28240 cat conftest.err >&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } &&
28243 { ac_try='test -z "$ac_c_werror_flag"
28244 || test ! -s conftest.err'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; } &&
28250 { ac_try='test -s conftest$ac_exeext'
28251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252 (eval $ac_try) 2>&5
28253 ac_status=$?
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; }; then
28256 eval "$as_ac_var=yes"
28257 else
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28261 eval "$as_ac_var=no"
28263 rm -f conftest.err conftest.$ac_objext \
28264 conftest$ac_exeext conftest.$ac_ext
28266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28268 if test `eval echo '${'$as_ac_var'}'` = yes; then
28269 cat >>confdefs.h <<_ACEOF
28270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28271 _ACEOF
28273 else
28274 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28276 done
28280 # Used in libmath/Makefile.am.
28281 if test -n "$LIBMATHOBJS"; then
28282 need_libmath=yes
28288 enable_iconv=no
28289 # Only continue checking if the ISO C99 headers exist and support is on.
28290 if test x"$enable_wchar_t" = xyes; then
28292 # Use iconv for wchar_t to char conversions. As such, check for
28293 # X/Open Portability Guide, version 2 features (XPG2).
28294 if test "${ac_cv_header_iconv_h+set}" = set; then
28295 echo "$as_me:$LINENO: checking for iconv.h" >&5
28296 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28297 if test "${ac_cv_header_iconv_h+set}" = set; then
28298 echo $ECHO_N "(cached) $ECHO_C" >&6
28300 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28301 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28302 else
28303 # Is the header compilable?
28304 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28305 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28313 #include <iconv.h>
28314 _ACEOF
28315 rm -f conftest.$ac_objext
28316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28317 (eval $ac_compile) 2>conftest.er1
28318 ac_status=$?
28319 grep -v '^ *+' conftest.er1 >conftest.err
28320 rm -f conftest.er1
28321 cat conftest.err >&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } &&
28324 { ac_try='test -z "$ac_c_werror_flag"
28325 || test ! -s conftest.err'
28326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 (eval $ac_try) 2>&5
28328 ac_status=$?
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; } &&
28331 { ac_try='test -s conftest.$ac_objext'
28332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 (eval $ac_try) 2>&5
28334 ac_status=$?
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; }; then
28337 ac_header_compiler=yes
28338 else
28339 echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.$ac_ext >&5
28342 ac_header_compiler=no
28344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28346 echo "${ECHO_T}$ac_header_compiler" >&6
28348 # Is the header present?
28349 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28350 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28351 cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h. */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28357 #include <iconv.h>
28358 _ACEOF
28359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28361 ac_status=$?
28362 grep -v '^ *+' conftest.er1 >conftest.err
28363 rm -f conftest.er1
28364 cat conftest.err >&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } >/dev/null; then
28367 if test -s conftest.err; then
28368 ac_cpp_err=$ac_c_preproc_warn_flag
28369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28370 else
28371 ac_cpp_err=
28373 else
28374 ac_cpp_err=yes
28376 if test -z "$ac_cpp_err"; then
28377 ac_header_preproc=yes
28378 else
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28382 ac_header_preproc=no
28384 rm -f conftest.err conftest.$ac_ext
28385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28386 echo "${ECHO_T}$ac_header_preproc" >&6
28388 # So? What about this header?
28389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28390 yes:no: )
28391 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28392 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28393 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28394 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28395 ac_header_preproc=yes
28397 no:yes:* )
28398 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28399 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28400 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28401 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28402 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28403 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28404 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28405 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28406 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28407 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28408 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28409 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28411 cat <<\_ASBOX
28412 ## ----------------------------------------- ##
28413 ## Report this to the package-unused lists. ##
28414 ## ----------------------------------------- ##
28415 _ASBOX
28417 sed "s/^/$as_me: WARNING: /" >&2
28419 esac
28420 echo "$as_me:$LINENO: checking for iconv.h" >&5
28421 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28422 if test "${ac_cv_header_iconv_h+set}" = set; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 else
28425 ac_cv_header_iconv_h=$ac_header_preproc
28427 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28428 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28431 if test $ac_cv_header_iconv_h = yes; then
28432 ac_has_iconv_h=yes
28433 else
28434 ac_has_iconv_h=no
28438 if test "${ac_cv_header_langinfo_h+set}" = set; then
28439 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28440 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28441 if test "${ac_cv_header_langinfo_h+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28444 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28445 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28446 else
28447 # Is the header compilable?
28448 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28449 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28450 cat >conftest.$ac_ext <<_ACEOF
28451 /* confdefs.h. */
28452 _ACEOF
28453 cat confdefs.h >>conftest.$ac_ext
28454 cat >>conftest.$ac_ext <<_ACEOF
28455 /* end confdefs.h. */
28456 $ac_includes_default
28457 #include <langinfo.h>
28458 _ACEOF
28459 rm -f conftest.$ac_objext
28460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28461 (eval $ac_compile) 2>conftest.er1
28462 ac_status=$?
28463 grep -v '^ *+' conftest.er1 >conftest.err
28464 rm -f conftest.er1
28465 cat conftest.err >&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } &&
28468 { ac_try='test -z "$ac_c_werror_flag"
28469 || test ! -s conftest.err'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; } &&
28475 { ac_try='test -s conftest.$ac_objext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28478 ac_status=$?
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 ac_header_compiler=yes
28482 else
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28486 ac_header_compiler=no
28488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28490 echo "${ECHO_T}$ac_header_compiler" >&6
28492 # Is the header present?
28493 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28494 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h. */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28501 #include <langinfo.h>
28502 _ACEOF
28503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28505 ac_status=$?
28506 grep -v '^ *+' conftest.er1 >conftest.err
28507 rm -f conftest.er1
28508 cat conftest.err >&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); } >/dev/null; then
28511 if test -s conftest.err; then
28512 ac_cpp_err=$ac_c_preproc_warn_flag
28513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28514 else
28515 ac_cpp_err=
28517 else
28518 ac_cpp_err=yes
28520 if test -z "$ac_cpp_err"; then
28521 ac_header_preproc=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28526 ac_header_preproc=no
28528 rm -f conftest.err conftest.$ac_ext
28529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28530 echo "${ECHO_T}$ac_header_preproc" >&6
28532 # So? What about this header?
28533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28534 yes:no: )
28535 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28536 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28537 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28538 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28539 ac_header_preproc=yes
28541 no:yes:* )
28542 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28543 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28544 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28545 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28546 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28547 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28548 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28549 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28550 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28551 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28552 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28553 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28555 cat <<\_ASBOX
28556 ## ----------------------------------------- ##
28557 ## Report this to the package-unused lists. ##
28558 ## ----------------------------------------- ##
28559 _ASBOX
28561 sed "s/^/$as_me: WARNING: /" >&2
28563 esac
28564 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28565 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28566 if test "${ac_cv_header_langinfo_h+set}" = set; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 else
28569 ac_cv_header_langinfo_h=$ac_header_preproc
28571 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28572 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28575 if test $ac_cv_header_langinfo_h = yes; then
28576 ac_has_langinfo_h=yes
28577 else
28578 ac_has_langinfo_h=no
28583 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28584 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28585 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28586 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 else
28589 ac_check_lib_save_LIBS=$LIBS
28590 LIBS="-liconv $LIBS"
28591 if test x$gcc_no_link = xyes; then
28592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28594 { (exit 1); exit 1; }; }
28596 cat >conftest.$ac_ext <<_ACEOF
28597 /* confdefs.h. */
28598 _ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28603 /* Override any gcc2 internal prototype to avoid an error. */
28604 #ifdef __cplusplus
28605 extern "C"
28606 #endif
28607 /* We use char because int might match the return type of a gcc2
28608 builtin and then its argument prototype would still apply. */
28609 char iconv ();
28611 main ()
28613 iconv ();
28615 return 0;
28617 _ACEOF
28618 rm -f conftest.$ac_objext conftest$ac_exeext
28619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28620 (eval $ac_link) 2>conftest.er1
28621 ac_status=$?
28622 grep -v '^ *+' conftest.er1 >conftest.err
28623 rm -f conftest.er1
28624 cat conftest.err >&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } &&
28627 { ac_try='test -z "$ac_c_werror_flag"
28628 || test ! -s conftest.err'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28631 ac_status=$?
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; } &&
28634 { ac_try='test -s conftest$ac_exeext'
28635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28636 (eval $ac_try) 2>&5
28637 ac_status=$?
28638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28639 (exit $ac_status); }; }; then
28640 ac_cv_lib_iconv_iconv=yes
28641 else
28642 echo "$as_me: failed program was:" >&5
28643 sed 's/^/| /' conftest.$ac_ext >&5
28645 ac_cv_lib_iconv_iconv=no
28647 rm -f conftest.err conftest.$ac_objext \
28648 conftest$ac_exeext conftest.$ac_ext
28649 LIBS=$ac_check_lib_save_LIBS
28651 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28652 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28653 if test $ac_cv_lib_iconv_iconv = yes; then
28654 LIBICONV="-liconv"
28657 ac_save_LIBS="$LIBS"
28658 LIBS="$LIBS $LIBICONV"
28665 for ac_func in iconv_open iconv_close iconv nl_langinfo
28667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28668 echo "$as_me:$LINENO: checking for $ac_func" >&5
28669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28670 if eval "test \"\${$as_ac_var+set}\" = set"; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28672 else
28673 if test x$gcc_no_link = xyes; then
28674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28676 { (exit 1); exit 1; }; }
28678 cat >conftest.$ac_ext <<_ACEOF
28679 /* confdefs.h. */
28680 _ACEOF
28681 cat confdefs.h >>conftest.$ac_ext
28682 cat >>conftest.$ac_ext <<_ACEOF
28683 /* end confdefs.h. */
28684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28686 #define $ac_func innocuous_$ac_func
28688 /* System header to define __stub macros and hopefully few prototypes,
28689 which can conflict with char $ac_func (); below.
28690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28691 <limits.h> exists even on freestanding compilers. */
28693 #ifdef __STDC__
28694 # include <limits.h>
28695 #else
28696 # include <assert.h>
28697 #endif
28699 #undef $ac_func
28701 /* Override any gcc2 internal prototype to avoid an error. */
28702 #ifdef __cplusplus
28703 extern "C"
28705 #endif
28706 /* We use char because int might match the return type of a gcc2
28707 builtin and then its argument prototype would still apply. */
28708 char $ac_func ();
28709 /* The GNU C library defines this for functions which it implements
28710 to always fail with ENOSYS. Some functions are actually named
28711 something starting with __ and the normal name is an alias. */
28712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28713 choke me
28714 #else
28715 char (*f) () = $ac_func;
28716 #endif
28717 #ifdef __cplusplus
28719 #endif
28722 main ()
28724 return f != $ac_func;
28726 return 0;
28728 _ACEOF
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28731 (eval $ac_link) 2>conftest.er1
28732 ac_status=$?
28733 grep -v '^ *+' conftest.er1 >conftest.err
28734 rm -f conftest.er1
28735 cat conftest.err >&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); } &&
28738 { ac_try='test -z "$ac_c_werror_flag"
28739 || test ! -s conftest.err'
28740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741 (eval $ac_try) 2>&5
28742 ac_status=$?
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); }; } &&
28745 { ac_try='test -s conftest$ac_exeext'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28751 eval "$as_ac_var=yes"
28752 else
28753 echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.$ac_ext >&5
28756 eval "$as_ac_var=no"
28758 rm -f conftest.err conftest.$ac_objext \
28759 conftest$ac_exeext conftest.$ac_ext
28761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28763 if test `eval echo '${'$as_ac_var'}'` = yes; then
28764 cat >>confdefs.h <<_ACEOF
28765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28766 _ACEOF
28767 ac_XPG2funcs=yes
28768 else
28769 ac_XPG2funcs=no
28771 done
28774 LIBS="$ac_save_LIBS"
28776 if test x"$ac_has_iconv_h" = xyes &&
28777 test x"$ac_has_langinfo_h" = xyes &&
28778 test x"$ac_XPG2funcs" = xyes;
28779 then
28781 cat >>confdefs.h <<\_ACEOF
28782 #define _GLIBCXX_USE_ICONV 1
28783 _ACEOF
28785 enable_iconv=yes
28788 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28789 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28790 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28791 echo "${ECHO_T}$enable_iconv" >&6
28794 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28795 ac_save_CXXFLAGS="$CXXFLAGS"
28796 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28799 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28800 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28801 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28802 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28803 echo $ECHO_N "(cached) $ECHO_C" >&6
28804 else
28808 ac_ext=cc
28809 ac_cpp='$CXXCPP $CPPFLAGS'
28810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h. */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28820 #include <stdlib.h>
28822 main ()
28824 strtold(0, 0);
28826 return 0;
28828 _ACEOF
28829 rm -f conftest.$ac_objext
28830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28831 (eval $ac_compile) 2>conftest.er1
28832 ac_status=$?
28833 grep -v '^ *+' conftest.er1 >conftest.err
28834 rm -f conftest.er1
28835 cat conftest.err >&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -z "$ac_cxx_werror_flag"
28839 || test ! -s conftest.err'
28840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841 (eval $ac_try) 2>&5
28842 ac_status=$?
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; } &&
28845 { ac_try='test -s conftest.$ac_objext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28848 ac_status=$?
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 glibcxx_cv_func_strtold_use=yes
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28856 glibcxx_cv_func_strtold_use=no
28858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28859 ac_ext=c
28860 ac_cpp='$CPP $CPPFLAGS'
28861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28870 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28871 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28873 for ac_func in strtold
28875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28876 echo "$as_me:$LINENO: checking for $ac_func" >&5
28877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28878 if eval "test \"\${$as_ac_var+set}\" = set"; then
28879 echo $ECHO_N "(cached) $ECHO_C" >&6
28880 else
28881 if test x$gcc_no_link = xyes; then
28882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28884 { (exit 1); exit 1; }; }
28886 cat >conftest.$ac_ext <<_ACEOF
28887 /* confdefs.h. */
28888 _ACEOF
28889 cat confdefs.h >>conftest.$ac_ext
28890 cat >>conftest.$ac_ext <<_ACEOF
28891 /* end confdefs.h. */
28892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28894 #define $ac_func innocuous_$ac_func
28896 /* System header to define __stub macros and hopefully few prototypes,
28897 which can conflict with char $ac_func (); below.
28898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28899 <limits.h> exists even on freestanding compilers. */
28901 #ifdef __STDC__
28902 # include <limits.h>
28903 #else
28904 # include <assert.h>
28905 #endif
28907 #undef $ac_func
28909 /* Override any gcc2 internal prototype to avoid an error. */
28910 #ifdef __cplusplus
28911 extern "C"
28913 #endif
28914 /* We use char because int might match the return type of a gcc2
28915 builtin and then its argument prototype would still apply. */
28916 char $ac_func ();
28917 /* The GNU C library defines this for functions which it implements
28918 to always fail with ENOSYS. Some functions are actually named
28919 something starting with __ and the normal name is an alias. */
28920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28921 choke me
28922 #else
28923 char (*f) () = $ac_func;
28924 #endif
28925 #ifdef __cplusplus
28927 #endif
28930 main ()
28932 return f != $ac_func;
28934 return 0;
28936 _ACEOF
28937 rm -f conftest.$ac_objext conftest$ac_exeext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28939 (eval $ac_link) 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try='test -z "$ac_c_werror_flag"
28947 || test ! -s conftest.err'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28950 ac_status=$?
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; } &&
28953 { ac_try='test -s conftest$ac_exeext'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28956 ac_status=$?
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; }; then
28959 eval "$as_ac_var=yes"
28960 else
28961 echo "$as_me: failed program was:" >&5
28962 sed 's/^/| /' conftest.$ac_ext >&5
28964 eval "$as_ac_var=no"
28966 rm -f conftest.err conftest.$ac_objext \
28967 conftest$ac_exeext conftest.$ac_ext
28969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28971 if test `eval echo '${'$as_ac_var'}'` = yes; then
28972 cat >>confdefs.h <<_ACEOF
28973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28974 _ACEOF
28977 done
28985 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28986 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28987 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28988 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28990 else
28994 ac_ext=cc
28995 ac_cpp='$CXXCPP $CPPFLAGS'
28996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006 #include <stdlib.h>
29008 main ()
29010 strtof(0, 0);
29012 return 0;
29014 _ACEOF
29015 rm -f conftest.$ac_objext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29017 (eval $ac_compile) 2>conftest.er1
29018 ac_status=$?
29019 grep -v '^ *+' conftest.er1 >conftest.err
29020 rm -f conftest.er1
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try='test -z "$ac_cxx_werror_flag"
29025 || test ! -s conftest.err'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; } &&
29031 { ac_try='test -s conftest.$ac_objext'
29032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29033 (eval $ac_try) 2>&5
29034 ac_status=$?
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; }; then
29037 glibcxx_cv_func_strtof_use=yes
29038 else
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29042 glibcxx_cv_func_strtof_use=no
29044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29045 ac_ext=c
29046 ac_cpp='$CPP $CPPFLAGS'
29047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29056 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29059 for ac_func in strtof
29061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29064 if eval "test \"\${$as_ac_var+set}\" = set"; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067 if test x$gcc_no_link = xyes; then
29068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29070 { (exit 1); exit 1; }; }
29072 cat >conftest.$ac_ext <<_ACEOF
29073 /* confdefs.h. */
29074 _ACEOF
29075 cat confdefs.h >>conftest.$ac_ext
29076 cat >>conftest.$ac_ext <<_ACEOF
29077 /* end confdefs.h. */
29078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29080 #define $ac_func innocuous_$ac_func
29082 /* System header to define __stub macros and hopefully few prototypes,
29083 which can conflict with char $ac_func (); below.
29084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29085 <limits.h> exists even on freestanding compilers. */
29087 #ifdef __STDC__
29088 # include <limits.h>
29089 #else
29090 # include <assert.h>
29091 #endif
29093 #undef $ac_func
29095 /* Override any gcc2 internal prototype to avoid an error. */
29096 #ifdef __cplusplus
29097 extern "C"
29099 #endif
29100 /* We use char because int might match the return type of a gcc2
29101 builtin and then its argument prototype would still apply. */
29102 char $ac_func ();
29103 /* The GNU C library defines this for functions which it implements
29104 to always fail with ENOSYS. Some functions are actually named
29105 something starting with __ and the normal name is an alias. */
29106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29107 choke me
29108 #else
29109 char (*f) () = $ac_func;
29110 #endif
29111 #ifdef __cplusplus
29113 #endif
29116 main ()
29118 return f != $ac_func;
29120 return 0;
29122 _ACEOF
29123 rm -f conftest.$ac_objext conftest$ac_exeext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29125 (eval $ac_link) 2>conftest.er1
29126 ac_status=$?
29127 grep -v '^ *+' conftest.er1 >conftest.err
29128 rm -f conftest.er1
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } &&
29132 { ac_try='test -z "$ac_c_werror_flag"
29133 || test ! -s conftest.err'
29134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135 (eval $ac_try) 2>&5
29136 ac_status=$?
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); }; } &&
29139 { ac_try='test -s conftest$ac_exeext'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29142 ac_status=$?
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; }; then
29145 eval "$as_ac_var=yes"
29146 else
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29150 eval "$as_ac_var=no"
29152 rm -f conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29157 if test `eval echo '${'$as_ac_var'}'` = yes; then
29158 cat >>confdefs.h <<_ACEOF
29159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29160 _ACEOF
29163 done
29171 CXXFLAGS="$ac_save_CXXFLAGS"
29174 # For showmanyc_helper().
29177 for ac_header in sys/ioctl.h sys/filio.h
29179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29181 echo "$as_me:$LINENO: checking for $ac_header" >&5
29182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29184 echo $ECHO_N "(cached) $ECHO_C" >&6
29186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29188 else
29189 # Is the header compilable?
29190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198 $ac_includes_default
29199 #include <$ac_header>
29200 _ACEOF
29201 rm -f conftest.$ac_objext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29203 (eval $ac_compile) 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } &&
29210 { ac_try='test -z "$ac_c_werror_flag"
29211 || test ! -s conftest.err'
29212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213 (eval $ac_try) 2>&5
29214 ac_status=$?
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); }; } &&
29217 { ac_try='test -s conftest.$ac_objext'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29220 ac_status=$?
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; }; then
29223 ac_header_compiler=yes
29224 else
29225 echo "$as_me: failed program was:" >&5
29226 sed 's/^/| /' conftest.$ac_ext >&5
29228 ac_header_compiler=no
29230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29232 echo "${ECHO_T}$ac_header_compiler" >&6
29234 # Is the header present?
29235 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29236 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h. */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243 #include <$ac_header>
29244 _ACEOF
29245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29247 ac_status=$?
29248 grep -v '^ *+' conftest.er1 >conftest.err
29249 rm -f conftest.er1
29250 cat conftest.err >&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); } >/dev/null; then
29253 if test -s conftest.err; then
29254 ac_cpp_err=$ac_c_preproc_warn_flag
29255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29256 else
29257 ac_cpp_err=
29259 else
29260 ac_cpp_err=yes
29262 if test -z "$ac_cpp_err"; then
29263 ac_header_preproc=yes
29264 else
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29268 ac_header_preproc=no
29270 rm -f conftest.err conftest.$ac_ext
29271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29272 echo "${ECHO_T}$ac_header_preproc" >&6
29274 # So? What about this header?
29275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29276 yes:no: )
29277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29281 ac_header_preproc=yes
29283 no:yes:* )
29284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29297 cat <<\_ASBOX
29298 ## ----------------------------------------- ##
29299 ## Report this to the package-unused lists. ##
29300 ## ----------------------------------------- ##
29301 _ASBOX
29303 sed "s/^/$as_me: WARNING: /" >&2
29305 esac
29306 echo "$as_me:$LINENO: checking for $ac_header" >&5
29307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29311 eval "$as_ac_Header=\$ac_header_preproc"
29313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29318 cat >>confdefs.h <<_ACEOF
29319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29320 _ACEOF
29324 done
29327 echo "$as_me:$LINENO: checking for poll" >&5
29328 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29329 if test "${glibcxx_cv_POLL+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 else
29333 if test x$gcc_no_link = xyes; then
29334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29336 { (exit 1); exit 1; }; }
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344 #include <poll.h>
29346 main ()
29348 struct pollfd pfd[1];
29349 pfd[0].events = POLLIN;
29350 poll(pfd, 1, 0);
29352 return 0;
29354 _ACEOF
29355 rm -f conftest.$ac_objext conftest$ac_exeext
29356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29357 (eval $ac_link) 2>conftest.er1
29358 ac_status=$?
29359 grep -v '^ *+' conftest.er1 >conftest.err
29360 rm -f conftest.er1
29361 cat conftest.err >&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } &&
29364 { ac_try='test -z "$ac_c_werror_flag"
29365 || test ! -s conftest.err'
29366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29367 (eval $ac_try) 2>&5
29368 ac_status=$?
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); }; } &&
29371 { ac_try='test -s conftest$ac_exeext'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; }; then
29377 glibcxx_cv_POLL=yes
29378 else
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.$ac_ext >&5
29382 glibcxx_cv_POLL=no
29384 rm -f conftest.err conftest.$ac_objext \
29385 conftest$ac_exeext conftest.$ac_ext
29389 if test $glibcxx_cv_POLL = yes; then
29391 cat >>confdefs.h <<\_ACEOF
29392 #define HAVE_POLL 1
29393 _ACEOF
29396 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29397 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29400 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29401 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29402 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29406 if test x$gcc_no_link = xyes; then
29407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29409 { (exit 1); exit 1; }; }
29411 cat >conftest.$ac_ext <<_ACEOF
29412 /* confdefs.h. */
29413 _ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29417 #include <sys/stat.h>
29419 main ()
29421 struct stat buffer;
29422 fstat(0, &buffer);
29423 S_ISREG(buffer.st_mode);
29425 return 0;
29427 _ACEOF
29428 rm -f conftest.$ac_objext conftest$ac_exeext
29429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29430 (eval $ac_link) 2>conftest.er1
29431 ac_status=$?
29432 grep -v '^ *+' conftest.er1 >conftest.err
29433 rm -f conftest.er1
29434 cat conftest.err >&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } &&
29437 { ac_try='test -z "$ac_c_werror_flag"
29438 || test ! -s conftest.err'
29439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29440 (eval $ac_try) 2>&5
29441 ac_status=$?
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; } &&
29444 { ac_try='test -s conftest$ac_exeext'
29445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29446 (eval $ac_try) 2>&5
29447 ac_status=$?
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); }; }; then
29450 glibcxx_cv_S_ISREG=yes
29451 else
29452 echo "$as_me: failed program was:" >&5
29453 sed 's/^/| /' conftest.$ac_ext >&5
29455 glibcxx_cv_S_ISREG=no
29457 rm -f conftest.err conftest.$ac_objext \
29458 conftest$ac_exeext conftest.$ac_ext
29462 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29463 echo $ECHO_N "(cached) $ECHO_C" >&6
29464 else
29466 if test x$gcc_no_link = xyes; then
29467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29469 { (exit 1); exit 1; }; }
29471 cat >conftest.$ac_ext <<_ACEOF
29472 /* confdefs.h. */
29473 _ACEOF
29474 cat confdefs.h >>conftest.$ac_ext
29475 cat >>conftest.$ac_ext <<_ACEOF
29476 /* end confdefs.h. */
29477 #include <sys/stat.h>
29479 main ()
29481 struct stat buffer;
29482 fstat(0, &buffer);
29483 S_IFREG & buffer.st_mode;
29485 return 0;
29487 _ACEOF
29488 rm -f conftest.$ac_objext conftest$ac_exeext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29490 (eval $ac_link) 2>conftest.er1
29491 ac_status=$?
29492 grep -v '^ *+' conftest.er1 >conftest.err
29493 rm -f conftest.er1
29494 cat conftest.err >&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try='test -z "$ac_c_werror_flag"
29498 || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29507 ac_status=$?
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 glibcxx_cv_S_IFREG=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29515 glibcxx_cv_S_IFREG=no
29517 rm -f conftest.err conftest.$ac_objext \
29518 conftest$ac_exeext conftest.$ac_ext
29522 res=no
29523 if test $glibcxx_cv_S_ISREG = yes; then
29525 cat >>confdefs.h <<\_ACEOF
29526 #define HAVE_S_ISREG 1
29527 _ACEOF
29529 res=S_ISREG
29530 elif test $glibcxx_cv_S_IFREG = yes; then
29532 cat >>confdefs.h <<\_ACEOF
29533 #define HAVE_S_IFREG 1
29534 _ACEOF
29536 res=S_IFREG
29538 echo "$as_me:$LINENO: result: $res" >&5
29539 echo "${ECHO_T}$res" >&6
29542 # For xsputn_2().
29544 for ac_header in sys/uio.h
29546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29548 echo "$as_me:$LINENO: checking for $ac_header" >&5
29549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29555 else
29556 # Is the header compilable?
29557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29559 cat >conftest.$ac_ext <<_ACEOF
29560 /* confdefs.h. */
29561 _ACEOF
29562 cat confdefs.h >>conftest.$ac_ext
29563 cat >>conftest.$ac_ext <<_ACEOF
29564 /* end confdefs.h. */
29565 $ac_includes_default
29566 #include <$ac_header>
29567 _ACEOF
29568 rm -f conftest.$ac_objext
29569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29570 (eval $ac_compile) 2>conftest.er1
29571 ac_status=$?
29572 grep -v '^ *+' conftest.er1 >conftest.err
29573 rm -f conftest.er1
29574 cat conftest.err >&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try='test -z "$ac_c_werror_flag"
29578 || test ! -s conftest.err'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29581 ac_status=$?
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; } &&
29584 { ac_try='test -s conftest.$ac_objext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29587 ac_status=$?
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29590 ac_header_compiler=yes
29591 else
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29595 ac_header_compiler=no
29597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29599 echo "${ECHO_T}$ac_header_compiler" >&6
29601 # Is the header present?
29602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610 #include <$ac_header>
29611 _ACEOF
29612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29614 ac_status=$?
29615 grep -v '^ *+' conftest.er1 >conftest.err
29616 rm -f conftest.er1
29617 cat conftest.err >&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } >/dev/null; then
29620 if test -s conftest.err; then
29621 ac_cpp_err=$ac_c_preproc_warn_flag
29622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29623 else
29624 ac_cpp_err=
29626 else
29627 ac_cpp_err=yes
29629 if test -z "$ac_cpp_err"; then
29630 ac_header_preproc=yes
29631 else
29632 echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.$ac_ext >&5
29635 ac_header_preproc=no
29637 rm -f conftest.err conftest.$ac_ext
29638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29639 echo "${ECHO_T}$ac_header_preproc" >&6
29641 # So? What about this header?
29642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29643 yes:no: )
29644 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29648 ac_header_preproc=yes
29650 no:yes:* )
29651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29654 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29655 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29658 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29664 cat <<\_ASBOX
29665 ## ----------------------------------------- ##
29666 ## Report this to the package-unused lists. ##
29667 ## ----------------------------------------- ##
29668 _ASBOX
29670 sed "s/^/$as_me: WARNING: /" >&2
29672 esac
29673 echo "$as_me:$LINENO: checking for $ac_header" >&5
29674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29676 echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678 eval "$as_ac_Header=\$ac_header_preproc"
29680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29685 cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29687 _ACEOF
29691 done
29694 echo "$as_me:$LINENO: checking for writev" >&5
29695 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29696 if test "${glibcxx_cv_WRITEV+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29700 if test x$gcc_no_link = xyes; then
29701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29703 { (exit 1); exit 1; }; }
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 #include <sys/uio.h>
29713 main ()
29715 struct iovec iov[2];
29716 writev(0, iov, 0);
29718 return 0;
29720 _ACEOF
29721 rm -f conftest.$ac_objext conftest$ac_exeext
29722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29723 (eval $ac_link) 2>conftest.er1
29724 ac_status=$?
29725 grep -v '^ *+' conftest.er1 >conftest.err
29726 rm -f conftest.er1
29727 cat conftest.err >&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); } &&
29730 { ac_try='test -z "$ac_c_werror_flag"
29731 || test ! -s conftest.err'
29732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733 (eval $ac_try) 2>&5
29734 ac_status=$?
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; } &&
29737 { ac_try='test -s conftest$ac_exeext'
29738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739 (eval $ac_try) 2>&5
29740 ac_status=$?
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); }; }; then
29743 glibcxx_cv_WRITEV=yes
29744 else
29745 echo "$as_me: failed program was:" >&5
29746 sed 's/^/| /' conftest.$ac_ext >&5
29748 glibcxx_cv_WRITEV=no
29750 rm -f conftest.err conftest.$ac_objext \
29751 conftest$ac_exeext conftest.$ac_ext
29755 if test $glibcxx_cv_WRITEV = yes; then
29757 cat >>confdefs.h <<\_ACEOF
29758 #define HAVE_WRITEV 1
29759 _ACEOF
29762 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29763 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29766 # For the __streamoff_base_type typedef.
29768 echo "$as_me:$LINENO: checking for int64_t" >&5
29769 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29770 if test "${glibcxx_cv_INT64_T+set}" = set; then
29771 echo $ECHO_N "(cached) $ECHO_C" >&6
29772 else
29774 cat >conftest.$ac_ext <<_ACEOF
29775 /* confdefs.h. */
29776 _ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29780 #include <stdint.h>
29782 main ()
29784 int64_t var;
29786 return 0;
29788 _ACEOF
29789 rm -f conftest.$ac_objext
29790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29791 (eval $ac_compile) 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } &&
29798 { ac_try='test -z "$ac_c_werror_flag"
29799 || test ! -s conftest.err'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; } &&
29805 { ac_try='test -s conftest.$ac_objext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 glibcxx_cv_INT64_T=yes
29812 else
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.$ac_ext >&5
29816 glibcxx_cv_INT64_T=no
29818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29822 if test $glibcxx_cv_INT64_T = yes; then
29824 cat >>confdefs.h <<\_ACEOF
29825 #define HAVE_INT64_T 1
29826 _ACEOF
29829 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29830 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29833 # For LFS support.
29837 ac_ext=cc
29838 ac_cpp='$CXXCPP $CPPFLAGS'
29839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29843 ac_save_CXXFLAGS="$CXXFLAGS"
29844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29845 echo "$as_me:$LINENO: checking for LFS support" >&5
29846 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29847 if test "${glibcxx_cv_LFS+set}" = set; then
29848 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 else
29851 if test x$gcc_no_link = xyes; then
29852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29854 { (exit 1); exit 1; }; }
29856 cat >conftest.$ac_ext <<_ACEOF
29857 /* confdefs.h. */
29858 _ACEOF
29859 cat confdefs.h >>conftest.$ac_ext
29860 cat >>conftest.$ac_ext <<_ACEOF
29861 /* end confdefs.h. */
29862 #include <unistd.h>
29863 #include <stdio.h>
29864 #include <sys/stat.h>
29867 main ()
29869 FILE* fp;
29870 fopen64("t", "w");
29871 fseeko64(fp, 0, SEEK_CUR);
29872 ftello64(fp);
29873 lseek64(1, 0, SEEK_CUR);
29874 struct stat64 buf;
29875 fstat64(1, &buf);
29877 return 0;
29879 _ACEOF
29880 rm -f conftest.$ac_objext conftest$ac_exeext
29881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29882 (eval $ac_link) 2>conftest.er1
29883 ac_status=$?
29884 grep -v '^ *+' conftest.er1 >conftest.err
29885 rm -f conftest.er1
29886 cat conftest.err >&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); } &&
29889 { ac_try='test -z "$ac_cxx_werror_flag"
29890 || test ! -s conftest.err'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; } &&
29896 { ac_try='test -s conftest$ac_exeext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29899 ac_status=$?
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902 glibcxx_cv_LFS=yes
29903 else
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 glibcxx_cv_LFS=no
29909 rm -f conftest.err conftest.$ac_objext \
29910 conftest$ac_exeext conftest.$ac_ext
29914 if test $glibcxx_cv_LFS = yes; then
29916 cat >>confdefs.h <<\_ACEOF
29917 #define _GLIBCXX_USE_LFS 1
29918 _ACEOF
29921 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29922 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29923 CXXFLAGS="$ac_save_CXXFLAGS"
29924 ac_ext=c
29925 ac_cpp='$CPP $CPPFLAGS'
29926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29933 if test "${ac_cv_header_locale_h+set}" = set; then
29934 echo "$as_me:$LINENO: checking for locale.h" >&5
29935 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29936 if test "${ac_cv_header_locale_h+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29939 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29940 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29941 else
29942 # Is the header compilable?
29943 echo "$as_me:$LINENO: checking locale.h usability" >&5
29944 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29945 cat >conftest.$ac_ext <<_ACEOF
29946 /* confdefs.h. */
29947 _ACEOF
29948 cat confdefs.h >>conftest.$ac_ext
29949 cat >>conftest.$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29951 $ac_includes_default
29952 #include <locale.h>
29953 _ACEOF
29954 rm -f conftest.$ac_objext
29955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29956 (eval $ac_compile) 2>conftest.er1
29957 ac_status=$?
29958 grep -v '^ *+' conftest.er1 >conftest.err
29959 rm -f conftest.er1
29960 cat conftest.err >&5
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); } &&
29963 { ac_try='test -z "$ac_c_werror_flag"
29964 || test ! -s conftest.err'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29967 ac_status=$?
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; } &&
29970 { ac_try='test -s conftest.$ac_objext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 ac_header_compiler=yes
29977 else
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29981 ac_header_compiler=no
29983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29985 echo "${ECHO_T}$ac_header_compiler" >&6
29987 # Is the header present?
29988 echo "$as_me:$LINENO: checking locale.h presence" >&5
29989 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29990 cat >conftest.$ac_ext <<_ACEOF
29991 /* confdefs.h. */
29992 _ACEOF
29993 cat confdefs.h >>conftest.$ac_ext
29994 cat >>conftest.$ac_ext <<_ACEOF
29995 /* end confdefs.h. */
29996 #include <locale.h>
29997 _ACEOF
29998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30000 ac_status=$?
30001 grep -v '^ *+' conftest.er1 >conftest.err
30002 rm -f conftest.er1
30003 cat conftest.err >&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); } >/dev/null; then
30006 if test -s conftest.err; then
30007 ac_cpp_err=$ac_c_preproc_warn_flag
30008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30009 else
30010 ac_cpp_err=
30012 else
30013 ac_cpp_err=yes
30015 if test -z "$ac_cpp_err"; then
30016 ac_header_preproc=yes
30017 else
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.$ac_ext >&5
30021 ac_header_preproc=no
30023 rm -f conftest.err conftest.$ac_ext
30024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30025 echo "${ECHO_T}$ac_header_preproc" >&6
30027 # So? What about this header?
30028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30029 yes:no: )
30030 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30031 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30032 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30033 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30034 ac_header_preproc=yes
30036 no:yes:* )
30037 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30038 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30039 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30040 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30041 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30042 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30043 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30044 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30045 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30046 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30047 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30048 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30050 cat <<\_ASBOX
30051 ## ----------------------------------------- ##
30052 ## Report this to the package-unused lists. ##
30053 ## ----------------------------------------- ##
30054 _ASBOX
30056 sed "s/^/$as_me: WARNING: /" >&2
30058 esac
30059 echo "$as_me:$LINENO: checking for locale.h" >&5
30060 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30061 if test "${ac_cv_header_locale_h+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 ac_cv_header_locale_h=$ac_header_preproc
30066 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30067 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30070 if test $ac_cv_header_locale_h = yes; then
30072 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30073 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30074 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30075 echo $ECHO_N "(cached) $ECHO_C" >&6
30076 else
30077 if test x$gcc_no_link = xyes; then
30078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30080 { (exit 1); exit 1; }; }
30082 cat >conftest.$ac_ext <<_ACEOF
30083 /* confdefs.h. */
30084 _ACEOF
30085 cat confdefs.h >>conftest.$ac_ext
30086 cat >>conftest.$ac_ext <<_ACEOF
30087 /* end confdefs.h. */
30088 #include <locale.h>
30090 main ()
30092 return LC_MESSAGES
30094 return 0;
30096 _ACEOF
30097 rm -f conftest.$ac_objext conftest$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099 (eval $ac_link) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_c_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest$ac_exeext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 ac_cv_val_LC_MESSAGES=yes
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 ac_cv_val_LC_MESSAGES=no
30126 rm -f conftest.err conftest.$ac_objext \
30127 conftest$ac_exeext conftest.$ac_ext
30129 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30130 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30131 if test $ac_cv_val_LC_MESSAGES = yes; then
30133 cat >>confdefs.h <<\_ACEOF
30134 #define HAVE_LC_MESSAGES 1
30135 _ACEOF
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 #include <setjmp.h>
30152 main ()
30154 sigjmp_buf env;
30155 while (! sigsetjmp (env, 1))
30156 siglongjmp (env, 1);
30159 return 0;
30161 _ACEOF
30162 rm -f conftest.$ac_objext
30163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30164 (eval $ac_compile) 2>conftest.er1
30165 ac_status=$?
30166 grep -v '^ *+' conftest.er1 >conftest.err
30167 rm -f conftest.er1
30168 cat conftest.err >&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); } &&
30171 { ac_try='test -z "$ac_c_werror_flag"
30172 || test ! -s conftest.err'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30175 ac_status=$?
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; } &&
30178 { ac_try='test -s conftest.$ac_objext'
30179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180 (eval $ac_try) 2>&5
30181 ac_status=$?
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); }; }; then
30185 cat >>confdefs.h <<\_ACEOF
30186 #define HAVE_SIGSETJMP 1
30187 _ACEOF
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30196 if test x$gcc_no_link = xyes; then
30197 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30198 ac_cv_func_mmap_fixed_mapped=no
30201 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30204 for ac_header in stdlib.h unistd.h
30206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30208 echo "$as_me:$LINENO: checking for $ac_header" >&5
30209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30211 echo $ECHO_N "(cached) $ECHO_C" >&6
30213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30215 else
30216 # Is the header compilable?
30217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30219 cat >conftest.$ac_ext <<_ACEOF
30220 /* confdefs.h. */
30221 _ACEOF
30222 cat confdefs.h >>conftest.$ac_ext
30223 cat >>conftest.$ac_ext <<_ACEOF
30224 /* end confdefs.h. */
30225 $ac_includes_default
30226 #include <$ac_header>
30227 _ACEOF
30228 rm -f conftest.$ac_objext
30229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30230 (eval $ac_compile) 2>conftest.er1
30231 ac_status=$?
30232 grep -v '^ *+' conftest.er1 >conftest.err
30233 rm -f conftest.er1
30234 cat conftest.err >&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); } &&
30237 { ac_try='test -z "$ac_c_werror_flag"
30238 || test ! -s conftest.err'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30241 ac_status=$?
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; } &&
30244 { ac_try='test -s conftest.$ac_objext'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30247 ac_status=$?
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; }; then
30250 ac_header_compiler=yes
30251 else
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30255 ac_header_compiler=no
30257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30259 echo "${ECHO_T}$ac_header_compiler" >&6
30261 # Is the header present?
30262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30264 cat >conftest.$ac_ext <<_ACEOF
30265 /* confdefs.h. */
30266 _ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270 #include <$ac_header>
30271 _ACEOF
30272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30274 ac_status=$?
30275 grep -v '^ *+' conftest.er1 >conftest.err
30276 rm -f conftest.er1
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } >/dev/null; then
30280 if test -s conftest.err; then
30281 ac_cpp_err=$ac_c_preproc_warn_flag
30282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30283 else
30284 ac_cpp_err=
30286 else
30287 ac_cpp_err=yes
30289 if test -z "$ac_cpp_err"; then
30290 ac_header_preproc=yes
30291 else
30292 echo "$as_me: failed program was:" >&5
30293 sed 's/^/| /' conftest.$ac_ext >&5
30295 ac_header_preproc=no
30297 rm -f conftest.err conftest.$ac_ext
30298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30299 echo "${ECHO_T}$ac_header_preproc" >&6
30301 # So? What about this header?
30302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30303 yes:no: )
30304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30308 ac_header_preproc=yes
30310 no:yes:* )
30311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30324 cat <<\_ASBOX
30325 ## ----------------------------------------- ##
30326 ## Report this to the package-unused lists. ##
30327 ## ----------------------------------------- ##
30328 _ASBOX
30330 sed "s/^/$as_me: WARNING: /" >&2
30332 esac
30333 echo "$as_me:$LINENO: checking for $ac_header" >&5
30334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 else
30338 eval "$as_ac_Header=\$ac_header_preproc"
30340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30345 cat >>confdefs.h <<_ACEOF
30346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30347 _ACEOF
30351 done
30354 for ac_func in getpagesize
30356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30357 echo "$as_me:$LINENO: checking for $ac_func" >&5
30358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30359 if eval "test \"\${$as_ac_var+set}\" = set"; then
30360 echo $ECHO_N "(cached) $ECHO_C" >&6
30361 else
30362 if test x$gcc_no_link = xyes; then
30363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30365 { (exit 1); exit 1; }; }
30367 cat >conftest.$ac_ext <<_ACEOF
30368 /* confdefs.h. */
30369 _ACEOF
30370 cat confdefs.h >>conftest.$ac_ext
30371 cat >>conftest.$ac_ext <<_ACEOF
30372 /* end confdefs.h. */
30373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30375 #define $ac_func innocuous_$ac_func
30377 /* System header to define __stub macros and hopefully few prototypes,
30378 which can conflict with char $ac_func (); below.
30379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30380 <limits.h> exists even on freestanding compilers. */
30382 #ifdef __STDC__
30383 # include <limits.h>
30384 #else
30385 # include <assert.h>
30386 #endif
30388 #undef $ac_func
30390 /* Override any gcc2 internal prototype to avoid an error. */
30391 #ifdef __cplusplus
30392 extern "C"
30394 #endif
30395 /* We use char because int might match the return type of a gcc2
30396 builtin and then its argument prototype would still apply. */
30397 char $ac_func ();
30398 /* The GNU C library defines this for functions which it implements
30399 to always fail with ENOSYS. Some functions are actually named
30400 something starting with __ and the normal name is an alias. */
30401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30402 choke me
30403 #else
30404 char (*f) () = $ac_func;
30405 #endif
30406 #ifdef __cplusplus
30408 #endif
30411 main ()
30413 return f != $ac_func;
30415 return 0;
30417 _ACEOF
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30420 (eval $ac_link) 2>conftest.er1
30421 ac_status=$?
30422 grep -v '^ *+' conftest.er1 >conftest.err
30423 rm -f conftest.er1
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } &&
30427 { ac_try='test -z "$ac_c_werror_flag"
30428 || test ! -s conftest.err'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; } &&
30434 { ac_try='test -s conftest$ac_exeext'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; }; then
30440 eval "$as_ac_var=yes"
30441 else
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.$ac_ext >&5
30445 eval "$as_ac_var=no"
30447 rm -f conftest.err conftest.$ac_objext \
30448 conftest$ac_exeext conftest.$ac_ext
30450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30452 if test `eval echo '${'$as_ac_var'}'` = yes; then
30453 cat >>confdefs.h <<_ACEOF
30454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30455 _ACEOF
30458 done
30460 echo "$as_me:$LINENO: checking for working mmap" >&5
30461 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30462 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30464 else
30465 if test "$cross_compiling" = yes; then
30466 ac_cv_func_mmap_fixed_mapped=no
30467 else
30468 cat >conftest.$ac_ext <<_ACEOF
30469 /* confdefs.h. */
30470 _ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474 $ac_includes_default
30475 /* malloc might have been renamed as rpl_malloc. */
30476 #undef malloc
30478 /* Thanks to Mike Haertel and Jim Avera for this test.
30479 Here is a matrix of mmap possibilities:
30480 mmap private not fixed
30481 mmap private fixed at somewhere currently unmapped
30482 mmap private fixed at somewhere already mapped
30483 mmap shared not fixed
30484 mmap shared fixed at somewhere currently unmapped
30485 mmap shared fixed at somewhere already mapped
30486 For private mappings, we should verify that changes cannot be read()
30487 back from the file, nor mmap's back from the file at a different
30488 address. (There have been systems where private was not correctly
30489 implemented like the infamous i386 svr4.0, and systems where the
30490 VM page cache was not coherent with the file system buffer cache
30491 like early versions of FreeBSD and possibly contemporary NetBSD.)
30492 For shared mappings, we should conversely verify that changes get
30493 propagated back to all the places they're supposed to be.
30495 Grep wants private fixed already mapped.
30496 The main things grep needs to know about mmap are:
30497 * does it exist and is it safe to write into the mmap'd area
30498 * how to use it (BSD variants) */
30500 #include <fcntl.h>
30501 #include <sys/mman.h>
30503 #if !STDC_HEADERS && !HAVE_STDLIB_H
30504 char *malloc ();
30505 #endif
30507 /* This mess was copied from the GNU getpagesize.h. */
30508 #if !HAVE_GETPAGESIZE
30509 /* Assume that all systems that can run configure have sys/param.h. */
30510 # if !HAVE_SYS_PARAM_H
30511 # define HAVE_SYS_PARAM_H 1
30512 # endif
30514 # ifdef _SC_PAGESIZE
30515 # define getpagesize() sysconf(_SC_PAGESIZE)
30516 # else /* no _SC_PAGESIZE */
30517 # if HAVE_SYS_PARAM_H
30518 # include <sys/param.h>
30519 # ifdef EXEC_PAGESIZE
30520 # define getpagesize() EXEC_PAGESIZE
30521 # else /* no EXEC_PAGESIZE */
30522 # ifdef NBPG
30523 # define getpagesize() NBPG * CLSIZE
30524 # ifndef CLSIZE
30525 # define CLSIZE 1
30526 # endif /* no CLSIZE */
30527 # else /* no NBPG */
30528 # ifdef NBPC
30529 # define getpagesize() NBPC
30530 # else /* no NBPC */
30531 # ifdef PAGESIZE
30532 # define getpagesize() PAGESIZE
30533 # endif /* PAGESIZE */
30534 # endif /* no NBPC */
30535 # endif /* no NBPG */
30536 # endif /* no EXEC_PAGESIZE */
30537 # else /* no HAVE_SYS_PARAM_H */
30538 # define getpagesize() 8192 /* punt totally */
30539 # endif /* no HAVE_SYS_PARAM_H */
30540 # endif /* no _SC_PAGESIZE */
30542 #endif /* no HAVE_GETPAGESIZE */
30545 main ()
30547 char *data, *data2, *data3;
30548 int i, pagesize;
30549 int fd;
30551 pagesize = getpagesize ();
30553 /* First, make a file with some known garbage in it. */
30554 data = (char *) malloc (pagesize);
30555 if (!data)
30556 exit (1);
30557 for (i = 0; i < pagesize; ++i)
30558 *(data + i) = rand ();
30559 umask (0);
30560 fd = creat ("conftest.mmap", 0600);
30561 if (fd < 0)
30562 exit (1);
30563 if (write (fd, data, pagesize) != pagesize)
30564 exit (1);
30565 close (fd);
30567 /* Next, try to mmap the file at a fixed address which already has
30568 something else allocated at it. If we can, also make sure that
30569 we see the same garbage. */
30570 fd = open ("conftest.mmap", O_RDWR);
30571 if (fd < 0)
30572 exit (1);
30573 data2 = (char *) malloc (2 * pagesize);
30574 if (!data2)
30575 exit (1);
30576 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30577 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30578 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30579 exit (1);
30580 for (i = 0; i < pagesize; ++i)
30581 if (*(data + i) != *(data2 + i))
30582 exit (1);
30584 /* Finally, make sure that changes to the mapped area do not
30585 percolate back to the file as seen by read(). (This is a bug on
30586 some variants of i386 svr4.0.) */
30587 for (i = 0; i < pagesize; ++i)
30588 *(data2 + i) = *(data2 + i) + 1;
30589 data3 = (char *) malloc (pagesize);
30590 if (!data3)
30591 exit (1);
30592 if (read (fd, data3, pagesize) != pagesize)
30593 exit (1);
30594 for (i = 0; i < pagesize; ++i)
30595 if (*(data + i) != *(data3 + i))
30596 exit (1);
30597 close (fd);
30598 exit (0);
30600 _ACEOF
30601 rm -f conftest$ac_exeext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30603 (eval $ac_link) 2>&5
30604 ac_status=$?
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30609 ac_status=$?
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; }; then
30612 ac_cv_func_mmap_fixed_mapped=yes
30613 else
30614 echo "$as_me: program exited with status $ac_status" >&5
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 ( exit $ac_status )
30619 ac_cv_func_mmap_fixed_mapped=no
30621 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30624 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30625 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30626 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30628 cat >>confdefs.h <<\_ACEOF
30629 #define HAVE_MMAP 1
30630 _ACEOF
30633 rm -f conftest.mmap
30637 else
30639 # This lets us hard-code the functionality we know we'll have in the cross
30640 # target environment. "Let" is a sugar-coated word placed on an especially
30641 # dull and tedious hack, actually.
30643 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30644 # that involve linking, can't be used:
30645 # "cannot open sim-crt0.o"
30646 # "cannot open crt0.o"
30647 # etc. All this is because there currently exists no unified, consistent
30648 # way for top level CC information to be passed down to target directories:
30649 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30650 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30651 # crosses can be removed.
30653 # If Canadian cross, then don't pick up tools from the build directory.
30654 # Used only in GLIBCXX_EXPORT_INCLUDES.
30655 if test -n "$with_cross_host" &&
30656 test x"$build_alias" != x"$with_cross_host" &&
30657 test x"$build" != x"$target";
30658 then
30659 CANADIAN=yes
30660 else
30661 CANADIAN=no
30664 # Construct crosses by hand, eliminating bits that need ld...
30665 # GLIBCXX_CHECK_COMPILER_FEATURES
30666 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30667 # GLIBCXX_CHECK_MATH_SUPPORT
30669 # First, test for "known" system libraries. We may be using newlib even
30670 # on a hosted environment.
30671 if test "x${with_newlib}" = "xyes"; then
30672 os_include_dir="os/newlib"
30673 cat >>confdefs.h <<\_ACEOF
30674 #define HAVE_HYPOT 1
30675 _ACEOF
30678 # GLIBCXX_CHECK_STDLIB_SUPPORT
30679 cat >>confdefs.h <<\_ACEOF
30680 #define HAVE_STRTOF 1
30681 _ACEOF
30683 # AC_FUNC_MMAP
30684 cat >>confdefs.h <<\_ACEOF
30685 #define HAVE_MMAP 1
30686 _ACEOF
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_ACOSF 1
30691 _ACEOF
30693 cat >>confdefs.h <<\_ACEOF
30694 #define HAVE_ASINF 1
30695 _ACEOF
30697 cat >>confdefs.h <<\_ACEOF
30698 #define HAVE_ATAN2F 1
30699 _ACEOF
30701 cat >>confdefs.h <<\_ACEOF
30702 #define HAVE_ATANF 1
30703 _ACEOF
30705 cat >>confdefs.h <<\_ACEOF
30706 #define HAVE_CEILF 1
30707 _ACEOF
30709 cat >>confdefs.h <<\_ACEOF
30710 #define HAVE_COPYSIGN 1
30711 _ACEOF
30713 cat >>confdefs.h <<\_ACEOF
30714 #define HAVE_COPYSIGNF 1
30715 _ACEOF
30717 cat >>confdefs.h <<\_ACEOF
30718 #define HAVE_COSF 1
30719 _ACEOF
30721 cat >>confdefs.h <<\_ACEOF
30722 #define HAVE_COSHF 1
30723 _ACEOF
30725 cat >>confdefs.h <<\_ACEOF
30726 #define HAVE_EXPF 1
30727 _ACEOF
30729 cat >>confdefs.h <<\_ACEOF
30730 #define HAVE_FABSF 1
30731 _ACEOF
30733 cat >>confdefs.h <<\_ACEOF
30734 #define HAVE_FLOORF 1
30735 _ACEOF
30737 cat >>confdefs.h <<\_ACEOF
30738 #define HAVE_FMODF 1
30739 _ACEOF
30741 cat >>confdefs.h <<\_ACEOF
30742 #define HAVE_FREXPF 1
30743 _ACEOF
30745 cat >>confdefs.h <<\_ACEOF
30746 #define HAVE_LDEXPF 1
30747 _ACEOF
30749 cat >>confdefs.h <<\_ACEOF
30750 #define HAVE_LOG10F 1
30751 _ACEOF
30753 cat >>confdefs.h <<\_ACEOF
30754 #define HAVE_LOGF 1
30755 _ACEOF
30757 cat >>confdefs.h <<\_ACEOF
30758 #define HAVE_MODFF 1
30759 _ACEOF
30761 cat >>confdefs.h <<\_ACEOF
30762 #define HAVE_POWF 1
30763 _ACEOF
30765 cat >>confdefs.h <<\_ACEOF
30766 #define HAVE_SINF 1
30767 _ACEOF
30769 cat >>confdefs.h <<\_ACEOF
30770 #define HAVE_SINHF 1
30771 _ACEOF
30773 cat >>confdefs.h <<\_ACEOF
30774 #define HAVE_SQRTF 1
30775 _ACEOF
30777 cat >>confdefs.h <<\_ACEOF
30778 #define HAVE_TANF 1
30779 _ACEOF
30781 cat >>confdefs.h <<\_ACEOF
30782 #define HAVE_TANHF 1
30783 _ACEOF
30786 cat >>confdefs.h <<\_ACEOF
30787 #define HAVE_S_ISREG 1
30788 _ACEOF
30790 cat >>confdefs.h <<\_ACEOF
30791 #define HAVE_S_IFREG 1
30792 _ACEOF
30794 else
30796 # Base decisions on target environment.
30797 case "${host}" in
30798 arm*-*-symbianelf*)
30799 # This is a freestanding configuration; there is nothing to do here.
30802 *-darwin*)
30803 # Darwin versions vary, but the linker should work in a cross environment,
30804 # so we just check for all the features here.
30805 # Check for available headers.
30819 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30820 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30821 sys/types.h
30823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30825 echo "$as_me:$LINENO: checking for $ac_header" >&5
30826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30832 else
30833 # Is the header compilable?
30834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30836 cat >conftest.$ac_ext <<_ACEOF
30837 /* confdefs.h. */
30838 _ACEOF
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842 $ac_includes_default
30843 #include <$ac_header>
30844 _ACEOF
30845 rm -f conftest.$ac_objext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30847 (eval $ac_compile) 2>conftest.er1
30848 ac_status=$?
30849 grep -v '^ *+' conftest.er1 >conftest.err
30850 rm -f conftest.er1
30851 cat conftest.err >&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -z "$ac_c_werror_flag"
30855 || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try='test -s conftest.$ac_objext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 ac_header_compiler=yes
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30872 ac_header_compiler=no
30874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30876 echo "${ECHO_T}$ac_header_compiler" >&6
30878 # Is the header present?
30879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30881 cat >conftest.$ac_ext <<_ACEOF
30882 /* confdefs.h. */
30883 _ACEOF
30884 cat confdefs.h >>conftest.$ac_ext
30885 cat >>conftest.$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887 #include <$ac_header>
30888 _ACEOF
30889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30891 ac_status=$?
30892 grep -v '^ *+' conftest.er1 >conftest.err
30893 rm -f conftest.er1
30894 cat conftest.err >&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); } >/dev/null; then
30897 if test -s conftest.err; then
30898 ac_cpp_err=$ac_c_preproc_warn_flag
30899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30900 else
30901 ac_cpp_err=
30903 else
30904 ac_cpp_err=yes
30906 if test -z "$ac_cpp_err"; then
30907 ac_header_preproc=yes
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30912 ac_header_preproc=no
30914 rm -f conftest.err conftest.$ac_ext
30915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30916 echo "${ECHO_T}$ac_header_preproc" >&6
30918 # So? What about this header?
30919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30920 yes:no: )
30921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30925 ac_header_preproc=yes
30927 no:yes:* )
30928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30941 cat <<\_ASBOX
30942 ## ----------------------------------------- ##
30943 ## Report this to the package-unused lists. ##
30944 ## ----------------------------------------- ##
30945 _ASBOX
30947 sed "s/^/$as_me: WARNING: /" >&2
30949 esac
30950 echo "$as_me:$LINENO: checking for $ac_header" >&5
30951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 eval "$as_ac_Header=\$ac_header_preproc"
30957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30962 cat >>confdefs.h <<_ACEOF
30963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30964 _ACEOF
30968 done
30972 # All these tests are for C++; save the language and the compiler flags.
30973 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30974 # found in GLIBCXX_CONFIGURE.
30977 ac_ext=cc
30978 ac_cpp='$CXXCPP $CPPFLAGS'
30979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30983 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30984 ac_save_CXXFLAGS="$CXXFLAGS"
30986 # Check for maintainer-mode bits.
30987 if test x"$USE_MAINTAINER_MODE" = xno; then
30988 WERROR=''
30989 else
30990 WERROR='-Werror'
30993 # Check for -ffunction-sections -fdata-sections
30994 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30995 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30996 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30997 cat >conftest.$ac_ext <<_ACEOF
30998 /* confdefs.h. */
30999 _ACEOF
31000 cat confdefs.h >>conftest.$ac_ext
31001 cat >>conftest.$ac_ext <<_ACEOF
31002 /* end confdefs.h. */
31005 main ()
31007 int foo;
31009 return 0;
31011 _ACEOF
31012 rm -f conftest.$ac_objext
31013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31014 (eval $ac_compile) 2>conftest.er1
31015 ac_status=$?
31016 grep -v '^ *+' conftest.er1 >conftest.err
31017 rm -f conftest.er1
31018 cat conftest.err >&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } &&
31021 { ac_try='test -z "$ac_cxx_werror_flag"
31022 || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 ac_fdsections=yes
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31039 ac_fdsections=no
31041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31042 if test "$ac_test_CXXFLAGS" = set; then
31043 CXXFLAGS="$ac_save_CXXFLAGS"
31044 else
31045 # this is the suspicious part
31046 CXXFLAGS=''
31048 if test x"$ac_fdsections" = x"yes"; then
31049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31051 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31052 echo "${ECHO_T}$ac_fdsections" >&6
31054 ac_ext=c
31055 ac_cpp='$CPP $CPPFLAGS'
31056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31063 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31065 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31066 ac_save_CXXFLAGS="$CXXFLAGS"
31067 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31069 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31070 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31071 if test "${ac_cv_lib_m_sin+set}" = set; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31073 else
31074 ac_check_lib_save_LIBS=$LIBS
31075 LIBS="-lm $LIBS"
31076 if test x$gcc_no_link = xyes; then
31077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31079 { (exit 1); exit 1; }; }
31081 cat >conftest.$ac_ext <<_ACEOF
31082 /* confdefs.h. */
31083 _ACEOF
31084 cat confdefs.h >>conftest.$ac_ext
31085 cat >>conftest.$ac_ext <<_ACEOF
31086 /* end confdefs.h. */
31088 /* Override any gcc2 internal prototype to avoid an error. */
31089 #ifdef __cplusplus
31090 extern "C"
31091 #endif
31092 /* We use char because int might match the return type of a gcc2
31093 builtin and then its argument prototype would still apply. */
31094 char sin ();
31096 main ()
31098 sin ();
31100 return 0;
31102 _ACEOF
31103 rm -f conftest.$ac_objext conftest$ac_exeext
31104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31105 (eval $ac_link) 2>conftest.er1
31106 ac_status=$?
31107 grep -v '^ *+' conftest.er1 >conftest.err
31108 rm -f conftest.er1
31109 cat conftest.err >&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); } &&
31112 { ac_try='test -z "$ac_c_werror_flag"
31113 || test ! -s conftest.err'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31116 ac_status=$?
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; } &&
31119 { ac_try='test -s conftest$ac_exeext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31122 ac_status=$?
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125 ac_cv_lib_m_sin=yes
31126 else
31127 echo "$as_me: failed program was:" >&5
31128 sed 's/^/| /' conftest.$ac_ext >&5
31130 ac_cv_lib_m_sin=no
31132 rm -f conftest.err conftest.$ac_objext \
31133 conftest$ac_exeext conftest.$ac_ext
31134 LIBS=$ac_check_lib_save_LIBS
31136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31137 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31138 if test $ac_cv_lib_m_sin = yes; then
31139 libm="-lm"
31142 ac_save_LIBS="$LIBS"
31143 LIBS="$LIBS $libm"
31147 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31148 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31149 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31150 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 else
31156 ac_ext=cc
31157 ac_cpp='$CXXCPP $CPPFLAGS'
31158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31162 cat >conftest.$ac_ext <<_ACEOF
31163 /* confdefs.h. */
31164 _ACEOF
31165 cat confdefs.h >>conftest.$ac_ext
31166 cat >>conftest.$ac_ext <<_ACEOF
31167 /* end confdefs.h. */
31168 #include <math.h>
31169 #ifdef HAVE_IEEEFP_H
31170 #include <ieeefp.h>
31171 #endif
31174 main ()
31176 isinf(0);
31178 return 0;
31180 _ACEOF
31181 rm -f conftest.$ac_objext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31183 (eval $ac_compile) 2>conftest.er1
31184 ac_status=$?
31185 grep -v '^ *+' conftest.er1 >conftest.err
31186 rm -f conftest.er1
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } &&
31190 { ac_try='test -z "$ac_cxx_werror_flag"
31191 || test ! -s conftest.err'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; } &&
31197 { ac_try='test -s conftest.$ac_objext'
31198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31199 (eval $ac_try) 2>&5
31200 ac_status=$?
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); }; }; then
31203 glibcxx_cv_func_isinf_use=yes
31204 else
31205 echo "$as_me: failed program was:" >&5
31206 sed 's/^/| /' conftest.$ac_ext >&5
31208 glibcxx_cv_func_isinf_use=no
31210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31211 ac_ext=c
31212 ac_cpp='$CPP $CPPFLAGS'
31213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31222 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31224 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31226 for ac_func in isinf
31228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31229 echo "$as_me:$LINENO: checking for $ac_func" >&5
31230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31231 if eval "test \"\${$as_ac_var+set}\" = set"; then
31232 echo $ECHO_N "(cached) $ECHO_C" >&6
31233 else
31234 if test x$gcc_no_link = xyes; then
31235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31237 { (exit 1); exit 1; }; }
31239 cat >conftest.$ac_ext <<_ACEOF
31240 /* confdefs.h. */
31241 _ACEOF
31242 cat confdefs.h >>conftest.$ac_ext
31243 cat >>conftest.$ac_ext <<_ACEOF
31244 /* end confdefs.h. */
31245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31247 #define $ac_func innocuous_$ac_func
31249 /* System header to define __stub macros and hopefully few prototypes,
31250 which can conflict with char $ac_func (); below.
31251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31252 <limits.h> exists even on freestanding compilers. */
31254 #ifdef __STDC__
31255 # include <limits.h>
31256 #else
31257 # include <assert.h>
31258 #endif
31260 #undef $ac_func
31262 /* Override any gcc2 internal prototype to avoid an error. */
31263 #ifdef __cplusplus
31264 extern "C"
31266 #endif
31267 /* We use char because int might match the return type of a gcc2
31268 builtin and then its argument prototype would still apply. */
31269 char $ac_func ();
31270 /* The GNU C library defines this for functions which it implements
31271 to always fail with ENOSYS. Some functions are actually named
31272 something starting with __ and the normal name is an alias. */
31273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31274 choke me
31275 #else
31276 char (*f) () = $ac_func;
31277 #endif
31278 #ifdef __cplusplus
31280 #endif
31283 main ()
31285 return f != $ac_func;
31287 return 0;
31289 _ACEOF
31290 rm -f conftest.$ac_objext conftest$ac_exeext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31292 (eval $ac_link) 2>conftest.er1
31293 ac_status=$?
31294 grep -v '^ *+' conftest.er1 >conftest.err
31295 rm -f conftest.er1
31296 cat conftest.err >&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try='test -z "$ac_c_werror_flag"
31300 || test ! -s conftest.err'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; } &&
31306 { ac_try='test -s conftest$ac_exeext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312 eval "$as_ac_var=yes"
31313 else
31314 echo "$as_me: failed program was:" >&5
31315 sed 's/^/| /' conftest.$ac_ext >&5
31317 eval "$as_ac_var=no"
31319 rm -f conftest.err conftest.$ac_objext \
31320 conftest$ac_exeext conftest.$ac_ext
31322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31324 if test `eval echo '${'$as_ac_var'}'` = yes; then
31325 cat >>confdefs.h <<_ACEOF
31326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31327 _ACEOF
31330 done
31332 else
31334 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31335 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31336 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31337 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 else
31343 ac_ext=cc
31344 ac_cpp='$CXXCPP $CPPFLAGS'
31345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31349 cat >conftest.$ac_ext <<_ACEOF
31350 /* confdefs.h. */
31351 _ACEOF
31352 cat confdefs.h >>conftest.$ac_ext
31353 cat >>conftest.$ac_ext <<_ACEOF
31354 /* end confdefs.h. */
31355 #include <math.h>
31356 #ifdef HAVE_IEEEFP_H
31357 #include <ieeefp.h>
31358 #endif
31361 main ()
31363 _isinf(0);
31365 return 0;
31367 _ACEOF
31368 rm -f conftest.$ac_objext
31369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31370 (eval $ac_compile) 2>conftest.er1
31371 ac_status=$?
31372 grep -v '^ *+' conftest.er1 >conftest.err
31373 rm -f conftest.er1
31374 cat conftest.err >&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } &&
31377 { ac_try='test -z "$ac_cxx_werror_flag"
31378 || test ! -s conftest.err'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31381 ac_status=$?
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; } &&
31384 { ac_try='test -s conftest.$ac_objext'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31387 ac_status=$?
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; }; then
31390 glibcxx_cv_func__isinf_use=yes
31391 else
31392 echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.$ac_ext >&5
31395 glibcxx_cv_func__isinf_use=no
31397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31398 ac_ext=c
31399 ac_cpp='$CPP $CPPFLAGS'
31400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31409 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31411 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31413 for ac_func in _isinf
31415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31416 echo "$as_me:$LINENO: checking for $ac_func" >&5
31417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31418 if eval "test \"\${$as_ac_var+set}\" = set"; then
31419 echo $ECHO_N "(cached) $ECHO_C" >&6
31420 else
31421 if test x$gcc_no_link = xyes; then
31422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31424 { (exit 1); exit 1; }; }
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31434 #define $ac_func innocuous_$ac_func
31436 /* System header to define __stub macros and hopefully few prototypes,
31437 which can conflict with char $ac_func (); below.
31438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439 <limits.h> exists even on freestanding compilers. */
31441 #ifdef __STDC__
31442 # include <limits.h>
31443 #else
31444 # include <assert.h>
31445 #endif
31447 #undef $ac_func
31449 /* Override any gcc2 internal prototype to avoid an error. */
31450 #ifdef __cplusplus
31451 extern "C"
31453 #endif
31454 /* We use char because int might match the return type of a gcc2
31455 builtin and then its argument prototype would still apply. */
31456 char $ac_func ();
31457 /* The GNU C library defines this for functions which it implements
31458 to always fail with ENOSYS. Some functions are actually named
31459 something starting with __ and the normal name is an alias. */
31460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31461 choke me
31462 #else
31463 char (*f) () = $ac_func;
31464 #endif
31465 #ifdef __cplusplus
31467 #endif
31470 main ()
31472 return f != $ac_func;
31474 return 0;
31476 _ACEOF
31477 rm -f conftest.$ac_objext conftest$ac_exeext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31479 (eval $ac_link) 2>conftest.er1
31480 ac_status=$?
31481 grep -v '^ *+' conftest.er1 >conftest.err
31482 rm -f conftest.er1
31483 cat conftest.err >&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } &&
31486 { ac_try='test -z "$ac_c_werror_flag"
31487 || test ! -s conftest.err'
31488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31489 (eval $ac_try) 2>&5
31490 ac_status=$?
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); }; } &&
31493 { ac_try='test -s conftest$ac_exeext'
31494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31495 (eval $ac_try) 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; }; then
31499 eval "$as_ac_var=yes"
31500 else
31501 echo "$as_me: failed program was:" >&5
31502 sed 's/^/| /' conftest.$ac_ext >&5
31504 eval "$as_ac_var=no"
31506 rm -f conftest.err conftest.$ac_objext \
31507 conftest$ac_exeext conftest.$ac_ext
31509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31511 if test `eval echo '${'$as_ac_var'}'` = yes; then
31512 cat >>confdefs.h <<_ACEOF
31513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31514 _ACEOF
31517 done
31527 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31528 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31529 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31530 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 else
31536 ac_ext=cc
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat >conftest.$ac_ext <<_ACEOF
31543 /* confdefs.h. */
31544 _ACEOF
31545 cat confdefs.h >>conftest.$ac_ext
31546 cat >>conftest.$ac_ext <<_ACEOF
31547 /* end confdefs.h. */
31548 #include <math.h>
31549 #ifdef HAVE_IEEEFP_H
31550 #include <ieeefp.h>
31551 #endif
31554 main ()
31556 isnan(0);
31558 return 0;
31560 _ACEOF
31561 rm -f conftest.$ac_objext
31562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31563 (eval $ac_compile) 2>conftest.er1
31564 ac_status=$?
31565 grep -v '^ *+' conftest.er1 >conftest.err
31566 rm -f conftest.er1
31567 cat conftest.err >&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); } &&
31570 { ac_try='test -z "$ac_cxx_werror_flag"
31571 || test ! -s conftest.err'
31572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573 (eval $ac_try) 2>&5
31574 ac_status=$?
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); }; } &&
31577 { ac_try='test -s conftest.$ac_objext'
31578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31579 (eval $ac_try) 2>&5
31580 ac_status=$?
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); }; }; then
31583 glibcxx_cv_func_isnan_use=yes
31584 else
31585 echo "$as_me: failed program was:" >&5
31586 sed 's/^/| /' conftest.$ac_ext >&5
31588 glibcxx_cv_func_isnan_use=no
31590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31591 ac_ext=c
31592 ac_cpp='$CPP $CPPFLAGS'
31593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31602 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31604 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31606 for ac_func in isnan
31608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31609 echo "$as_me:$LINENO: checking for $ac_func" >&5
31610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31611 if eval "test \"\${$as_ac_var+set}\" = set"; then
31612 echo $ECHO_N "(cached) $ECHO_C" >&6
31613 else
31614 if test x$gcc_no_link = xyes; then
31615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31617 { (exit 1); exit 1; }; }
31619 cat >conftest.$ac_ext <<_ACEOF
31620 /* confdefs.h. */
31621 _ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h. */
31625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31627 #define $ac_func innocuous_$ac_func
31629 /* System header to define __stub macros and hopefully few prototypes,
31630 which can conflict with char $ac_func (); below.
31631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31632 <limits.h> exists even on freestanding compilers. */
31634 #ifdef __STDC__
31635 # include <limits.h>
31636 #else
31637 # include <assert.h>
31638 #endif
31640 #undef $ac_func
31642 /* Override any gcc2 internal prototype to avoid an error. */
31643 #ifdef __cplusplus
31644 extern "C"
31646 #endif
31647 /* We use char because int might match the return type of a gcc2
31648 builtin and then its argument prototype would still apply. */
31649 char $ac_func ();
31650 /* The GNU C library defines this for functions which it implements
31651 to always fail with ENOSYS. Some functions are actually named
31652 something starting with __ and the normal name is an alias. */
31653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31654 choke me
31655 #else
31656 char (*f) () = $ac_func;
31657 #endif
31658 #ifdef __cplusplus
31660 #endif
31663 main ()
31665 return f != $ac_func;
31667 return 0;
31669 _ACEOF
31670 rm -f conftest.$ac_objext conftest$ac_exeext
31671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31672 (eval $ac_link) 2>conftest.er1
31673 ac_status=$?
31674 grep -v '^ *+' conftest.er1 >conftest.err
31675 rm -f conftest.er1
31676 cat conftest.err >&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); } &&
31679 { ac_try='test -z "$ac_c_werror_flag"
31680 || test ! -s conftest.err'
31681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31682 (eval $ac_try) 2>&5
31683 ac_status=$?
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); }; } &&
31686 { ac_try='test -s conftest$ac_exeext'
31687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31688 (eval $ac_try) 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; }; then
31692 eval "$as_ac_var=yes"
31693 else
31694 echo "$as_me: failed program was:" >&5
31695 sed 's/^/| /' conftest.$ac_ext >&5
31697 eval "$as_ac_var=no"
31699 rm -f conftest.err conftest.$ac_objext \
31700 conftest$ac_exeext conftest.$ac_ext
31702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31704 if test `eval echo '${'$as_ac_var'}'` = yes; then
31705 cat >>confdefs.h <<_ACEOF
31706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31707 _ACEOF
31710 done
31712 else
31714 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31715 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31716 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31717 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31718 echo $ECHO_N "(cached) $ECHO_C" >&6
31719 else
31723 ac_ext=cc
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 #include <math.h>
31736 #ifdef HAVE_IEEEFP_H
31737 #include <ieeefp.h>
31738 #endif
31741 main ()
31743 _isnan(0);
31745 return 0;
31747 _ACEOF
31748 rm -f conftest.$ac_objext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31750 (eval $ac_compile) 2>conftest.er1
31751 ac_status=$?
31752 grep -v '^ *+' conftest.er1 >conftest.err
31753 rm -f conftest.er1
31754 cat conftest.err >&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } &&
31757 { ac_try='test -z "$ac_cxx_werror_flag"
31758 || test ! -s conftest.err'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31761 ac_status=$?
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; } &&
31764 { ac_try='test -s conftest.$ac_objext'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; }; then
31770 glibcxx_cv_func__isnan_use=yes
31771 else
31772 echo "$as_me: failed program was:" >&5
31773 sed 's/^/| /' conftest.$ac_ext >&5
31775 glibcxx_cv_func__isnan_use=no
31777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31778 ac_ext=c
31779 ac_cpp='$CPP $CPPFLAGS'
31780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31789 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31791 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31793 for ac_func in _isnan
31795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31796 echo "$as_me:$LINENO: checking for $ac_func" >&5
31797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31798 if eval "test \"\${$as_ac_var+set}\" = set"; then
31799 echo $ECHO_N "(cached) $ECHO_C" >&6
31800 else
31801 if test x$gcc_no_link = xyes; then
31802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31804 { (exit 1); exit 1; }; }
31806 cat >conftest.$ac_ext <<_ACEOF
31807 /* confdefs.h. */
31808 _ACEOF
31809 cat confdefs.h >>conftest.$ac_ext
31810 cat >>conftest.$ac_ext <<_ACEOF
31811 /* end confdefs.h. */
31812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31814 #define $ac_func innocuous_$ac_func
31816 /* System header to define __stub macros and hopefully few prototypes,
31817 which can conflict with char $ac_func (); below.
31818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31819 <limits.h> exists even on freestanding compilers. */
31821 #ifdef __STDC__
31822 # include <limits.h>
31823 #else
31824 # include <assert.h>
31825 #endif
31827 #undef $ac_func
31829 /* Override any gcc2 internal prototype to avoid an error. */
31830 #ifdef __cplusplus
31831 extern "C"
31833 #endif
31834 /* We use char because int might match the return type of a gcc2
31835 builtin and then its argument prototype would still apply. */
31836 char $ac_func ();
31837 /* The GNU C library defines this for functions which it implements
31838 to always fail with ENOSYS. Some functions are actually named
31839 something starting with __ and the normal name is an alias. */
31840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31841 choke me
31842 #else
31843 char (*f) () = $ac_func;
31844 #endif
31845 #ifdef __cplusplus
31847 #endif
31850 main ()
31852 return f != $ac_func;
31854 return 0;
31856 _ACEOF
31857 rm -f conftest.$ac_objext conftest$ac_exeext
31858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31859 (eval $ac_link) 2>conftest.er1
31860 ac_status=$?
31861 grep -v '^ *+' conftest.er1 >conftest.err
31862 rm -f conftest.er1
31863 cat conftest.err >&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); } &&
31866 { ac_try='test -z "$ac_c_werror_flag"
31867 || test ! -s conftest.err'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31870 ac_status=$?
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; } &&
31873 { ac_try='test -s conftest$ac_exeext'
31874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31875 (eval $ac_try) 2>&5
31876 ac_status=$?
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); }; }; then
31879 eval "$as_ac_var=yes"
31880 else
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31884 eval "$as_ac_var=no"
31886 rm -f conftest.err conftest.$ac_objext \
31887 conftest$ac_exeext conftest.$ac_ext
31889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31891 if test `eval echo '${'$as_ac_var'}'` = yes; then
31892 cat >>confdefs.h <<_ACEOF
31893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31894 _ACEOF
31897 done
31907 echo "$as_me:$LINENO: checking for finite declaration" >&5
31908 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31909 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31910 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31911 echo $ECHO_N "(cached) $ECHO_C" >&6
31912 else
31916 ac_ext=cc
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922 cat >conftest.$ac_ext <<_ACEOF
31923 /* confdefs.h. */
31924 _ACEOF
31925 cat confdefs.h >>conftest.$ac_ext
31926 cat >>conftest.$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31928 #include <math.h>
31929 #ifdef HAVE_IEEEFP_H
31930 #include <ieeefp.h>
31931 #endif
31934 main ()
31936 finite(0);
31938 return 0;
31940 _ACEOF
31941 rm -f conftest.$ac_objext
31942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31943 (eval $ac_compile) 2>conftest.er1
31944 ac_status=$?
31945 grep -v '^ *+' conftest.er1 >conftest.err
31946 rm -f conftest.er1
31947 cat conftest.err >&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); } &&
31950 { ac_try='test -z "$ac_cxx_werror_flag"
31951 || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31954 ac_status=$?
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 glibcxx_cv_func_finite_use=yes
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31968 glibcxx_cv_func_finite_use=no
31970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31971 ac_ext=c
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31982 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31984 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31986 for ac_func in finite
31988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31989 echo "$as_me:$LINENO: checking for $ac_func" >&5
31990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31991 if eval "test \"\${$as_ac_var+set}\" = set"; then
31992 echo $ECHO_N "(cached) $ECHO_C" >&6
31993 else
31994 if test x$gcc_no_link = xyes; then
31995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31997 { (exit 1); exit 1; }; }
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32007 #define $ac_func innocuous_$ac_func
32009 /* System header to define __stub macros and hopefully few prototypes,
32010 which can conflict with char $ac_func (); below.
32011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32012 <limits.h> exists even on freestanding compilers. */
32014 #ifdef __STDC__
32015 # include <limits.h>
32016 #else
32017 # include <assert.h>
32018 #endif
32020 #undef $ac_func
32022 /* Override any gcc2 internal prototype to avoid an error. */
32023 #ifdef __cplusplus
32024 extern "C"
32026 #endif
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32029 char $ac_func ();
32030 /* The GNU C library defines this for functions which it implements
32031 to always fail with ENOSYS. Some functions are actually named
32032 something starting with __ and the normal name is an alias. */
32033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32034 choke me
32035 #else
32036 char (*f) () = $ac_func;
32037 #endif
32038 #ifdef __cplusplus
32040 #endif
32043 main ()
32045 return f != $ac_func;
32047 return 0;
32049 _ACEOF
32050 rm -f conftest.$ac_objext conftest$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32063 ac_status=$?
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try='test -s conftest$ac_exeext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32069 ac_status=$?
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32072 eval "$as_ac_var=yes"
32073 else
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32077 eval "$as_ac_var=no"
32079 rm -f conftest.err conftest.$ac_objext \
32080 conftest$ac_exeext conftest.$ac_ext
32082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32084 if test `eval echo '${'$as_ac_var'}'` = yes; then
32085 cat >>confdefs.h <<_ACEOF
32086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32087 _ACEOF
32090 done
32092 else
32094 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32095 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32096 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32097 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32098 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 else
32103 ac_ext=cc
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 #include <math.h>
32116 #ifdef HAVE_IEEEFP_H
32117 #include <ieeefp.h>
32118 #endif
32121 main ()
32123 _finite(0);
32125 return 0;
32127 _ACEOF
32128 rm -f conftest.$ac_objext
32129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32130 (eval $ac_compile) 2>conftest.er1
32131 ac_status=$?
32132 grep -v '^ *+' conftest.er1 >conftest.err
32133 rm -f conftest.er1
32134 cat conftest.err >&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } &&
32137 { ac_try='test -z "$ac_cxx_werror_flag"
32138 || test ! -s conftest.err'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32141 ac_status=$?
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; } &&
32144 { ac_try='test -s conftest.$ac_objext'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; }; then
32150 glibcxx_cv_func__finite_use=yes
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32155 glibcxx_cv_func__finite_use=no
32157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32158 ac_ext=c
32159 ac_cpp='$CPP $CPPFLAGS'
32160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32169 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32171 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32173 for ac_func in _finite
32175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32176 echo "$as_me:$LINENO: checking for $ac_func" >&5
32177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32178 if eval "test \"\${$as_ac_var+set}\" = set"; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 else
32181 if test x$gcc_no_link = xyes; then
32182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32184 { (exit 1); exit 1; }; }
32186 cat >conftest.$ac_ext <<_ACEOF
32187 /* confdefs.h. */
32188 _ACEOF
32189 cat confdefs.h >>conftest.$ac_ext
32190 cat >>conftest.$ac_ext <<_ACEOF
32191 /* end confdefs.h. */
32192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32194 #define $ac_func innocuous_$ac_func
32196 /* System header to define __stub macros and hopefully few prototypes,
32197 which can conflict with char $ac_func (); below.
32198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32199 <limits.h> exists even on freestanding compilers. */
32201 #ifdef __STDC__
32202 # include <limits.h>
32203 #else
32204 # include <assert.h>
32205 #endif
32207 #undef $ac_func
32209 /* Override any gcc2 internal prototype to avoid an error. */
32210 #ifdef __cplusplus
32211 extern "C"
32213 #endif
32214 /* We use char because int might match the return type of a gcc2
32215 builtin and then its argument prototype would still apply. */
32216 char $ac_func ();
32217 /* The GNU C library defines this for functions which it implements
32218 to always fail with ENOSYS. Some functions are actually named
32219 something starting with __ and the normal name is an alias. */
32220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32221 choke me
32222 #else
32223 char (*f) () = $ac_func;
32224 #endif
32225 #ifdef __cplusplus
32227 #endif
32230 main ()
32232 return f != $ac_func;
32234 return 0;
32236 _ACEOF
32237 rm -f conftest.$ac_objext conftest$ac_exeext
32238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32239 (eval $ac_link) 2>conftest.er1
32240 ac_status=$?
32241 grep -v '^ *+' conftest.er1 >conftest.err
32242 rm -f conftest.er1
32243 cat conftest.err >&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } &&
32246 { ac_try='test -z "$ac_c_werror_flag"
32247 || test ! -s conftest.err'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32250 ac_status=$?
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; } &&
32253 { ac_try='test -s conftest$ac_exeext'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32256 ac_status=$?
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; }; then
32259 eval "$as_ac_var=yes"
32260 else
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.$ac_ext >&5
32264 eval "$as_ac_var=no"
32266 rm -f conftest.err conftest.$ac_objext \
32267 conftest$ac_exeext conftest.$ac_ext
32269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32271 if test `eval echo '${'$as_ac_var'}'` = yes; then
32272 cat >>confdefs.h <<_ACEOF
32273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32274 _ACEOF
32277 done
32287 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32288 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32289 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32290 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32291 echo $ECHO_N "(cached) $ECHO_C" >&6
32292 else
32296 ac_ext=cc
32297 ac_cpp='$CXXCPP $CPPFLAGS'
32298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32302 cat >conftest.$ac_ext <<_ACEOF
32303 /* confdefs.h. */
32304 _ACEOF
32305 cat confdefs.h >>conftest.$ac_ext
32306 cat >>conftest.$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308 #include <math.h>
32310 main ()
32312 copysign(0, 0);
32314 return 0;
32316 _ACEOF
32317 rm -f conftest.$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_cxx_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try='test -s conftest.$ac_objext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32336 ac_status=$?
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 glibcxx_cv_func_copysign_use=yes
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32344 glibcxx_cv_func_copysign_use=no
32346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32347 ac_ext=c
32348 ac_cpp='$CPP $CPPFLAGS'
32349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32358 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32360 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32362 for ac_func in copysign
32364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32365 echo "$as_me:$LINENO: checking for $ac_func" >&5
32366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32367 if eval "test \"\${$as_ac_var+set}\" = set"; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32370 if test x$gcc_no_link = xyes; then
32371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32373 { (exit 1); exit 1; }; }
32375 cat >conftest.$ac_ext <<_ACEOF
32376 /* confdefs.h. */
32377 _ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32383 #define $ac_func innocuous_$ac_func
32385 /* System header to define __stub macros and hopefully few prototypes,
32386 which can conflict with char $ac_func (); below.
32387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32388 <limits.h> exists even on freestanding compilers. */
32390 #ifdef __STDC__
32391 # include <limits.h>
32392 #else
32393 # include <assert.h>
32394 #endif
32396 #undef $ac_func
32398 /* Override any gcc2 internal prototype to avoid an error. */
32399 #ifdef __cplusplus
32400 extern "C"
32402 #endif
32403 /* We use char because int might match the return type of a gcc2
32404 builtin and then its argument prototype would still apply. */
32405 char $ac_func ();
32406 /* The GNU C library defines this for functions which it implements
32407 to always fail with ENOSYS. Some functions are actually named
32408 something starting with __ and the normal name is an alias. */
32409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32410 choke me
32411 #else
32412 char (*f) () = $ac_func;
32413 #endif
32414 #ifdef __cplusplus
32416 #endif
32419 main ()
32421 return f != $ac_func;
32423 return 0;
32425 _ACEOF
32426 rm -f conftest.$ac_objext conftest$ac_exeext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32428 (eval $ac_link) 2>conftest.er1
32429 ac_status=$?
32430 grep -v '^ *+' conftest.er1 >conftest.err
32431 rm -f conftest.er1
32432 cat conftest.err >&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } &&
32435 { ac_try='test -z "$ac_c_werror_flag"
32436 || test ! -s conftest.err'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32439 ac_status=$?
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; } &&
32442 { ac_try='test -s conftest$ac_exeext'
32443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32444 (eval $ac_try) 2>&5
32445 ac_status=$?
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; }; then
32448 eval "$as_ac_var=yes"
32449 else
32450 echo "$as_me: failed program was:" >&5
32451 sed 's/^/| /' conftest.$ac_ext >&5
32453 eval "$as_ac_var=no"
32455 rm -f conftest.err conftest.$ac_objext \
32456 conftest$ac_exeext conftest.$ac_ext
32458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32460 if test `eval echo '${'$as_ac_var'}'` = yes; then
32461 cat >>confdefs.h <<_ACEOF
32462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32463 _ACEOF
32466 done
32468 else
32470 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32471 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32472 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32473 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 else
32479 ac_ext=cc
32480 ac_cpp='$CXXCPP $CPPFLAGS'
32481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32485 cat >conftest.$ac_ext <<_ACEOF
32486 /* confdefs.h. */
32487 _ACEOF
32488 cat confdefs.h >>conftest.$ac_ext
32489 cat >>conftest.$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32491 #include <math.h>
32493 main ()
32495 _copysign(0, 0);
32497 return 0;
32499 _ACEOF
32500 rm -f conftest.$ac_objext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32502 (eval $ac_compile) 2>conftest.er1
32503 ac_status=$?
32504 grep -v '^ *+' conftest.er1 >conftest.err
32505 rm -f conftest.er1
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_cxx_werror_flag"
32510 || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32513 ac_status=$?
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try='test -s conftest.$ac_objext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32519 ac_status=$?
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32522 glibcxx_cv_func__copysign_use=yes
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32527 glibcxx_cv_func__copysign_use=no
32529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32530 ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32541 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32543 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32545 for ac_func in _copysign
32547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32548 echo "$as_me:$LINENO: checking for $ac_func" >&5
32549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32550 if eval "test \"\${$as_ac_var+set}\" = set"; then
32551 echo $ECHO_N "(cached) $ECHO_C" >&6
32552 else
32553 if test x$gcc_no_link = xyes; then
32554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32556 { (exit 1); exit 1; }; }
32558 cat >conftest.$ac_ext <<_ACEOF
32559 /* confdefs.h. */
32560 _ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h. */
32564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32566 #define $ac_func innocuous_$ac_func
32568 /* System header to define __stub macros and hopefully few prototypes,
32569 which can conflict with char $ac_func (); below.
32570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32571 <limits.h> exists even on freestanding compilers. */
32573 #ifdef __STDC__
32574 # include <limits.h>
32575 #else
32576 # include <assert.h>
32577 #endif
32579 #undef $ac_func
32581 /* Override any gcc2 internal prototype to avoid an error. */
32582 #ifdef __cplusplus
32583 extern "C"
32585 #endif
32586 /* We use char because int might match the return type of a gcc2
32587 builtin and then its argument prototype would still apply. */
32588 char $ac_func ();
32589 /* The GNU C library defines this for functions which it implements
32590 to always fail with ENOSYS. Some functions are actually named
32591 something starting with __ and the normal name is an alias. */
32592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32593 choke me
32594 #else
32595 char (*f) () = $ac_func;
32596 #endif
32597 #ifdef __cplusplus
32599 #endif
32602 main ()
32604 return f != $ac_func;
32606 return 0;
32608 _ACEOF
32609 rm -f conftest.$ac_objext conftest$ac_exeext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32611 (eval $ac_link) 2>conftest.er1
32612 ac_status=$?
32613 grep -v '^ *+' conftest.er1 >conftest.err
32614 rm -f conftest.er1
32615 cat conftest.err >&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try='test -z "$ac_c_werror_flag"
32619 || test ! -s conftest.err'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32622 ac_status=$?
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; } &&
32625 { ac_try='test -s conftest$ac_exeext'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32628 ac_status=$?
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32631 eval "$as_ac_var=yes"
32632 else
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32636 eval "$as_ac_var=no"
32638 rm -f conftest.err conftest.$ac_objext \
32639 conftest$ac_exeext conftest.$ac_ext
32641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32643 if test `eval echo '${'$as_ac_var'}'` = yes; then
32644 cat >>confdefs.h <<_ACEOF
32645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32646 _ACEOF
32649 done
32659 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32660 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32661 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32662 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32664 else
32668 ac_ext=cc
32669 ac_cpp='$CXXCPP $CPPFLAGS'
32670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32674 cat >conftest.$ac_ext <<_ACEOF
32675 /* confdefs.h. */
32676 _ACEOF
32677 cat confdefs.h >>conftest.$ac_ext
32678 cat >>conftest.$ac_ext <<_ACEOF
32679 /* end confdefs.h. */
32680 #include <math.h>
32682 main ()
32684 sincos(0, 0, 0);
32686 return 0;
32688 _ACEOF
32689 rm -f conftest.$ac_objext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32691 (eval $ac_compile) 2>conftest.er1
32692 ac_status=$?
32693 grep -v '^ *+' conftest.er1 >conftest.err
32694 rm -f conftest.er1
32695 cat conftest.err >&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try='test -z "$ac_cxx_werror_flag"
32699 || test ! -s conftest.err'
32700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701 (eval $ac_try) 2>&5
32702 ac_status=$?
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); }; } &&
32705 { ac_try='test -s conftest.$ac_objext'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; }; then
32711 glibcxx_cv_func_sincos_use=yes
32712 else
32713 echo "$as_me: failed program was:" >&5
32714 sed 's/^/| /' conftest.$ac_ext >&5
32716 glibcxx_cv_func_sincos_use=no
32718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32719 ac_ext=c
32720 ac_cpp='$CPP $CPPFLAGS'
32721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32730 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32732 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32734 for ac_func in sincos
32736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32737 echo "$as_me:$LINENO: checking for $ac_func" >&5
32738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32739 if eval "test \"\${$as_ac_var+set}\" = set"; then
32740 echo $ECHO_N "(cached) $ECHO_C" >&6
32741 else
32742 if test x$gcc_no_link = xyes; then
32743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32745 { (exit 1); exit 1; }; }
32747 cat >conftest.$ac_ext <<_ACEOF
32748 /* confdefs.h. */
32749 _ACEOF
32750 cat confdefs.h >>conftest.$ac_ext
32751 cat >>conftest.$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32755 #define $ac_func innocuous_$ac_func
32757 /* System header to define __stub macros and hopefully few prototypes,
32758 which can conflict with char $ac_func (); below.
32759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32760 <limits.h> exists even on freestanding compilers. */
32762 #ifdef __STDC__
32763 # include <limits.h>
32764 #else
32765 # include <assert.h>
32766 #endif
32768 #undef $ac_func
32770 /* Override any gcc2 internal prototype to avoid an error. */
32771 #ifdef __cplusplus
32772 extern "C"
32774 #endif
32775 /* We use char because int might match the return type of a gcc2
32776 builtin and then its argument prototype would still apply. */
32777 char $ac_func ();
32778 /* The GNU C library defines this for functions which it implements
32779 to always fail with ENOSYS. Some functions are actually named
32780 something starting with __ and the normal name is an alias. */
32781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32782 choke me
32783 #else
32784 char (*f) () = $ac_func;
32785 #endif
32786 #ifdef __cplusplus
32788 #endif
32791 main ()
32793 return f != $ac_func;
32795 return 0;
32797 _ACEOF
32798 rm -f conftest.$ac_objext conftest$ac_exeext
32799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32800 (eval $ac_link) 2>conftest.er1
32801 ac_status=$?
32802 grep -v '^ *+' conftest.er1 >conftest.err
32803 rm -f conftest.er1
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } &&
32807 { ac_try='test -z "$ac_c_werror_flag"
32808 || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32811 ac_status=$?
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try='test -s conftest$ac_exeext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32817 ac_status=$?
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 eval "$as_ac_var=yes"
32821 else
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32825 eval "$as_ac_var=no"
32827 rm -f conftest.err conftest.$ac_objext \
32828 conftest$ac_exeext conftest.$ac_ext
32830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32832 if test `eval echo '${'$as_ac_var'}'` = yes; then
32833 cat >>confdefs.h <<_ACEOF
32834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32835 _ACEOF
32838 done
32840 else
32842 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32843 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32844 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32845 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32851 ac_ext=cc
32852 ac_cpp='$CXXCPP $CPPFLAGS'
32853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32857 cat >conftest.$ac_ext <<_ACEOF
32858 /* confdefs.h. */
32859 _ACEOF
32860 cat confdefs.h >>conftest.$ac_ext
32861 cat >>conftest.$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863 #include <math.h>
32865 main ()
32867 _sincos(0, 0, 0);
32869 return 0;
32871 _ACEOF
32872 rm -f conftest.$ac_objext
32873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32874 (eval $ac_compile) 2>conftest.er1
32875 ac_status=$?
32876 grep -v '^ *+' conftest.er1 >conftest.err
32877 rm -f conftest.er1
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } &&
32881 { ac_try='test -z "$ac_cxx_werror_flag"
32882 || test ! -s conftest.err'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32885 ac_status=$?
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; } &&
32888 { ac_try='test -s conftest.$ac_objext'
32889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32890 (eval $ac_try) 2>&5
32891 ac_status=$?
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; }; then
32894 glibcxx_cv_func__sincos_use=yes
32895 else
32896 echo "$as_me: failed program was:" >&5
32897 sed 's/^/| /' conftest.$ac_ext >&5
32899 glibcxx_cv_func__sincos_use=no
32901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32902 ac_ext=c
32903 ac_cpp='$CPP $CPPFLAGS'
32904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32913 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32915 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32917 for ac_func in _sincos
32919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32920 echo "$as_me:$LINENO: checking for $ac_func" >&5
32921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32922 if eval "test \"\${$as_ac_var+set}\" = set"; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 else
32925 if test x$gcc_no_link = xyes; then
32926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32928 { (exit 1); exit 1; }; }
32930 cat >conftest.$ac_ext <<_ACEOF
32931 /* confdefs.h. */
32932 _ACEOF
32933 cat confdefs.h >>conftest.$ac_ext
32934 cat >>conftest.$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32938 #define $ac_func innocuous_$ac_func
32940 /* System header to define __stub macros and hopefully few prototypes,
32941 which can conflict with char $ac_func (); below.
32942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32943 <limits.h> exists even on freestanding compilers. */
32945 #ifdef __STDC__
32946 # include <limits.h>
32947 #else
32948 # include <assert.h>
32949 #endif
32951 #undef $ac_func
32953 /* Override any gcc2 internal prototype to avoid an error. */
32954 #ifdef __cplusplus
32955 extern "C"
32957 #endif
32958 /* We use char because int might match the return type of a gcc2
32959 builtin and then its argument prototype would still apply. */
32960 char $ac_func ();
32961 /* The GNU C library defines this for functions which it implements
32962 to always fail with ENOSYS. Some functions are actually named
32963 something starting with __ and the normal name is an alias. */
32964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32965 choke me
32966 #else
32967 char (*f) () = $ac_func;
32968 #endif
32969 #ifdef __cplusplus
32971 #endif
32974 main ()
32976 return f != $ac_func;
32978 return 0;
32980 _ACEOF
32981 rm -f conftest.$ac_objext conftest$ac_exeext
32982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32983 (eval $ac_link) 2>conftest.er1
32984 ac_status=$?
32985 grep -v '^ *+' conftest.er1 >conftest.err
32986 rm -f conftest.er1
32987 cat conftest.err >&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } &&
32990 { ac_try='test -z "$ac_c_werror_flag"
32991 || test ! -s conftest.err'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; } &&
32997 { ac_try='test -s conftest$ac_exeext'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33000 ac_status=$?
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; }; then
33003 eval "$as_ac_var=yes"
33004 else
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33008 eval "$as_ac_var=no"
33010 rm -f conftest.err conftest.$ac_objext \
33011 conftest$ac_exeext conftest.$ac_ext
33013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33015 if test `eval echo '${'$as_ac_var'}'` = yes; then
33016 cat >>confdefs.h <<_ACEOF
33017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33018 _ACEOF
33021 done
33031 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33032 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33033 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33034 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33035 echo $ECHO_N "(cached) $ECHO_C" >&6
33036 else
33040 ac_ext=cc
33041 ac_cpp='$CXXCPP $CPPFLAGS'
33042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33046 cat >conftest.$ac_ext <<_ACEOF
33047 /* confdefs.h. */
33048 _ACEOF
33049 cat confdefs.h >>conftest.$ac_ext
33050 cat >>conftest.$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33052 #include <math.h>
33053 #ifdef HAVE_IEEEFP_H
33054 #include <ieeefp.h>
33055 #endif
33058 main ()
33060 fpclass(0);
33062 return 0;
33064 _ACEOF
33065 rm -f conftest.$ac_objext
33066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33067 (eval $ac_compile) 2>conftest.er1
33068 ac_status=$?
33069 grep -v '^ *+' conftest.er1 >conftest.err
33070 rm -f conftest.er1
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } &&
33074 { ac_try='test -z "$ac_cxx_werror_flag"
33075 || test ! -s conftest.err'
33076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33077 (eval $ac_try) 2>&5
33078 ac_status=$?
33079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080 (exit $ac_status); }; } &&
33081 { ac_try='test -s conftest.$ac_objext'
33082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33083 (eval $ac_try) 2>&5
33084 ac_status=$?
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); }; }; then
33087 glibcxx_cv_func_fpclass_use=yes
33088 else
33089 echo "$as_me: failed program was:" >&5
33090 sed 's/^/| /' conftest.$ac_ext >&5
33092 glibcxx_cv_func_fpclass_use=no
33094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33095 ac_ext=c
33096 ac_cpp='$CPP $CPPFLAGS'
33097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33106 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33108 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33110 for ac_func in fpclass
33112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33113 echo "$as_me:$LINENO: checking for $ac_func" >&5
33114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33115 if eval "test \"\${$as_ac_var+set}\" = set"; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 else
33118 if test x$gcc_no_link = xyes; then
33119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33121 { (exit 1); exit 1; }; }
33123 cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h. */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33131 #define $ac_func innocuous_$ac_func
33133 /* System header to define __stub macros and hopefully few prototypes,
33134 which can conflict with char $ac_func (); below.
33135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33136 <limits.h> exists even on freestanding compilers. */
33138 #ifdef __STDC__
33139 # include <limits.h>
33140 #else
33141 # include <assert.h>
33142 #endif
33144 #undef $ac_func
33146 /* Override any gcc2 internal prototype to avoid an error. */
33147 #ifdef __cplusplus
33148 extern "C"
33150 #endif
33151 /* We use char because int might match the return type of a gcc2
33152 builtin and then its argument prototype would still apply. */
33153 char $ac_func ();
33154 /* The GNU C library defines this for functions which it implements
33155 to always fail with ENOSYS. Some functions are actually named
33156 something starting with __ and the normal name is an alias. */
33157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33158 choke me
33159 #else
33160 char (*f) () = $ac_func;
33161 #endif
33162 #ifdef __cplusplus
33164 #endif
33167 main ()
33169 return f != $ac_func;
33171 return 0;
33173 _ACEOF
33174 rm -f conftest.$ac_objext conftest$ac_exeext
33175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33176 (eval $ac_link) 2>conftest.er1
33177 ac_status=$?
33178 grep -v '^ *+' conftest.er1 >conftest.err
33179 rm -f conftest.er1
33180 cat conftest.err >&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); } &&
33183 { ac_try='test -z "$ac_c_werror_flag"
33184 || test ! -s conftest.err'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33187 ac_status=$?
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; } &&
33190 { ac_try='test -s conftest$ac_exeext'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33193 ac_status=$?
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; }; then
33196 eval "$as_ac_var=yes"
33197 else
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.$ac_ext >&5
33201 eval "$as_ac_var=no"
33203 rm -f conftest.err conftest.$ac_objext \
33204 conftest$ac_exeext conftest.$ac_ext
33206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33208 if test `eval echo '${'$as_ac_var'}'` = yes; then
33209 cat >>confdefs.h <<_ACEOF
33210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33211 _ACEOF
33214 done
33216 else
33218 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33219 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33220 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33221 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 else
33227 ac_ext=cc
33228 ac_cpp='$CXXCPP $CPPFLAGS'
33229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33233 cat >conftest.$ac_ext <<_ACEOF
33234 /* confdefs.h. */
33235 _ACEOF
33236 cat confdefs.h >>conftest.$ac_ext
33237 cat >>conftest.$ac_ext <<_ACEOF
33238 /* end confdefs.h. */
33239 #include <math.h>
33240 #ifdef HAVE_IEEEFP_H
33241 #include <ieeefp.h>
33242 #endif
33245 main ()
33247 _fpclass(0);
33249 return 0;
33251 _ACEOF
33252 rm -f conftest.$ac_objext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33254 (eval $ac_compile) 2>conftest.er1
33255 ac_status=$?
33256 grep -v '^ *+' conftest.er1 >conftest.err
33257 rm -f conftest.er1
33258 cat conftest.err >&5
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); } &&
33261 { ac_try='test -z "$ac_cxx_werror_flag"
33262 || test ! -s conftest.err'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; } &&
33268 { ac_try='test -s conftest.$ac_objext'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; }; then
33274 glibcxx_cv_func__fpclass_use=yes
33275 else
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33279 glibcxx_cv_func__fpclass_use=no
33281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33282 ac_ext=c
33283 ac_cpp='$CPP $CPPFLAGS'
33284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33293 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33295 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33297 for ac_func in _fpclass
33299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33300 echo "$as_me:$LINENO: checking for $ac_func" >&5
33301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33302 if eval "test \"\${$as_ac_var+set}\" = set"; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33304 else
33305 if test x$gcc_no_link = xyes; then
33306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33308 { (exit 1); exit 1; }; }
33310 cat >conftest.$ac_ext <<_ACEOF
33311 /* confdefs.h. */
33312 _ACEOF
33313 cat confdefs.h >>conftest.$ac_ext
33314 cat >>conftest.$ac_ext <<_ACEOF
33315 /* end confdefs.h. */
33316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33318 #define $ac_func innocuous_$ac_func
33320 /* System header to define __stub macros and hopefully few prototypes,
33321 which can conflict with char $ac_func (); below.
33322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33323 <limits.h> exists even on freestanding compilers. */
33325 #ifdef __STDC__
33326 # include <limits.h>
33327 #else
33328 # include <assert.h>
33329 #endif
33331 #undef $ac_func
33333 /* Override any gcc2 internal prototype to avoid an error. */
33334 #ifdef __cplusplus
33335 extern "C"
33337 #endif
33338 /* We use char because int might match the return type of a gcc2
33339 builtin and then its argument prototype would still apply. */
33340 char $ac_func ();
33341 /* The GNU C library defines this for functions which it implements
33342 to always fail with ENOSYS. Some functions are actually named
33343 something starting with __ and the normal name is an alias. */
33344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33345 choke me
33346 #else
33347 char (*f) () = $ac_func;
33348 #endif
33349 #ifdef __cplusplus
33351 #endif
33354 main ()
33356 return f != $ac_func;
33358 return 0;
33360 _ACEOF
33361 rm -f conftest.$ac_objext conftest$ac_exeext
33362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33363 (eval $ac_link) 2>conftest.er1
33364 ac_status=$?
33365 grep -v '^ *+' conftest.er1 >conftest.err
33366 rm -f conftest.er1
33367 cat conftest.err >&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } &&
33370 { ac_try='test -z "$ac_c_werror_flag"
33371 || test ! -s conftest.err'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; } &&
33377 { ac_try='test -s conftest$ac_exeext'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; }; then
33383 eval "$as_ac_var=yes"
33384 else
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33388 eval "$as_ac_var=no"
33390 rm -f conftest.err conftest.$ac_objext \
33391 conftest$ac_exeext conftest.$ac_ext
33393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33395 if test `eval echo '${'$as_ac_var'}'` = yes; then
33396 cat >>confdefs.h <<_ACEOF
33397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33398 _ACEOF
33401 done
33411 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33412 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33413 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33414 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33415 echo $ECHO_N "(cached) $ECHO_C" >&6
33416 else
33420 ac_ext=cc
33421 ac_cpp='$CXXCPP $CPPFLAGS'
33422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33426 cat >conftest.$ac_ext <<_ACEOF
33427 /* confdefs.h. */
33428 _ACEOF
33429 cat confdefs.h >>conftest.$ac_ext
33430 cat >>conftest.$ac_ext <<_ACEOF
33431 /* end confdefs.h. */
33432 #include <math.h>
33433 #ifdef HAVE_IEEEFP_H
33434 #include <ieeefp.h>
33435 #endif
33438 main ()
33440 qfpclass(0);
33442 return 0;
33444 _ACEOF
33445 rm -f conftest.$ac_objext
33446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33447 (eval $ac_compile) 2>conftest.er1
33448 ac_status=$?
33449 grep -v '^ *+' conftest.er1 >conftest.err
33450 rm -f conftest.er1
33451 cat conftest.err >&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } &&
33454 { ac_try='test -z "$ac_cxx_werror_flag"
33455 || test ! -s conftest.err'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33458 ac_status=$?
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; } &&
33461 { ac_try='test -s conftest.$ac_objext'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; }; then
33467 glibcxx_cv_func_qfpclass_use=yes
33468 else
33469 echo "$as_me: failed program was:" >&5
33470 sed 's/^/| /' conftest.$ac_ext >&5
33472 glibcxx_cv_func_qfpclass_use=no
33474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33486 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33488 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33490 for ac_func in qfpclass
33492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33493 echo "$as_me:$LINENO: checking for $ac_func" >&5
33494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33495 if eval "test \"\${$as_ac_var+set}\" = set"; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497 else
33498 if test x$gcc_no_link = xyes; then
33499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33501 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33511 #define $ac_func innocuous_$ac_func
33513 /* System header to define __stub macros and hopefully few prototypes,
33514 which can conflict with char $ac_func (); below.
33515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33516 <limits.h> exists even on freestanding compilers. */
33518 #ifdef __STDC__
33519 # include <limits.h>
33520 #else
33521 # include <assert.h>
33522 #endif
33524 #undef $ac_func
33526 /* Override any gcc2 internal prototype to avoid an error. */
33527 #ifdef __cplusplus
33528 extern "C"
33530 #endif
33531 /* We use char because int might match the return type of a gcc2
33532 builtin and then its argument prototype would still apply. */
33533 char $ac_func ();
33534 /* The GNU C library defines this for functions which it implements
33535 to always fail with ENOSYS. Some functions are actually named
33536 something starting with __ and the normal name is an alias. */
33537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33538 choke me
33539 #else
33540 char (*f) () = $ac_func;
33541 #endif
33542 #ifdef __cplusplus
33544 #endif
33547 main ()
33549 return f != $ac_func;
33551 return 0;
33553 _ACEOF
33554 rm -f conftest.$ac_objext conftest$ac_exeext
33555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33556 (eval $ac_link) 2>conftest.er1
33557 ac_status=$?
33558 grep -v '^ *+' conftest.er1 >conftest.err
33559 rm -f conftest.er1
33560 cat conftest.err >&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } &&
33563 { ac_try='test -z "$ac_c_werror_flag"
33564 || test ! -s conftest.err'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; } &&
33570 { ac_try='test -s conftest$ac_exeext'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; }; then
33576 eval "$as_ac_var=yes"
33577 else
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33581 eval "$as_ac_var=no"
33583 rm -f conftest.err conftest.$ac_objext \
33584 conftest$ac_exeext conftest.$ac_ext
33586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33588 if test `eval echo '${'$as_ac_var'}'` = yes; then
33589 cat >>confdefs.h <<_ACEOF
33590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33591 _ACEOF
33594 done
33596 else
33598 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33599 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33600 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33601 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 else
33607 ac_ext=cc
33608 ac_cpp='$CXXCPP $CPPFLAGS'
33609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33613 cat >conftest.$ac_ext <<_ACEOF
33614 /* confdefs.h. */
33615 _ACEOF
33616 cat confdefs.h >>conftest.$ac_ext
33617 cat >>conftest.$ac_ext <<_ACEOF
33618 /* end confdefs.h. */
33619 #include <math.h>
33620 #ifdef HAVE_IEEEFP_H
33621 #include <ieeefp.h>
33622 #endif
33625 main ()
33627 _qfpclass(0);
33629 return 0;
33631 _ACEOF
33632 rm -f conftest.$ac_objext
33633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33634 (eval $ac_compile) 2>conftest.er1
33635 ac_status=$?
33636 grep -v '^ *+' conftest.er1 >conftest.err
33637 rm -f conftest.er1
33638 cat conftest.err >&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } &&
33641 { ac_try='test -z "$ac_cxx_werror_flag"
33642 || test ! -s conftest.err'
33643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644 (eval $ac_try) 2>&5
33645 ac_status=$?
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; } &&
33648 { ac_try='test -s conftest.$ac_objext'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; }; then
33654 glibcxx_cv_func__qfpclass_use=yes
33655 else
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.$ac_ext >&5
33659 glibcxx_cv_func__qfpclass_use=no
33661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33662 ac_ext=c
33663 ac_cpp='$CPP $CPPFLAGS'
33664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33673 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33675 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33677 for ac_func in _qfpclass
33679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33680 echo "$as_me:$LINENO: checking for $ac_func" >&5
33681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33682 if eval "test \"\${$as_ac_var+set}\" = set"; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33685 if test x$gcc_no_link = xyes; then
33686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33688 { (exit 1); exit 1; }; }
33690 cat >conftest.$ac_ext <<_ACEOF
33691 /* confdefs.h. */
33692 _ACEOF
33693 cat confdefs.h >>conftest.$ac_ext
33694 cat >>conftest.$ac_ext <<_ACEOF
33695 /* end confdefs.h. */
33696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33698 #define $ac_func innocuous_$ac_func
33700 /* System header to define __stub macros and hopefully few prototypes,
33701 which can conflict with char $ac_func (); below.
33702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703 <limits.h> exists even on freestanding compilers. */
33705 #ifdef __STDC__
33706 # include <limits.h>
33707 #else
33708 # include <assert.h>
33709 #endif
33711 #undef $ac_func
33713 /* Override any gcc2 internal prototype to avoid an error. */
33714 #ifdef __cplusplus
33715 extern "C"
33717 #endif
33718 /* We use char because int might match the return type of a gcc2
33719 builtin and then its argument prototype would still apply. */
33720 char $ac_func ();
33721 /* The GNU C library defines this for functions which it implements
33722 to always fail with ENOSYS. Some functions are actually named
33723 something starting with __ and the normal name is an alias. */
33724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33725 choke me
33726 #else
33727 char (*f) () = $ac_func;
33728 #endif
33729 #ifdef __cplusplus
33731 #endif
33734 main ()
33736 return f != $ac_func;
33738 return 0;
33740 _ACEOF
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33743 (eval $ac_link) 2>conftest.er1
33744 ac_status=$?
33745 grep -v '^ *+' conftest.er1 >conftest.err
33746 rm -f conftest.er1
33747 cat conftest.err >&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); } &&
33750 { ac_try='test -z "$ac_c_werror_flag"
33751 || test ! -s conftest.err'
33752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753 (eval $ac_try) 2>&5
33754 ac_status=$?
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; } &&
33757 { ac_try='test -s conftest$ac_exeext'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; }; then
33763 eval "$as_ac_var=yes"
33764 else
33765 echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.$ac_ext >&5
33768 eval "$as_ac_var=no"
33770 rm -f conftest.err conftest.$ac_objext \
33771 conftest$ac_exeext conftest.$ac_ext
33773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33775 if test `eval echo '${'$as_ac_var'}'` = yes; then
33776 cat >>confdefs.h <<_ACEOF
33777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33778 _ACEOF
33781 done
33791 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33792 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33793 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33794 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 else
33800 ac_ext=cc
33801 ac_cpp='$CXXCPP $CPPFLAGS'
33802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33806 cat >conftest.$ac_ext <<_ACEOF
33807 /* confdefs.h. */
33808 _ACEOF
33809 cat confdefs.h >>conftest.$ac_ext
33810 cat >>conftest.$ac_ext <<_ACEOF
33811 /* end confdefs.h. */
33812 #include <math.h>
33814 main ()
33816 hypot(0, 0);
33818 return 0;
33820 _ACEOF
33821 rm -f conftest.$ac_objext
33822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33823 (eval $ac_compile) 2>conftest.er1
33824 ac_status=$?
33825 grep -v '^ *+' conftest.er1 >conftest.err
33826 rm -f conftest.er1
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } &&
33830 { ac_try='test -z "$ac_cxx_werror_flag"
33831 || test ! -s conftest.err'
33832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33833 (eval $ac_try) 2>&5
33834 ac_status=$?
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); }; } &&
33837 { ac_try='test -s conftest.$ac_objext'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33840 ac_status=$?
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; }; then
33843 glibcxx_cv_func_hypot_use=yes
33844 else
33845 echo "$as_me: failed program was:" >&5
33846 sed 's/^/| /' conftest.$ac_ext >&5
33848 glibcxx_cv_func_hypot_use=no
33850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33862 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33864 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33866 for ac_func in hypot
33868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33869 echo "$as_me:$LINENO: checking for $ac_func" >&5
33870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33871 if eval "test \"\${$as_ac_var+set}\" = set"; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 else
33874 if test x$gcc_no_link = xyes; then
33875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33877 { (exit 1); exit 1; }; }
33879 cat >conftest.$ac_ext <<_ACEOF
33880 /* confdefs.h. */
33881 _ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33887 #define $ac_func innocuous_$ac_func
33889 /* System header to define __stub macros and hopefully few prototypes,
33890 which can conflict with char $ac_func (); below.
33891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33892 <limits.h> exists even on freestanding compilers. */
33894 #ifdef __STDC__
33895 # include <limits.h>
33896 #else
33897 # include <assert.h>
33898 #endif
33900 #undef $ac_func
33902 /* Override any gcc2 internal prototype to avoid an error. */
33903 #ifdef __cplusplus
33904 extern "C"
33906 #endif
33907 /* We use char because int might match the return type of a gcc2
33908 builtin and then its argument prototype would still apply. */
33909 char $ac_func ();
33910 /* The GNU C library defines this for functions which it implements
33911 to always fail with ENOSYS. Some functions are actually named
33912 something starting with __ and the normal name is an alias. */
33913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33914 choke me
33915 #else
33916 char (*f) () = $ac_func;
33917 #endif
33918 #ifdef __cplusplus
33920 #endif
33923 main ()
33925 return f != $ac_func;
33927 return 0;
33929 _ACEOF
33930 rm -f conftest.$ac_objext conftest$ac_exeext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33932 (eval $ac_link) 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try='test -z "$ac_c_werror_flag"
33940 || test ! -s conftest.err'
33941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33942 (eval $ac_try) 2>&5
33943 ac_status=$?
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); }; } &&
33946 { ac_try='test -s conftest$ac_exeext'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33949 ac_status=$?
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; }; then
33952 eval "$as_ac_var=yes"
33953 else
33954 echo "$as_me: failed program was:" >&5
33955 sed 's/^/| /' conftest.$ac_ext >&5
33957 eval "$as_ac_var=no"
33959 rm -f conftest.err conftest.$ac_objext \
33960 conftest$ac_exeext conftest.$ac_ext
33962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33964 if test `eval echo '${'$as_ac_var'}'` = yes; then
33965 cat >>confdefs.h <<_ACEOF
33966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33967 _ACEOF
33970 done
33972 else
33974 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33975 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33976 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33977 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 else
33983 ac_ext=cc
33984 ac_cpp='$CXXCPP $CPPFLAGS'
33985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33989 cat >conftest.$ac_ext <<_ACEOF
33990 /* confdefs.h. */
33991 _ACEOF
33992 cat confdefs.h >>conftest.$ac_ext
33993 cat >>conftest.$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995 #include <math.h>
33997 main ()
33999 _hypot(0, 0);
34001 return 0;
34003 _ACEOF
34004 rm -f conftest.$ac_objext
34005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34006 (eval $ac_compile) 2>conftest.er1
34007 ac_status=$?
34008 grep -v '^ *+' conftest.er1 >conftest.err
34009 rm -f conftest.er1
34010 cat conftest.err >&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } &&
34013 { ac_try='test -z "$ac_cxx_werror_flag"
34014 || test ! -s conftest.err'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34017 ac_status=$?
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; } &&
34020 { ac_try='test -s conftest.$ac_objext'
34021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34022 (eval $ac_try) 2>&5
34023 ac_status=$?
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); }; }; then
34026 glibcxx_cv_func__hypot_use=yes
34027 else
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.$ac_ext >&5
34031 glibcxx_cv_func__hypot_use=no
34033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34034 ac_ext=c
34035 ac_cpp='$CPP $CPPFLAGS'
34036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34045 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34047 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34049 for ac_func in _hypot
34051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34052 echo "$as_me:$LINENO: checking for $ac_func" >&5
34053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34054 if eval "test \"\${$as_ac_var+set}\" = set"; then
34055 echo $ECHO_N "(cached) $ECHO_C" >&6
34056 else
34057 if test x$gcc_no_link = xyes; then
34058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34060 { (exit 1); exit 1; }; }
34062 cat >conftest.$ac_ext <<_ACEOF
34063 /* confdefs.h. */
34064 _ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34070 #define $ac_func innocuous_$ac_func
34072 /* System header to define __stub macros and hopefully few prototypes,
34073 which can conflict with char $ac_func (); below.
34074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075 <limits.h> exists even on freestanding compilers. */
34077 #ifdef __STDC__
34078 # include <limits.h>
34079 #else
34080 # include <assert.h>
34081 #endif
34083 #undef $ac_func
34085 /* Override any gcc2 internal prototype to avoid an error. */
34086 #ifdef __cplusplus
34087 extern "C"
34089 #endif
34090 /* We use char because int might match the return type of a gcc2
34091 builtin and then its argument prototype would still apply. */
34092 char $ac_func ();
34093 /* The GNU C library defines this for functions which it implements
34094 to always fail with ENOSYS. Some functions are actually named
34095 something starting with __ and the normal name is an alias. */
34096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34097 choke me
34098 #else
34099 char (*f) () = $ac_func;
34100 #endif
34101 #ifdef __cplusplus
34103 #endif
34106 main ()
34108 return f != $ac_func;
34110 return 0;
34112 _ACEOF
34113 rm -f conftest.$ac_objext conftest$ac_exeext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34115 (eval $ac_link) 2>conftest.er1
34116 ac_status=$?
34117 grep -v '^ *+' conftest.er1 >conftest.err
34118 rm -f conftest.er1
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try='test -z "$ac_c_werror_flag"
34123 || test ! -s conftest.err'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34126 ac_status=$?
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; } &&
34129 { ac_try='test -s conftest$ac_exeext'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34132 ac_status=$?
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; }; then
34135 eval "$as_ac_var=yes"
34136 else
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.$ac_ext >&5
34140 eval "$as_ac_var=no"
34142 rm -f conftest.err conftest.$ac_objext \
34143 conftest$ac_exeext conftest.$ac_ext
34145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34150 _ACEOF
34153 done
34163 echo "$as_me:$LINENO: checking for float trig functions" >&5
34164 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34165 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34171 ac_ext=cc
34172 ac_cpp='$CXXCPP $CPPFLAGS'
34173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34177 cat >conftest.$ac_ext <<_ACEOF
34178 /* confdefs.h. */
34179 _ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 #include <math.h>
34185 main ()
34187 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34189 return 0;
34191 _ACEOF
34192 rm -f conftest.$ac_objext
34193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34194 (eval $ac_compile) 2>conftest.er1
34195 ac_status=$?
34196 grep -v '^ *+' conftest.er1 >conftest.err
34197 rm -f conftest.er1
34198 cat conftest.err >&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); } &&
34201 { ac_try='test -z "$ac_cxx_werror_flag"
34202 || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34205 ac_status=$?
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 glibcxx_cv_func_float_trig_use=yes
34215 else
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.$ac_ext >&5
34219 glibcxx_cv_func_float_trig_use=no
34221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34222 ac_ext=c
34223 ac_cpp='$CPP $CPPFLAGS'
34224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34231 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34232 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34242 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34245 echo "$as_me:$LINENO: checking for $ac_func" >&5
34246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34247 if eval "test \"\${$as_ac_var+set}\" = set"; then
34248 echo $ECHO_N "(cached) $ECHO_C" >&6
34249 else
34250 if test x$gcc_no_link = xyes; then
34251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34253 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34263 #define $ac_func innocuous_$ac_func
34265 /* System header to define __stub macros and hopefully few prototypes,
34266 which can conflict with char $ac_func (); below.
34267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34268 <limits.h> exists even on freestanding compilers. */
34270 #ifdef __STDC__
34271 # include <limits.h>
34272 #else
34273 # include <assert.h>
34274 #endif
34276 #undef $ac_func
34278 /* Override any gcc2 internal prototype to avoid an error. */
34279 #ifdef __cplusplus
34280 extern "C"
34282 #endif
34283 /* We use char because int might match the return type of a gcc2
34284 builtin and then its argument prototype would still apply. */
34285 char $ac_func ();
34286 /* The GNU C library defines this for functions which it implements
34287 to always fail with ENOSYS. Some functions are actually named
34288 something starting with __ and the normal name is an alias. */
34289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34290 choke me
34291 #else
34292 char (*f) () = $ac_func;
34293 #endif
34294 #ifdef __cplusplus
34296 #endif
34299 main ()
34301 return f != $ac_func;
34303 return 0;
34305 _ACEOF
34306 rm -f conftest.$ac_objext conftest$ac_exeext
34307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34308 (eval $ac_link) 2>conftest.er1
34309 ac_status=$?
34310 grep -v '^ *+' conftest.er1 >conftest.err
34311 rm -f conftest.er1
34312 cat conftest.err >&5
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); } &&
34315 { ac_try='test -z "$ac_c_werror_flag"
34316 || test ! -s conftest.err'
34317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318 (eval $ac_try) 2>&5
34319 ac_status=$?
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); }; } &&
34322 { ac_try='test -s conftest$ac_exeext'
34323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34324 (eval $ac_try) 2>&5
34325 ac_status=$?
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); }; }; then
34328 eval "$as_ac_var=yes"
34329 else
34330 echo "$as_me: failed program was:" >&5
34331 sed 's/^/| /' conftest.$ac_ext >&5
34333 eval "$as_ac_var=no"
34335 rm -f conftest.err conftest.$ac_objext \
34336 conftest$ac_exeext conftest.$ac_ext
34338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34340 if test `eval echo '${'$as_ac_var'}'` = yes; then
34341 cat >>confdefs.h <<_ACEOF
34342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34343 _ACEOF
34346 done
34348 else
34349 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34350 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34351 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34352 echo $ECHO_N "(cached) $ECHO_C" >&6
34353 else
34357 ac_ext=cc
34358 ac_cpp='$CXXCPP $CPPFLAGS'
34359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34363 cat >conftest.$ac_ext <<_ACEOF
34364 /* confdefs.h. */
34365 _ACEOF
34366 cat confdefs.h >>conftest.$ac_ext
34367 cat >>conftest.$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369 #include <math.h>
34371 main ()
34373 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34375 return 0;
34377 _ACEOF
34378 rm -f conftest.$ac_objext
34379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34380 (eval $ac_compile) 2>conftest.er1
34381 ac_status=$?
34382 grep -v '^ *+' conftest.er1 >conftest.err
34383 rm -f conftest.er1
34384 cat conftest.err >&5
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); } &&
34387 { ac_try='test -z "$ac_cxx_werror_flag"
34388 || test ! -s conftest.err'
34389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34390 (eval $ac_try) 2>&5
34391 ac_status=$?
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); }; } &&
34394 { ac_try='test -s conftest.$ac_objext'
34395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34396 (eval $ac_try) 2>&5
34397 ac_status=$?
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); }; }; then
34400 glibcxx_cv_func__float_trig_use=yes
34401 else
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.$ac_ext >&5
34405 glibcxx_cv_func__float_trig_use=no
34407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34417 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34418 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34428 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34431 echo "$as_me:$LINENO: checking for $ac_func" >&5
34432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34433 if eval "test \"\${$as_ac_var+set}\" = set"; then
34434 echo $ECHO_N "(cached) $ECHO_C" >&6
34435 else
34436 if test x$gcc_no_link = xyes; then
34437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34439 { (exit 1); exit 1; }; }
34441 cat >conftest.$ac_ext <<_ACEOF
34442 /* confdefs.h. */
34443 _ACEOF
34444 cat confdefs.h >>conftest.$ac_ext
34445 cat >>conftest.$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34449 #define $ac_func innocuous_$ac_func
34451 /* System header to define __stub macros and hopefully few prototypes,
34452 which can conflict with char $ac_func (); below.
34453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34454 <limits.h> exists even on freestanding compilers. */
34456 #ifdef __STDC__
34457 # include <limits.h>
34458 #else
34459 # include <assert.h>
34460 #endif
34462 #undef $ac_func
34464 /* Override any gcc2 internal prototype to avoid an error. */
34465 #ifdef __cplusplus
34466 extern "C"
34468 #endif
34469 /* We use char because int might match the return type of a gcc2
34470 builtin and then its argument prototype would still apply. */
34471 char $ac_func ();
34472 /* The GNU C library defines this for functions which it implements
34473 to always fail with ENOSYS. Some functions are actually named
34474 something starting with __ and the normal name is an alias. */
34475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34476 choke me
34477 #else
34478 char (*f) () = $ac_func;
34479 #endif
34480 #ifdef __cplusplus
34482 #endif
34485 main ()
34487 return f != $ac_func;
34489 return 0;
34491 _ACEOF
34492 rm -f conftest.$ac_objext conftest$ac_exeext
34493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34494 (eval $ac_link) 2>conftest.er1
34495 ac_status=$?
34496 grep -v '^ *+' conftest.er1 >conftest.err
34497 rm -f conftest.er1
34498 cat conftest.err >&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } &&
34501 { ac_try='test -z "$ac_c_werror_flag"
34502 || test ! -s conftest.err'
34503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34504 (eval $ac_try) 2>&5
34505 ac_status=$?
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; } &&
34508 { ac_try='test -s conftest$ac_exeext'
34509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510 (eval $ac_try) 2>&5
34511 ac_status=$?
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); }; }; then
34514 eval "$as_ac_var=yes"
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34519 eval "$as_ac_var=no"
34521 rm -f conftest.err conftest.$ac_objext \
34522 conftest$ac_exeext conftest.$ac_ext
34524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34526 if test `eval echo '${'$as_ac_var'}'` = yes; then
34527 cat >>confdefs.h <<_ACEOF
34528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34529 _ACEOF
34532 done
34550 echo "$as_me:$LINENO: checking for float round functions" >&5
34551 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34552 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34558 ac_ext=cc
34559 ac_cpp='$CXXCPP $CPPFLAGS'
34560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 #include <math.h>
34572 main ()
34574 ceilf (0); floorf (0);
34576 return 0;
34578 _ACEOF
34579 rm -f conftest.$ac_objext
34580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34581 (eval $ac_compile) 2>conftest.er1
34582 ac_status=$?
34583 grep -v '^ *+' conftest.er1 >conftest.err
34584 rm -f conftest.er1
34585 cat conftest.err >&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try='test -z "$ac_cxx_werror_flag"
34589 || test ! -s conftest.err'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; } &&
34595 { ac_try='test -s conftest.$ac_objext'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34598 ac_status=$?
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; }; then
34601 glibcxx_cv_func_float_round_use=yes
34602 else
34603 echo "$as_me: failed program was:" >&5
34604 sed 's/^/| /' conftest.$ac_ext >&5
34606 glibcxx_cv_func_float_round_use=no
34608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34609 ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34618 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34619 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34622 for ac_func in ceilf floorf
34624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34625 echo "$as_me:$LINENO: checking for $ac_func" >&5
34626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34627 if eval "test \"\${$as_ac_var+set}\" = set"; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630 if test x$gcc_no_link = xyes; then
34631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34633 { (exit 1); exit 1; }; }
34635 cat >conftest.$ac_ext <<_ACEOF
34636 /* confdefs.h. */
34637 _ACEOF
34638 cat confdefs.h >>conftest.$ac_ext
34639 cat >>conftest.$ac_ext <<_ACEOF
34640 /* end confdefs.h. */
34641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34643 #define $ac_func innocuous_$ac_func
34645 /* System header to define __stub macros and hopefully few prototypes,
34646 which can conflict with char $ac_func (); below.
34647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34648 <limits.h> exists even on freestanding compilers. */
34650 #ifdef __STDC__
34651 # include <limits.h>
34652 #else
34653 # include <assert.h>
34654 #endif
34656 #undef $ac_func
34658 /* Override any gcc2 internal prototype to avoid an error. */
34659 #ifdef __cplusplus
34660 extern "C"
34662 #endif
34663 /* We use char because int might match the return type of a gcc2
34664 builtin and then its argument prototype would still apply. */
34665 char $ac_func ();
34666 /* The GNU C library defines this for functions which it implements
34667 to always fail with ENOSYS. Some functions are actually named
34668 something starting with __ and the normal name is an alias. */
34669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34670 choke me
34671 #else
34672 char (*f) () = $ac_func;
34673 #endif
34674 #ifdef __cplusplus
34676 #endif
34679 main ()
34681 return f != $ac_func;
34683 return 0;
34685 _ACEOF
34686 rm -f conftest.$ac_objext conftest$ac_exeext
34687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34688 (eval $ac_link) 2>conftest.er1
34689 ac_status=$?
34690 grep -v '^ *+' conftest.er1 >conftest.err
34691 rm -f conftest.er1
34692 cat conftest.err >&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); } &&
34695 { ac_try='test -z "$ac_c_werror_flag"
34696 || test ! -s conftest.err'
34697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34698 (eval $ac_try) 2>&5
34699 ac_status=$?
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); }; } &&
34702 { ac_try='test -s conftest$ac_exeext'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34705 ac_status=$?
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; }; then
34708 eval "$as_ac_var=yes"
34709 else
34710 echo "$as_me: failed program was:" >&5
34711 sed 's/^/| /' conftest.$ac_ext >&5
34713 eval "$as_ac_var=no"
34715 rm -f conftest.err conftest.$ac_objext \
34716 conftest$ac_exeext conftest.$ac_ext
34718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34720 if test `eval echo '${'$as_ac_var'}'` = yes; then
34721 cat >>confdefs.h <<_ACEOF
34722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34723 _ACEOF
34726 done
34728 else
34729 echo "$as_me:$LINENO: checking for _float round functions" >&5
34730 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34731 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34733 else
34737 ac_ext=cc
34738 ac_cpp='$CXXCPP $CPPFLAGS'
34739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34743 cat >conftest.$ac_ext <<_ACEOF
34744 /* confdefs.h. */
34745 _ACEOF
34746 cat confdefs.h >>conftest.$ac_ext
34747 cat >>conftest.$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34749 #include <math.h>
34751 main ()
34753 _ceilf (0); _floorf (0);
34755 return 0;
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34760 (eval $ac_compile) 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try='test -z "$ac_cxx_werror_flag"
34768 || test ! -s conftest.err'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34771 ac_status=$?
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; } &&
34774 { ac_try='test -s conftest.$ac_objext'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34777 ac_status=$?
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; }; then
34780 glibcxx_cv_func__float_round_use=yes
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34785 glibcxx_cv_func__float_round_use=no
34787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34788 ac_ext=c
34789 ac_cpp='$CPP $CPPFLAGS'
34790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34797 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34798 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34801 for ac_func in _ceilf _floorf
34803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34804 echo "$as_me:$LINENO: checking for $ac_func" >&5
34805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34806 if eval "test \"\${$as_ac_var+set}\" = set"; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 else
34809 if test x$gcc_no_link = xyes; then
34810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34812 { (exit 1); exit 1; }; }
34814 cat >conftest.$ac_ext <<_ACEOF
34815 /* confdefs.h. */
34816 _ACEOF
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define $ac_func innocuous_$ac_func
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char $ac_func (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34829 #ifdef __STDC__
34830 # include <limits.h>
34831 #else
34832 # include <assert.h>
34833 #endif
34835 #undef $ac_func
34837 /* Override any gcc2 internal prototype to avoid an error. */
34838 #ifdef __cplusplus
34839 extern "C"
34841 #endif
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34844 char $ac_func ();
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34849 choke me
34850 #else
34851 char (*f) () = $ac_func;
34852 #endif
34853 #ifdef __cplusplus
34855 #endif
34858 main ()
34860 return f != $ac_func;
34862 return 0;
34864 _ACEOF
34865 rm -f conftest.$ac_objext conftest$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try='test -z "$ac_c_werror_flag"
34875 || test ! -s conftest.err'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; } &&
34881 { ac_try='test -s conftest$ac_exeext'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }; then
34887 eval "$as_ac_var=yes"
34888 else
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.$ac_ext >&5
34892 eval "$as_ac_var=no"
34894 rm -f conftest.err conftest.$ac_objext \
34895 conftest$ac_exeext conftest.$ac_ext
34897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34899 if test `eval echo '${'$as_ac_var'}'` = yes; then
34900 cat >>confdefs.h <<_ACEOF
34901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34902 _ACEOF
34905 done
34917 echo "$as_me:$LINENO: checking for expf declaration" >&5
34918 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34919 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34920 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34921 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 else
34926 ac_ext=cc
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932 cat >conftest.$ac_ext <<_ACEOF
34933 /* confdefs.h. */
34934 _ACEOF
34935 cat confdefs.h >>conftest.$ac_ext
34936 cat >>conftest.$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34938 #include <math.h>
34939 #ifdef HAVE_IEEEFP_H
34940 #include <ieeefp.h>
34941 #endif
34944 main ()
34946 expf(0);
34948 return 0;
34950 _ACEOF
34951 rm -f conftest.$ac_objext
34952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34953 (eval $ac_compile) 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } &&
34960 { ac_try='test -z "$ac_cxx_werror_flag"
34961 || test ! -s conftest.err'
34962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 (eval $ac_try) 2>&5
34964 ac_status=$?
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); }; } &&
34967 { ac_try='test -s conftest.$ac_objext'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34970 ac_status=$?
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; }; then
34973 glibcxx_cv_func_expf_use=yes
34974 else
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34978 glibcxx_cv_func_expf_use=no
34980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34981 ac_ext=c
34982 ac_cpp='$CPP $CPPFLAGS'
34983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34992 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34994 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34996 for ac_func in expf
34998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34999 echo "$as_me:$LINENO: checking for $ac_func" >&5
35000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35001 if eval "test \"\${$as_ac_var+set}\" = set"; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35003 else
35004 if test x$gcc_no_link = xyes; then
35005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35007 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35017 #define $ac_func innocuous_$ac_func
35019 /* System header to define __stub macros and hopefully few prototypes,
35020 which can conflict with char $ac_func (); below.
35021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35022 <limits.h> exists even on freestanding compilers. */
35024 #ifdef __STDC__
35025 # include <limits.h>
35026 #else
35027 # include <assert.h>
35028 #endif
35030 #undef $ac_func
35032 /* Override any gcc2 internal prototype to avoid an error. */
35033 #ifdef __cplusplus
35034 extern "C"
35036 #endif
35037 /* We use char because int might match the return type of a gcc2
35038 builtin and then its argument prototype would still apply. */
35039 char $ac_func ();
35040 /* The GNU C library defines this for functions which it implements
35041 to always fail with ENOSYS. Some functions are actually named
35042 something starting with __ and the normal name is an alias. */
35043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35044 choke me
35045 #else
35046 char (*f) () = $ac_func;
35047 #endif
35048 #ifdef __cplusplus
35050 #endif
35053 main ()
35055 return f != $ac_func;
35057 return 0;
35059 _ACEOF
35060 rm -f conftest.$ac_objext conftest$ac_exeext
35061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35062 (eval $ac_link) 2>conftest.er1
35063 ac_status=$?
35064 grep -v '^ *+' conftest.er1 >conftest.err
35065 rm -f conftest.er1
35066 cat conftest.err >&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } &&
35069 { ac_try='test -z "$ac_c_werror_flag"
35070 || test ! -s conftest.err'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35073 ac_status=$?
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; } &&
35076 { ac_try='test -s conftest$ac_exeext'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35079 ac_status=$?
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }; then
35082 eval "$as_ac_var=yes"
35083 else
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.$ac_ext >&5
35087 eval "$as_ac_var=no"
35089 rm -f conftest.err conftest.$ac_objext \
35090 conftest$ac_exeext conftest.$ac_ext
35092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35094 if test `eval echo '${'$as_ac_var'}'` = yes; then
35095 cat >>confdefs.h <<_ACEOF
35096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35097 _ACEOF
35100 done
35102 else
35104 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35105 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35106 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35107 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35108 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 else
35113 ac_ext=cc
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35119 cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h. */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 #include <math.h>
35126 #ifdef HAVE_IEEEFP_H
35127 #include <ieeefp.h>
35128 #endif
35131 main ()
35133 _expf(0);
35135 return 0;
35137 _ACEOF
35138 rm -f conftest.$ac_objext
35139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35140 (eval $ac_compile) 2>conftest.er1
35141 ac_status=$?
35142 grep -v '^ *+' conftest.er1 >conftest.err
35143 rm -f conftest.er1
35144 cat conftest.err >&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } &&
35147 { ac_try='test -z "$ac_cxx_werror_flag"
35148 || test ! -s conftest.err'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35151 ac_status=$?
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; } &&
35154 { ac_try='test -s conftest.$ac_objext'
35155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35156 (eval $ac_try) 2>&5
35157 ac_status=$?
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); }; }; then
35160 glibcxx_cv_func__expf_use=yes
35161 else
35162 echo "$as_me: failed program was:" >&5
35163 sed 's/^/| /' conftest.$ac_ext >&5
35165 glibcxx_cv_func__expf_use=no
35167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35168 ac_ext=c
35169 ac_cpp='$CPP $CPPFLAGS'
35170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35179 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35181 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35183 for ac_func in _expf
35185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35186 echo "$as_me:$LINENO: checking for $ac_func" >&5
35187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35188 if eval "test \"\${$as_ac_var+set}\" = set"; then
35189 echo $ECHO_N "(cached) $ECHO_C" >&6
35190 else
35191 if test x$gcc_no_link = xyes; then
35192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35194 { (exit 1); exit 1; }; }
35196 cat >conftest.$ac_ext <<_ACEOF
35197 /* confdefs.h. */
35198 _ACEOF
35199 cat confdefs.h >>conftest.$ac_ext
35200 cat >>conftest.$ac_ext <<_ACEOF
35201 /* end confdefs.h. */
35202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35204 #define $ac_func innocuous_$ac_func
35206 /* System header to define __stub macros and hopefully few prototypes,
35207 which can conflict with char $ac_func (); below.
35208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35209 <limits.h> exists even on freestanding compilers. */
35211 #ifdef __STDC__
35212 # include <limits.h>
35213 #else
35214 # include <assert.h>
35215 #endif
35217 #undef $ac_func
35219 /* Override any gcc2 internal prototype to avoid an error. */
35220 #ifdef __cplusplus
35221 extern "C"
35223 #endif
35224 /* We use char because int might match the return type of a gcc2
35225 builtin and then its argument prototype would still apply. */
35226 char $ac_func ();
35227 /* The GNU C library defines this for functions which it implements
35228 to always fail with ENOSYS. Some functions are actually named
35229 something starting with __ and the normal name is an alias. */
35230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35231 choke me
35232 #else
35233 char (*f) () = $ac_func;
35234 #endif
35235 #ifdef __cplusplus
35237 #endif
35240 main ()
35242 return f != $ac_func;
35244 return 0;
35246 _ACEOF
35247 rm -f conftest.$ac_objext conftest$ac_exeext
35248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35249 (eval $ac_link) 2>conftest.er1
35250 ac_status=$?
35251 grep -v '^ *+' conftest.er1 >conftest.err
35252 rm -f conftest.er1
35253 cat conftest.err >&5
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); } &&
35256 { ac_try='test -z "$ac_c_werror_flag"
35257 || test ! -s conftest.err'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35260 ac_status=$?
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; } &&
35263 { ac_try='test -s conftest$ac_exeext'
35264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35265 (eval $ac_try) 2>&5
35266 ac_status=$?
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); }; }; then
35269 eval "$as_ac_var=yes"
35270 else
35271 echo "$as_me: failed program was:" >&5
35272 sed 's/^/| /' conftest.$ac_ext >&5
35274 eval "$as_ac_var=no"
35276 rm -f conftest.err conftest.$ac_objext \
35277 conftest$ac_exeext conftest.$ac_ext
35279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35281 if test `eval echo '${'$as_ac_var'}'` = yes; then
35282 cat >>confdefs.h <<_ACEOF
35283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35284 _ACEOF
35287 done
35297 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35298 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35299 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35300 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35306 ac_ext=cc
35307 ac_cpp='$CXXCPP $CPPFLAGS'
35308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35312 cat >conftest.$ac_ext <<_ACEOF
35313 /* confdefs.h. */
35314 _ACEOF
35315 cat confdefs.h >>conftest.$ac_ext
35316 cat >>conftest.$ac_ext <<_ACEOF
35317 /* end confdefs.h. */
35318 #include <math.h>
35319 #ifdef HAVE_IEEEFP_H
35320 #include <ieeefp.h>
35321 #endif
35324 main ()
35326 isnanf(0);
35328 return 0;
35330 _ACEOF
35331 rm -f conftest.$ac_objext
35332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35333 (eval $ac_compile) 2>conftest.er1
35334 ac_status=$?
35335 grep -v '^ *+' conftest.er1 >conftest.err
35336 rm -f conftest.er1
35337 cat conftest.err >&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try='test -z "$ac_cxx_werror_flag"
35341 || test ! -s conftest.err'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35344 ac_status=$?
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; } &&
35347 { ac_try='test -s conftest.$ac_objext'
35348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35349 (eval $ac_try) 2>&5
35350 ac_status=$?
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); }; }; then
35353 glibcxx_cv_func_isnanf_use=yes
35354 else
35355 echo "$as_me: failed program was:" >&5
35356 sed 's/^/| /' conftest.$ac_ext >&5
35358 glibcxx_cv_func_isnanf_use=no
35360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35361 ac_ext=c
35362 ac_cpp='$CPP $CPPFLAGS'
35363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35372 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35374 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35376 for ac_func in isnanf
35378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35379 echo "$as_me:$LINENO: checking for $ac_func" >&5
35380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35381 if eval "test \"\${$as_ac_var+set}\" = set"; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35384 if test x$gcc_no_link = xyes; then
35385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35387 { (exit 1); exit 1; }; }
35389 cat >conftest.$ac_ext <<_ACEOF
35390 /* confdefs.h. */
35391 _ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h. */
35395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35397 #define $ac_func innocuous_$ac_func
35399 /* System header to define __stub macros and hopefully few prototypes,
35400 which can conflict with char $ac_func (); below.
35401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35402 <limits.h> exists even on freestanding compilers. */
35404 #ifdef __STDC__
35405 # include <limits.h>
35406 #else
35407 # include <assert.h>
35408 #endif
35410 #undef $ac_func
35412 /* Override any gcc2 internal prototype to avoid an error. */
35413 #ifdef __cplusplus
35414 extern "C"
35416 #endif
35417 /* We use char because int might match the return type of a gcc2
35418 builtin and then its argument prototype would still apply. */
35419 char $ac_func ();
35420 /* The GNU C library defines this for functions which it implements
35421 to always fail with ENOSYS. Some functions are actually named
35422 something starting with __ and the normal name is an alias. */
35423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35424 choke me
35425 #else
35426 char (*f) () = $ac_func;
35427 #endif
35428 #ifdef __cplusplus
35430 #endif
35433 main ()
35435 return f != $ac_func;
35437 return 0;
35439 _ACEOF
35440 rm -f conftest.$ac_objext conftest$ac_exeext
35441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35442 (eval $ac_link) 2>conftest.er1
35443 ac_status=$?
35444 grep -v '^ *+' conftest.er1 >conftest.err
35445 rm -f conftest.er1
35446 cat conftest.err >&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } &&
35449 { ac_try='test -z "$ac_c_werror_flag"
35450 || test ! -s conftest.err'
35451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452 (eval $ac_try) 2>&5
35453 ac_status=$?
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); }; } &&
35456 { ac_try='test -s conftest$ac_exeext'
35457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35458 (eval $ac_try) 2>&5
35459 ac_status=$?
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); }; }; then
35462 eval "$as_ac_var=yes"
35463 else
35464 echo "$as_me: failed program was:" >&5
35465 sed 's/^/| /' conftest.$ac_ext >&5
35467 eval "$as_ac_var=no"
35469 rm -f conftest.err conftest.$ac_objext \
35470 conftest$ac_exeext conftest.$ac_ext
35472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35474 if test `eval echo '${'$as_ac_var'}'` = yes; then
35475 cat >>confdefs.h <<_ACEOF
35476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35477 _ACEOF
35480 done
35482 else
35484 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35485 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35486 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35487 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 else
35493 ac_ext=cc
35494 ac_cpp='$CXXCPP $CPPFLAGS'
35495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35499 cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h. */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 #include <math.h>
35506 #ifdef HAVE_IEEEFP_H
35507 #include <ieeefp.h>
35508 #endif
35511 main ()
35513 _isnanf(0);
35515 return 0;
35517 _ACEOF
35518 rm -f conftest.$ac_objext
35519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35520 (eval $ac_compile) 2>conftest.er1
35521 ac_status=$?
35522 grep -v '^ *+' conftest.er1 >conftest.err
35523 rm -f conftest.er1
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } &&
35527 { ac_try='test -z "$ac_cxx_werror_flag"
35528 || test ! -s conftest.err'
35529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35530 (eval $ac_try) 2>&5
35531 ac_status=$?
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); }; } &&
35534 { ac_try='test -s conftest.$ac_objext'
35535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35536 (eval $ac_try) 2>&5
35537 ac_status=$?
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); }; }; then
35540 glibcxx_cv_func__isnanf_use=yes
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35545 glibcxx_cv_func__isnanf_use=no
35547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35548 ac_ext=c
35549 ac_cpp='$CPP $CPPFLAGS'
35550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35559 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35561 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35563 for ac_func in _isnanf
35565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35566 echo "$as_me:$LINENO: checking for $ac_func" >&5
35567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35568 if eval "test \"\${$as_ac_var+set}\" = set"; then
35569 echo $ECHO_N "(cached) $ECHO_C" >&6
35570 else
35571 if test x$gcc_no_link = xyes; then
35572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35574 { (exit 1); exit 1; }; }
35576 cat >conftest.$ac_ext <<_ACEOF
35577 /* confdefs.h. */
35578 _ACEOF
35579 cat confdefs.h >>conftest.$ac_ext
35580 cat >>conftest.$ac_ext <<_ACEOF
35581 /* end confdefs.h. */
35582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35584 #define $ac_func innocuous_$ac_func
35586 /* System header to define __stub macros and hopefully few prototypes,
35587 which can conflict with char $ac_func (); below.
35588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35589 <limits.h> exists even on freestanding compilers. */
35591 #ifdef __STDC__
35592 # include <limits.h>
35593 #else
35594 # include <assert.h>
35595 #endif
35597 #undef $ac_func
35599 /* Override any gcc2 internal prototype to avoid an error. */
35600 #ifdef __cplusplus
35601 extern "C"
35603 #endif
35604 /* We use char because int might match the return type of a gcc2
35605 builtin and then its argument prototype would still apply. */
35606 char $ac_func ();
35607 /* The GNU C library defines this for functions which it implements
35608 to always fail with ENOSYS. Some functions are actually named
35609 something starting with __ and the normal name is an alias. */
35610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35611 choke me
35612 #else
35613 char (*f) () = $ac_func;
35614 #endif
35615 #ifdef __cplusplus
35617 #endif
35620 main ()
35622 return f != $ac_func;
35624 return 0;
35626 _ACEOF
35627 rm -f conftest.$ac_objext conftest$ac_exeext
35628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35629 (eval $ac_link) 2>conftest.er1
35630 ac_status=$?
35631 grep -v '^ *+' conftest.er1 >conftest.err
35632 rm -f conftest.er1
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } &&
35636 { ac_try='test -z "$ac_c_werror_flag"
35637 || test ! -s conftest.err'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; } &&
35643 { ac_try='test -s conftest$ac_exeext'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 eval "$as_ac_var=yes"
35650 else
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35654 eval "$as_ac_var=no"
35656 rm -f conftest.err conftest.$ac_objext \
35657 conftest$ac_exeext conftest.$ac_ext
35659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35661 if test `eval echo '${'$as_ac_var'}'` = yes; then
35662 cat >>confdefs.h <<_ACEOF
35663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35664 _ACEOF
35667 done
35677 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35678 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35679 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35680 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 else
35686 ac_ext=cc
35687 ac_cpp='$CXXCPP $CPPFLAGS'
35688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35692 cat >conftest.$ac_ext <<_ACEOF
35693 /* confdefs.h. */
35694 _ACEOF
35695 cat confdefs.h >>conftest.$ac_ext
35696 cat >>conftest.$ac_ext <<_ACEOF
35697 /* end confdefs.h. */
35698 #include <math.h>
35699 #ifdef HAVE_IEEEFP_H
35700 #include <ieeefp.h>
35701 #endif
35704 main ()
35706 isinff(0);
35708 return 0;
35710 _ACEOF
35711 rm -f conftest.$ac_objext
35712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35713 (eval $ac_compile) 2>conftest.er1
35714 ac_status=$?
35715 grep -v '^ *+' conftest.er1 >conftest.err
35716 rm -f conftest.er1
35717 cat conftest.err >&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); } &&
35720 { ac_try='test -z "$ac_cxx_werror_flag"
35721 || test ! -s conftest.err'
35722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35723 (eval $ac_try) 2>&5
35724 ac_status=$?
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); }; } &&
35727 { ac_try='test -s conftest.$ac_objext'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35730 ac_status=$?
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; }; then
35733 glibcxx_cv_func_isinff_use=yes
35734 else
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.$ac_ext >&5
35738 glibcxx_cv_func_isinff_use=no
35740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35741 ac_ext=c
35742 ac_cpp='$CPP $CPPFLAGS'
35743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35752 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35754 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35756 for ac_func in isinff
35758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35759 echo "$as_me:$LINENO: checking for $ac_func" >&5
35760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35761 if eval "test \"\${$as_ac_var+set}\" = set"; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 else
35764 if test x$gcc_no_link = xyes; then
35765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35767 { (exit 1); exit 1; }; }
35769 cat >conftest.$ac_ext <<_ACEOF
35770 /* confdefs.h. */
35771 _ACEOF
35772 cat confdefs.h >>conftest.$ac_ext
35773 cat >>conftest.$ac_ext <<_ACEOF
35774 /* end confdefs.h. */
35775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35777 #define $ac_func innocuous_$ac_func
35779 /* System header to define __stub macros and hopefully few prototypes,
35780 which can conflict with char $ac_func (); below.
35781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35782 <limits.h> exists even on freestanding compilers. */
35784 #ifdef __STDC__
35785 # include <limits.h>
35786 #else
35787 # include <assert.h>
35788 #endif
35790 #undef $ac_func
35792 /* Override any gcc2 internal prototype to avoid an error. */
35793 #ifdef __cplusplus
35794 extern "C"
35796 #endif
35797 /* We use char because int might match the return type of a gcc2
35798 builtin and then its argument prototype would still apply. */
35799 char $ac_func ();
35800 /* The GNU C library defines this for functions which it implements
35801 to always fail with ENOSYS. Some functions are actually named
35802 something starting with __ and the normal name is an alias. */
35803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35804 choke me
35805 #else
35806 char (*f) () = $ac_func;
35807 #endif
35808 #ifdef __cplusplus
35810 #endif
35813 main ()
35815 return f != $ac_func;
35817 return 0;
35819 _ACEOF
35820 rm -f conftest.$ac_objext conftest$ac_exeext
35821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35822 (eval $ac_link) 2>conftest.er1
35823 ac_status=$?
35824 grep -v '^ *+' conftest.er1 >conftest.err
35825 rm -f conftest.er1
35826 cat conftest.err >&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } &&
35829 { ac_try='test -z "$ac_c_werror_flag"
35830 || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try='test -s conftest$ac_exeext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 eval "$as_ac_var=yes"
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35847 eval "$as_ac_var=no"
35849 rm -f conftest.err conftest.$ac_objext \
35850 conftest$ac_exeext conftest.$ac_ext
35852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35854 if test `eval echo '${'$as_ac_var'}'` = yes; then
35855 cat >>confdefs.h <<_ACEOF
35856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35857 _ACEOF
35860 done
35862 else
35864 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35865 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35866 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35867 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35868 echo $ECHO_N "(cached) $ECHO_C" >&6
35869 else
35873 ac_ext=cc
35874 ac_cpp='$CXXCPP $CPPFLAGS'
35875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35879 cat >conftest.$ac_ext <<_ACEOF
35880 /* confdefs.h. */
35881 _ACEOF
35882 cat confdefs.h >>conftest.$ac_ext
35883 cat >>conftest.$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35885 #include <math.h>
35886 #ifdef HAVE_IEEEFP_H
35887 #include <ieeefp.h>
35888 #endif
35891 main ()
35893 _isinff(0);
35895 return 0;
35897 _ACEOF
35898 rm -f conftest.$ac_objext
35899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35900 (eval $ac_compile) 2>conftest.er1
35901 ac_status=$?
35902 grep -v '^ *+' conftest.er1 >conftest.err
35903 rm -f conftest.er1
35904 cat conftest.err >&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); } &&
35907 { ac_try='test -z "$ac_cxx_werror_flag"
35908 || test ! -s conftest.err'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35911 ac_status=$?
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; } &&
35914 { ac_try='test -s conftest.$ac_objext'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35917 ac_status=$?
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; }; then
35920 glibcxx_cv_func__isinff_use=yes
35921 else
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35925 glibcxx_cv_func__isinff_use=no
35927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35939 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35941 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35943 for ac_func in _isinff
35945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35946 echo "$as_me:$LINENO: checking for $ac_func" >&5
35947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35948 if eval "test \"\${$as_ac_var+set}\" = set"; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35950 else
35951 if test x$gcc_no_link = xyes; then
35952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35954 { (exit 1); exit 1; }; }
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35964 #define $ac_func innocuous_$ac_func
35966 /* System header to define __stub macros and hopefully few prototypes,
35967 which can conflict with char $ac_func (); below.
35968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35969 <limits.h> exists even on freestanding compilers. */
35971 #ifdef __STDC__
35972 # include <limits.h>
35973 #else
35974 # include <assert.h>
35975 #endif
35977 #undef $ac_func
35979 /* Override any gcc2 internal prototype to avoid an error. */
35980 #ifdef __cplusplus
35981 extern "C"
35983 #endif
35984 /* We use char because int might match the return type of a gcc2
35985 builtin and then its argument prototype would still apply. */
35986 char $ac_func ();
35987 /* The GNU C library defines this for functions which it implements
35988 to always fail with ENOSYS. Some functions are actually named
35989 something starting with __ and the normal name is an alias. */
35990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35991 choke me
35992 #else
35993 char (*f) () = $ac_func;
35994 #endif
35995 #ifdef __cplusplus
35997 #endif
36000 main ()
36002 return f != $ac_func;
36004 return 0;
36006 _ACEOF
36007 rm -f conftest.$ac_objext conftest$ac_exeext
36008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36009 (eval $ac_link) 2>conftest.er1
36010 ac_status=$?
36011 grep -v '^ *+' conftest.er1 >conftest.err
36012 rm -f conftest.er1
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } &&
36016 { ac_try='test -z "$ac_c_werror_flag"
36017 || test ! -s conftest.err'
36018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36019 (eval $ac_try) 2>&5
36020 ac_status=$?
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); }; } &&
36023 { ac_try='test -s conftest$ac_exeext'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36026 ac_status=$?
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; }; then
36029 eval "$as_ac_var=yes"
36030 else
36031 echo "$as_me: failed program was:" >&5
36032 sed 's/^/| /' conftest.$ac_ext >&5
36034 eval "$as_ac_var=no"
36036 rm -f conftest.err conftest.$ac_objext \
36037 conftest$ac_exeext conftest.$ac_ext
36039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36041 if test `eval echo '${'$as_ac_var'}'` = yes; then
36042 cat >>confdefs.h <<_ACEOF
36043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36044 _ACEOF
36047 done
36057 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36058 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36059 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36060 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 else
36066 ac_ext=cc
36067 ac_cpp='$CXXCPP $CPPFLAGS'
36068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36072 cat >conftest.$ac_ext <<_ACEOF
36073 /* confdefs.h. */
36074 _ACEOF
36075 cat confdefs.h >>conftest.$ac_ext
36076 cat >>conftest.$ac_ext <<_ACEOF
36077 /* end confdefs.h. */
36078 #include <math.h>
36080 main ()
36082 atan2f(0, 0);
36084 return 0;
36086 _ACEOF
36087 rm -f conftest.$ac_objext
36088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36089 (eval $ac_compile) 2>conftest.er1
36090 ac_status=$?
36091 grep -v '^ *+' conftest.er1 >conftest.err
36092 rm -f conftest.er1
36093 cat conftest.err >&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } &&
36096 { ac_try='test -z "$ac_cxx_werror_flag"
36097 || test ! -s conftest.err'
36098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099 (eval $ac_try) 2>&5
36100 ac_status=$?
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); }; } &&
36103 { ac_try='test -s conftest.$ac_objext'
36104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36105 (eval $ac_try) 2>&5
36106 ac_status=$?
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); }; }; then
36109 glibcxx_cv_func_atan2f_use=yes
36110 else
36111 echo "$as_me: failed program was:" >&5
36112 sed 's/^/| /' conftest.$ac_ext >&5
36114 glibcxx_cv_func_atan2f_use=no
36116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36117 ac_ext=c
36118 ac_cpp='$CPP $CPPFLAGS'
36119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36128 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36130 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36132 for ac_func in atan2f
36134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36135 echo "$as_me:$LINENO: checking for $ac_func" >&5
36136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36137 if eval "test \"\${$as_ac_var+set}\" = set"; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 else
36140 if test x$gcc_no_link = xyes; then
36141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36143 { (exit 1); exit 1; }; }
36145 cat >conftest.$ac_ext <<_ACEOF
36146 /* confdefs.h. */
36147 _ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36153 #define $ac_func innocuous_$ac_func
36155 /* System header to define __stub macros and hopefully few prototypes,
36156 which can conflict with char $ac_func (); below.
36157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36158 <limits.h> exists even on freestanding compilers. */
36160 #ifdef __STDC__
36161 # include <limits.h>
36162 #else
36163 # include <assert.h>
36164 #endif
36166 #undef $ac_func
36168 /* Override any gcc2 internal prototype to avoid an error. */
36169 #ifdef __cplusplus
36170 extern "C"
36172 #endif
36173 /* We use char because int might match the return type of a gcc2
36174 builtin and then its argument prototype would still apply. */
36175 char $ac_func ();
36176 /* The GNU C library defines this for functions which it implements
36177 to always fail with ENOSYS. Some functions are actually named
36178 something starting with __ and the normal name is an alias. */
36179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36180 choke me
36181 #else
36182 char (*f) () = $ac_func;
36183 #endif
36184 #ifdef __cplusplus
36186 #endif
36189 main ()
36191 return f != $ac_func;
36193 return 0;
36195 _ACEOF
36196 rm -f conftest.$ac_objext conftest$ac_exeext
36197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36198 (eval $ac_link) 2>conftest.er1
36199 ac_status=$?
36200 grep -v '^ *+' conftest.er1 >conftest.err
36201 rm -f conftest.er1
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } &&
36205 { ac_try='test -z "$ac_c_werror_flag"
36206 || test ! -s conftest.err'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36209 ac_status=$?
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; } &&
36212 { ac_try='test -s conftest$ac_exeext'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36215 ac_status=$?
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; }; then
36218 eval "$as_ac_var=yes"
36219 else
36220 echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36223 eval "$as_ac_var=no"
36225 rm -f conftest.err conftest.$ac_objext \
36226 conftest$ac_exeext conftest.$ac_ext
36228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36230 if test `eval echo '${'$as_ac_var'}'` = yes; then
36231 cat >>confdefs.h <<_ACEOF
36232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36233 _ACEOF
36236 done
36238 else
36240 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36241 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36242 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36243 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36244 echo $ECHO_N "(cached) $ECHO_C" >&6
36245 else
36249 ac_ext=cc
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36255 cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261 #include <math.h>
36263 main ()
36265 _atan2f(0, 0);
36267 return 0;
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272 (eval $ac_compile) 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } &&
36279 { ac_try='test -z "$ac_cxx_werror_flag"
36280 || test ! -s conftest.err'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; } &&
36286 { ac_try='test -s conftest.$ac_objext'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36289 ac_status=$?
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; }; then
36292 glibcxx_cv_func__atan2f_use=yes
36293 else
36294 echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.$ac_ext >&5
36297 glibcxx_cv_func__atan2f_use=no
36299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36300 ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36313 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36315 for ac_func in _atan2f
36317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36318 echo "$as_me:$LINENO: checking for $ac_func" >&5
36319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36320 if eval "test \"\${$as_ac_var+set}\" = set"; then
36321 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 else
36323 if test x$gcc_no_link = xyes; then
36324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326 { (exit 1); exit 1; }; }
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36336 #define $ac_func innocuous_$ac_func
36338 /* System header to define __stub macros and hopefully few prototypes,
36339 which can conflict with char $ac_func (); below.
36340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341 <limits.h> exists even on freestanding compilers. */
36343 #ifdef __STDC__
36344 # include <limits.h>
36345 #else
36346 # include <assert.h>
36347 #endif
36349 #undef $ac_func
36351 /* Override any gcc2 internal prototype to avoid an error. */
36352 #ifdef __cplusplus
36353 extern "C"
36355 #endif
36356 /* We use char because int might match the return type of a gcc2
36357 builtin and then its argument prototype would still apply. */
36358 char $ac_func ();
36359 /* The GNU C library defines this for functions which it implements
36360 to always fail with ENOSYS. Some functions are actually named
36361 something starting with __ and the normal name is an alias. */
36362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36363 choke me
36364 #else
36365 char (*f) () = $ac_func;
36366 #endif
36367 #ifdef __cplusplus
36369 #endif
36372 main ()
36374 return f != $ac_func;
36376 return 0;
36378 _ACEOF
36379 rm -f conftest.$ac_objext conftest$ac_exeext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36381 (eval $ac_link) 2>conftest.er1
36382 ac_status=$?
36383 grep -v '^ *+' conftest.er1 >conftest.err
36384 rm -f conftest.er1
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } &&
36388 { ac_try='test -z "$ac_c_werror_flag"
36389 || test ! -s conftest.err'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; } &&
36395 { ac_try='test -s conftest$ac_exeext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36398 ac_status=$?
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36401 eval "$as_ac_var=yes"
36402 else
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36406 eval "$as_ac_var=no"
36408 rm -f conftest.err conftest.$ac_objext \
36409 conftest$ac_exeext conftest.$ac_ext
36411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36413 if test `eval echo '${'$as_ac_var'}'` = yes; then
36414 cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36416 _ACEOF
36419 done
36429 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36430 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36431 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36432 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36433 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 else
36438 ac_ext=cc
36439 ac_cpp='$CXXCPP $CPPFLAGS'
36440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36444 cat >conftest.$ac_ext <<_ACEOF
36445 /* confdefs.h. */
36446 _ACEOF
36447 cat confdefs.h >>conftest.$ac_ext
36448 cat >>conftest.$ac_ext <<_ACEOF
36449 /* end confdefs.h. */
36450 #include <math.h>
36451 #ifdef HAVE_IEEEFP_H
36452 #include <ieeefp.h>
36453 #endif
36456 main ()
36458 fabsf(0);
36460 return 0;
36462 _ACEOF
36463 rm -f conftest.$ac_objext
36464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36465 (eval $ac_compile) 2>conftest.er1
36466 ac_status=$?
36467 grep -v '^ *+' conftest.er1 >conftest.err
36468 rm -f conftest.er1
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } &&
36472 { ac_try='test -z "$ac_cxx_werror_flag"
36473 || test ! -s conftest.err'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; } &&
36479 { ac_try='test -s conftest.$ac_objext'
36480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36481 (eval $ac_try) 2>&5
36482 ac_status=$?
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); }; }; then
36485 glibcxx_cv_func_fabsf_use=yes
36486 else
36487 echo "$as_me: failed program was:" >&5
36488 sed 's/^/| /' conftest.$ac_ext >&5
36490 glibcxx_cv_func_fabsf_use=no
36492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36493 ac_ext=c
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36504 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36506 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36508 for ac_func in fabsf
36510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36511 echo "$as_me:$LINENO: checking for $ac_func" >&5
36512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36513 if eval "test \"\${$as_ac_var+set}\" = set"; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516 if test x$gcc_no_link = xyes; then
36517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36519 { (exit 1); exit 1; }; }
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36529 #define $ac_func innocuous_$ac_func
36531 /* System header to define __stub macros and hopefully few prototypes,
36532 which can conflict with char $ac_func (); below.
36533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36534 <limits.h> exists even on freestanding compilers. */
36536 #ifdef __STDC__
36537 # include <limits.h>
36538 #else
36539 # include <assert.h>
36540 #endif
36542 #undef $ac_func
36544 /* Override any gcc2 internal prototype to avoid an error. */
36545 #ifdef __cplusplus
36546 extern "C"
36548 #endif
36549 /* We use char because int might match the return type of a gcc2
36550 builtin and then its argument prototype would still apply. */
36551 char $ac_func ();
36552 /* The GNU C library defines this for functions which it implements
36553 to always fail with ENOSYS. Some functions are actually named
36554 something starting with __ and the normal name is an alias. */
36555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36556 choke me
36557 #else
36558 char (*f) () = $ac_func;
36559 #endif
36560 #ifdef __cplusplus
36562 #endif
36565 main ()
36567 return f != $ac_func;
36569 return 0;
36571 _ACEOF
36572 rm -f conftest.$ac_objext conftest$ac_exeext
36573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36574 (eval $ac_link) 2>conftest.er1
36575 ac_status=$?
36576 grep -v '^ *+' conftest.er1 >conftest.err
36577 rm -f conftest.er1
36578 cat conftest.err >&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } &&
36581 { ac_try='test -z "$ac_c_werror_flag"
36582 || test ! -s conftest.err'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36585 ac_status=$?
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; } &&
36588 { ac_try='test -s conftest$ac_exeext'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36591 ac_status=$?
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; }; then
36594 eval "$as_ac_var=yes"
36595 else
36596 echo "$as_me: failed program was:" >&5
36597 sed 's/^/| /' conftest.$ac_ext >&5
36599 eval "$as_ac_var=no"
36601 rm -f conftest.err conftest.$ac_objext \
36602 conftest$ac_exeext conftest.$ac_ext
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36606 if test `eval echo '${'$as_ac_var'}'` = yes; then
36607 cat >>confdefs.h <<_ACEOF
36608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 _ACEOF
36612 done
36614 else
36616 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36617 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36618 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36619 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36620 echo $ECHO_N "(cached) $ECHO_C" >&6
36621 else
36625 ac_ext=cc
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h. */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 #include <math.h>
36638 #ifdef HAVE_IEEEFP_H
36639 #include <ieeefp.h>
36640 #endif
36643 main ()
36645 _fabsf(0);
36647 return 0;
36649 _ACEOF
36650 rm -f conftest.$ac_objext
36651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36652 (eval $ac_compile) 2>conftest.er1
36653 ac_status=$?
36654 grep -v '^ *+' conftest.er1 >conftest.err
36655 rm -f conftest.er1
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } &&
36659 { ac_try='test -z "$ac_cxx_werror_flag"
36660 || test ! -s conftest.err'
36661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36662 (eval $ac_try) 2>&5
36663 ac_status=$?
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); }; } &&
36666 { ac_try='test -s conftest.$ac_objext'
36667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36668 (eval $ac_try) 2>&5
36669 ac_status=$?
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); }; }; then
36672 glibcxx_cv_func__fabsf_use=yes
36673 else
36674 echo "$as_me: failed program was:" >&5
36675 sed 's/^/| /' conftest.$ac_ext >&5
36677 glibcxx_cv_func__fabsf_use=no
36679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36680 ac_ext=c
36681 ac_cpp='$CPP $CPPFLAGS'
36682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36691 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36693 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36695 for ac_func in _fabsf
36697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36698 echo "$as_me:$LINENO: checking for $ac_func" >&5
36699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36700 if eval "test \"\${$as_ac_var+set}\" = set"; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 else
36703 if test x$gcc_no_link = xyes; then
36704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36706 { (exit 1); exit 1; }; }
36708 cat >conftest.$ac_ext <<_ACEOF
36709 /* confdefs.h. */
36710 _ACEOF
36711 cat confdefs.h >>conftest.$ac_ext
36712 cat >>conftest.$ac_ext <<_ACEOF
36713 /* end confdefs.h. */
36714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36716 #define $ac_func innocuous_$ac_func
36718 /* System header to define __stub macros and hopefully few prototypes,
36719 which can conflict with char $ac_func (); below.
36720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36721 <limits.h> exists even on freestanding compilers. */
36723 #ifdef __STDC__
36724 # include <limits.h>
36725 #else
36726 # include <assert.h>
36727 #endif
36729 #undef $ac_func
36731 /* Override any gcc2 internal prototype to avoid an error. */
36732 #ifdef __cplusplus
36733 extern "C"
36735 #endif
36736 /* We use char because int might match the return type of a gcc2
36737 builtin and then its argument prototype would still apply. */
36738 char $ac_func ();
36739 /* The GNU C library defines this for functions which it implements
36740 to always fail with ENOSYS. Some functions are actually named
36741 something starting with __ and the normal name is an alias. */
36742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36743 choke me
36744 #else
36745 char (*f) () = $ac_func;
36746 #endif
36747 #ifdef __cplusplus
36749 #endif
36752 main ()
36754 return f != $ac_func;
36756 return 0;
36758 _ACEOF
36759 rm -f conftest.$ac_objext conftest$ac_exeext
36760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36761 (eval $ac_link) 2>conftest.er1
36762 ac_status=$?
36763 grep -v '^ *+' conftest.er1 >conftest.err
36764 rm -f conftest.er1
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } &&
36768 { ac_try='test -z "$ac_c_werror_flag"
36769 || test ! -s conftest.err'
36770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771 (eval $ac_try) 2>&5
36772 ac_status=$?
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); }; } &&
36775 { ac_try='test -s conftest$ac_exeext'
36776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36777 (eval $ac_try) 2>&5
36778 ac_status=$?
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); }; }; then
36781 eval "$as_ac_var=yes"
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36786 eval "$as_ac_var=no"
36788 rm -f conftest.err conftest.$ac_objext \
36789 conftest$ac_exeext conftest.$ac_ext
36791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36793 if test `eval echo '${'$as_ac_var'}'` = yes; then
36794 cat >>confdefs.h <<_ACEOF
36795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36796 _ACEOF
36799 done
36809 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36810 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36811 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36812 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36814 else
36818 ac_ext=cc
36819 ac_cpp='$CXXCPP $CPPFLAGS'
36820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36824 cat >conftest.$ac_ext <<_ACEOF
36825 /* confdefs.h. */
36826 _ACEOF
36827 cat confdefs.h >>conftest.$ac_ext
36828 cat >>conftest.$ac_ext <<_ACEOF
36829 /* end confdefs.h. */
36830 #include <math.h>
36832 main ()
36834 fmodf(0, 0);
36836 return 0;
36838 _ACEOF
36839 rm -f conftest.$ac_objext
36840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36841 (eval $ac_compile) 2>conftest.er1
36842 ac_status=$?
36843 grep -v '^ *+' conftest.er1 >conftest.err
36844 rm -f conftest.er1
36845 cat conftest.err >&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); } &&
36848 { ac_try='test -z "$ac_cxx_werror_flag"
36849 || test ! -s conftest.err'
36850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36851 (eval $ac_try) 2>&5
36852 ac_status=$?
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); }; } &&
36855 { ac_try='test -s conftest.$ac_objext'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36858 ac_status=$?
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; }; then
36861 glibcxx_cv_func_fmodf_use=yes
36862 else
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36866 glibcxx_cv_func_fmodf_use=no
36868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36869 ac_ext=c
36870 ac_cpp='$CPP $CPPFLAGS'
36871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36880 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36882 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36884 for ac_func in fmodf
36886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36887 echo "$as_me:$LINENO: checking for $ac_func" >&5
36888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36889 if eval "test \"\${$as_ac_var+set}\" = set"; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36892 if test x$gcc_no_link = xyes; then
36893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36895 { (exit 1); exit 1; }; }
36897 cat >conftest.$ac_ext <<_ACEOF
36898 /* confdefs.h. */
36899 _ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36905 #define $ac_func innocuous_$ac_func
36907 /* System header to define __stub macros and hopefully few prototypes,
36908 which can conflict with char $ac_func (); below.
36909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36910 <limits.h> exists even on freestanding compilers. */
36912 #ifdef __STDC__
36913 # include <limits.h>
36914 #else
36915 # include <assert.h>
36916 #endif
36918 #undef $ac_func
36920 /* Override any gcc2 internal prototype to avoid an error. */
36921 #ifdef __cplusplus
36922 extern "C"
36924 #endif
36925 /* We use char because int might match the return type of a gcc2
36926 builtin and then its argument prototype would still apply. */
36927 char $ac_func ();
36928 /* The GNU C library defines this for functions which it implements
36929 to always fail with ENOSYS. Some functions are actually named
36930 something starting with __ and the normal name is an alias. */
36931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36932 choke me
36933 #else
36934 char (*f) () = $ac_func;
36935 #endif
36936 #ifdef __cplusplus
36938 #endif
36941 main ()
36943 return f != $ac_func;
36945 return 0;
36947 _ACEOF
36948 rm -f conftest.$ac_objext conftest$ac_exeext
36949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36950 (eval $ac_link) 2>conftest.er1
36951 ac_status=$?
36952 grep -v '^ *+' conftest.er1 >conftest.err
36953 rm -f conftest.er1
36954 cat conftest.err >&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } &&
36957 { ac_try='test -z "$ac_c_werror_flag"
36958 || test ! -s conftest.err'
36959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36960 (eval $ac_try) 2>&5
36961 ac_status=$?
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; } &&
36964 { ac_try='test -s conftest$ac_exeext'
36965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36966 (eval $ac_try) 2>&5
36967 ac_status=$?
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); }; }; then
36970 eval "$as_ac_var=yes"
36971 else
36972 echo "$as_me: failed program was:" >&5
36973 sed 's/^/| /' conftest.$ac_ext >&5
36975 eval "$as_ac_var=no"
36977 rm -f conftest.err conftest.$ac_objext \
36978 conftest$ac_exeext conftest.$ac_ext
36980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36982 if test `eval echo '${'$as_ac_var'}'` = yes; then
36983 cat >>confdefs.h <<_ACEOF
36984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36985 _ACEOF
36988 done
36990 else
36992 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36993 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36994 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36995 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36996 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 else
37001 ac_ext=cc
37002 ac_cpp='$CXXCPP $CPPFLAGS'
37003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37007 cat >conftest.$ac_ext <<_ACEOF
37008 /* confdefs.h. */
37009 _ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37013 #include <math.h>
37015 main ()
37017 _fmodf(0, 0);
37019 return 0;
37021 _ACEOF
37022 rm -f conftest.$ac_objext
37023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37024 (eval $ac_compile) 2>conftest.er1
37025 ac_status=$?
37026 grep -v '^ *+' conftest.er1 >conftest.err
37027 rm -f conftest.er1
37028 cat conftest.err >&5
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); } &&
37031 { ac_try='test -z "$ac_cxx_werror_flag"
37032 || test ! -s conftest.err'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37035 ac_status=$?
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; } &&
37038 { ac_try='test -s conftest.$ac_objext'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37041 ac_status=$?
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; }; then
37044 glibcxx_cv_func__fmodf_use=yes
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37049 glibcxx_cv_func__fmodf_use=no
37051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37063 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37065 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37067 for ac_func in _fmodf
37069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37070 echo "$as_me:$LINENO: checking for $ac_func" >&5
37071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37072 if eval "test \"\${$as_ac_var+set}\" = set"; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075 if test x$gcc_no_link = xyes; then
37076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37078 { (exit 1); exit 1; }; }
37080 cat >conftest.$ac_ext <<_ACEOF
37081 /* confdefs.h. */
37082 _ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37088 #define $ac_func innocuous_$ac_func
37090 /* System header to define __stub macros and hopefully few prototypes,
37091 which can conflict with char $ac_func (); below.
37092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37093 <limits.h> exists even on freestanding compilers. */
37095 #ifdef __STDC__
37096 # include <limits.h>
37097 #else
37098 # include <assert.h>
37099 #endif
37101 #undef $ac_func
37103 /* Override any gcc2 internal prototype to avoid an error. */
37104 #ifdef __cplusplus
37105 extern "C"
37107 #endif
37108 /* We use char because int might match the return type of a gcc2
37109 builtin and then its argument prototype would still apply. */
37110 char $ac_func ();
37111 /* The GNU C library defines this for functions which it implements
37112 to always fail with ENOSYS. Some functions are actually named
37113 something starting with __ and the normal name is an alias. */
37114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37115 choke me
37116 #else
37117 char (*f) () = $ac_func;
37118 #endif
37119 #ifdef __cplusplus
37121 #endif
37124 main ()
37126 return f != $ac_func;
37128 return 0;
37130 _ACEOF
37131 rm -f conftest.$ac_objext conftest$ac_exeext
37132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37133 (eval $ac_link) 2>conftest.er1
37134 ac_status=$?
37135 grep -v '^ *+' conftest.er1 >conftest.err
37136 rm -f conftest.er1
37137 cat conftest.err >&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } &&
37140 { ac_try='test -z "$ac_c_werror_flag"
37141 || test ! -s conftest.err'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37144 ac_status=$?
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; } &&
37147 { ac_try='test -s conftest$ac_exeext'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37150 ac_status=$?
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; }; then
37153 eval "$as_ac_var=yes"
37154 else
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37158 eval "$as_ac_var=no"
37160 rm -f conftest.err conftest.$ac_objext \
37161 conftest$ac_exeext conftest.$ac_ext
37163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37165 if test `eval echo '${'$as_ac_var'}'` = yes; then
37166 cat >>confdefs.h <<_ACEOF
37167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37168 _ACEOF
37171 done
37181 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37182 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37183 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37184 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37185 echo $ECHO_N "(cached) $ECHO_C" >&6
37186 else
37190 ac_ext=cc
37191 ac_cpp='$CXXCPP $CPPFLAGS'
37192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37196 cat >conftest.$ac_ext <<_ACEOF
37197 /* confdefs.h. */
37198 _ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202 #include <math.h>
37204 main ()
37206 frexpf(0, 0);
37208 return 0;
37210 _ACEOF
37211 rm -f conftest.$ac_objext
37212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37213 (eval $ac_compile) 2>conftest.er1
37214 ac_status=$?
37215 grep -v '^ *+' conftest.er1 >conftest.err
37216 rm -f conftest.er1
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } &&
37220 { ac_try='test -z "$ac_cxx_werror_flag"
37221 || test ! -s conftest.err'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; } &&
37227 { ac_try='test -s conftest.$ac_objext'
37228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37229 (eval $ac_try) 2>&5
37230 ac_status=$?
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); }; }; then
37233 glibcxx_cv_func_frexpf_use=yes
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37238 glibcxx_cv_func_frexpf_use=no
37240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37241 ac_ext=c
37242 ac_cpp='$CPP $CPPFLAGS'
37243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37252 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37256 for ac_func in frexpf
37258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37259 echo "$as_me:$LINENO: checking for $ac_func" >&5
37260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37261 if eval "test \"\${$as_ac_var+set}\" = set"; then
37262 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 else
37264 if test x$gcc_no_link = xyes; then
37265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37267 { (exit 1); exit 1; }; }
37269 cat >conftest.$ac_ext <<_ACEOF
37270 /* confdefs.h. */
37271 _ACEOF
37272 cat confdefs.h >>conftest.$ac_ext
37273 cat >>conftest.$ac_ext <<_ACEOF
37274 /* end confdefs.h. */
37275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37277 #define $ac_func innocuous_$ac_func
37279 /* System header to define __stub macros and hopefully few prototypes,
37280 which can conflict with char $ac_func (); below.
37281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37282 <limits.h> exists even on freestanding compilers. */
37284 #ifdef __STDC__
37285 # include <limits.h>
37286 #else
37287 # include <assert.h>
37288 #endif
37290 #undef $ac_func
37292 /* Override any gcc2 internal prototype to avoid an error. */
37293 #ifdef __cplusplus
37294 extern "C"
37296 #endif
37297 /* We use char because int might match the return type of a gcc2
37298 builtin and then its argument prototype would still apply. */
37299 char $ac_func ();
37300 /* The GNU C library defines this for functions which it implements
37301 to always fail with ENOSYS. Some functions are actually named
37302 something starting with __ and the normal name is an alias. */
37303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37304 choke me
37305 #else
37306 char (*f) () = $ac_func;
37307 #endif
37308 #ifdef __cplusplus
37310 #endif
37313 main ()
37315 return f != $ac_func;
37317 return 0;
37319 _ACEOF
37320 rm -f conftest.$ac_objext conftest$ac_exeext
37321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37322 (eval $ac_link) 2>conftest.er1
37323 ac_status=$?
37324 grep -v '^ *+' conftest.er1 >conftest.err
37325 rm -f conftest.er1
37326 cat conftest.err >&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } &&
37329 { ac_try='test -z "$ac_c_werror_flag"
37330 || test ! -s conftest.err'
37331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37332 (eval $ac_try) 2>&5
37333 ac_status=$?
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); }; } &&
37336 { ac_try='test -s conftest$ac_exeext'
37337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37338 (eval $ac_try) 2>&5
37339 ac_status=$?
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); }; }; then
37342 eval "$as_ac_var=yes"
37343 else
37344 echo "$as_me: failed program was:" >&5
37345 sed 's/^/| /' conftest.$ac_ext >&5
37347 eval "$as_ac_var=no"
37349 rm -f conftest.err conftest.$ac_objext \
37350 conftest$ac_exeext conftest.$ac_ext
37352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37354 if test `eval echo '${'$as_ac_var'}'` = yes; then
37355 cat >>confdefs.h <<_ACEOF
37356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37357 _ACEOF
37360 done
37362 else
37364 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37365 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37366 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37367 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37368 echo $ECHO_N "(cached) $ECHO_C" >&6
37369 else
37373 ac_ext=cc
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379 cat >conftest.$ac_ext <<_ACEOF
37380 /* confdefs.h. */
37381 _ACEOF
37382 cat confdefs.h >>conftest.$ac_ext
37383 cat >>conftest.$ac_ext <<_ACEOF
37384 /* end confdefs.h. */
37385 #include <math.h>
37387 main ()
37389 _frexpf(0, 0);
37391 return 0;
37393 _ACEOF
37394 rm -f conftest.$ac_objext
37395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37396 (eval $ac_compile) 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try='test -z "$ac_cxx_werror_flag"
37404 || test ! -s conftest.err'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37407 ac_status=$?
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; } &&
37410 { ac_try='test -s conftest.$ac_objext'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37413 ac_status=$?
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; }; then
37416 glibcxx_cv_func__frexpf_use=yes
37417 else
37418 echo "$as_me: failed program was:" >&5
37419 sed 's/^/| /' conftest.$ac_ext >&5
37421 glibcxx_cv_func__frexpf_use=no
37423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37424 ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37435 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37437 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37439 for ac_func in _frexpf
37441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37442 echo "$as_me:$LINENO: checking for $ac_func" >&5
37443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37444 if eval "test \"\${$as_ac_var+set}\" = set"; then
37445 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37447 if test x$gcc_no_link = xyes; then
37448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37450 { (exit 1); exit 1; }; }
37452 cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h. */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37460 #define $ac_func innocuous_$ac_func
37462 /* System header to define __stub macros and hopefully few prototypes,
37463 which can conflict with char $ac_func (); below.
37464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37465 <limits.h> exists even on freestanding compilers. */
37467 #ifdef __STDC__
37468 # include <limits.h>
37469 #else
37470 # include <assert.h>
37471 #endif
37473 #undef $ac_func
37475 /* Override any gcc2 internal prototype to avoid an error. */
37476 #ifdef __cplusplus
37477 extern "C"
37479 #endif
37480 /* We use char because int might match the return type of a gcc2
37481 builtin and then its argument prototype would still apply. */
37482 char $ac_func ();
37483 /* The GNU C library defines this for functions which it implements
37484 to always fail with ENOSYS. Some functions are actually named
37485 something starting with __ and the normal name is an alias. */
37486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37487 choke me
37488 #else
37489 char (*f) () = $ac_func;
37490 #endif
37491 #ifdef __cplusplus
37493 #endif
37496 main ()
37498 return f != $ac_func;
37500 return 0;
37502 _ACEOF
37503 rm -f conftest.$ac_objext conftest$ac_exeext
37504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37505 (eval $ac_link) 2>conftest.er1
37506 ac_status=$?
37507 grep -v '^ *+' conftest.er1 >conftest.err
37508 rm -f conftest.er1
37509 cat conftest.err >&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } &&
37512 { ac_try='test -z "$ac_c_werror_flag"
37513 || test ! -s conftest.err'
37514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515 (eval $ac_try) 2>&5
37516 ac_status=$?
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); }; } &&
37519 { ac_try='test -s conftest$ac_exeext'
37520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37521 (eval $ac_try) 2>&5
37522 ac_status=$?
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); }; }; then
37525 eval "$as_ac_var=yes"
37526 else
37527 echo "$as_me: failed program was:" >&5
37528 sed 's/^/| /' conftest.$ac_ext >&5
37530 eval "$as_ac_var=no"
37532 rm -f conftest.err conftest.$ac_objext \
37533 conftest$ac_exeext conftest.$ac_ext
37535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37537 if test `eval echo '${'$as_ac_var'}'` = yes; then
37538 cat >>confdefs.h <<_ACEOF
37539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37540 _ACEOF
37543 done
37553 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37554 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37555 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37556 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 else
37562 ac_ext=cc
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568 cat >conftest.$ac_ext <<_ACEOF
37569 /* confdefs.h. */
37570 _ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37574 #include <math.h>
37576 main ()
37578 hypotf(0, 0);
37580 return 0;
37582 _ACEOF
37583 rm -f conftest.$ac_objext
37584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37585 (eval $ac_compile) 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } &&
37592 { ac_try='test -z "$ac_cxx_werror_flag"
37593 || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try='test -s conftest.$ac_objext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 glibcxx_cv_func_hypotf_use=yes
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37610 glibcxx_cv_func_hypotf_use=no
37612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37624 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37626 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37628 for ac_func in hypotf
37630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37631 echo "$as_me:$LINENO: checking for $ac_func" >&5
37632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37633 if eval "test \"\${$as_ac_var+set}\" = set"; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 else
37636 if test x$gcc_no_link = xyes; then
37637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37639 { (exit 1); exit 1; }; }
37641 cat >conftest.$ac_ext <<_ACEOF
37642 /* confdefs.h. */
37643 _ACEOF
37644 cat confdefs.h >>conftest.$ac_ext
37645 cat >>conftest.$ac_ext <<_ACEOF
37646 /* end confdefs.h. */
37647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37649 #define $ac_func innocuous_$ac_func
37651 /* System header to define __stub macros and hopefully few prototypes,
37652 which can conflict with char $ac_func (); below.
37653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37654 <limits.h> exists even on freestanding compilers. */
37656 #ifdef __STDC__
37657 # include <limits.h>
37658 #else
37659 # include <assert.h>
37660 #endif
37662 #undef $ac_func
37664 /* Override any gcc2 internal prototype to avoid an error. */
37665 #ifdef __cplusplus
37666 extern "C"
37668 #endif
37669 /* We use char because int might match the return type of a gcc2
37670 builtin and then its argument prototype would still apply. */
37671 char $ac_func ();
37672 /* The GNU C library defines this for functions which it implements
37673 to always fail with ENOSYS. Some functions are actually named
37674 something starting with __ and the normal name is an alias. */
37675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37676 choke me
37677 #else
37678 char (*f) () = $ac_func;
37679 #endif
37680 #ifdef __cplusplus
37682 #endif
37685 main ()
37687 return f != $ac_func;
37689 return 0;
37691 _ACEOF
37692 rm -f conftest.$ac_objext conftest$ac_exeext
37693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37694 (eval $ac_link) 2>conftest.er1
37695 ac_status=$?
37696 grep -v '^ *+' conftest.er1 >conftest.err
37697 rm -f conftest.er1
37698 cat conftest.err >&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); } &&
37701 { ac_try='test -z "$ac_c_werror_flag"
37702 || test ! -s conftest.err'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37705 ac_status=$?
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; } &&
37708 { ac_try='test -s conftest$ac_exeext'
37709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37710 (eval $ac_try) 2>&5
37711 ac_status=$?
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); }; }; then
37714 eval "$as_ac_var=yes"
37715 else
37716 echo "$as_me: failed program was:" >&5
37717 sed 's/^/| /' conftest.$ac_ext >&5
37719 eval "$as_ac_var=no"
37721 rm -f conftest.err conftest.$ac_objext \
37722 conftest$ac_exeext conftest.$ac_ext
37724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37726 if test `eval echo '${'$as_ac_var'}'` = yes; then
37727 cat >>confdefs.h <<_ACEOF
37728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37729 _ACEOF
37732 done
37734 else
37736 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37737 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37738 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37739 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37745 ac_ext=cc
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37751 cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h. */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h. */
37757 #include <math.h>
37759 main ()
37761 _hypotf(0, 0);
37763 return 0;
37765 _ACEOF
37766 rm -f conftest.$ac_objext
37767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37768 (eval $ac_compile) 2>conftest.er1
37769 ac_status=$?
37770 grep -v '^ *+' conftest.er1 >conftest.err
37771 rm -f conftest.er1
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } &&
37775 { ac_try='test -z "$ac_cxx_werror_flag"
37776 || test ! -s conftest.err'
37777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778 (eval $ac_try) 2>&5
37779 ac_status=$?
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; } &&
37782 { ac_try='test -s conftest.$ac_objext'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37785 ac_status=$?
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; }; then
37788 glibcxx_cv_func__hypotf_use=yes
37789 else
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37793 glibcxx_cv_func__hypotf_use=no
37795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37796 ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37807 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37809 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37811 for ac_func in _hypotf
37813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37814 echo "$as_me:$LINENO: checking for $ac_func" >&5
37815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37816 if eval "test \"\${$as_ac_var+set}\" = set"; then
37817 echo $ECHO_N "(cached) $ECHO_C" >&6
37818 else
37819 if test x$gcc_no_link = xyes; then
37820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37822 { (exit 1); exit 1; }; }
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define $ac_func innocuous_$ac_func
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37839 #ifdef __STDC__
37840 # include <limits.h>
37841 #else
37842 # include <assert.h>
37843 #endif
37845 #undef $ac_func
37847 /* Override any gcc2 internal prototype to avoid an error. */
37848 #ifdef __cplusplus
37849 extern "C"
37851 #endif
37852 /* We use char because int might match the return type of a gcc2
37853 builtin and then its argument prototype would still apply. */
37854 char $ac_func ();
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37859 choke me
37860 #else
37861 char (*f) () = $ac_func;
37862 #endif
37863 #ifdef __cplusplus
37865 #endif
37868 main ()
37870 return f != $ac_func;
37872 return 0;
37874 _ACEOF
37875 rm -f conftest.$ac_objext conftest$ac_exeext
37876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 (eval $ac_link) 2>conftest.er1
37878 ac_status=$?
37879 grep -v '^ *+' conftest.er1 >conftest.err
37880 rm -f conftest.er1
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } &&
37884 { ac_try='test -z "$ac_c_werror_flag"
37885 || test ! -s conftest.err'
37886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37887 (eval $ac_try) 2>&5
37888 ac_status=$?
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); }; } &&
37891 { ac_try='test -s conftest$ac_exeext'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37894 ac_status=$?
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; }; then
37897 eval "$as_ac_var=yes"
37898 else
37899 echo "$as_me: failed program was:" >&5
37900 sed 's/^/| /' conftest.$ac_ext >&5
37902 eval "$as_ac_var=no"
37904 rm -f conftest.err conftest.$ac_objext \
37905 conftest$ac_exeext conftest.$ac_ext
37907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37909 if test `eval echo '${'$as_ac_var'}'` = yes; then
37910 cat >>confdefs.h <<_ACEOF
37911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37912 _ACEOF
37915 done
37925 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37926 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37927 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37928 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37929 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 else
37934 ac_ext=cc
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940 cat >conftest.$ac_ext <<_ACEOF
37941 /* confdefs.h. */
37942 _ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946 #include <math.h>
37948 main ()
37950 ldexpf(0, 0);
37952 return 0;
37954 _ACEOF
37955 rm -f conftest.$ac_objext
37956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37957 (eval $ac_compile) 2>conftest.er1
37958 ac_status=$?
37959 grep -v '^ *+' conftest.er1 >conftest.err
37960 rm -f conftest.er1
37961 cat conftest.err >&5
37962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37963 (exit $ac_status); } &&
37964 { ac_try='test -z "$ac_cxx_werror_flag"
37965 || test ! -s conftest.err'
37966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967 (eval $ac_try) 2>&5
37968 ac_status=$?
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); }; } &&
37971 { ac_try='test -s conftest.$ac_objext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 glibcxx_cv_func_ldexpf_use=yes
37978 else
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37982 glibcxx_cv_func_ldexpf_use=no
37984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37985 ac_ext=c
37986 ac_cpp='$CPP $CPPFLAGS'
37987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37996 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37998 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38000 for ac_func in ldexpf
38002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38003 echo "$as_me:$LINENO: checking for $ac_func" >&5
38004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38005 if eval "test \"\${$as_ac_var+set}\" = set"; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008 if test x$gcc_no_link = xyes; then
38009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38011 { (exit 1); exit 1; }; }
38013 cat >conftest.$ac_ext <<_ACEOF
38014 /* confdefs.h. */
38015 _ACEOF
38016 cat confdefs.h >>conftest.$ac_ext
38017 cat >>conftest.$ac_ext <<_ACEOF
38018 /* end confdefs.h. */
38019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38021 #define $ac_func innocuous_$ac_func
38023 /* System header to define __stub macros and hopefully few prototypes,
38024 which can conflict with char $ac_func (); below.
38025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38026 <limits.h> exists even on freestanding compilers. */
38028 #ifdef __STDC__
38029 # include <limits.h>
38030 #else
38031 # include <assert.h>
38032 #endif
38034 #undef $ac_func
38036 /* Override any gcc2 internal prototype to avoid an error. */
38037 #ifdef __cplusplus
38038 extern "C"
38040 #endif
38041 /* We use char because int might match the return type of a gcc2
38042 builtin and then its argument prototype would still apply. */
38043 char $ac_func ();
38044 /* The GNU C library defines this for functions which it implements
38045 to always fail with ENOSYS. Some functions are actually named
38046 something starting with __ and the normal name is an alias. */
38047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38048 choke me
38049 #else
38050 char (*f) () = $ac_func;
38051 #endif
38052 #ifdef __cplusplus
38054 #endif
38057 main ()
38059 return f != $ac_func;
38061 return 0;
38063 _ACEOF
38064 rm -f conftest.$ac_objext conftest$ac_exeext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38066 (eval $ac_link) 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } &&
38073 { ac_try='test -z "$ac_c_werror_flag"
38074 || test ! -s conftest.err'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38077 ac_status=$?
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; } &&
38080 { ac_try='test -s conftest$ac_exeext'
38081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38082 (eval $ac_try) 2>&5
38083 ac_status=$?
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); }; }; then
38086 eval "$as_ac_var=yes"
38087 else
38088 echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38091 eval "$as_ac_var=no"
38093 rm -f conftest.err conftest.$ac_objext \
38094 conftest$ac_exeext conftest.$ac_ext
38096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38098 if test `eval echo '${'$as_ac_var'}'` = yes; then
38099 cat >>confdefs.h <<_ACEOF
38100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38101 _ACEOF
38104 done
38106 else
38108 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38109 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38110 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38111 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38112 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 else
38117 ac_ext=cc
38118 ac_cpp='$CXXCPP $CPPFLAGS'
38119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38123 cat >conftest.$ac_ext <<_ACEOF
38124 /* confdefs.h. */
38125 _ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129 #include <math.h>
38131 main ()
38133 _ldexpf(0, 0);
38135 return 0;
38137 _ACEOF
38138 rm -f conftest.$ac_objext
38139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38140 (eval $ac_compile) 2>conftest.er1
38141 ac_status=$?
38142 grep -v '^ *+' conftest.er1 >conftest.err
38143 rm -f conftest.er1
38144 cat conftest.err >&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); } &&
38147 { ac_try='test -z "$ac_cxx_werror_flag"
38148 || test ! -s conftest.err'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38151 ac_status=$?
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; } &&
38154 { ac_try='test -s conftest.$ac_objext'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38157 ac_status=$?
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; }; then
38160 glibcxx_cv_func__ldexpf_use=yes
38161 else
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38165 glibcxx_cv_func__ldexpf_use=no
38167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38168 ac_ext=c
38169 ac_cpp='$CPP $CPPFLAGS'
38170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38179 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38181 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38183 for ac_func in _ldexpf
38185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38186 echo "$as_me:$LINENO: checking for $ac_func" >&5
38187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38188 if eval "test \"\${$as_ac_var+set}\" = set"; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191 if test x$gcc_no_link = xyes; then
38192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38194 { (exit 1); exit 1; }; }
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38204 #define $ac_func innocuous_$ac_func
38206 /* System header to define __stub macros and hopefully few prototypes,
38207 which can conflict with char $ac_func (); below.
38208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209 <limits.h> exists even on freestanding compilers. */
38211 #ifdef __STDC__
38212 # include <limits.h>
38213 #else
38214 # include <assert.h>
38215 #endif
38217 #undef $ac_func
38219 /* Override any gcc2 internal prototype to avoid an error. */
38220 #ifdef __cplusplus
38221 extern "C"
38223 #endif
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38226 char $ac_func ();
38227 /* The GNU C library defines this for functions which it implements
38228 to always fail with ENOSYS. Some functions are actually named
38229 something starting with __ and the normal name is an alias. */
38230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38231 choke me
38232 #else
38233 char (*f) () = $ac_func;
38234 #endif
38235 #ifdef __cplusplus
38237 #endif
38240 main ()
38242 return f != $ac_func;
38244 return 0;
38246 _ACEOF
38247 rm -f conftest.$ac_objext conftest$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249 (eval $ac_link) 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try='test -z "$ac_c_werror_flag"
38257 || test ! -s conftest.err'
38258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259 (eval $ac_try) 2>&5
38260 ac_status=$?
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); }; } &&
38263 { ac_try='test -s conftest$ac_exeext'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38266 ac_status=$?
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; }; then
38269 eval "$as_ac_var=yes"
38270 else
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38274 eval "$as_ac_var=no"
38276 rm -f conftest.err conftest.$ac_objext \
38277 conftest$ac_exeext conftest.$ac_ext
38279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38281 if test `eval echo '${'$as_ac_var'}'` = yes; then
38282 cat >>confdefs.h <<_ACEOF
38283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38284 _ACEOF
38287 done
38297 echo "$as_me:$LINENO: checking for logf declaration" >&5
38298 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38299 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38300 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38301 echo $ECHO_N "(cached) $ECHO_C" >&6
38302 else
38306 ac_ext=cc
38307 ac_cpp='$CXXCPP $CPPFLAGS'
38308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38312 cat >conftest.$ac_ext <<_ACEOF
38313 /* confdefs.h. */
38314 _ACEOF
38315 cat confdefs.h >>conftest.$ac_ext
38316 cat >>conftest.$ac_ext <<_ACEOF
38317 /* end confdefs.h. */
38318 #include <math.h>
38319 #ifdef HAVE_IEEEFP_H
38320 #include <ieeefp.h>
38321 #endif
38324 main ()
38326 logf(0);
38328 return 0;
38330 _ACEOF
38331 rm -f conftest.$ac_objext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38333 (eval $ac_compile) 2>conftest.er1
38334 ac_status=$?
38335 grep -v '^ *+' conftest.er1 >conftest.err
38336 rm -f conftest.er1
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try='test -z "$ac_cxx_werror_flag"
38341 || test ! -s conftest.err'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38344 ac_status=$?
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; } &&
38347 { ac_try='test -s conftest.$ac_objext'
38348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38349 (eval $ac_try) 2>&5
38350 ac_status=$?
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); }; }; then
38353 glibcxx_cv_func_logf_use=yes
38354 else
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.$ac_ext >&5
38358 glibcxx_cv_func_logf_use=no
38360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38361 ac_ext=c
38362 ac_cpp='$CPP $CPPFLAGS'
38363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38372 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38374 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38376 for ac_func in logf
38378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38379 echo "$as_me:$LINENO: checking for $ac_func" >&5
38380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38381 if eval "test \"\${$as_ac_var+set}\" = set"; then
38382 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 else
38384 if test x$gcc_no_link = xyes; then
38385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38387 { (exit 1); exit 1; }; }
38389 cat >conftest.$ac_ext <<_ACEOF
38390 /* confdefs.h. */
38391 _ACEOF
38392 cat confdefs.h >>conftest.$ac_ext
38393 cat >>conftest.$ac_ext <<_ACEOF
38394 /* end confdefs.h. */
38395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38397 #define $ac_func innocuous_$ac_func
38399 /* System header to define __stub macros and hopefully few prototypes,
38400 which can conflict with char $ac_func (); below.
38401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38402 <limits.h> exists even on freestanding compilers. */
38404 #ifdef __STDC__
38405 # include <limits.h>
38406 #else
38407 # include <assert.h>
38408 #endif
38410 #undef $ac_func
38412 /* Override any gcc2 internal prototype to avoid an error. */
38413 #ifdef __cplusplus
38414 extern "C"
38416 #endif
38417 /* We use char because int might match the return type of a gcc2
38418 builtin and then its argument prototype would still apply. */
38419 char $ac_func ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38424 choke me
38425 #else
38426 char (*f) () = $ac_func;
38427 #endif
38428 #ifdef __cplusplus
38430 #endif
38433 main ()
38435 return f != $ac_func;
38437 return 0;
38439 _ACEOF
38440 rm -f conftest.$ac_objext conftest$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>conftest.er1
38443 ac_status=$?
38444 grep -v '^ *+' conftest.er1 >conftest.err
38445 rm -f conftest.er1
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } &&
38449 { ac_try='test -z "$ac_c_werror_flag"
38450 || test ! -s conftest.err'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38453 ac_status=$?
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; } &&
38456 { ac_try='test -s conftest$ac_exeext'
38457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38458 (eval $ac_try) 2>&5
38459 ac_status=$?
38460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461 (exit $ac_status); }; }; then
38462 eval "$as_ac_var=yes"
38463 else
38464 echo "$as_me: failed program was:" >&5
38465 sed 's/^/| /' conftest.$ac_ext >&5
38467 eval "$as_ac_var=no"
38469 rm -f conftest.err conftest.$ac_objext \
38470 conftest$ac_exeext conftest.$ac_ext
38472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38474 if test `eval echo '${'$as_ac_var'}'` = yes; then
38475 cat >>confdefs.h <<_ACEOF
38476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38477 _ACEOF
38480 done
38482 else
38484 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38485 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38486 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38487 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 else
38493 ac_ext=cc
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38499 cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h. */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505 #include <math.h>
38506 #ifdef HAVE_IEEEFP_H
38507 #include <ieeefp.h>
38508 #endif
38511 main ()
38513 _logf(0);
38515 return 0;
38517 _ACEOF
38518 rm -f conftest.$ac_objext
38519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38520 (eval $ac_compile) 2>conftest.er1
38521 ac_status=$?
38522 grep -v '^ *+' conftest.er1 >conftest.err
38523 rm -f conftest.er1
38524 cat conftest.err >&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } &&
38527 { ac_try='test -z "$ac_cxx_werror_flag"
38528 || test ! -s conftest.err'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38531 ac_status=$?
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try='test -s conftest.$ac_objext'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; }; then
38540 glibcxx_cv_func__logf_use=yes
38541 else
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38545 glibcxx_cv_func__logf_use=no
38547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38548 ac_ext=c
38549 ac_cpp='$CPP $CPPFLAGS'
38550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38559 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38561 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38563 for ac_func in _logf
38565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38566 echo "$as_me:$LINENO: checking for $ac_func" >&5
38567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38568 if eval "test \"\${$as_ac_var+set}\" = set"; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 else
38571 if test x$gcc_no_link = xyes; then
38572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38574 { (exit 1); exit 1; }; }
38576 cat >conftest.$ac_ext <<_ACEOF
38577 /* confdefs.h. */
38578 _ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38584 #define $ac_func innocuous_$ac_func
38586 /* System header to define __stub macros and hopefully few prototypes,
38587 which can conflict with char $ac_func (); below.
38588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38589 <limits.h> exists even on freestanding compilers. */
38591 #ifdef __STDC__
38592 # include <limits.h>
38593 #else
38594 # include <assert.h>
38595 #endif
38597 #undef $ac_func
38599 /* Override any gcc2 internal prototype to avoid an error. */
38600 #ifdef __cplusplus
38601 extern "C"
38603 #endif
38604 /* We use char because int might match the return type of a gcc2
38605 builtin and then its argument prototype would still apply. */
38606 char $ac_func ();
38607 /* The GNU C library defines this for functions which it implements
38608 to always fail with ENOSYS. Some functions are actually named
38609 something starting with __ and the normal name is an alias. */
38610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38611 choke me
38612 #else
38613 char (*f) () = $ac_func;
38614 #endif
38615 #ifdef __cplusplus
38617 #endif
38620 main ()
38622 return f != $ac_func;
38624 return 0;
38626 _ACEOF
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38629 (eval $ac_link) 2>conftest.er1
38630 ac_status=$?
38631 grep -v '^ *+' conftest.er1 >conftest.err
38632 rm -f conftest.er1
38633 cat conftest.err >&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); } &&
38636 { ac_try='test -z "$ac_c_werror_flag"
38637 || test ! -s conftest.err'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38640 ac_status=$?
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; } &&
38643 { ac_try='test -s conftest$ac_exeext'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38646 ac_status=$?
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; }; then
38649 eval "$as_ac_var=yes"
38650 else
38651 echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.$ac_ext >&5
38654 eval "$as_ac_var=no"
38656 rm -f conftest.err conftest.$ac_objext \
38657 conftest$ac_exeext conftest.$ac_ext
38659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38661 if test `eval echo '${'$as_ac_var'}'` = yes; then
38662 cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38664 _ACEOF
38667 done
38677 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38678 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38679 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38680 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 else
38686 ac_ext=cc
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38692 cat >conftest.$ac_ext <<_ACEOF
38693 /* confdefs.h. */
38694 _ACEOF
38695 cat confdefs.h >>conftest.$ac_ext
38696 cat >>conftest.$ac_ext <<_ACEOF
38697 /* end confdefs.h. */
38698 #include <math.h>
38699 #ifdef HAVE_IEEEFP_H
38700 #include <ieeefp.h>
38701 #endif
38704 main ()
38706 log10f(0);
38708 return 0;
38710 _ACEOF
38711 rm -f conftest.$ac_objext
38712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38713 (eval $ac_compile) 2>conftest.er1
38714 ac_status=$?
38715 grep -v '^ *+' conftest.er1 >conftest.err
38716 rm -f conftest.er1
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } &&
38720 { ac_try='test -z "$ac_cxx_werror_flag"
38721 || test ! -s conftest.err'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38724 ac_status=$?
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; } &&
38727 { ac_try='test -s conftest.$ac_objext'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38730 ac_status=$?
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; }; then
38733 glibcxx_cv_func_log10f_use=yes
38734 else
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.$ac_ext >&5
38738 glibcxx_cv_func_log10f_use=no
38740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38741 ac_ext=c
38742 ac_cpp='$CPP $CPPFLAGS'
38743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38752 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38754 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38756 for ac_func in log10f
38758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38759 echo "$as_me:$LINENO: checking for $ac_func" >&5
38760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38761 if eval "test \"\${$as_ac_var+set}\" = set"; then
38762 echo $ECHO_N "(cached) $ECHO_C" >&6
38763 else
38764 if test x$gcc_no_link = xyes; then
38765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38767 { (exit 1); exit 1; }; }
38769 cat >conftest.$ac_ext <<_ACEOF
38770 /* confdefs.h. */
38771 _ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38777 #define $ac_func innocuous_$ac_func
38779 /* System header to define __stub macros and hopefully few prototypes,
38780 which can conflict with char $ac_func (); below.
38781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38782 <limits.h> exists even on freestanding compilers. */
38784 #ifdef __STDC__
38785 # include <limits.h>
38786 #else
38787 # include <assert.h>
38788 #endif
38790 #undef $ac_func
38792 /* Override any gcc2 internal prototype to avoid an error. */
38793 #ifdef __cplusplus
38794 extern "C"
38796 #endif
38797 /* We use char because int might match the return type of a gcc2
38798 builtin and then its argument prototype would still apply. */
38799 char $ac_func ();
38800 /* The GNU C library defines this for functions which it implements
38801 to always fail with ENOSYS. Some functions are actually named
38802 something starting with __ and the normal name is an alias. */
38803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38804 choke me
38805 #else
38806 char (*f) () = $ac_func;
38807 #endif
38808 #ifdef __cplusplus
38810 #endif
38813 main ()
38815 return f != $ac_func;
38817 return 0;
38819 _ACEOF
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38822 (eval $ac_link) 2>conftest.er1
38823 ac_status=$?
38824 grep -v '^ *+' conftest.er1 >conftest.err
38825 rm -f conftest.er1
38826 cat conftest.err >&5
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); } &&
38829 { ac_try='test -z "$ac_c_werror_flag"
38830 || test ! -s conftest.err'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38833 ac_status=$?
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; } &&
38836 { ac_try='test -s conftest$ac_exeext'
38837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38838 (eval $ac_try) 2>&5
38839 ac_status=$?
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); }; }; then
38842 eval "$as_ac_var=yes"
38843 else
38844 echo "$as_me: failed program was:" >&5
38845 sed 's/^/| /' conftest.$ac_ext >&5
38847 eval "$as_ac_var=no"
38849 rm -f conftest.err conftest.$ac_objext \
38850 conftest$ac_exeext conftest.$ac_ext
38852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38854 if test `eval echo '${'$as_ac_var'}'` = yes; then
38855 cat >>confdefs.h <<_ACEOF
38856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38857 _ACEOF
38860 done
38862 else
38864 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38865 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38866 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38867 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38868 echo $ECHO_N "(cached) $ECHO_C" >&6
38869 else
38873 ac_ext=cc
38874 ac_cpp='$CXXCPP $CPPFLAGS'
38875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38879 cat >conftest.$ac_ext <<_ACEOF
38880 /* confdefs.h. */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885 #include <math.h>
38886 #ifdef HAVE_IEEEFP_H
38887 #include <ieeefp.h>
38888 #endif
38891 main ()
38893 _log10f(0);
38895 return 0;
38897 _ACEOF
38898 rm -f conftest.$ac_objext
38899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38900 (eval $ac_compile) 2>conftest.er1
38901 ac_status=$?
38902 grep -v '^ *+' conftest.er1 >conftest.err
38903 rm -f conftest.er1
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } &&
38907 { ac_try='test -z "$ac_cxx_werror_flag"
38908 || test ! -s conftest.err'
38909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38910 (eval $ac_try) 2>&5
38911 ac_status=$?
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); }; } &&
38914 { ac_try='test -s conftest.$ac_objext'
38915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916 (eval $ac_try) 2>&5
38917 ac_status=$?
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); }; }; then
38920 glibcxx_cv_func__log10f_use=yes
38921 else
38922 echo "$as_me: failed program was:" >&5
38923 sed 's/^/| /' conftest.$ac_ext >&5
38925 glibcxx_cv_func__log10f_use=no
38927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38928 ac_ext=c
38929 ac_cpp='$CPP $CPPFLAGS'
38930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38939 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38941 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38943 for ac_func in _log10f
38945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38946 echo "$as_me:$LINENO: checking for $ac_func" >&5
38947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38948 if eval "test \"\${$as_ac_var+set}\" = set"; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951 if test x$gcc_no_link = xyes; then
38952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38954 { (exit 1); exit 1; }; }
38956 cat >conftest.$ac_ext <<_ACEOF
38957 /* confdefs.h. */
38958 _ACEOF
38959 cat confdefs.h >>conftest.$ac_ext
38960 cat >>conftest.$ac_ext <<_ACEOF
38961 /* end confdefs.h. */
38962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38964 #define $ac_func innocuous_$ac_func
38966 /* System header to define __stub macros and hopefully few prototypes,
38967 which can conflict with char $ac_func (); below.
38968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38969 <limits.h> exists even on freestanding compilers. */
38971 #ifdef __STDC__
38972 # include <limits.h>
38973 #else
38974 # include <assert.h>
38975 #endif
38977 #undef $ac_func
38979 /* Override any gcc2 internal prototype to avoid an error. */
38980 #ifdef __cplusplus
38981 extern "C"
38983 #endif
38984 /* We use char because int might match the return type of a gcc2
38985 builtin and then its argument prototype would still apply. */
38986 char $ac_func ();
38987 /* The GNU C library defines this for functions which it implements
38988 to always fail with ENOSYS. Some functions are actually named
38989 something starting with __ and the normal name is an alias. */
38990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38991 choke me
38992 #else
38993 char (*f) () = $ac_func;
38994 #endif
38995 #ifdef __cplusplus
38997 #endif
39000 main ()
39002 return f != $ac_func;
39004 return 0;
39006 _ACEOF
39007 rm -f conftest.$ac_objext conftest$ac_exeext
39008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39009 (eval $ac_link) 2>conftest.er1
39010 ac_status=$?
39011 grep -v '^ *+' conftest.er1 >conftest.err
39012 rm -f conftest.er1
39013 cat conftest.err >&5
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); } &&
39016 { ac_try='test -z "$ac_c_werror_flag"
39017 || test ! -s conftest.err'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39020 ac_status=$?
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; } &&
39023 { ac_try='test -s conftest$ac_exeext'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39026 ac_status=$?
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; }; then
39029 eval "$as_ac_var=yes"
39030 else
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.$ac_ext >&5
39034 eval "$as_ac_var=no"
39036 rm -f conftest.err conftest.$ac_objext \
39037 conftest$ac_exeext conftest.$ac_ext
39039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39041 if test `eval echo '${'$as_ac_var'}'` = yes; then
39042 cat >>confdefs.h <<_ACEOF
39043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39044 _ACEOF
39047 done
39057 echo "$as_me:$LINENO: checking for modff declaration" >&5
39058 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39059 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39060 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39061 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 else
39066 ac_ext=cc
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39072 cat >conftest.$ac_ext <<_ACEOF
39073 /* confdefs.h. */
39074 _ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 #include <math.h>
39080 main ()
39082 modff(0, 0);
39084 return 0;
39086 _ACEOF
39087 rm -f conftest.$ac_objext
39088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39089 (eval $ac_compile) 2>conftest.er1
39090 ac_status=$?
39091 grep -v '^ *+' conftest.er1 >conftest.err
39092 rm -f conftest.er1
39093 cat conftest.err >&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } &&
39096 { ac_try='test -z "$ac_cxx_werror_flag"
39097 || test ! -s conftest.err'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39100 ac_status=$?
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; } &&
39103 { ac_try='test -s conftest.$ac_objext'
39104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105 (eval $ac_try) 2>&5
39106 ac_status=$?
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; }; then
39109 glibcxx_cv_func_modff_use=yes
39110 else
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39114 glibcxx_cv_func_modff_use=no
39116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39117 ac_ext=c
39118 ac_cpp='$CPP $CPPFLAGS'
39119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39128 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39130 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39132 for ac_func in modff
39134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39135 echo "$as_me:$LINENO: checking for $ac_func" >&5
39136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39137 if eval "test \"\${$as_ac_var+set}\" = set"; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 else
39140 if test x$gcc_no_link = xyes; then
39141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39143 { (exit 1); exit 1; }; }
39145 cat >conftest.$ac_ext <<_ACEOF
39146 /* confdefs.h. */
39147 _ACEOF
39148 cat confdefs.h >>conftest.$ac_ext
39149 cat >>conftest.$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39153 #define $ac_func innocuous_$ac_func
39155 /* System header to define __stub macros and hopefully few prototypes,
39156 which can conflict with char $ac_func (); below.
39157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39158 <limits.h> exists even on freestanding compilers. */
39160 #ifdef __STDC__
39161 # include <limits.h>
39162 #else
39163 # include <assert.h>
39164 #endif
39166 #undef $ac_func
39168 /* Override any gcc2 internal prototype to avoid an error. */
39169 #ifdef __cplusplus
39170 extern "C"
39172 #endif
39173 /* We use char because int might match the return type of a gcc2
39174 builtin and then its argument prototype would still apply. */
39175 char $ac_func ();
39176 /* The GNU C library defines this for functions which it implements
39177 to always fail with ENOSYS. Some functions are actually named
39178 something starting with __ and the normal name is an alias. */
39179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39180 choke me
39181 #else
39182 char (*f) () = $ac_func;
39183 #endif
39184 #ifdef __cplusplus
39186 #endif
39189 main ()
39191 return f != $ac_func;
39193 return 0;
39195 _ACEOF
39196 rm -f conftest.$ac_objext conftest$ac_exeext
39197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39198 (eval $ac_link) 2>conftest.er1
39199 ac_status=$?
39200 grep -v '^ *+' conftest.er1 >conftest.err
39201 rm -f conftest.er1
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } &&
39205 { ac_try='test -z "$ac_c_werror_flag"
39206 || test ! -s conftest.err'
39207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39208 (eval $ac_try) 2>&5
39209 ac_status=$?
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); }; } &&
39212 { ac_try='test -s conftest$ac_exeext'
39213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39214 (eval $ac_try) 2>&5
39215 ac_status=$?
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); }; }; then
39218 eval "$as_ac_var=yes"
39219 else
39220 echo "$as_me: failed program was:" >&5
39221 sed 's/^/| /' conftest.$ac_ext >&5
39223 eval "$as_ac_var=no"
39225 rm -f conftest.err conftest.$ac_objext \
39226 conftest$ac_exeext conftest.$ac_ext
39228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39230 if test `eval echo '${'$as_ac_var'}'` = yes; then
39231 cat >>confdefs.h <<_ACEOF
39232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39233 _ACEOF
39236 done
39238 else
39240 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39241 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39242 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39243 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39244 echo $ECHO_N "(cached) $ECHO_C" >&6
39245 else
39249 ac_ext=cc
39250 ac_cpp='$CXXCPP $CPPFLAGS'
39251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39255 cat >conftest.$ac_ext <<_ACEOF
39256 /* confdefs.h. */
39257 _ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h. */
39261 #include <math.h>
39263 main ()
39265 _modff(0, 0);
39267 return 0;
39269 _ACEOF
39270 rm -f conftest.$ac_objext
39271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39272 (eval $ac_compile) 2>conftest.er1
39273 ac_status=$?
39274 grep -v '^ *+' conftest.er1 >conftest.err
39275 rm -f conftest.er1
39276 cat conftest.err >&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } &&
39279 { ac_try='test -z "$ac_cxx_werror_flag"
39280 || test ! -s conftest.err'
39281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282 (eval $ac_try) 2>&5
39283 ac_status=$?
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); }; } &&
39286 { ac_try='test -s conftest.$ac_objext'
39287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39288 (eval $ac_try) 2>&5
39289 ac_status=$?
39290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39291 (exit $ac_status); }; }; then
39292 glibcxx_cv_func__modff_use=yes
39293 else
39294 echo "$as_me: failed program was:" >&5
39295 sed 's/^/| /' conftest.$ac_ext >&5
39297 glibcxx_cv_func__modff_use=no
39299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39311 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39313 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39315 for ac_func in _modff
39317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39318 echo "$as_me:$LINENO: checking for $ac_func" >&5
39319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39320 if eval "test \"\${$as_ac_var+set}\" = set"; then
39321 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 else
39323 if test x$gcc_no_link = xyes; then
39324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39326 { (exit 1); exit 1; }; }
39328 cat >conftest.$ac_ext <<_ACEOF
39329 /* confdefs.h. */
39330 _ACEOF
39331 cat confdefs.h >>conftest.$ac_ext
39332 cat >>conftest.$ac_ext <<_ACEOF
39333 /* end confdefs.h. */
39334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39336 #define $ac_func innocuous_$ac_func
39338 /* System header to define __stub macros and hopefully few prototypes,
39339 which can conflict with char $ac_func (); below.
39340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39341 <limits.h> exists even on freestanding compilers. */
39343 #ifdef __STDC__
39344 # include <limits.h>
39345 #else
39346 # include <assert.h>
39347 #endif
39349 #undef $ac_func
39351 /* Override any gcc2 internal prototype to avoid an error. */
39352 #ifdef __cplusplus
39353 extern "C"
39355 #endif
39356 /* We use char because int might match the return type of a gcc2
39357 builtin and then its argument prototype would still apply. */
39358 char $ac_func ();
39359 /* The GNU C library defines this for functions which it implements
39360 to always fail with ENOSYS. Some functions are actually named
39361 something starting with __ and the normal name is an alias. */
39362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39363 choke me
39364 #else
39365 char (*f) () = $ac_func;
39366 #endif
39367 #ifdef __cplusplus
39369 #endif
39372 main ()
39374 return f != $ac_func;
39376 return 0;
39378 _ACEOF
39379 rm -f conftest.$ac_objext conftest$ac_exeext
39380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39381 (eval $ac_link) 2>conftest.er1
39382 ac_status=$?
39383 grep -v '^ *+' conftest.er1 >conftest.err
39384 rm -f conftest.er1
39385 cat conftest.err >&5
39386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39387 (exit $ac_status); } &&
39388 { ac_try='test -z "$ac_c_werror_flag"
39389 || test ! -s conftest.err'
39390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39391 (eval $ac_try) 2>&5
39392 ac_status=$?
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); }; } &&
39395 { ac_try='test -s conftest$ac_exeext'
39396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39397 (eval $ac_try) 2>&5
39398 ac_status=$?
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); }; }; then
39401 eval "$as_ac_var=yes"
39402 else
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.$ac_ext >&5
39406 eval "$as_ac_var=no"
39408 rm -f conftest.err conftest.$ac_objext \
39409 conftest$ac_exeext conftest.$ac_ext
39411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39413 if test `eval echo '${'$as_ac_var'}'` = yes; then
39414 cat >>confdefs.h <<_ACEOF
39415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39416 _ACEOF
39419 done
39429 echo "$as_me:$LINENO: checking for modf declaration" >&5
39430 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39431 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39432 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39434 else
39438 ac_ext=cc
39439 ac_cpp='$CXXCPP $CPPFLAGS'
39440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39444 cat >conftest.$ac_ext <<_ACEOF
39445 /* confdefs.h. */
39446 _ACEOF
39447 cat confdefs.h >>conftest.$ac_ext
39448 cat >>conftest.$ac_ext <<_ACEOF
39449 /* end confdefs.h. */
39450 #include <math.h>
39452 main ()
39454 modf(0, 0);
39456 return 0;
39458 _ACEOF
39459 rm -f conftest.$ac_objext
39460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39461 (eval $ac_compile) 2>conftest.er1
39462 ac_status=$?
39463 grep -v '^ *+' conftest.er1 >conftest.err
39464 rm -f conftest.er1
39465 cat conftest.err >&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try='test -z "$ac_cxx_werror_flag"
39469 || test ! -s conftest.err'
39470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39471 (eval $ac_try) 2>&5
39472 ac_status=$?
39473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39474 (exit $ac_status); }; } &&
39475 { ac_try='test -s conftest.$ac_objext'
39476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39477 (eval $ac_try) 2>&5
39478 ac_status=$?
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); }; }; then
39481 glibcxx_cv_func_modf_use=yes
39482 else
39483 echo "$as_me: failed program was:" >&5
39484 sed 's/^/| /' conftest.$ac_ext >&5
39486 glibcxx_cv_func_modf_use=no
39488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39489 ac_ext=c
39490 ac_cpp='$CPP $CPPFLAGS'
39491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39500 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39502 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39504 for ac_func in modf
39506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39507 echo "$as_me:$LINENO: checking for $ac_func" >&5
39508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39509 if eval "test \"\${$as_ac_var+set}\" = set"; then
39510 echo $ECHO_N "(cached) $ECHO_C" >&6
39511 else
39512 if test x$gcc_no_link = xyes; then
39513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39515 { (exit 1); exit 1; }; }
39517 cat >conftest.$ac_ext <<_ACEOF
39518 /* confdefs.h. */
39519 _ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39525 #define $ac_func innocuous_$ac_func
39527 /* System header to define __stub macros and hopefully few prototypes,
39528 which can conflict with char $ac_func (); below.
39529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39530 <limits.h> exists even on freestanding compilers. */
39532 #ifdef __STDC__
39533 # include <limits.h>
39534 #else
39535 # include <assert.h>
39536 #endif
39538 #undef $ac_func
39540 /* Override any gcc2 internal prototype to avoid an error. */
39541 #ifdef __cplusplus
39542 extern "C"
39544 #endif
39545 /* We use char because int might match the return type of a gcc2
39546 builtin and then its argument prototype would still apply. */
39547 char $ac_func ();
39548 /* The GNU C library defines this for functions which it implements
39549 to always fail with ENOSYS. Some functions are actually named
39550 something starting with __ and the normal name is an alias. */
39551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39552 choke me
39553 #else
39554 char (*f) () = $ac_func;
39555 #endif
39556 #ifdef __cplusplus
39558 #endif
39561 main ()
39563 return f != $ac_func;
39565 return 0;
39567 _ACEOF
39568 rm -f conftest.$ac_objext conftest$ac_exeext
39569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39570 (eval $ac_link) 2>conftest.er1
39571 ac_status=$?
39572 grep -v '^ *+' conftest.er1 >conftest.err
39573 rm -f conftest.er1
39574 cat conftest.err >&5
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); } &&
39577 { ac_try='test -z "$ac_c_werror_flag"
39578 || test ! -s conftest.err'
39579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39580 (eval $ac_try) 2>&5
39581 ac_status=$?
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); }; } &&
39584 { ac_try='test -s conftest$ac_exeext'
39585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39586 (eval $ac_try) 2>&5
39587 ac_status=$?
39588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39589 (exit $ac_status); }; }; then
39590 eval "$as_ac_var=yes"
39591 else
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.$ac_ext >&5
39595 eval "$as_ac_var=no"
39597 rm -f conftest.err conftest.$ac_objext \
39598 conftest$ac_exeext conftest.$ac_ext
39600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39602 if test `eval echo '${'$as_ac_var'}'` = yes; then
39603 cat >>confdefs.h <<_ACEOF
39604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39605 _ACEOF
39608 done
39610 else
39612 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39613 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39614 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39615 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39617 else
39621 ac_ext=cc
39622 ac_cpp='$CXXCPP $CPPFLAGS'
39623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39627 cat >conftest.$ac_ext <<_ACEOF
39628 /* confdefs.h. */
39629 _ACEOF
39630 cat confdefs.h >>conftest.$ac_ext
39631 cat >>conftest.$ac_ext <<_ACEOF
39632 /* end confdefs.h. */
39633 #include <math.h>
39635 main ()
39637 _modf(0, 0);
39639 return 0;
39641 _ACEOF
39642 rm -f conftest.$ac_objext
39643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39644 (eval $ac_compile) 2>conftest.er1
39645 ac_status=$?
39646 grep -v '^ *+' conftest.er1 >conftest.err
39647 rm -f conftest.er1
39648 cat conftest.err >&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); } &&
39651 { ac_try='test -z "$ac_cxx_werror_flag"
39652 || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try='test -s conftest.$ac_objext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39661 ac_status=$?
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 glibcxx_cv_func__modf_use=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39669 glibcxx_cv_func__modf_use=no
39671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39672 ac_ext=c
39673 ac_cpp='$CPP $CPPFLAGS'
39674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39683 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39685 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39687 for ac_func in _modf
39689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39690 echo "$as_me:$LINENO: checking for $ac_func" >&5
39691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39692 if eval "test \"\${$as_ac_var+set}\" = set"; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39695 if test x$gcc_no_link = xyes; then
39696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39698 { (exit 1); exit 1; }; }
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h. */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define $ac_func innocuous_$ac_func
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char $ac_func (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39715 #ifdef __STDC__
39716 # include <limits.h>
39717 #else
39718 # include <assert.h>
39719 #endif
39721 #undef $ac_func
39723 /* Override any gcc2 internal prototype to avoid an error. */
39724 #ifdef __cplusplus
39725 extern "C"
39727 #endif
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39730 char $ac_func ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39735 choke me
39736 #else
39737 char (*f) () = $ac_func;
39738 #endif
39739 #ifdef __cplusplus
39741 #endif
39744 main ()
39746 return f != $ac_func;
39748 return 0;
39750 _ACEOF
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try='test -z "$ac_c_werror_flag"
39761 || test ! -s conftest.err'
39762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39763 (eval $ac_try) 2>&5
39764 ac_status=$?
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); }; } &&
39767 { ac_try='test -s conftest$ac_exeext'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39770 ac_status=$?
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; }; then
39773 eval "$as_ac_var=yes"
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39778 eval "$as_ac_var=no"
39780 rm -f conftest.err conftest.$ac_objext \
39781 conftest$ac_exeext conftest.$ac_ext
39783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39788 _ACEOF
39791 done
39801 echo "$as_me:$LINENO: checking for powf declaration" >&5
39802 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39803 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39804 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39810 ac_ext=cc
39811 ac_cpp='$CXXCPP $CPPFLAGS'
39812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39816 cat >conftest.$ac_ext <<_ACEOF
39817 /* confdefs.h. */
39818 _ACEOF
39819 cat confdefs.h >>conftest.$ac_ext
39820 cat >>conftest.$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39822 #include <math.h>
39824 main ()
39826 powf(0, 0);
39828 return 0;
39830 _ACEOF
39831 rm -f conftest.$ac_objext
39832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39833 (eval $ac_compile) 2>conftest.er1
39834 ac_status=$?
39835 grep -v '^ *+' conftest.er1 >conftest.err
39836 rm -f conftest.er1
39837 cat conftest.err >&5
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); } &&
39840 { ac_try='test -z "$ac_cxx_werror_flag"
39841 || test ! -s conftest.err'
39842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39843 (eval $ac_try) 2>&5
39844 ac_status=$?
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; } &&
39847 { ac_try='test -s conftest.$ac_objext'
39848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39849 (eval $ac_try) 2>&5
39850 ac_status=$?
39851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39852 (exit $ac_status); }; }; then
39853 glibcxx_cv_func_powf_use=yes
39854 else
39855 echo "$as_me: failed program was:" >&5
39856 sed 's/^/| /' conftest.$ac_ext >&5
39858 glibcxx_cv_func_powf_use=no
39860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39861 ac_ext=c
39862 ac_cpp='$CPP $CPPFLAGS'
39863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39872 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39874 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39876 for ac_func in powf
39878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39879 echo "$as_me:$LINENO: checking for $ac_func" >&5
39880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39881 if eval "test \"\${$as_ac_var+set}\" = set"; then
39882 echo $ECHO_N "(cached) $ECHO_C" >&6
39883 else
39884 if test x$gcc_no_link = xyes; then
39885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39887 { (exit 1); exit 1; }; }
39889 cat >conftest.$ac_ext <<_ACEOF
39890 /* confdefs.h. */
39891 _ACEOF
39892 cat confdefs.h >>conftest.$ac_ext
39893 cat >>conftest.$ac_ext <<_ACEOF
39894 /* end confdefs.h. */
39895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39897 #define $ac_func innocuous_$ac_func
39899 /* System header to define __stub macros and hopefully few prototypes,
39900 which can conflict with char $ac_func (); below.
39901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39902 <limits.h> exists even on freestanding compilers. */
39904 #ifdef __STDC__
39905 # include <limits.h>
39906 #else
39907 # include <assert.h>
39908 #endif
39910 #undef $ac_func
39912 /* Override any gcc2 internal prototype to avoid an error. */
39913 #ifdef __cplusplus
39914 extern "C"
39916 #endif
39917 /* We use char because int might match the return type of a gcc2
39918 builtin and then its argument prototype would still apply. */
39919 char $ac_func ();
39920 /* The GNU C library defines this for functions which it implements
39921 to always fail with ENOSYS. Some functions are actually named
39922 something starting with __ and the normal name is an alias. */
39923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39924 choke me
39925 #else
39926 char (*f) () = $ac_func;
39927 #endif
39928 #ifdef __cplusplus
39930 #endif
39933 main ()
39935 return f != $ac_func;
39937 return 0;
39939 _ACEOF
39940 rm -f conftest.$ac_objext conftest$ac_exeext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39942 (eval $ac_link) 2>conftest.er1
39943 ac_status=$?
39944 grep -v '^ *+' conftest.er1 >conftest.err
39945 rm -f conftest.er1
39946 cat conftest.err >&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try='test -z "$ac_c_werror_flag"
39950 || test ! -s conftest.err'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39953 ac_status=$?
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; } &&
39956 { ac_try='test -s conftest$ac_exeext'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39959 ac_status=$?
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; }; then
39962 eval "$as_ac_var=yes"
39963 else
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.$ac_ext >&5
39967 eval "$as_ac_var=no"
39969 rm -f conftest.err conftest.$ac_objext \
39970 conftest$ac_exeext conftest.$ac_ext
39972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39974 if test `eval echo '${'$as_ac_var'}'` = yes; then
39975 cat >>confdefs.h <<_ACEOF
39976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39977 _ACEOF
39980 done
39982 else
39984 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39985 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39986 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39987 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39988 echo $ECHO_N "(cached) $ECHO_C" >&6
39989 else
39993 ac_ext=cc
39994 ac_cpp='$CXXCPP $CPPFLAGS'
39995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39999 cat >conftest.$ac_ext <<_ACEOF
40000 /* confdefs.h. */
40001 _ACEOF
40002 cat confdefs.h >>conftest.$ac_ext
40003 cat >>conftest.$ac_ext <<_ACEOF
40004 /* end confdefs.h. */
40005 #include <math.h>
40007 main ()
40009 _powf(0, 0);
40011 return 0;
40013 _ACEOF
40014 rm -f conftest.$ac_objext
40015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40016 (eval $ac_compile) 2>conftest.er1
40017 ac_status=$?
40018 grep -v '^ *+' conftest.er1 >conftest.err
40019 rm -f conftest.er1
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } &&
40023 { ac_try='test -z "$ac_cxx_werror_flag"
40024 || test ! -s conftest.err'
40025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40026 (eval $ac_try) 2>&5
40027 ac_status=$?
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); }; } &&
40030 { ac_try='test -s conftest.$ac_objext'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; }; then
40036 glibcxx_cv_func__powf_use=yes
40037 else
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.$ac_ext >&5
40041 glibcxx_cv_func__powf_use=no
40043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40044 ac_ext=c
40045 ac_cpp='$CPP $CPPFLAGS'
40046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40055 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40057 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40059 for ac_func in _powf
40061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40062 echo "$as_me:$LINENO: checking for $ac_func" >&5
40063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40064 if eval "test \"\${$as_ac_var+set}\" = set"; then
40065 echo $ECHO_N "(cached) $ECHO_C" >&6
40066 else
40067 if test x$gcc_no_link = xyes; then
40068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40070 { (exit 1); exit 1; }; }
40072 cat >conftest.$ac_ext <<_ACEOF
40073 /* confdefs.h. */
40074 _ACEOF
40075 cat confdefs.h >>conftest.$ac_ext
40076 cat >>conftest.$ac_ext <<_ACEOF
40077 /* end confdefs.h. */
40078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40080 #define $ac_func innocuous_$ac_func
40082 /* System header to define __stub macros and hopefully few prototypes,
40083 which can conflict with char $ac_func (); below.
40084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40085 <limits.h> exists even on freestanding compilers. */
40087 #ifdef __STDC__
40088 # include <limits.h>
40089 #else
40090 # include <assert.h>
40091 #endif
40093 #undef $ac_func
40095 /* Override any gcc2 internal prototype to avoid an error. */
40096 #ifdef __cplusplus
40097 extern "C"
40099 #endif
40100 /* We use char because int might match the return type of a gcc2
40101 builtin and then its argument prototype would still apply. */
40102 char $ac_func ();
40103 /* The GNU C library defines this for functions which it implements
40104 to always fail with ENOSYS. Some functions are actually named
40105 something starting with __ and the normal name is an alias. */
40106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40107 choke me
40108 #else
40109 char (*f) () = $ac_func;
40110 #endif
40111 #ifdef __cplusplus
40113 #endif
40116 main ()
40118 return f != $ac_func;
40120 return 0;
40122 _ACEOF
40123 rm -f conftest.$ac_objext conftest$ac_exeext
40124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40125 (eval $ac_link) 2>conftest.er1
40126 ac_status=$?
40127 grep -v '^ *+' conftest.er1 >conftest.err
40128 rm -f conftest.er1
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } &&
40132 { ac_try='test -z "$ac_c_werror_flag"
40133 || test ! -s conftest.err'
40134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40135 (eval $ac_try) 2>&5
40136 ac_status=$?
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); }; } &&
40139 { ac_try='test -s conftest$ac_exeext'
40140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40141 (eval $ac_try) 2>&5
40142 ac_status=$?
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); }; }; then
40145 eval "$as_ac_var=yes"
40146 else
40147 echo "$as_me: failed program was:" >&5
40148 sed 's/^/| /' conftest.$ac_ext >&5
40150 eval "$as_ac_var=no"
40152 rm -f conftest.err conftest.$ac_objext \
40153 conftest$ac_exeext conftest.$ac_ext
40155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40157 if test `eval echo '${'$as_ac_var'}'` = yes; then
40158 cat >>confdefs.h <<_ACEOF
40159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40160 _ACEOF
40163 done
40173 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40174 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40175 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40176 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40177 echo $ECHO_N "(cached) $ECHO_C" >&6
40178 else
40182 ac_ext=cc
40183 ac_cpp='$CXXCPP $CPPFLAGS'
40184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40188 cat >conftest.$ac_ext <<_ACEOF
40189 /* confdefs.h. */
40190 _ACEOF
40191 cat confdefs.h >>conftest.$ac_ext
40192 cat >>conftest.$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40194 #include <math.h>
40195 #ifdef HAVE_IEEEFP_H
40196 #include <ieeefp.h>
40197 #endif
40200 main ()
40202 sqrtf(0);
40204 return 0;
40206 _ACEOF
40207 rm -f conftest.$ac_objext
40208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40209 (eval $ac_compile) 2>conftest.er1
40210 ac_status=$?
40211 grep -v '^ *+' conftest.er1 >conftest.err
40212 rm -f conftest.er1
40213 cat conftest.err >&5
40214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215 (exit $ac_status); } &&
40216 { ac_try='test -z "$ac_cxx_werror_flag"
40217 || test ! -s conftest.err'
40218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219 (eval $ac_try) 2>&5
40220 ac_status=$?
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); }; } &&
40223 { ac_try='test -s conftest.$ac_objext'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40226 ac_status=$?
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; }; then
40229 glibcxx_cv_func_sqrtf_use=yes
40230 else
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.$ac_ext >&5
40234 glibcxx_cv_func_sqrtf_use=no
40236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40237 ac_ext=c
40238 ac_cpp='$CPP $CPPFLAGS'
40239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40248 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40250 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40252 for ac_func in sqrtf
40254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40255 echo "$as_me:$LINENO: checking for $ac_func" >&5
40256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40257 if eval "test \"\${$as_ac_var+set}\" = set"; then
40258 echo $ECHO_N "(cached) $ECHO_C" >&6
40259 else
40260 if test x$gcc_no_link = xyes; then
40261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40263 { (exit 1); exit 1; }; }
40265 cat >conftest.$ac_ext <<_ACEOF
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40273 #define $ac_func innocuous_$ac_func
40275 /* System header to define __stub macros and hopefully few prototypes,
40276 which can conflict with char $ac_func (); below.
40277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40278 <limits.h> exists even on freestanding compilers. */
40280 #ifdef __STDC__
40281 # include <limits.h>
40282 #else
40283 # include <assert.h>
40284 #endif
40286 #undef $ac_func
40288 /* Override any gcc2 internal prototype to avoid an error. */
40289 #ifdef __cplusplus
40290 extern "C"
40292 #endif
40293 /* We use char because int might match the return type of a gcc2
40294 builtin and then its argument prototype would still apply. */
40295 char $ac_func ();
40296 /* The GNU C library defines this for functions which it implements
40297 to always fail with ENOSYS. Some functions are actually named
40298 something starting with __ and the normal name is an alias. */
40299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40300 choke me
40301 #else
40302 char (*f) () = $ac_func;
40303 #endif
40304 #ifdef __cplusplus
40306 #endif
40309 main ()
40311 return f != $ac_func;
40313 return 0;
40315 _ACEOF
40316 rm -f conftest.$ac_objext conftest$ac_exeext
40317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40318 (eval $ac_link) 2>conftest.er1
40319 ac_status=$?
40320 grep -v '^ *+' conftest.er1 >conftest.err
40321 rm -f conftest.er1
40322 cat conftest.err >&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } &&
40325 { ac_try='test -z "$ac_c_werror_flag"
40326 || test ! -s conftest.err'
40327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328 (eval $ac_try) 2>&5
40329 ac_status=$?
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); }; } &&
40332 { ac_try='test -s conftest$ac_exeext'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40335 ac_status=$?
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; }; then
40338 eval "$as_ac_var=yes"
40339 else
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40343 eval "$as_ac_var=no"
40345 rm -f conftest.err conftest.$ac_objext \
40346 conftest$ac_exeext conftest.$ac_ext
40348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40350 if test `eval echo '${'$as_ac_var'}'` = yes; then
40351 cat >>confdefs.h <<_ACEOF
40352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40353 _ACEOF
40356 done
40358 else
40360 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40361 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40362 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40363 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40364 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 else
40369 ac_ext=cc
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40375 cat >conftest.$ac_ext <<_ACEOF
40376 /* confdefs.h. */
40377 _ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40381 #include <math.h>
40382 #ifdef HAVE_IEEEFP_H
40383 #include <ieeefp.h>
40384 #endif
40387 main ()
40389 _sqrtf(0);
40391 return 0;
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40396 (eval $ac_compile) 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try='test -z "$ac_cxx_werror_flag"
40404 || test ! -s conftest.err'
40405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406 (eval $ac_try) 2>&5
40407 ac_status=$?
40408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409 (exit $ac_status); }; } &&
40410 { ac_try='test -s conftest.$ac_objext'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; }; then
40416 glibcxx_cv_func__sqrtf_use=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40421 glibcxx_cv_func__sqrtf_use=no
40423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40424 ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40435 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40437 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40439 for ac_func in _sqrtf
40441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40442 echo "$as_me:$LINENO: checking for $ac_func" >&5
40443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40444 if eval "test \"\${$as_ac_var+set}\" = set"; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447 if test x$gcc_no_link = xyes; then
40448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40450 { (exit 1); exit 1; }; }
40452 cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h. */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define $ac_func innocuous_$ac_func
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40467 #ifdef __STDC__
40468 # include <limits.h>
40469 #else
40470 # include <assert.h>
40471 #endif
40473 #undef $ac_func
40475 /* Override any gcc2 internal prototype to avoid an error. */
40476 #ifdef __cplusplus
40477 extern "C"
40479 #endif
40480 /* We use char because int might match the return type of a gcc2
40481 builtin and then its argument prototype would still apply. */
40482 char $ac_func ();
40483 /* The GNU C library defines this for functions which it implements
40484 to always fail with ENOSYS. Some functions are actually named
40485 something starting with __ and the normal name is an alias. */
40486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40487 choke me
40488 #else
40489 char (*f) () = $ac_func;
40490 #endif
40491 #ifdef __cplusplus
40493 #endif
40496 main ()
40498 return f != $ac_func;
40500 return 0;
40502 _ACEOF
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40505 (eval $ac_link) 2>conftest.er1
40506 ac_status=$?
40507 grep -v '^ *+' conftest.er1 >conftest.err
40508 rm -f conftest.er1
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } &&
40512 { ac_try='test -z "$ac_c_werror_flag"
40513 || test ! -s conftest.err'
40514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40515 (eval $ac_try) 2>&5
40516 ac_status=$?
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); }; } &&
40519 { ac_try='test -s conftest$ac_exeext'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; }; then
40525 eval "$as_ac_var=yes"
40526 else
40527 echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.$ac_ext >&5
40530 eval "$as_ac_var=no"
40532 rm -f conftest.err conftest.$ac_objext \
40533 conftest$ac_exeext conftest.$ac_ext
40535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40537 if test `eval echo '${'$as_ac_var'}'` = yes; then
40538 cat >>confdefs.h <<_ACEOF
40539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40540 _ACEOF
40543 done
40553 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40554 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40555 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40556 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40562 ac_ext=cc
40563 ac_cpp='$CXXCPP $CPPFLAGS'
40564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40568 cat >conftest.$ac_ext <<_ACEOF
40569 /* confdefs.h. */
40570 _ACEOF
40571 cat confdefs.h >>conftest.$ac_ext
40572 cat >>conftest.$ac_ext <<_ACEOF
40573 /* end confdefs.h. */
40574 #include <math.h>
40576 main ()
40578 sincosf(0, 0, 0);
40580 return 0;
40582 _ACEOF
40583 rm -f conftest.$ac_objext
40584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40585 (eval $ac_compile) 2>conftest.er1
40586 ac_status=$?
40587 grep -v '^ *+' conftest.er1 >conftest.err
40588 rm -f conftest.er1
40589 cat conftest.err >&5
40590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591 (exit $ac_status); } &&
40592 { ac_try='test -z "$ac_cxx_werror_flag"
40593 || test ! -s conftest.err'
40594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40595 (eval $ac_try) 2>&5
40596 ac_status=$?
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); }; } &&
40599 { ac_try='test -s conftest.$ac_objext'
40600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601 (eval $ac_try) 2>&5
40602 ac_status=$?
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); }; }; then
40605 glibcxx_cv_func_sincosf_use=yes
40606 else
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40610 glibcxx_cv_func_sincosf_use=no
40612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40624 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40626 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40628 for ac_func in sincosf
40630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40631 echo "$as_me:$LINENO: checking for $ac_func" >&5
40632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40633 if eval "test \"\${$as_ac_var+set}\" = set"; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40635 else
40636 if test x$gcc_no_link = xyes; then
40637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40639 { (exit 1); exit 1; }; }
40641 cat >conftest.$ac_ext <<_ACEOF
40642 /* confdefs.h. */
40643 _ACEOF
40644 cat confdefs.h >>conftest.$ac_ext
40645 cat >>conftest.$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40649 #define $ac_func innocuous_$ac_func
40651 /* System header to define __stub macros and hopefully few prototypes,
40652 which can conflict with char $ac_func (); below.
40653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40654 <limits.h> exists even on freestanding compilers. */
40656 #ifdef __STDC__
40657 # include <limits.h>
40658 #else
40659 # include <assert.h>
40660 #endif
40662 #undef $ac_func
40664 /* Override any gcc2 internal prototype to avoid an error. */
40665 #ifdef __cplusplus
40666 extern "C"
40668 #endif
40669 /* We use char because int might match the return type of a gcc2
40670 builtin and then its argument prototype would still apply. */
40671 char $ac_func ();
40672 /* The GNU C library defines this for functions which it implements
40673 to always fail with ENOSYS. Some functions are actually named
40674 something starting with __ and the normal name is an alias. */
40675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40676 choke me
40677 #else
40678 char (*f) () = $ac_func;
40679 #endif
40680 #ifdef __cplusplus
40682 #endif
40685 main ()
40687 return f != $ac_func;
40689 return 0;
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40694 (eval $ac_link) 2>conftest.er1
40695 ac_status=$?
40696 grep -v '^ *+' conftest.er1 >conftest.err
40697 rm -f conftest.er1
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } &&
40701 { ac_try='test -z "$ac_c_werror_flag"
40702 || test ! -s conftest.err'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40705 ac_status=$?
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; } &&
40708 { ac_try='test -s conftest$ac_exeext'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40711 ac_status=$?
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; }; then
40714 eval "$as_ac_var=yes"
40715 else
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.$ac_ext >&5
40719 eval "$as_ac_var=no"
40721 rm -f conftest.err conftest.$ac_objext \
40722 conftest$ac_exeext conftest.$ac_ext
40724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40726 if test `eval echo '${'$as_ac_var'}'` = yes; then
40727 cat >>confdefs.h <<_ACEOF
40728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40729 _ACEOF
40732 done
40734 else
40736 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40737 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40738 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40739 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40740 echo $ECHO_N "(cached) $ECHO_C" >&6
40741 else
40745 ac_ext=cc
40746 ac_cpp='$CXXCPP $CPPFLAGS'
40747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40751 cat >conftest.$ac_ext <<_ACEOF
40752 /* confdefs.h. */
40753 _ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757 #include <math.h>
40759 main ()
40761 _sincosf(0, 0, 0);
40763 return 0;
40765 _ACEOF
40766 rm -f conftest.$ac_objext
40767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40768 (eval $ac_compile) 2>conftest.er1
40769 ac_status=$?
40770 grep -v '^ *+' conftest.er1 >conftest.err
40771 rm -f conftest.er1
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } &&
40775 { ac_try='test -z "$ac_cxx_werror_flag"
40776 || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40779 ac_status=$?
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try='test -s conftest.$ac_objext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40788 glibcxx_cv_func__sincosf_use=yes
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40793 glibcxx_cv_func__sincosf_use=no
40795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40796 ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40807 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40809 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40811 for ac_func in _sincosf
40813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40814 echo "$as_me:$LINENO: checking for $ac_func" >&5
40815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40816 if eval "test \"\${$as_ac_var+set}\" = set"; then
40817 echo $ECHO_N "(cached) $ECHO_C" >&6
40818 else
40819 if test x$gcc_no_link = xyes; then
40820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40822 { (exit 1); exit 1; }; }
40824 cat >conftest.$ac_ext <<_ACEOF
40825 /* confdefs.h. */
40826 _ACEOF
40827 cat confdefs.h >>conftest.$ac_ext
40828 cat >>conftest.$ac_ext <<_ACEOF
40829 /* end confdefs.h. */
40830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40832 #define $ac_func innocuous_$ac_func
40834 /* System header to define __stub macros and hopefully few prototypes,
40835 which can conflict with char $ac_func (); below.
40836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40837 <limits.h> exists even on freestanding compilers. */
40839 #ifdef __STDC__
40840 # include <limits.h>
40841 #else
40842 # include <assert.h>
40843 #endif
40845 #undef $ac_func
40847 /* Override any gcc2 internal prototype to avoid an error. */
40848 #ifdef __cplusplus
40849 extern "C"
40851 #endif
40852 /* We use char because int might match the return type of a gcc2
40853 builtin and then its argument prototype would still apply. */
40854 char $ac_func ();
40855 /* The GNU C library defines this for functions which it implements
40856 to always fail with ENOSYS. Some functions are actually named
40857 something starting with __ and the normal name is an alias. */
40858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40859 choke me
40860 #else
40861 char (*f) () = $ac_func;
40862 #endif
40863 #ifdef __cplusplus
40865 #endif
40868 main ()
40870 return f != $ac_func;
40872 return 0;
40874 _ACEOF
40875 rm -f conftest.$ac_objext conftest$ac_exeext
40876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40877 (eval $ac_link) 2>conftest.er1
40878 ac_status=$?
40879 grep -v '^ *+' conftest.er1 >conftest.err
40880 rm -f conftest.er1
40881 cat conftest.err >&5
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); } &&
40884 { ac_try='test -z "$ac_c_werror_flag"
40885 || test ! -s conftest.err'
40886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887 (eval $ac_try) 2>&5
40888 ac_status=$?
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); }; } &&
40891 { ac_try='test -s conftest$ac_exeext'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; }; then
40897 eval "$as_ac_var=yes"
40898 else
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.$ac_ext >&5
40902 eval "$as_ac_var=no"
40904 rm -f conftest.err conftest.$ac_objext \
40905 conftest$ac_exeext conftest.$ac_ext
40907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40909 if test `eval echo '${'$as_ac_var'}'` = yes; then
40910 cat >>confdefs.h <<_ACEOF
40911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40912 _ACEOF
40915 done
40925 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40926 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40927 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40928 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40929 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 else
40934 ac_ext=cc
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 #include <math.h>
40947 #ifdef HAVE_IEEEFP_H
40948 #include <ieeefp.h>
40949 #endif
40952 main ()
40954 finitef(0);
40956 return 0;
40958 _ACEOF
40959 rm -f conftest.$ac_objext
40960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40961 (eval $ac_compile) 2>conftest.er1
40962 ac_status=$?
40963 grep -v '^ *+' conftest.er1 >conftest.err
40964 rm -f conftest.er1
40965 cat conftest.err >&5
40966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40967 (exit $ac_status); } &&
40968 { ac_try='test -z "$ac_cxx_werror_flag"
40969 || test ! -s conftest.err'
40970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40971 (eval $ac_try) 2>&5
40972 ac_status=$?
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); }; } &&
40975 { ac_try='test -s conftest.$ac_objext'
40976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40977 (eval $ac_try) 2>&5
40978 ac_status=$?
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); }; }; then
40981 glibcxx_cv_func_finitef_use=yes
40982 else
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40986 glibcxx_cv_func_finitef_use=no
40988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40989 ac_ext=c
40990 ac_cpp='$CPP $CPPFLAGS'
40991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41000 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41002 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41004 for ac_func in finitef
41006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41007 echo "$as_me:$LINENO: checking for $ac_func" >&5
41008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41009 if eval "test \"\${$as_ac_var+set}\" = set"; then
41010 echo $ECHO_N "(cached) $ECHO_C" >&6
41011 else
41012 if test x$gcc_no_link = xyes; then
41013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41015 { (exit 1); exit 1; }; }
41017 cat >conftest.$ac_ext <<_ACEOF
41018 /* confdefs.h. */
41019 _ACEOF
41020 cat confdefs.h >>conftest.$ac_ext
41021 cat >>conftest.$ac_ext <<_ACEOF
41022 /* end confdefs.h. */
41023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41025 #define $ac_func innocuous_$ac_func
41027 /* System header to define __stub macros and hopefully few prototypes,
41028 which can conflict with char $ac_func (); below.
41029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41030 <limits.h> exists even on freestanding compilers. */
41032 #ifdef __STDC__
41033 # include <limits.h>
41034 #else
41035 # include <assert.h>
41036 #endif
41038 #undef $ac_func
41040 /* Override any gcc2 internal prototype to avoid an error. */
41041 #ifdef __cplusplus
41042 extern "C"
41044 #endif
41045 /* We use char because int might match the return type of a gcc2
41046 builtin and then its argument prototype would still apply. */
41047 char $ac_func ();
41048 /* The GNU C library defines this for functions which it implements
41049 to always fail with ENOSYS. Some functions are actually named
41050 something starting with __ and the normal name is an alias. */
41051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41052 choke me
41053 #else
41054 char (*f) () = $ac_func;
41055 #endif
41056 #ifdef __cplusplus
41058 #endif
41061 main ()
41063 return f != $ac_func;
41065 return 0;
41067 _ACEOF
41068 rm -f conftest.$ac_objext conftest$ac_exeext
41069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41070 (eval $ac_link) 2>conftest.er1
41071 ac_status=$?
41072 grep -v '^ *+' conftest.er1 >conftest.err
41073 rm -f conftest.er1
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } &&
41077 { ac_try='test -z "$ac_c_werror_flag"
41078 || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41081 ac_status=$?
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41087 ac_status=$?
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 eval "$as_ac_var=yes"
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41095 eval "$as_ac_var=no"
41097 rm -f conftest.err conftest.$ac_objext \
41098 conftest$ac_exeext conftest.$ac_ext
41100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41102 if test `eval echo '${'$as_ac_var'}'` = yes; then
41103 cat >>confdefs.h <<_ACEOF
41104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41105 _ACEOF
41108 done
41110 else
41112 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41113 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41114 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41115 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 else
41121 ac_ext=cc
41122 ac_cpp='$CXXCPP $CPPFLAGS'
41123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41127 cat >conftest.$ac_ext <<_ACEOF
41128 /* confdefs.h. */
41129 _ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h. */
41133 #include <math.h>
41134 #ifdef HAVE_IEEEFP_H
41135 #include <ieeefp.h>
41136 #endif
41139 main ()
41141 _finitef(0);
41143 return 0;
41145 _ACEOF
41146 rm -f conftest.$ac_objext
41147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41148 (eval $ac_compile) 2>conftest.er1
41149 ac_status=$?
41150 grep -v '^ *+' conftest.er1 >conftest.err
41151 rm -f conftest.er1
41152 cat conftest.err >&5
41153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41154 (exit $ac_status); } &&
41155 { ac_try='test -z "$ac_cxx_werror_flag"
41156 || test ! -s conftest.err'
41157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41158 (eval $ac_try) 2>&5
41159 ac_status=$?
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); }; } &&
41162 { ac_try='test -s conftest.$ac_objext'
41163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41164 (eval $ac_try) 2>&5
41165 ac_status=$?
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); }; }; then
41168 glibcxx_cv_func__finitef_use=yes
41169 else
41170 echo "$as_me: failed program was:" >&5
41171 sed 's/^/| /' conftest.$ac_ext >&5
41173 glibcxx_cv_func__finitef_use=no
41175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41176 ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41187 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41189 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41191 for ac_func in _finitef
41193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41194 echo "$as_me:$LINENO: checking for $ac_func" >&5
41195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41196 if eval "test \"\${$as_ac_var+set}\" = set"; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41198 else
41199 if test x$gcc_no_link = xyes; then
41200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41202 { (exit 1); exit 1; }; }
41204 cat >conftest.$ac_ext <<_ACEOF
41205 /* confdefs.h. */
41206 _ACEOF
41207 cat confdefs.h >>conftest.$ac_ext
41208 cat >>conftest.$ac_ext <<_ACEOF
41209 /* end confdefs.h. */
41210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41212 #define $ac_func innocuous_$ac_func
41214 /* System header to define __stub macros and hopefully few prototypes,
41215 which can conflict with char $ac_func (); below.
41216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41217 <limits.h> exists even on freestanding compilers. */
41219 #ifdef __STDC__
41220 # include <limits.h>
41221 #else
41222 # include <assert.h>
41223 #endif
41225 #undef $ac_func
41227 /* Override any gcc2 internal prototype to avoid an error. */
41228 #ifdef __cplusplus
41229 extern "C"
41231 #endif
41232 /* We use char because int might match the return type of a gcc2
41233 builtin and then its argument prototype would still apply. */
41234 char $ac_func ();
41235 /* The GNU C library defines this for functions which it implements
41236 to always fail with ENOSYS. Some functions are actually named
41237 something starting with __ and the normal name is an alias. */
41238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41239 choke me
41240 #else
41241 char (*f) () = $ac_func;
41242 #endif
41243 #ifdef __cplusplus
41245 #endif
41248 main ()
41250 return f != $ac_func;
41252 return 0;
41254 _ACEOF
41255 rm -f conftest.$ac_objext conftest$ac_exeext
41256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41257 (eval $ac_link) 2>conftest.er1
41258 ac_status=$?
41259 grep -v '^ *+' conftest.er1 >conftest.err
41260 rm -f conftest.er1
41261 cat conftest.err >&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } &&
41264 { ac_try='test -z "$ac_c_werror_flag"
41265 || test ! -s conftest.err'
41266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41267 (eval $ac_try) 2>&5
41268 ac_status=$?
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); }; } &&
41271 { ac_try='test -s conftest$ac_exeext'
41272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41273 (eval $ac_try) 2>&5
41274 ac_status=$?
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); }; }; then
41277 eval "$as_ac_var=yes"
41278 else
41279 echo "$as_me: failed program was:" >&5
41280 sed 's/^/| /' conftest.$ac_ext >&5
41282 eval "$as_ac_var=no"
41284 rm -f conftest.err conftest.$ac_objext \
41285 conftest$ac_exeext conftest.$ac_ext
41287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41289 if test `eval echo '${'$as_ac_var'}'` = yes; then
41290 cat >>confdefs.h <<_ACEOF
41291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41292 _ACEOF
41295 done
41305 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41306 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41307 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41308 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 else
41313 ac_ext=cc
41314 ac_cpp='$CXXCPP $CPPFLAGS'
41315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41319 cat >conftest.$ac_ext <<_ACEOF
41320 /* confdefs.h. */
41321 _ACEOF
41322 cat confdefs.h >>conftest.$ac_ext
41323 cat >>conftest.$ac_ext <<_ACEOF
41324 /* end confdefs.h. */
41325 #include <math.h>
41327 main ()
41329 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41331 return 0;
41333 _ACEOF
41334 rm -f conftest.$ac_objext
41335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41336 (eval $ac_compile) 2>conftest.er1
41337 ac_status=$?
41338 grep -v '^ *+' conftest.er1 >conftest.err
41339 rm -f conftest.er1
41340 cat conftest.err >&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } &&
41343 { ac_try='test -z "$ac_cxx_werror_flag"
41344 || test ! -s conftest.err'
41345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41346 (eval $ac_try) 2>&5
41347 ac_status=$?
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); }; } &&
41350 { ac_try='test -s conftest.$ac_objext'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41353 ac_status=$?
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; }; then
41356 glibcxx_cv_func_long_double_trig_use=yes
41357 else
41358 echo "$as_me: failed program was:" >&5
41359 sed 's/^/| /' conftest.$ac_ext >&5
41361 glibcxx_cv_func_long_double_trig_use=no
41363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41364 ac_ext=c
41365 ac_cpp='$CPP $CPPFLAGS'
41366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41373 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41374 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41384 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41387 echo "$as_me:$LINENO: checking for $ac_func" >&5
41388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41389 if eval "test \"\${$as_ac_var+set}\" = set"; then
41390 echo $ECHO_N "(cached) $ECHO_C" >&6
41391 else
41392 if test x$gcc_no_link = xyes; then
41393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41395 { (exit 1); exit 1; }; }
41397 cat >conftest.$ac_ext <<_ACEOF
41398 /* confdefs.h. */
41399 _ACEOF
41400 cat confdefs.h >>conftest.$ac_ext
41401 cat >>conftest.$ac_ext <<_ACEOF
41402 /* end confdefs.h. */
41403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41405 #define $ac_func innocuous_$ac_func
41407 /* System header to define __stub macros and hopefully few prototypes,
41408 which can conflict with char $ac_func (); below.
41409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41410 <limits.h> exists even on freestanding compilers. */
41412 #ifdef __STDC__
41413 # include <limits.h>
41414 #else
41415 # include <assert.h>
41416 #endif
41418 #undef $ac_func
41420 /* Override any gcc2 internal prototype to avoid an error. */
41421 #ifdef __cplusplus
41422 extern "C"
41424 #endif
41425 /* We use char because int might match the return type of a gcc2
41426 builtin and then its argument prototype would still apply. */
41427 char $ac_func ();
41428 /* The GNU C library defines this for functions which it implements
41429 to always fail with ENOSYS. Some functions are actually named
41430 something starting with __ and the normal name is an alias. */
41431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41432 choke me
41433 #else
41434 char (*f) () = $ac_func;
41435 #endif
41436 #ifdef __cplusplus
41438 #endif
41441 main ()
41443 return f != $ac_func;
41445 return 0;
41447 _ACEOF
41448 rm -f conftest.$ac_objext conftest$ac_exeext
41449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41450 (eval $ac_link) 2>conftest.er1
41451 ac_status=$?
41452 grep -v '^ *+' conftest.er1 >conftest.err
41453 rm -f conftest.er1
41454 cat conftest.err >&5
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); } &&
41457 { ac_try='test -z "$ac_c_werror_flag"
41458 || test ! -s conftest.err'
41459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41460 (eval $ac_try) 2>&5
41461 ac_status=$?
41462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41463 (exit $ac_status); }; } &&
41464 { ac_try='test -s conftest$ac_exeext'
41465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41466 (eval $ac_try) 2>&5
41467 ac_status=$?
41468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41469 (exit $ac_status); }; }; then
41470 eval "$as_ac_var=yes"
41471 else
41472 echo "$as_me: failed program was:" >&5
41473 sed 's/^/| /' conftest.$ac_ext >&5
41475 eval "$as_ac_var=no"
41477 rm -f conftest.err conftest.$ac_objext \
41478 conftest$ac_exeext conftest.$ac_ext
41480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41482 if test `eval echo '${'$as_ac_var'}'` = yes; then
41483 cat >>confdefs.h <<_ACEOF
41484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41485 _ACEOF
41488 done
41490 else
41491 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41492 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41493 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41494 echo $ECHO_N "(cached) $ECHO_C" >&6
41495 else
41499 ac_ext=cc
41500 ac_cpp='$CXXCPP $CPPFLAGS'
41501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41505 cat >conftest.$ac_ext <<_ACEOF
41506 /* confdefs.h. */
41507 _ACEOF
41508 cat confdefs.h >>conftest.$ac_ext
41509 cat >>conftest.$ac_ext <<_ACEOF
41510 /* end confdefs.h. */
41511 #include <math.h>
41513 main ()
41515 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41517 return 0;
41519 _ACEOF
41520 rm -f conftest.$ac_objext
41521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41522 (eval $ac_compile) 2>conftest.er1
41523 ac_status=$?
41524 grep -v '^ *+' conftest.er1 >conftest.err
41525 rm -f conftest.er1
41526 cat conftest.err >&5
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); } &&
41529 { ac_try='test -z "$ac_cxx_werror_flag"
41530 || test ! -s conftest.err'
41531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532 (eval $ac_try) 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 glibcxx_cv_func__long_double_trig_use=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41547 glibcxx_cv_func__long_double_trig_use=no
41549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41559 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41560 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41570 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41573 echo "$as_me:$LINENO: checking for $ac_func" >&5
41574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41575 if eval "test \"\${$as_ac_var+set}\" = set"; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 else
41578 if test x$gcc_no_link = xyes; then
41579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41581 { (exit 1); exit 1; }; }
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41591 #define $ac_func innocuous_$ac_func
41593 /* System header to define __stub macros and hopefully few prototypes,
41594 which can conflict with char $ac_func (); below.
41595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41596 <limits.h> exists even on freestanding compilers. */
41598 #ifdef __STDC__
41599 # include <limits.h>
41600 #else
41601 # include <assert.h>
41602 #endif
41604 #undef $ac_func
41606 /* Override any gcc2 internal prototype to avoid an error. */
41607 #ifdef __cplusplus
41608 extern "C"
41610 #endif
41611 /* We use char because int might match the return type of a gcc2
41612 builtin and then its argument prototype would still apply. */
41613 char $ac_func ();
41614 /* The GNU C library defines this for functions which it implements
41615 to always fail with ENOSYS. Some functions are actually named
41616 something starting with __ and the normal name is an alias. */
41617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41618 choke me
41619 #else
41620 char (*f) () = $ac_func;
41621 #endif
41622 #ifdef __cplusplus
41624 #endif
41627 main ()
41629 return f != $ac_func;
41631 return 0;
41633 _ACEOF
41634 rm -f conftest.$ac_objext conftest$ac_exeext
41635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41636 (eval $ac_link) 2>conftest.er1
41637 ac_status=$?
41638 grep -v '^ *+' conftest.er1 >conftest.err
41639 rm -f conftest.er1
41640 cat conftest.err >&5
41641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642 (exit $ac_status); } &&
41643 { ac_try='test -z "$ac_c_werror_flag"
41644 || test ! -s conftest.err'
41645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646 (eval $ac_try) 2>&5
41647 ac_status=$?
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); }; } &&
41650 { ac_try='test -s conftest$ac_exeext'
41651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652 (eval $ac_try) 2>&5
41653 ac_status=$?
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); }; }; then
41656 eval "$as_ac_var=yes"
41657 else
41658 echo "$as_me: failed program was:" >&5
41659 sed 's/^/| /' conftest.$ac_ext >&5
41661 eval "$as_ac_var=no"
41663 rm -f conftest.err conftest.$ac_objext \
41664 conftest$ac_exeext conftest.$ac_ext
41666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41668 if test `eval echo '${'$as_ac_var'}'` = yes; then
41669 cat >>confdefs.h <<_ACEOF
41670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41671 _ACEOF
41674 done
41692 echo "$as_me:$LINENO: checking for long double round functions" >&5
41693 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41694 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41695 echo $ECHO_N "(cached) $ECHO_C" >&6
41696 else
41700 ac_ext=cc
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41706 cat >conftest.$ac_ext <<_ACEOF
41707 /* confdefs.h. */
41708 _ACEOF
41709 cat confdefs.h >>conftest.$ac_ext
41710 cat >>conftest.$ac_ext <<_ACEOF
41711 /* end confdefs.h. */
41712 #include <math.h>
41714 main ()
41716 ceill (0); floorl (0);
41718 return 0;
41720 _ACEOF
41721 rm -f conftest.$ac_objext
41722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41723 (eval $ac_compile) 2>conftest.er1
41724 ac_status=$?
41725 grep -v '^ *+' conftest.er1 >conftest.err
41726 rm -f conftest.er1
41727 cat conftest.err >&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); } &&
41730 { ac_try='test -z "$ac_cxx_werror_flag"
41731 || test ! -s conftest.err'
41732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41733 (eval $ac_try) 2>&5
41734 ac_status=$?
41735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41736 (exit $ac_status); }; } &&
41737 { ac_try='test -s conftest.$ac_objext'
41738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41739 (eval $ac_try) 2>&5
41740 ac_status=$?
41741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41742 (exit $ac_status); }; }; then
41743 glibcxx_cv_func_long_double_round_use=yes
41744 else
41745 echo "$as_me: failed program was:" >&5
41746 sed 's/^/| /' conftest.$ac_ext >&5
41748 glibcxx_cv_func_long_double_round_use=no
41750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41751 ac_ext=c
41752 ac_cpp='$CPP $CPPFLAGS'
41753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41759 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41760 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41761 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41764 for ac_func in ceill floorl
41766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41767 echo "$as_me:$LINENO: checking for $ac_func" >&5
41768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41769 if eval "test \"\${$as_ac_var+set}\" = set"; then
41770 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 else
41772 if test x$gcc_no_link = xyes; then
41773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41775 { (exit 1); exit 1; }; }
41777 cat >conftest.$ac_ext <<_ACEOF
41778 /* confdefs.h. */
41779 _ACEOF
41780 cat confdefs.h >>conftest.$ac_ext
41781 cat >>conftest.$ac_ext <<_ACEOF
41782 /* end confdefs.h. */
41783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41785 #define $ac_func innocuous_$ac_func
41787 /* System header to define __stub macros and hopefully few prototypes,
41788 which can conflict with char $ac_func (); below.
41789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41790 <limits.h> exists even on freestanding compilers. */
41792 #ifdef __STDC__
41793 # include <limits.h>
41794 #else
41795 # include <assert.h>
41796 #endif
41798 #undef $ac_func
41800 /* Override any gcc2 internal prototype to avoid an error. */
41801 #ifdef __cplusplus
41802 extern "C"
41804 #endif
41805 /* We use char because int might match the return type of a gcc2
41806 builtin and then its argument prototype would still apply. */
41807 char $ac_func ();
41808 /* The GNU C library defines this for functions which it implements
41809 to always fail with ENOSYS. Some functions are actually named
41810 something starting with __ and the normal name is an alias. */
41811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41812 choke me
41813 #else
41814 char (*f) () = $ac_func;
41815 #endif
41816 #ifdef __cplusplus
41818 #endif
41821 main ()
41823 return f != $ac_func;
41825 return 0;
41827 _ACEOF
41828 rm -f conftest.$ac_objext conftest$ac_exeext
41829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41830 (eval $ac_link) 2>conftest.er1
41831 ac_status=$?
41832 grep -v '^ *+' conftest.er1 >conftest.err
41833 rm -f conftest.er1
41834 cat conftest.err >&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); } &&
41837 { ac_try='test -z "$ac_c_werror_flag"
41838 || test ! -s conftest.err'
41839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41840 (eval $ac_try) 2>&5
41841 ac_status=$?
41842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41843 (exit $ac_status); }; } &&
41844 { ac_try='test -s conftest$ac_exeext'
41845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41846 (eval $ac_try) 2>&5
41847 ac_status=$?
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; }; then
41850 eval "$as_ac_var=yes"
41851 else
41852 echo "$as_me: failed program was:" >&5
41853 sed 's/^/| /' conftest.$ac_ext >&5
41855 eval "$as_ac_var=no"
41857 rm -f conftest.err conftest.$ac_objext \
41858 conftest$ac_exeext conftest.$ac_ext
41860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41862 if test `eval echo '${'$as_ac_var'}'` = yes; then
41863 cat >>confdefs.h <<_ACEOF
41864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41865 _ACEOF
41868 done
41870 else
41871 echo "$as_me:$LINENO: checking for _long double round functions" >&5
41872 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41873 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41879 ac_ext=cc
41880 ac_cpp='$CXXCPP $CPPFLAGS'
41881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885 cat >conftest.$ac_ext <<_ACEOF
41886 /* confdefs.h. */
41887 _ACEOF
41888 cat confdefs.h >>conftest.$ac_ext
41889 cat >>conftest.$ac_ext <<_ACEOF
41890 /* end confdefs.h. */
41891 #include <math.h>
41893 main ()
41895 _ceill (0); _floorl (0);
41897 return 0;
41899 _ACEOF
41900 rm -f conftest.$ac_objext
41901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41902 (eval $ac_compile) 2>conftest.er1
41903 ac_status=$?
41904 grep -v '^ *+' conftest.er1 >conftest.err
41905 rm -f conftest.er1
41906 cat conftest.err >&5
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); } &&
41909 { ac_try='test -z "$ac_cxx_werror_flag"
41910 || test ! -s conftest.err'
41911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41912 (eval $ac_try) 2>&5
41913 ac_status=$?
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); }; } &&
41916 { ac_try='test -s conftest.$ac_objext'
41917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41918 (eval $ac_try) 2>&5
41919 ac_status=$?
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; }; then
41922 glibcxx_cv_func__long_double_round_use=yes
41923 else
41924 echo "$as_me: failed program was:" >&5
41925 sed 's/^/| /' conftest.$ac_ext >&5
41927 glibcxx_cv_func__long_double_round_use=no
41929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41930 ac_ext=c
41931 ac_cpp='$CPP $CPPFLAGS'
41932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41939 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41940 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41943 for ac_func in _ceill _floorl
41945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41946 echo "$as_me:$LINENO: checking for $ac_func" >&5
41947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41948 if eval "test \"\${$as_ac_var+set}\" = set"; then
41949 echo $ECHO_N "(cached) $ECHO_C" >&6
41950 else
41951 if test x$gcc_no_link = xyes; then
41952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41954 { (exit 1); exit 1; }; }
41956 cat >conftest.$ac_ext <<_ACEOF
41957 /* confdefs.h. */
41958 _ACEOF
41959 cat confdefs.h >>conftest.$ac_ext
41960 cat >>conftest.$ac_ext <<_ACEOF
41961 /* end confdefs.h. */
41962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41964 #define $ac_func innocuous_$ac_func
41966 /* System header to define __stub macros and hopefully few prototypes,
41967 which can conflict with char $ac_func (); below.
41968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41969 <limits.h> exists even on freestanding compilers. */
41971 #ifdef __STDC__
41972 # include <limits.h>
41973 #else
41974 # include <assert.h>
41975 #endif
41977 #undef $ac_func
41979 /* Override any gcc2 internal prototype to avoid an error. */
41980 #ifdef __cplusplus
41981 extern "C"
41983 #endif
41984 /* We use char because int might match the return type of a gcc2
41985 builtin and then its argument prototype would still apply. */
41986 char $ac_func ();
41987 /* The GNU C library defines this for functions which it implements
41988 to always fail with ENOSYS. Some functions are actually named
41989 something starting with __ and the normal name is an alias. */
41990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41991 choke me
41992 #else
41993 char (*f) () = $ac_func;
41994 #endif
41995 #ifdef __cplusplus
41997 #endif
42000 main ()
42002 return f != $ac_func;
42004 return 0;
42006 _ACEOF
42007 rm -f conftest.$ac_objext conftest$ac_exeext
42008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42009 (eval $ac_link) 2>conftest.er1
42010 ac_status=$?
42011 grep -v '^ *+' conftest.er1 >conftest.err
42012 rm -f conftest.er1
42013 cat conftest.err >&5
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); } &&
42016 { ac_try='test -z "$ac_c_werror_flag"
42017 || test ! -s conftest.err'
42018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019 (eval $ac_try) 2>&5
42020 ac_status=$?
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); }; } &&
42023 { ac_try='test -s conftest$ac_exeext'
42024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42025 (eval $ac_try) 2>&5
42026 ac_status=$?
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); }; }; then
42029 eval "$as_ac_var=yes"
42030 else
42031 echo "$as_me: failed program was:" >&5
42032 sed 's/^/| /' conftest.$ac_ext >&5
42034 eval "$as_ac_var=no"
42036 rm -f conftest.err conftest.$ac_objext \
42037 conftest$ac_exeext conftest.$ac_ext
42039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42041 if test `eval echo '${'$as_ac_var'}'` = yes; then
42042 cat >>confdefs.h <<_ACEOF
42043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42044 _ACEOF
42047 done
42059 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42060 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42061 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42062 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42063 echo $ECHO_N "(cached) $ECHO_C" >&6
42064 else
42068 ac_ext=cc
42069 ac_cpp='$CXXCPP $CPPFLAGS'
42070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42074 cat >conftest.$ac_ext <<_ACEOF
42075 /* confdefs.h. */
42076 _ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080 #include <math.h>
42081 #ifdef HAVE_IEEEFP_H
42082 #include <ieeefp.h>
42083 #endif
42086 main ()
42088 isnanl(0);
42090 return 0;
42092 _ACEOF
42093 rm -f conftest.$ac_objext
42094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42095 (eval $ac_compile) 2>conftest.er1
42096 ac_status=$?
42097 grep -v '^ *+' conftest.er1 >conftest.err
42098 rm -f conftest.er1
42099 cat conftest.err >&5
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); } &&
42102 { ac_try='test -z "$ac_cxx_werror_flag"
42103 || test ! -s conftest.err'
42104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42105 (eval $ac_try) 2>&5
42106 ac_status=$?
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); }; } &&
42109 { ac_try='test -s conftest.$ac_objext'
42110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42111 (eval $ac_try) 2>&5
42112 ac_status=$?
42113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42114 (exit $ac_status); }; }; then
42115 glibcxx_cv_func_isnanl_use=yes
42116 else
42117 echo "$as_me: failed program was:" >&5
42118 sed 's/^/| /' conftest.$ac_ext >&5
42120 glibcxx_cv_func_isnanl_use=no
42122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42123 ac_ext=c
42124 ac_cpp='$CPP $CPPFLAGS'
42125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42134 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42136 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42138 for ac_func in isnanl
42140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42141 echo "$as_me:$LINENO: checking for $ac_func" >&5
42142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42143 if eval "test \"\${$as_ac_var+set}\" = set"; then
42144 echo $ECHO_N "(cached) $ECHO_C" >&6
42145 else
42146 if test x$gcc_no_link = xyes; then
42147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42149 { (exit 1); exit 1; }; }
42151 cat >conftest.$ac_ext <<_ACEOF
42152 /* confdefs.h. */
42153 _ACEOF
42154 cat confdefs.h >>conftest.$ac_ext
42155 cat >>conftest.$ac_ext <<_ACEOF
42156 /* end confdefs.h. */
42157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42159 #define $ac_func innocuous_$ac_func
42161 /* System header to define __stub macros and hopefully few prototypes,
42162 which can conflict with char $ac_func (); below.
42163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42164 <limits.h> exists even on freestanding compilers. */
42166 #ifdef __STDC__
42167 # include <limits.h>
42168 #else
42169 # include <assert.h>
42170 #endif
42172 #undef $ac_func
42174 /* Override any gcc2 internal prototype to avoid an error. */
42175 #ifdef __cplusplus
42176 extern "C"
42178 #endif
42179 /* We use char because int might match the return type of a gcc2
42180 builtin and then its argument prototype would still apply. */
42181 char $ac_func ();
42182 /* The GNU C library defines this for functions which it implements
42183 to always fail with ENOSYS. Some functions are actually named
42184 something starting with __ and the normal name is an alias. */
42185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42186 choke me
42187 #else
42188 char (*f) () = $ac_func;
42189 #endif
42190 #ifdef __cplusplus
42192 #endif
42195 main ()
42197 return f != $ac_func;
42199 return 0;
42201 _ACEOF
42202 rm -f conftest.$ac_objext conftest$ac_exeext
42203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42204 (eval $ac_link) 2>conftest.er1
42205 ac_status=$?
42206 grep -v '^ *+' conftest.er1 >conftest.err
42207 rm -f conftest.er1
42208 cat conftest.err >&5
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); } &&
42211 { ac_try='test -z "$ac_c_werror_flag"
42212 || test ! -s conftest.err'
42213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42214 (eval $ac_try) 2>&5
42215 ac_status=$?
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); }; } &&
42218 { ac_try='test -s conftest$ac_exeext'
42219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42220 (eval $ac_try) 2>&5
42221 ac_status=$?
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); }; }; then
42224 eval "$as_ac_var=yes"
42225 else
42226 echo "$as_me: failed program was:" >&5
42227 sed 's/^/| /' conftest.$ac_ext >&5
42229 eval "$as_ac_var=no"
42231 rm -f conftest.err conftest.$ac_objext \
42232 conftest$ac_exeext conftest.$ac_ext
42234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42236 if test `eval echo '${'$as_ac_var'}'` = yes; then
42237 cat >>confdefs.h <<_ACEOF
42238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42239 _ACEOF
42242 done
42244 else
42246 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42247 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42248 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42249 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42251 else
42255 ac_ext=cc
42256 ac_cpp='$CXXCPP $CPPFLAGS'
42257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42261 cat >conftest.$ac_ext <<_ACEOF
42262 /* confdefs.h. */
42263 _ACEOF
42264 cat confdefs.h >>conftest.$ac_ext
42265 cat >>conftest.$ac_ext <<_ACEOF
42266 /* end confdefs.h. */
42267 #include <math.h>
42268 #ifdef HAVE_IEEEFP_H
42269 #include <ieeefp.h>
42270 #endif
42273 main ()
42275 _isnanl(0);
42277 return 0;
42279 _ACEOF
42280 rm -f conftest.$ac_objext
42281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42282 (eval $ac_compile) 2>conftest.er1
42283 ac_status=$?
42284 grep -v '^ *+' conftest.er1 >conftest.err
42285 rm -f conftest.er1
42286 cat conftest.err >&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); } &&
42289 { ac_try='test -z "$ac_cxx_werror_flag"
42290 || test ! -s conftest.err'
42291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42292 (eval $ac_try) 2>&5
42293 ac_status=$?
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); }; } &&
42296 { ac_try='test -s conftest.$ac_objext'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42299 ac_status=$?
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; }; then
42302 glibcxx_cv_func__isnanl_use=yes
42303 else
42304 echo "$as_me: failed program was:" >&5
42305 sed 's/^/| /' conftest.$ac_ext >&5
42307 glibcxx_cv_func__isnanl_use=no
42309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42310 ac_ext=c
42311 ac_cpp='$CPP $CPPFLAGS'
42312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42321 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42323 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42325 for ac_func in _isnanl
42327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42328 echo "$as_me:$LINENO: checking for $ac_func" >&5
42329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42330 if eval "test \"\${$as_ac_var+set}\" = set"; then
42331 echo $ECHO_N "(cached) $ECHO_C" >&6
42332 else
42333 if test x$gcc_no_link = xyes; then
42334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42336 { (exit 1); exit 1; }; }
42338 cat >conftest.$ac_ext <<_ACEOF
42339 /* confdefs.h. */
42340 _ACEOF
42341 cat confdefs.h >>conftest.$ac_ext
42342 cat >>conftest.$ac_ext <<_ACEOF
42343 /* end confdefs.h. */
42344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42346 #define $ac_func innocuous_$ac_func
42348 /* System header to define __stub macros and hopefully few prototypes,
42349 which can conflict with char $ac_func (); below.
42350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42351 <limits.h> exists even on freestanding compilers. */
42353 #ifdef __STDC__
42354 # include <limits.h>
42355 #else
42356 # include <assert.h>
42357 #endif
42359 #undef $ac_func
42361 /* Override any gcc2 internal prototype to avoid an error. */
42362 #ifdef __cplusplus
42363 extern "C"
42365 #endif
42366 /* We use char because int might match the return type of a gcc2
42367 builtin and then its argument prototype would still apply. */
42368 char $ac_func ();
42369 /* The GNU C library defines this for functions which it implements
42370 to always fail with ENOSYS. Some functions are actually named
42371 something starting with __ and the normal name is an alias. */
42372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42373 choke me
42374 #else
42375 char (*f) () = $ac_func;
42376 #endif
42377 #ifdef __cplusplus
42379 #endif
42382 main ()
42384 return f != $ac_func;
42386 return 0;
42388 _ACEOF
42389 rm -f conftest.$ac_objext conftest$ac_exeext
42390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42391 (eval $ac_link) 2>conftest.er1
42392 ac_status=$?
42393 grep -v '^ *+' conftest.er1 >conftest.err
42394 rm -f conftest.er1
42395 cat conftest.err >&5
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); } &&
42398 { ac_try='test -z "$ac_c_werror_flag"
42399 || test ! -s conftest.err'
42400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42401 (eval $ac_try) 2>&5
42402 ac_status=$?
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); }; } &&
42405 { ac_try='test -s conftest$ac_exeext'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42408 ac_status=$?
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; }; then
42411 eval "$as_ac_var=yes"
42412 else
42413 echo "$as_me: failed program was:" >&5
42414 sed 's/^/| /' conftest.$ac_ext >&5
42416 eval "$as_ac_var=no"
42418 rm -f conftest.err conftest.$ac_objext \
42419 conftest$ac_exeext conftest.$ac_ext
42421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42423 if test `eval echo '${'$as_ac_var'}'` = yes; then
42424 cat >>confdefs.h <<_ACEOF
42425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42426 _ACEOF
42429 done
42439 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42440 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42441 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42442 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42443 echo $ECHO_N "(cached) $ECHO_C" >&6
42444 else
42448 ac_ext=cc
42449 ac_cpp='$CXXCPP $CPPFLAGS'
42450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42454 cat >conftest.$ac_ext <<_ACEOF
42455 /* confdefs.h. */
42456 _ACEOF
42457 cat confdefs.h >>conftest.$ac_ext
42458 cat >>conftest.$ac_ext <<_ACEOF
42459 /* end confdefs.h. */
42460 #include <math.h>
42461 #ifdef HAVE_IEEEFP_H
42462 #include <ieeefp.h>
42463 #endif
42466 main ()
42468 isinfl(0);
42470 return 0;
42472 _ACEOF
42473 rm -f conftest.$ac_objext
42474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42475 (eval $ac_compile) 2>conftest.er1
42476 ac_status=$?
42477 grep -v '^ *+' conftest.er1 >conftest.err
42478 rm -f conftest.er1
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } &&
42482 { ac_try='test -z "$ac_cxx_werror_flag"
42483 || test ! -s conftest.err'
42484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42485 (eval $ac_try) 2>&5
42486 ac_status=$?
42487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42488 (exit $ac_status); }; } &&
42489 { ac_try='test -s conftest.$ac_objext'
42490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42491 (eval $ac_try) 2>&5
42492 ac_status=$?
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); }; }; then
42495 glibcxx_cv_func_isinfl_use=yes
42496 else
42497 echo "$as_me: failed program was:" >&5
42498 sed 's/^/| /' conftest.$ac_ext >&5
42500 glibcxx_cv_func_isinfl_use=no
42502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42503 ac_ext=c
42504 ac_cpp='$CPP $CPPFLAGS'
42505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42514 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42516 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42518 for ac_func in isinfl
42520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42521 echo "$as_me:$LINENO: checking for $ac_func" >&5
42522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42523 if eval "test \"\${$as_ac_var+set}\" = set"; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42525 else
42526 if test x$gcc_no_link = xyes; then
42527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42529 { (exit 1); exit 1; }; }
42531 cat >conftest.$ac_ext <<_ACEOF
42532 /* confdefs.h. */
42533 _ACEOF
42534 cat confdefs.h >>conftest.$ac_ext
42535 cat >>conftest.$ac_ext <<_ACEOF
42536 /* end confdefs.h. */
42537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42539 #define $ac_func innocuous_$ac_func
42541 /* System header to define __stub macros and hopefully few prototypes,
42542 which can conflict with char $ac_func (); below.
42543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42544 <limits.h> exists even on freestanding compilers. */
42546 #ifdef __STDC__
42547 # include <limits.h>
42548 #else
42549 # include <assert.h>
42550 #endif
42552 #undef $ac_func
42554 /* Override any gcc2 internal prototype to avoid an error. */
42555 #ifdef __cplusplus
42556 extern "C"
42558 #endif
42559 /* We use char because int might match the return type of a gcc2
42560 builtin and then its argument prototype would still apply. */
42561 char $ac_func ();
42562 /* The GNU C library defines this for functions which it implements
42563 to always fail with ENOSYS. Some functions are actually named
42564 something starting with __ and the normal name is an alias. */
42565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42566 choke me
42567 #else
42568 char (*f) () = $ac_func;
42569 #endif
42570 #ifdef __cplusplus
42572 #endif
42575 main ()
42577 return f != $ac_func;
42579 return 0;
42581 _ACEOF
42582 rm -f conftest.$ac_objext conftest$ac_exeext
42583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42584 (eval $ac_link) 2>conftest.er1
42585 ac_status=$?
42586 grep -v '^ *+' conftest.er1 >conftest.err
42587 rm -f conftest.er1
42588 cat conftest.err >&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } &&
42591 { ac_try='test -z "$ac_c_werror_flag"
42592 || test ! -s conftest.err'
42593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42594 (eval $ac_try) 2>&5
42595 ac_status=$?
42596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42597 (exit $ac_status); }; } &&
42598 { ac_try='test -s conftest$ac_exeext'
42599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42600 (eval $ac_try) 2>&5
42601 ac_status=$?
42602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42603 (exit $ac_status); }; }; then
42604 eval "$as_ac_var=yes"
42605 else
42606 echo "$as_me: failed program was:" >&5
42607 sed 's/^/| /' conftest.$ac_ext >&5
42609 eval "$as_ac_var=no"
42611 rm -f conftest.err conftest.$ac_objext \
42612 conftest$ac_exeext conftest.$ac_ext
42614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42616 if test `eval echo '${'$as_ac_var'}'` = yes; then
42617 cat >>confdefs.h <<_ACEOF
42618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42619 _ACEOF
42622 done
42624 else
42626 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42627 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42628 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42629 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42630 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 else
42635 ac_ext=cc
42636 ac_cpp='$CXXCPP $CPPFLAGS'
42637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42641 cat >conftest.$ac_ext <<_ACEOF
42642 /* confdefs.h. */
42643 _ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 #include <math.h>
42648 #ifdef HAVE_IEEEFP_H
42649 #include <ieeefp.h>
42650 #endif
42653 main ()
42655 _isinfl(0);
42657 return 0;
42659 _ACEOF
42660 rm -f conftest.$ac_objext
42661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42662 (eval $ac_compile) 2>conftest.er1
42663 ac_status=$?
42664 grep -v '^ *+' conftest.er1 >conftest.err
42665 rm -f conftest.er1
42666 cat conftest.err >&5
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); } &&
42669 { ac_try='test -z "$ac_cxx_werror_flag"
42670 || test ! -s conftest.err'
42671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42672 (eval $ac_try) 2>&5
42673 ac_status=$?
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); }; } &&
42676 { ac_try='test -s conftest.$ac_objext'
42677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42678 (eval $ac_try) 2>&5
42679 ac_status=$?
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); }; }; then
42682 glibcxx_cv_func__isinfl_use=yes
42683 else
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42687 glibcxx_cv_func__isinfl_use=no
42689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42690 ac_ext=c
42691 ac_cpp='$CPP $CPPFLAGS'
42692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42701 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42703 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42705 for ac_func in _isinfl
42707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42708 echo "$as_me:$LINENO: checking for $ac_func" >&5
42709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42710 if eval "test \"\${$as_ac_var+set}\" = set"; then
42711 echo $ECHO_N "(cached) $ECHO_C" >&6
42712 else
42713 if test x$gcc_no_link = xyes; then
42714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42716 { (exit 1); exit 1; }; }
42718 cat >conftest.$ac_ext <<_ACEOF
42719 /* confdefs.h. */
42720 _ACEOF
42721 cat confdefs.h >>conftest.$ac_ext
42722 cat >>conftest.$ac_ext <<_ACEOF
42723 /* end confdefs.h. */
42724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42726 #define $ac_func innocuous_$ac_func
42728 /* System header to define __stub macros and hopefully few prototypes,
42729 which can conflict with char $ac_func (); below.
42730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42731 <limits.h> exists even on freestanding compilers. */
42733 #ifdef __STDC__
42734 # include <limits.h>
42735 #else
42736 # include <assert.h>
42737 #endif
42739 #undef $ac_func
42741 /* Override any gcc2 internal prototype to avoid an error. */
42742 #ifdef __cplusplus
42743 extern "C"
42745 #endif
42746 /* We use char because int might match the return type of a gcc2
42747 builtin and then its argument prototype would still apply. */
42748 char $ac_func ();
42749 /* The GNU C library defines this for functions which it implements
42750 to always fail with ENOSYS. Some functions are actually named
42751 something starting with __ and the normal name is an alias. */
42752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42753 choke me
42754 #else
42755 char (*f) () = $ac_func;
42756 #endif
42757 #ifdef __cplusplus
42759 #endif
42762 main ()
42764 return f != $ac_func;
42766 return 0;
42768 _ACEOF
42769 rm -f conftest.$ac_objext conftest$ac_exeext
42770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42771 (eval $ac_link) 2>conftest.er1
42772 ac_status=$?
42773 grep -v '^ *+' conftest.er1 >conftest.err
42774 rm -f conftest.er1
42775 cat conftest.err >&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); } &&
42778 { ac_try='test -z "$ac_c_werror_flag"
42779 || test ! -s conftest.err'
42780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781 (eval $ac_try) 2>&5
42782 ac_status=$?
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; } &&
42785 { ac_try='test -s conftest$ac_exeext'
42786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42787 (eval $ac_try) 2>&5
42788 ac_status=$?
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); }; }; then
42791 eval "$as_ac_var=yes"
42792 else
42793 echo "$as_me: failed program was:" >&5
42794 sed 's/^/| /' conftest.$ac_ext >&5
42796 eval "$as_ac_var=no"
42798 rm -f conftest.err conftest.$ac_objext \
42799 conftest$ac_exeext conftest.$ac_ext
42801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42803 if test `eval echo '${'$as_ac_var'}'` = yes; then
42804 cat >>confdefs.h <<_ACEOF
42805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42806 _ACEOF
42809 done
42819 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42820 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42821 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42822 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42823 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 else
42828 ac_ext=cc
42829 ac_cpp='$CXXCPP $CPPFLAGS'
42830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834 cat >conftest.$ac_ext <<_ACEOF
42835 /* confdefs.h. */
42836 _ACEOF
42837 cat confdefs.h >>conftest.$ac_ext
42838 cat >>conftest.$ac_ext <<_ACEOF
42839 /* end confdefs.h. */
42840 #include <math.h>
42842 main ()
42844 copysignl(0, 0);
42846 return 0;
42848 _ACEOF
42849 rm -f conftest.$ac_objext
42850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42851 (eval $ac_compile) 2>conftest.er1
42852 ac_status=$?
42853 grep -v '^ *+' conftest.er1 >conftest.err
42854 rm -f conftest.er1
42855 cat conftest.err >&5
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); } &&
42858 { ac_try='test -z "$ac_cxx_werror_flag"
42859 || test ! -s conftest.err'
42860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42861 (eval $ac_try) 2>&5
42862 ac_status=$?
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); }; } &&
42865 { ac_try='test -s conftest.$ac_objext'
42866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42867 (eval $ac_try) 2>&5
42868 ac_status=$?
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); }; }; then
42871 glibcxx_cv_func_copysignl_use=yes
42872 else
42873 echo "$as_me: failed program was:" >&5
42874 sed 's/^/| /' conftest.$ac_ext >&5
42876 glibcxx_cv_func_copysignl_use=no
42878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42879 ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42890 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42892 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42894 for ac_func in copysignl
42896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42897 echo "$as_me:$LINENO: checking for $ac_func" >&5
42898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42899 if eval "test \"\${$as_ac_var+set}\" = set"; then
42900 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 else
42902 if test x$gcc_no_link = xyes; then
42903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42905 { (exit 1); exit 1; }; }
42907 cat >conftest.$ac_ext <<_ACEOF
42908 /* confdefs.h. */
42909 _ACEOF
42910 cat confdefs.h >>conftest.$ac_ext
42911 cat >>conftest.$ac_ext <<_ACEOF
42912 /* end confdefs.h. */
42913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42915 #define $ac_func innocuous_$ac_func
42917 /* System header to define __stub macros and hopefully few prototypes,
42918 which can conflict with char $ac_func (); below.
42919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42920 <limits.h> exists even on freestanding compilers. */
42922 #ifdef __STDC__
42923 # include <limits.h>
42924 #else
42925 # include <assert.h>
42926 #endif
42928 #undef $ac_func
42930 /* Override any gcc2 internal prototype to avoid an error. */
42931 #ifdef __cplusplus
42932 extern "C"
42934 #endif
42935 /* We use char because int might match the return type of a gcc2
42936 builtin and then its argument prototype would still apply. */
42937 char $ac_func ();
42938 /* The GNU C library defines this for functions which it implements
42939 to always fail with ENOSYS. Some functions are actually named
42940 something starting with __ and the normal name is an alias. */
42941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42942 choke me
42943 #else
42944 char (*f) () = $ac_func;
42945 #endif
42946 #ifdef __cplusplus
42948 #endif
42951 main ()
42953 return f != $ac_func;
42955 return 0;
42957 _ACEOF
42958 rm -f conftest.$ac_objext conftest$ac_exeext
42959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42960 (eval $ac_link) 2>conftest.er1
42961 ac_status=$?
42962 grep -v '^ *+' conftest.er1 >conftest.err
42963 rm -f conftest.er1
42964 cat conftest.err >&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); } &&
42967 { ac_try='test -z "$ac_c_werror_flag"
42968 || test ! -s conftest.err'
42969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42970 (eval $ac_try) 2>&5
42971 ac_status=$?
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); }; } &&
42974 { ac_try='test -s conftest$ac_exeext'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42977 ac_status=$?
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; }; then
42980 eval "$as_ac_var=yes"
42981 else
42982 echo "$as_me: failed program was:" >&5
42983 sed 's/^/| /' conftest.$ac_ext >&5
42985 eval "$as_ac_var=no"
42987 rm -f conftest.err conftest.$ac_objext \
42988 conftest$ac_exeext conftest.$ac_ext
42990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42992 if test `eval echo '${'$as_ac_var'}'` = yes; then
42993 cat >>confdefs.h <<_ACEOF
42994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42995 _ACEOF
42998 done
43000 else
43002 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43003 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43004 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43005 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43006 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 else
43011 ac_ext=cc
43012 ac_cpp='$CXXCPP $CPPFLAGS'
43013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43017 cat >conftest.$ac_ext <<_ACEOF
43018 /* confdefs.h. */
43019 _ACEOF
43020 cat confdefs.h >>conftest.$ac_ext
43021 cat >>conftest.$ac_ext <<_ACEOF
43022 /* end confdefs.h. */
43023 #include <math.h>
43025 main ()
43027 _copysignl(0, 0);
43029 return 0;
43031 _ACEOF
43032 rm -f conftest.$ac_objext
43033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43034 (eval $ac_compile) 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } &&
43041 { ac_try='test -z "$ac_cxx_werror_flag"
43042 || test ! -s conftest.err'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43045 ac_status=$?
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; } &&
43048 { ac_try='test -s conftest.$ac_objext'
43049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43050 (eval $ac_try) 2>&5
43051 ac_status=$?
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; }; then
43054 glibcxx_cv_func__copysignl_use=yes
43055 else
43056 echo "$as_me: failed program was:" >&5
43057 sed 's/^/| /' conftest.$ac_ext >&5
43059 glibcxx_cv_func__copysignl_use=no
43061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43062 ac_ext=c
43063 ac_cpp='$CPP $CPPFLAGS'
43064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43073 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43075 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43077 for ac_func in _copysignl
43079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43080 echo "$as_me:$LINENO: checking for $ac_func" >&5
43081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43082 if eval "test \"\${$as_ac_var+set}\" = set"; then
43083 echo $ECHO_N "(cached) $ECHO_C" >&6
43084 else
43085 if test x$gcc_no_link = xyes; then
43086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43088 { (exit 1); exit 1; }; }
43090 cat >conftest.$ac_ext <<_ACEOF
43091 /* confdefs.h. */
43092 _ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h. */
43096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43098 #define $ac_func innocuous_$ac_func
43100 /* System header to define __stub macros and hopefully few prototypes,
43101 which can conflict with char $ac_func (); below.
43102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43103 <limits.h> exists even on freestanding compilers. */
43105 #ifdef __STDC__
43106 # include <limits.h>
43107 #else
43108 # include <assert.h>
43109 #endif
43111 #undef $ac_func
43113 /* Override any gcc2 internal prototype to avoid an error. */
43114 #ifdef __cplusplus
43115 extern "C"
43117 #endif
43118 /* We use char because int might match the return type of a gcc2
43119 builtin and then its argument prototype would still apply. */
43120 char $ac_func ();
43121 /* The GNU C library defines this for functions which it implements
43122 to always fail with ENOSYS. Some functions are actually named
43123 something starting with __ and the normal name is an alias. */
43124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43125 choke me
43126 #else
43127 char (*f) () = $ac_func;
43128 #endif
43129 #ifdef __cplusplus
43131 #endif
43134 main ()
43136 return f != $ac_func;
43138 return 0;
43140 _ACEOF
43141 rm -f conftest.$ac_objext conftest$ac_exeext
43142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43143 (eval $ac_link) 2>conftest.er1
43144 ac_status=$?
43145 grep -v '^ *+' conftest.er1 >conftest.err
43146 rm -f conftest.er1
43147 cat conftest.err >&5
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); } &&
43150 { ac_try='test -z "$ac_c_werror_flag"
43151 || test ! -s conftest.err'
43152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43153 (eval $ac_try) 2>&5
43154 ac_status=$?
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); }; } &&
43157 { ac_try='test -s conftest$ac_exeext'
43158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43159 (eval $ac_try) 2>&5
43160 ac_status=$?
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); }; }; then
43163 eval "$as_ac_var=yes"
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43168 eval "$as_ac_var=no"
43170 rm -f conftest.err conftest.$ac_objext \
43171 conftest$ac_exeext conftest.$ac_ext
43173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43175 if test `eval echo '${'$as_ac_var'}'` = yes; then
43176 cat >>confdefs.h <<_ACEOF
43177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43178 _ACEOF
43181 done
43191 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43192 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43193 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43194 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43195 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 else
43200 ac_ext=cc
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43206 cat >conftest.$ac_ext <<_ACEOF
43207 /* confdefs.h. */
43208 _ACEOF
43209 cat confdefs.h >>conftest.$ac_ext
43210 cat >>conftest.$ac_ext <<_ACEOF
43211 /* end confdefs.h. */
43212 #include <math.h>
43214 main ()
43216 atan2l(0, 0);
43218 return 0;
43220 _ACEOF
43221 rm -f conftest.$ac_objext
43222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43223 (eval $ac_compile) 2>conftest.er1
43224 ac_status=$?
43225 grep -v '^ *+' conftest.er1 >conftest.err
43226 rm -f conftest.er1
43227 cat conftest.err >&5
43228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229 (exit $ac_status); } &&
43230 { ac_try='test -z "$ac_cxx_werror_flag"
43231 || test ! -s conftest.err'
43232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43233 (eval $ac_try) 2>&5
43234 ac_status=$?
43235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236 (exit $ac_status); }; } &&
43237 { ac_try='test -s conftest.$ac_objext'
43238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43239 (eval $ac_try) 2>&5
43240 ac_status=$?
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); }; }; then
43243 glibcxx_cv_func_atan2l_use=yes
43244 else
43245 echo "$as_me: failed program was:" >&5
43246 sed 's/^/| /' conftest.$ac_ext >&5
43248 glibcxx_cv_func_atan2l_use=no
43250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43251 ac_ext=c
43252 ac_cpp='$CPP $CPPFLAGS'
43253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43262 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43264 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43266 for ac_func in atan2l
43268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 echo "$as_me:$LINENO: checking for $ac_func" >&5
43270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43271 if eval "test \"\${$as_ac_var+set}\" = set"; then
43272 echo $ECHO_N "(cached) $ECHO_C" >&6
43273 else
43274 if test x$gcc_no_link = xyes; then
43275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43277 { (exit 1); exit 1; }; }
43279 cat >conftest.$ac_ext <<_ACEOF
43280 /* confdefs.h. */
43281 _ACEOF
43282 cat confdefs.h >>conftest.$ac_ext
43283 cat >>conftest.$ac_ext <<_ACEOF
43284 /* end confdefs.h. */
43285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43287 #define $ac_func innocuous_$ac_func
43289 /* System header to define __stub macros and hopefully few prototypes,
43290 which can conflict with char $ac_func (); below.
43291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43292 <limits.h> exists even on freestanding compilers. */
43294 #ifdef __STDC__
43295 # include <limits.h>
43296 #else
43297 # include <assert.h>
43298 #endif
43300 #undef $ac_func
43302 /* Override any gcc2 internal prototype to avoid an error. */
43303 #ifdef __cplusplus
43304 extern "C"
43306 #endif
43307 /* We use char because int might match the return type of a gcc2
43308 builtin and then its argument prototype would still apply. */
43309 char $ac_func ();
43310 /* The GNU C library defines this for functions which it implements
43311 to always fail with ENOSYS. Some functions are actually named
43312 something starting with __ and the normal name is an alias. */
43313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43314 choke me
43315 #else
43316 char (*f) () = $ac_func;
43317 #endif
43318 #ifdef __cplusplus
43320 #endif
43323 main ()
43325 return f != $ac_func;
43327 return 0;
43329 _ACEOF
43330 rm -f conftest.$ac_objext conftest$ac_exeext
43331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43332 (eval $ac_link) 2>conftest.er1
43333 ac_status=$?
43334 grep -v '^ *+' conftest.er1 >conftest.err
43335 rm -f conftest.er1
43336 cat conftest.err >&5
43337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43338 (exit $ac_status); } &&
43339 { ac_try='test -z "$ac_c_werror_flag"
43340 || test ! -s conftest.err'
43341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43342 (eval $ac_try) 2>&5
43343 ac_status=$?
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); }; } &&
43346 { ac_try='test -s conftest$ac_exeext'
43347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43348 (eval $ac_try) 2>&5
43349 ac_status=$?
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; }; then
43352 eval "$as_ac_var=yes"
43353 else
43354 echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.$ac_ext >&5
43357 eval "$as_ac_var=no"
43359 rm -f conftest.err conftest.$ac_objext \
43360 conftest$ac_exeext conftest.$ac_ext
43362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43364 if test `eval echo '${'$as_ac_var'}'` = yes; then
43365 cat >>confdefs.h <<_ACEOF
43366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43367 _ACEOF
43370 done
43372 else
43374 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43375 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43376 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43377 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43378 echo $ECHO_N "(cached) $ECHO_C" >&6
43379 else
43383 ac_ext=cc
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43389 cat >conftest.$ac_ext <<_ACEOF
43390 /* confdefs.h. */
43391 _ACEOF
43392 cat confdefs.h >>conftest.$ac_ext
43393 cat >>conftest.$ac_ext <<_ACEOF
43394 /* end confdefs.h. */
43395 #include <math.h>
43397 main ()
43399 _atan2l(0, 0);
43401 return 0;
43403 _ACEOF
43404 rm -f conftest.$ac_objext
43405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43406 (eval $ac_compile) 2>conftest.er1
43407 ac_status=$?
43408 grep -v '^ *+' conftest.er1 >conftest.err
43409 rm -f conftest.er1
43410 cat conftest.err >&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); } &&
43413 { ac_try='test -z "$ac_cxx_werror_flag"
43414 || test ! -s conftest.err'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43417 ac_status=$?
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; } &&
43420 { ac_try='test -s conftest.$ac_objext'
43421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43422 (eval $ac_try) 2>&5
43423 ac_status=$?
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); }; }; then
43426 glibcxx_cv_func__atan2l_use=yes
43427 else
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43431 glibcxx_cv_func__atan2l_use=no
43433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43434 ac_ext=c
43435 ac_cpp='$CPP $CPPFLAGS'
43436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43445 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43447 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43449 for ac_func in _atan2l
43451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43452 echo "$as_me:$LINENO: checking for $ac_func" >&5
43453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43454 if eval "test \"\${$as_ac_var+set}\" = set"; then
43455 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 else
43457 if test x$gcc_no_link = xyes; then
43458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43460 { (exit 1); exit 1; }; }
43462 cat >conftest.$ac_ext <<_ACEOF
43463 /* confdefs.h. */
43464 _ACEOF
43465 cat confdefs.h >>conftest.$ac_ext
43466 cat >>conftest.$ac_ext <<_ACEOF
43467 /* end confdefs.h. */
43468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43470 #define $ac_func innocuous_$ac_func
43472 /* System header to define __stub macros and hopefully few prototypes,
43473 which can conflict with char $ac_func (); below.
43474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43475 <limits.h> exists even on freestanding compilers. */
43477 #ifdef __STDC__
43478 # include <limits.h>
43479 #else
43480 # include <assert.h>
43481 #endif
43483 #undef $ac_func
43485 /* Override any gcc2 internal prototype to avoid an error. */
43486 #ifdef __cplusplus
43487 extern "C"
43489 #endif
43490 /* We use char because int might match the return type of a gcc2
43491 builtin and then its argument prototype would still apply. */
43492 char $ac_func ();
43493 /* The GNU C library defines this for functions which it implements
43494 to always fail with ENOSYS. Some functions are actually named
43495 something starting with __ and the normal name is an alias. */
43496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43497 choke me
43498 #else
43499 char (*f) () = $ac_func;
43500 #endif
43501 #ifdef __cplusplus
43503 #endif
43506 main ()
43508 return f != $ac_func;
43510 return 0;
43512 _ACEOF
43513 rm -f conftest.$ac_objext conftest$ac_exeext
43514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43515 (eval $ac_link) 2>conftest.er1
43516 ac_status=$?
43517 grep -v '^ *+' conftest.er1 >conftest.err
43518 rm -f conftest.er1
43519 cat conftest.err >&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); } &&
43522 { ac_try='test -z "$ac_c_werror_flag"
43523 || test ! -s conftest.err'
43524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43525 (eval $ac_try) 2>&5
43526 ac_status=$?
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); }; } &&
43529 { ac_try='test -s conftest$ac_exeext'
43530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43531 (eval $ac_try) 2>&5
43532 ac_status=$?
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); }; }; then
43535 eval "$as_ac_var=yes"
43536 else
43537 echo "$as_me: failed program was:" >&5
43538 sed 's/^/| /' conftest.$ac_ext >&5
43540 eval "$as_ac_var=no"
43542 rm -f conftest.err conftest.$ac_objext \
43543 conftest$ac_exeext conftest.$ac_ext
43545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43547 if test `eval echo '${'$as_ac_var'}'` = yes; then
43548 cat >>confdefs.h <<_ACEOF
43549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43550 _ACEOF
43553 done
43563 echo "$as_me:$LINENO: checking for expl declaration" >&5
43564 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43565 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43566 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43567 echo $ECHO_N "(cached) $ECHO_C" >&6
43568 else
43572 ac_ext=cc
43573 ac_cpp='$CXXCPP $CPPFLAGS'
43574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43578 cat >conftest.$ac_ext <<_ACEOF
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 #include <math.h>
43585 #ifdef HAVE_IEEEFP_H
43586 #include <ieeefp.h>
43587 #endif
43590 main ()
43592 expl(0);
43594 return 0;
43596 _ACEOF
43597 rm -f conftest.$ac_objext
43598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43599 (eval $ac_compile) 2>conftest.er1
43600 ac_status=$?
43601 grep -v '^ *+' conftest.er1 >conftest.err
43602 rm -f conftest.er1
43603 cat conftest.err >&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); } &&
43606 { ac_try='test -z "$ac_cxx_werror_flag"
43607 || test ! -s conftest.err'
43608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43609 (eval $ac_try) 2>&5
43610 ac_status=$?
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); }; } &&
43613 { ac_try='test -s conftest.$ac_objext'
43614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43615 (eval $ac_try) 2>&5
43616 ac_status=$?
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); }; }; then
43619 glibcxx_cv_func_expl_use=yes
43620 else
43621 echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43624 glibcxx_cv_func_expl_use=no
43626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43627 ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43638 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43640 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43642 for ac_func in expl
43644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43645 echo "$as_me:$LINENO: checking for $ac_func" >&5
43646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43647 if eval "test \"\${$as_ac_var+set}\" = set"; then
43648 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 else
43650 if test x$gcc_no_link = xyes; then
43651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43653 { (exit 1); exit 1; }; }
43655 cat >conftest.$ac_ext <<_ACEOF
43656 /* confdefs.h. */
43657 _ACEOF
43658 cat confdefs.h >>conftest.$ac_ext
43659 cat >>conftest.$ac_ext <<_ACEOF
43660 /* end confdefs.h. */
43661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43663 #define $ac_func innocuous_$ac_func
43665 /* System header to define __stub macros and hopefully few prototypes,
43666 which can conflict with char $ac_func (); below.
43667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43668 <limits.h> exists even on freestanding compilers. */
43670 #ifdef __STDC__
43671 # include <limits.h>
43672 #else
43673 # include <assert.h>
43674 #endif
43676 #undef $ac_func
43678 /* Override any gcc2 internal prototype to avoid an error. */
43679 #ifdef __cplusplus
43680 extern "C"
43682 #endif
43683 /* We use char because int might match the return type of a gcc2
43684 builtin and then its argument prototype would still apply. */
43685 char $ac_func ();
43686 /* The GNU C library defines this for functions which it implements
43687 to always fail with ENOSYS. Some functions are actually named
43688 something starting with __ and the normal name is an alias. */
43689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43690 choke me
43691 #else
43692 char (*f) () = $ac_func;
43693 #endif
43694 #ifdef __cplusplus
43696 #endif
43699 main ()
43701 return f != $ac_func;
43703 return 0;
43705 _ACEOF
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43708 (eval $ac_link) 2>conftest.er1
43709 ac_status=$?
43710 grep -v '^ *+' conftest.er1 >conftest.err
43711 rm -f conftest.er1
43712 cat conftest.err >&5
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); } &&
43715 { ac_try='test -z "$ac_c_werror_flag"
43716 || test ! -s conftest.err'
43717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43718 (eval $ac_try) 2>&5
43719 ac_status=$?
43720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721 (exit $ac_status); }; } &&
43722 { ac_try='test -s conftest$ac_exeext'
43723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43724 (eval $ac_try) 2>&5
43725 ac_status=$?
43726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727 (exit $ac_status); }; }; then
43728 eval "$as_ac_var=yes"
43729 else
43730 echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.$ac_ext >&5
43733 eval "$as_ac_var=no"
43735 rm -f conftest.err conftest.$ac_objext \
43736 conftest$ac_exeext conftest.$ac_ext
43738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43740 if test `eval echo '${'$as_ac_var'}'` = yes; then
43741 cat >>confdefs.h <<_ACEOF
43742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43743 _ACEOF
43746 done
43748 else
43750 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43751 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43752 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43753 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43755 else
43759 ac_ext=cc
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43765 cat >conftest.$ac_ext <<_ACEOF
43766 /* confdefs.h. */
43767 _ACEOF
43768 cat confdefs.h >>conftest.$ac_ext
43769 cat >>conftest.$ac_ext <<_ACEOF
43770 /* end confdefs.h. */
43771 #include <math.h>
43772 #ifdef HAVE_IEEEFP_H
43773 #include <ieeefp.h>
43774 #endif
43777 main ()
43779 _expl(0);
43781 return 0;
43783 _ACEOF
43784 rm -f conftest.$ac_objext
43785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43786 (eval $ac_compile) 2>conftest.er1
43787 ac_status=$?
43788 grep -v '^ *+' conftest.er1 >conftest.err
43789 rm -f conftest.er1
43790 cat conftest.err >&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); } &&
43793 { ac_try='test -z "$ac_cxx_werror_flag"
43794 || test ! -s conftest.err'
43795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43796 (eval $ac_try) 2>&5
43797 ac_status=$?
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); }; } &&
43800 { ac_try='test -s conftest.$ac_objext'
43801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43802 (eval $ac_try) 2>&5
43803 ac_status=$?
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); }; }; then
43806 glibcxx_cv_func__expl_use=yes
43807 else
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43811 glibcxx_cv_func__expl_use=no
43813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43814 ac_ext=c
43815 ac_cpp='$CPP $CPPFLAGS'
43816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43825 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43827 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43829 for ac_func in _expl
43831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43832 echo "$as_me:$LINENO: checking for $ac_func" >&5
43833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43834 if eval "test \"\${$as_ac_var+set}\" = set"; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43836 else
43837 if test x$gcc_no_link = xyes; then
43838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43840 { (exit 1); exit 1; }; }
43842 cat >conftest.$ac_ext <<_ACEOF
43843 /* confdefs.h. */
43844 _ACEOF
43845 cat confdefs.h >>conftest.$ac_ext
43846 cat >>conftest.$ac_ext <<_ACEOF
43847 /* end confdefs.h. */
43848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43850 #define $ac_func innocuous_$ac_func
43852 /* System header to define __stub macros and hopefully few prototypes,
43853 which can conflict with char $ac_func (); below.
43854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43855 <limits.h> exists even on freestanding compilers. */
43857 #ifdef __STDC__
43858 # include <limits.h>
43859 #else
43860 # include <assert.h>
43861 #endif
43863 #undef $ac_func
43865 /* Override any gcc2 internal prototype to avoid an error. */
43866 #ifdef __cplusplus
43867 extern "C"
43869 #endif
43870 /* We use char because int might match the return type of a gcc2
43871 builtin and then its argument prototype would still apply. */
43872 char $ac_func ();
43873 /* The GNU C library defines this for functions which it implements
43874 to always fail with ENOSYS. Some functions are actually named
43875 something starting with __ and the normal name is an alias. */
43876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43877 choke me
43878 #else
43879 char (*f) () = $ac_func;
43880 #endif
43881 #ifdef __cplusplus
43883 #endif
43886 main ()
43888 return f != $ac_func;
43890 return 0;
43892 _ACEOF
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43895 (eval $ac_link) 2>conftest.er1
43896 ac_status=$?
43897 grep -v '^ *+' conftest.er1 >conftest.err
43898 rm -f conftest.er1
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } &&
43902 { ac_try='test -z "$ac_c_werror_flag"
43903 || test ! -s conftest.err'
43904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43905 (eval $ac_try) 2>&5
43906 ac_status=$?
43907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43908 (exit $ac_status); }; } &&
43909 { ac_try='test -s conftest$ac_exeext'
43910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43911 (eval $ac_try) 2>&5
43912 ac_status=$?
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); }; }; then
43915 eval "$as_ac_var=yes"
43916 else
43917 echo "$as_me: failed program was:" >&5
43918 sed 's/^/| /' conftest.$ac_ext >&5
43920 eval "$as_ac_var=no"
43922 rm -f conftest.err conftest.$ac_objext \
43923 conftest$ac_exeext conftest.$ac_ext
43925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43927 if test `eval echo '${'$as_ac_var'}'` = yes; then
43928 cat >>confdefs.h <<_ACEOF
43929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43930 _ACEOF
43933 done
43943 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43944 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43945 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43946 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43947 echo $ECHO_N "(cached) $ECHO_C" >&6
43948 else
43952 ac_ext=cc
43953 ac_cpp='$CXXCPP $CPPFLAGS'
43954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964 #include <math.h>
43965 #ifdef HAVE_IEEEFP_H
43966 #include <ieeefp.h>
43967 #endif
43970 main ()
43972 fabsl(0);
43974 return 0;
43976 _ACEOF
43977 rm -f conftest.$ac_objext
43978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43979 (eval $ac_compile) 2>conftest.er1
43980 ac_status=$?
43981 grep -v '^ *+' conftest.er1 >conftest.err
43982 rm -f conftest.er1
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } &&
43986 { ac_try='test -z "$ac_cxx_werror_flag"
43987 || test ! -s conftest.err'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43990 ac_status=$?
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; } &&
43993 { ac_try='test -s conftest.$ac_objext'
43994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995 (eval $ac_try) 2>&5
43996 ac_status=$?
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; }; then
43999 glibcxx_cv_func_fabsl_use=yes
44000 else
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.$ac_ext >&5
44004 glibcxx_cv_func_fabsl_use=no
44006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44007 ac_ext=c
44008 ac_cpp='$CPP $CPPFLAGS'
44009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44018 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44020 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44022 for ac_func in fabsl
44024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44025 echo "$as_me:$LINENO: checking for $ac_func" >&5
44026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44027 if eval "test \"\${$as_ac_var+set}\" = set"; then
44028 echo $ECHO_N "(cached) $ECHO_C" >&6
44029 else
44030 if test x$gcc_no_link = xyes; then
44031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44033 { (exit 1); exit 1; }; }
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h. */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h. */
44041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44043 #define $ac_func innocuous_$ac_func
44045 /* System header to define __stub macros and hopefully few prototypes,
44046 which can conflict with char $ac_func (); below.
44047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44048 <limits.h> exists even on freestanding compilers. */
44050 #ifdef __STDC__
44051 # include <limits.h>
44052 #else
44053 # include <assert.h>
44054 #endif
44056 #undef $ac_func
44058 /* Override any gcc2 internal prototype to avoid an error. */
44059 #ifdef __cplusplus
44060 extern "C"
44062 #endif
44063 /* We use char because int might match the return type of a gcc2
44064 builtin and then its argument prototype would still apply. */
44065 char $ac_func ();
44066 /* The GNU C library defines this for functions which it implements
44067 to always fail with ENOSYS. Some functions are actually named
44068 something starting with __ and the normal name is an alias. */
44069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44070 choke me
44071 #else
44072 char (*f) () = $ac_func;
44073 #endif
44074 #ifdef __cplusplus
44076 #endif
44079 main ()
44081 return f != $ac_func;
44083 return 0;
44085 _ACEOF
44086 rm -f conftest.$ac_objext conftest$ac_exeext
44087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44088 (eval $ac_link) 2>conftest.er1
44089 ac_status=$?
44090 grep -v '^ *+' conftest.er1 >conftest.err
44091 rm -f conftest.er1
44092 cat conftest.err >&5
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); } &&
44095 { ac_try='test -z "$ac_c_werror_flag"
44096 || test ! -s conftest.err'
44097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44098 (eval $ac_try) 2>&5
44099 ac_status=$?
44100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44101 (exit $ac_status); }; } &&
44102 { ac_try='test -s conftest$ac_exeext'
44103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44104 (eval $ac_try) 2>&5
44105 ac_status=$?
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); }; }; then
44108 eval "$as_ac_var=yes"
44109 else
44110 echo "$as_me: failed program was:" >&5
44111 sed 's/^/| /' conftest.$ac_ext >&5
44113 eval "$as_ac_var=no"
44115 rm -f conftest.err conftest.$ac_objext \
44116 conftest$ac_exeext conftest.$ac_ext
44118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44120 if test `eval echo '${'$as_ac_var'}'` = yes; then
44121 cat >>confdefs.h <<_ACEOF
44122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44123 _ACEOF
44126 done
44128 else
44130 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44131 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44132 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44133 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44134 echo $ECHO_N "(cached) $ECHO_C" >&6
44135 else
44139 ac_ext=cc
44140 ac_cpp='$CXXCPP $CPPFLAGS'
44141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44145 cat >conftest.$ac_ext <<_ACEOF
44146 /* confdefs.h. */
44147 _ACEOF
44148 cat confdefs.h >>conftest.$ac_ext
44149 cat >>conftest.$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44151 #include <math.h>
44152 #ifdef HAVE_IEEEFP_H
44153 #include <ieeefp.h>
44154 #endif
44157 main ()
44159 _fabsl(0);
44161 return 0;
44163 _ACEOF
44164 rm -f conftest.$ac_objext
44165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44166 (eval $ac_compile) 2>conftest.er1
44167 ac_status=$?
44168 grep -v '^ *+' conftest.er1 >conftest.err
44169 rm -f conftest.er1
44170 cat conftest.err >&5
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); } &&
44173 { ac_try='test -z "$ac_cxx_werror_flag"
44174 || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44177 ac_status=$?
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try='test -s conftest.$ac_objext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44183 ac_status=$?
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 glibcxx_cv_func__fabsl_use=yes
44187 else
44188 echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.$ac_ext >&5
44191 glibcxx_cv_func__fabsl_use=no
44193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44205 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44207 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44209 for ac_func in _fabsl
44211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44212 echo "$as_me:$LINENO: checking for $ac_func" >&5
44213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44214 if eval "test \"\${$as_ac_var+set}\" = set"; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 else
44217 if test x$gcc_no_link = xyes; then
44218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44220 { (exit 1); exit 1; }; }
44222 cat >conftest.$ac_ext <<_ACEOF
44223 /* confdefs.h. */
44224 _ACEOF
44225 cat confdefs.h >>conftest.$ac_ext
44226 cat >>conftest.$ac_ext <<_ACEOF
44227 /* end confdefs.h. */
44228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44230 #define $ac_func innocuous_$ac_func
44232 /* System header to define __stub macros and hopefully few prototypes,
44233 which can conflict with char $ac_func (); below.
44234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44235 <limits.h> exists even on freestanding compilers. */
44237 #ifdef __STDC__
44238 # include <limits.h>
44239 #else
44240 # include <assert.h>
44241 #endif
44243 #undef $ac_func
44245 /* Override any gcc2 internal prototype to avoid an error. */
44246 #ifdef __cplusplus
44247 extern "C"
44249 #endif
44250 /* We use char because int might match the return type of a gcc2
44251 builtin and then its argument prototype would still apply. */
44252 char $ac_func ();
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44257 choke me
44258 #else
44259 char (*f) () = $ac_func;
44260 #endif
44261 #ifdef __cplusplus
44263 #endif
44266 main ()
44268 return f != $ac_func;
44270 return 0;
44272 _ACEOF
44273 rm -f conftest.$ac_objext conftest$ac_exeext
44274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44275 (eval $ac_link) 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } &&
44282 { ac_try='test -z "$ac_c_werror_flag"
44283 || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try='test -s conftest$ac_exeext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44295 eval "$as_ac_var=yes"
44296 else
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44300 eval "$as_ac_var=no"
44302 rm -f conftest.err conftest.$ac_objext \
44303 conftest$ac_exeext conftest.$ac_ext
44305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44307 if test `eval echo '${'$as_ac_var'}'` = yes; then
44308 cat >>confdefs.h <<_ACEOF
44309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44310 _ACEOF
44313 done
44323 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44324 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44325 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44326 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44327 echo $ECHO_N "(cached) $ECHO_C" >&6
44328 else
44332 ac_ext=cc
44333 ac_cpp='$CXXCPP $CPPFLAGS'
44334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44338 cat >conftest.$ac_ext <<_ACEOF
44339 /* confdefs.h. */
44340 _ACEOF
44341 cat confdefs.h >>conftest.$ac_ext
44342 cat >>conftest.$ac_ext <<_ACEOF
44343 /* end confdefs.h. */
44344 #include <math.h>
44346 main ()
44348 fmodl(0, 0);
44350 return 0;
44352 _ACEOF
44353 rm -f conftest.$ac_objext
44354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44355 (eval $ac_compile) 2>conftest.er1
44356 ac_status=$?
44357 grep -v '^ *+' conftest.er1 >conftest.err
44358 rm -f conftest.er1
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } &&
44362 { ac_try='test -z "$ac_cxx_werror_flag"
44363 || test ! -s conftest.err'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44366 ac_status=$?
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; } &&
44369 { ac_try='test -s conftest.$ac_objext'
44370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44371 (eval $ac_try) 2>&5
44372 ac_status=$?
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); }; }; then
44375 glibcxx_cv_func_fmodl_use=yes
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44380 glibcxx_cv_func_fmodl_use=no
44382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44383 ac_ext=c
44384 ac_cpp='$CPP $CPPFLAGS'
44385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44394 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44396 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44398 for ac_func in fmodl
44400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44401 echo "$as_me:$LINENO: checking for $ac_func" >&5
44402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44403 if eval "test \"\${$as_ac_var+set}\" = set"; then
44404 echo $ECHO_N "(cached) $ECHO_C" >&6
44405 else
44406 if test x$gcc_no_link = xyes; then
44407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44409 { (exit 1); exit 1; }; }
44411 cat >conftest.$ac_ext <<_ACEOF
44412 /* confdefs.h. */
44413 _ACEOF
44414 cat confdefs.h >>conftest.$ac_ext
44415 cat >>conftest.$ac_ext <<_ACEOF
44416 /* end confdefs.h. */
44417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44419 #define $ac_func innocuous_$ac_func
44421 /* System header to define __stub macros and hopefully few prototypes,
44422 which can conflict with char $ac_func (); below.
44423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44424 <limits.h> exists even on freestanding compilers. */
44426 #ifdef __STDC__
44427 # include <limits.h>
44428 #else
44429 # include <assert.h>
44430 #endif
44432 #undef $ac_func
44434 /* Override any gcc2 internal prototype to avoid an error. */
44435 #ifdef __cplusplus
44436 extern "C"
44438 #endif
44439 /* We use char because int might match the return type of a gcc2
44440 builtin and then its argument prototype would still apply. */
44441 char $ac_func ();
44442 /* The GNU C library defines this for functions which it implements
44443 to always fail with ENOSYS. Some functions are actually named
44444 something starting with __ and the normal name is an alias. */
44445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44446 choke me
44447 #else
44448 char (*f) () = $ac_func;
44449 #endif
44450 #ifdef __cplusplus
44452 #endif
44455 main ()
44457 return f != $ac_func;
44459 return 0;
44461 _ACEOF
44462 rm -f conftest.$ac_objext conftest$ac_exeext
44463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44464 (eval $ac_link) 2>conftest.er1
44465 ac_status=$?
44466 grep -v '^ *+' conftest.er1 >conftest.err
44467 rm -f conftest.er1
44468 cat conftest.err >&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); } &&
44471 { ac_try='test -z "$ac_c_werror_flag"
44472 || test ! -s conftest.err'
44473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44474 (eval $ac_try) 2>&5
44475 ac_status=$?
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; } &&
44478 { ac_try='test -s conftest$ac_exeext'
44479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44480 (eval $ac_try) 2>&5
44481 ac_status=$?
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; }; then
44484 eval "$as_ac_var=yes"
44485 else
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.$ac_ext >&5
44489 eval "$as_ac_var=no"
44491 rm -f conftest.err conftest.$ac_objext \
44492 conftest$ac_exeext conftest.$ac_ext
44494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44496 if test `eval echo '${'$as_ac_var'}'` = yes; then
44497 cat >>confdefs.h <<_ACEOF
44498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44499 _ACEOF
44502 done
44504 else
44506 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44507 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44508 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44509 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44510 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 else
44515 ac_ext=cc
44516 ac_cpp='$CXXCPP $CPPFLAGS'
44517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44521 cat >conftest.$ac_ext <<_ACEOF
44522 /* confdefs.h. */
44523 _ACEOF
44524 cat confdefs.h >>conftest.$ac_ext
44525 cat >>conftest.$ac_ext <<_ACEOF
44526 /* end confdefs.h. */
44527 #include <math.h>
44529 main ()
44531 _fmodl(0, 0);
44533 return 0;
44535 _ACEOF
44536 rm -f conftest.$ac_objext
44537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44538 (eval $ac_compile) 2>conftest.er1
44539 ac_status=$?
44540 grep -v '^ *+' conftest.er1 >conftest.err
44541 rm -f conftest.er1
44542 cat conftest.err >&5
44543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44544 (exit $ac_status); } &&
44545 { ac_try='test -z "$ac_cxx_werror_flag"
44546 || test ! -s conftest.err'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44549 ac_status=$?
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; } &&
44552 { ac_try='test -s conftest.$ac_objext'
44553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44554 (eval $ac_try) 2>&5
44555 ac_status=$?
44556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44557 (exit $ac_status); }; }; then
44558 glibcxx_cv_func__fmodl_use=yes
44559 else
44560 echo "$as_me: failed program was:" >&5
44561 sed 's/^/| /' conftest.$ac_ext >&5
44563 glibcxx_cv_func__fmodl_use=no
44565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44566 ac_ext=c
44567 ac_cpp='$CPP $CPPFLAGS'
44568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44577 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44579 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44581 for ac_func in _fmodl
44583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44584 echo "$as_me:$LINENO: checking for $ac_func" >&5
44585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44586 if eval "test \"\${$as_ac_var+set}\" = set"; then
44587 echo $ECHO_N "(cached) $ECHO_C" >&6
44588 else
44589 if test x$gcc_no_link = xyes; then
44590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44592 { (exit 1); exit 1; }; }
44594 cat >conftest.$ac_ext <<_ACEOF
44595 /* confdefs.h. */
44596 _ACEOF
44597 cat confdefs.h >>conftest.$ac_ext
44598 cat >>conftest.$ac_ext <<_ACEOF
44599 /* end confdefs.h. */
44600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44602 #define $ac_func innocuous_$ac_func
44604 /* System header to define __stub macros and hopefully few prototypes,
44605 which can conflict with char $ac_func (); below.
44606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44607 <limits.h> exists even on freestanding compilers. */
44609 #ifdef __STDC__
44610 # include <limits.h>
44611 #else
44612 # include <assert.h>
44613 #endif
44615 #undef $ac_func
44617 /* Override any gcc2 internal prototype to avoid an error. */
44618 #ifdef __cplusplus
44619 extern "C"
44621 #endif
44622 /* We use char because int might match the return type of a gcc2
44623 builtin and then its argument prototype would still apply. */
44624 char $ac_func ();
44625 /* The GNU C library defines this for functions which it implements
44626 to always fail with ENOSYS. Some functions are actually named
44627 something starting with __ and the normal name is an alias. */
44628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44629 choke me
44630 #else
44631 char (*f) () = $ac_func;
44632 #endif
44633 #ifdef __cplusplus
44635 #endif
44638 main ()
44640 return f != $ac_func;
44642 return 0;
44644 _ACEOF
44645 rm -f conftest.$ac_objext conftest$ac_exeext
44646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44647 (eval $ac_link) 2>conftest.er1
44648 ac_status=$?
44649 grep -v '^ *+' conftest.er1 >conftest.err
44650 rm -f conftest.er1
44651 cat conftest.err >&5
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); } &&
44654 { ac_try='test -z "$ac_c_werror_flag"
44655 || test ! -s conftest.err'
44656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44657 (eval $ac_try) 2>&5
44658 ac_status=$?
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; } &&
44661 { ac_try='test -s conftest$ac_exeext'
44662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44663 (eval $ac_try) 2>&5
44664 ac_status=$?
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); }; }; then
44667 eval "$as_ac_var=yes"
44668 else
44669 echo "$as_me: failed program was:" >&5
44670 sed 's/^/| /' conftest.$ac_ext >&5
44672 eval "$as_ac_var=no"
44674 rm -f conftest.err conftest.$ac_objext \
44675 conftest$ac_exeext conftest.$ac_ext
44677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44679 if test `eval echo '${'$as_ac_var'}'` = yes; then
44680 cat >>confdefs.h <<_ACEOF
44681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44682 _ACEOF
44685 done
44695 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44696 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44697 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44698 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44699 echo $ECHO_N "(cached) $ECHO_C" >&6
44700 else
44704 ac_ext=cc
44705 ac_cpp='$CXXCPP $CPPFLAGS'
44706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44710 cat >conftest.$ac_ext <<_ACEOF
44711 /* confdefs.h. */
44712 _ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <math.h>
44718 main ()
44720 frexpl(0, 0);
44722 return 0;
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44727 (eval $ac_compile) 2>conftest.er1
44728 ac_status=$?
44729 grep -v '^ *+' conftest.er1 >conftest.err
44730 rm -f conftest.er1
44731 cat conftest.err >&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } &&
44734 { ac_try='test -z "$ac_cxx_werror_flag"
44735 || test ! -s conftest.err'
44736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44737 (eval $ac_try) 2>&5
44738 ac_status=$?
44739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44740 (exit $ac_status); }; } &&
44741 { ac_try='test -s conftest.$ac_objext'
44742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44743 (eval $ac_try) 2>&5
44744 ac_status=$?
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); }; }; then
44747 glibcxx_cv_func_frexpl_use=yes
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44752 glibcxx_cv_func_frexpl_use=no
44754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44755 ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44766 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44768 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44770 for ac_func in frexpl
44772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44773 echo "$as_me:$LINENO: checking for $ac_func" >&5
44774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44775 if eval "test \"\${$as_ac_var+set}\" = set"; then
44776 echo $ECHO_N "(cached) $ECHO_C" >&6
44777 else
44778 if test x$gcc_no_link = xyes; then
44779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44781 { (exit 1); exit 1; }; }
44783 cat >conftest.$ac_ext <<_ACEOF
44784 /* confdefs.h. */
44785 _ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h. */
44789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44791 #define $ac_func innocuous_$ac_func
44793 /* System header to define __stub macros and hopefully few prototypes,
44794 which can conflict with char $ac_func (); below.
44795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44796 <limits.h> exists even on freestanding compilers. */
44798 #ifdef __STDC__
44799 # include <limits.h>
44800 #else
44801 # include <assert.h>
44802 #endif
44804 #undef $ac_func
44806 /* Override any gcc2 internal prototype to avoid an error. */
44807 #ifdef __cplusplus
44808 extern "C"
44810 #endif
44811 /* We use char because int might match the return type of a gcc2
44812 builtin and then its argument prototype would still apply. */
44813 char $ac_func ();
44814 /* The GNU C library defines this for functions which it implements
44815 to always fail with ENOSYS. Some functions are actually named
44816 something starting with __ and the normal name is an alias. */
44817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44818 choke me
44819 #else
44820 char (*f) () = $ac_func;
44821 #endif
44822 #ifdef __cplusplus
44824 #endif
44827 main ()
44829 return f != $ac_func;
44831 return 0;
44833 _ACEOF
44834 rm -f conftest.$ac_objext conftest$ac_exeext
44835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44836 (eval $ac_link) 2>conftest.er1
44837 ac_status=$?
44838 grep -v '^ *+' conftest.er1 >conftest.err
44839 rm -f conftest.er1
44840 cat conftest.err >&5
44841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842 (exit $ac_status); } &&
44843 { ac_try='test -z "$ac_c_werror_flag"
44844 || test ! -s conftest.err'
44845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44846 (eval $ac_try) 2>&5
44847 ac_status=$?
44848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849 (exit $ac_status); }; } &&
44850 { ac_try='test -s conftest$ac_exeext'
44851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852 (eval $ac_try) 2>&5
44853 ac_status=$?
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); }; }; then
44856 eval "$as_ac_var=yes"
44857 else
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44861 eval "$as_ac_var=no"
44863 rm -f conftest.err conftest.$ac_objext \
44864 conftest$ac_exeext conftest.$ac_ext
44866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44868 if test `eval echo '${'$as_ac_var'}'` = yes; then
44869 cat >>confdefs.h <<_ACEOF
44870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44871 _ACEOF
44874 done
44876 else
44878 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44879 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44880 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44881 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44882 echo $ECHO_N "(cached) $ECHO_C" >&6
44883 else
44887 ac_ext=cc
44888 ac_cpp='$CXXCPP $CPPFLAGS'
44889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44893 cat >conftest.$ac_ext <<_ACEOF
44894 /* confdefs.h. */
44895 _ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h. */
44899 #include <math.h>
44901 main ()
44903 _frexpl(0, 0);
44905 return 0;
44907 _ACEOF
44908 rm -f conftest.$ac_objext
44909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44910 (eval $ac_compile) 2>conftest.er1
44911 ac_status=$?
44912 grep -v '^ *+' conftest.er1 >conftest.err
44913 rm -f conftest.er1
44914 cat conftest.err >&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); } &&
44917 { ac_try='test -z "$ac_cxx_werror_flag"
44918 || test ! -s conftest.err'
44919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44920 (eval $ac_try) 2>&5
44921 ac_status=$?
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); }; } &&
44924 { ac_try='test -s conftest.$ac_objext'
44925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44926 (eval $ac_try) 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; }; then
44930 glibcxx_cv_func__frexpl_use=yes
44931 else
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44935 glibcxx_cv_func__frexpl_use=no
44937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44949 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44951 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44953 for ac_func in _frexpl
44955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44956 echo "$as_me:$LINENO: checking for $ac_func" >&5
44957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44958 if eval "test \"\${$as_ac_var+set}\" = set"; then
44959 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 else
44961 if test x$gcc_no_link = xyes; then
44962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44964 { (exit 1); exit 1; }; }
44966 cat >conftest.$ac_ext <<_ACEOF
44967 /* confdefs.h. */
44968 _ACEOF
44969 cat confdefs.h >>conftest.$ac_ext
44970 cat >>conftest.$ac_ext <<_ACEOF
44971 /* end confdefs.h. */
44972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44974 #define $ac_func innocuous_$ac_func
44976 /* System header to define __stub macros and hopefully few prototypes,
44977 which can conflict with char $ac_func (); below.
44978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44979 <limits.h> exists even on freestanding compilers. */
44981 #ifdef __STDC__
44982 # include <limits.h>
44983 #else
44984 # include <assert.h>
44985 #endif
44987 #undef $ac_func
44989 /* Override any gcc2 internal prototype to avoid an error. */
44990 #ifdef __cplusplus
44991 extern "C"
44993 #endif
44994 /* We use char because int might match the return type of a gcc2
44995 builtin and then its argument prototype would still apply. */
44996 char $ac_func ();
44997 /* The GNU C library defines this for functions which it implements
44998 to always fail with ENOSYS. Some functions are actually named
44999 something starting with __ and the normal name is an alias. */
45000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45001 choke me
45002 #else
45003 char (*f) () = $ac_func;
45004 #endif
45005 #ifdef __cplusplus
45007 #endif
45010 main ()
45012 return f != $ac_func;
45014 return 0;
45016 _ACEOF
45017 rm -f conftest.$ac_objext conftest$ac_exeext
45018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45019 (eval $ac_link) 2>conftest.er1
45020 ac_status=$?
45021 grep -v '^ *+' conftest.er1 >conftest.err
45022 rm -f conftest.er1
45023 cat conftest.err >&5
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); } &&
45026 { ac_try='test -z "$ac_c_werror_flag"
45027 || test ! -s conftest.err'
45028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45029 (eval $ac_try) 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; } &&
45033 { ac_try='test -s conftest$ac_exeext'
45034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45035 (eval $ac_try) 2>&5
45036 ac_status=$?
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; }; then
45039 eval "$as_ac_var=yes"
45040 else
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.$ac_ext >&5
45044 eval "$as_ac_var=no"
45046 rm -f conftest.err conftest.$ac_objext \
45047 conftest$ac_exeext conftest.$ac_ext
45049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45051 if test `eval echo '${'$as_ac_var'}'` = yes; then
45052 cat >>confdefs.h <<_ACEOF
45053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45054 _ACEOF
45057 done
45067 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45068 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45069 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45070 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45071 echo $ECHO_N "(cached) $ECHO_C" >&6
45072 else
45076 ac_ext=cc
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082 cat >conftest.$ac_ext <<_ACEOF
45083 /* confdefs.h. */
45084 _ACEOF
45085 cat confdefs.h >>conftest.$ac_ext
45086 cat >>conftest.$ac_ext <<_ACEOF
45087 /* end confdefs.h. */
45088 #include <math.h>
45090 main ()
45092 hypotl(0, 0);
45094 return 0;
45096 _ACEOF
45097 rm -f conftest.$ac_objext
45098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45099 (eval $ac_compile) 2>conftest.er1
45100 ac_status=$?
45101 grep -v '^ *+' conftest.er1 >conftest.err
45102 rm -f conftest.er1
45103 cat conftest.err >&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); } &&
45106 { ac_try='test -z "$ac_cxx_werror_flag"
45107 || test ! -s conftest.err'
45108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45109 (eval $ac_try) 2>&5
45110 ac_status=$?
45111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45112 (exit $ac_status); }; } &&
45113 { ac_try='test -s conftest.$ac_objext'
45114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45115 (eval $ac_try) 2>&5
45116 ac_status=$?
45117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45118 (exit $ac_status); }; }; then
45119 glibcxx_cv_func_hypotl_use=yes
45120 else
45121 echo "$as_me: failed program was:" >&5
45122 sed 's/^/| /' conftest.$ac_ext >&5
45124 glibcxx_cv_func_hypotl_use=no
45126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45127 ac_ext=c
45128 ac_cpp='$CPP $CPPFLAGS'
45129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45138 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45140 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45142 for ac_func in hypotl
45144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45145 echo "$as_me:$LINENO: checking for $ac_func" >&5
45146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45147 if eval "test \"\${$as_ac_var+set}\" = set"; then
45148 echo $ECHO_N "(cached) $ECHO_C" >&6
45149 else
45150 if test x$gcc_no_link = xyes; then
45151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45153 { (exit 1); exit 1; }; }
45155 cat >conftest.$ac_ext <<_ACEOF
45156 /* confdefs.h. */
45157 _ACEOF
45158 cat confdefs.h >>conftest.$ac_ext
45159 cat >>conftest.$ac_ext <<_ACEOF
45160 /* end confdefs.h. */
45161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45163 #define $ac_func innocuous_$ac_func
45165 /* System header to define __stub macros and hopefully few prototypes,
45166 which can conflict with char $ac_func (); below.
45167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45168 <limits.h> exists even on freestanding compilers. */
45170 #ifdef __STDC__
45171 # include <limits.h>
45172 #else
45173 # include <assert.h>
45174 #endif
45176 #undef $ac_func
45178 /* Override any gcc2 internal prototype to avoid an error. */
45179 #ifdef __cplusplus
45180 extern "C"
45182 #endif
45183 /* We use char because int might match the return type of a gcc2
45184 builtin and then its argument prototype would still apply. */
45185 char $ac_func ();
45186 /* The GNU C library defines this for functions which it implements
45187 to always fail with ENOSYS. Some functions are actually named
45188 something starting with __ and the normal name is an alias. */
45189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45190 choke me
45191 #else
45192 char (*f) () = $ac_func;
45193 #endif
45194 #ifdef __cplusplus
45196 #endif
45199 main ()
45201 return f != $ac_func;
45203 return 0;
45205 _ACEOF
45206 rm -f conftest.$ac_objext conftest$ac_exeext
45207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45208 (eval $ac_link) 2>conftest.er1
45209 ac_status=$?
45210 grep -v '^ *+' conftest.er1 >conftest.err
45211 rm -f conftest.er1
45212 cat conftest.err >&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); } &&
45215 { ac_try='test -z "$ac_c_werror_flag"
45216 || test ! -s conftest.err'
45217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45218 (eval $ac_try) 2>&5
45219 ac_status=$?
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; } &&
45222 { ac_try='test -s conftest$ac_exeext'
45223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45224 (eval $ac_try) 2>&5
45225 ac_status=$?
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; }; then
45228 eval "$as_ac_var=yes"
45229 else
45230 echo "$as_me: failed program was:" >&5
45231 sed 's/^/| /' conftest.$ac_ext >&5
45233 eval "$as_ac_var=no"
45235 rm -f conftest.err conftest.$ac_objext \
45236 conftest$ac_exeext conftest.$ac_ext
45238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45240 if test `eval echo '${'$as_ac_var'}'` = yes; then
45241 cat >>confdefs.h <<_ACEOF
45242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45243 _ACEOF
45246 done
45248 else
45250 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45251 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45252 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45253 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45254 echo $ECHO_N "(cached) $ECHO_C" >&6
45255 else
45259 ac_ext=cc
45260 ac_cpp='$CXXCPP $CPPFLAGS'
45261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45265 cat >conftest.$ac_ext <<_ACEOF
45266 /* confdefs.h. */
45267 _ACEOF
45268 cat confdefs.h >>conftest.$ac_ext
45269 cat >>conftest.$ac_ext <<_ACEOF
45270 /* end confdefs.h. */
45271 #include <math.h>
45273 main ()
45275 _hypotl(0, 0);
45277 return 0;
45279 _ACEOF
45280 rm -f conftest.$ac_objext
45281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45282 (eval $ac_compile) 2>conftest.er1
45283 ac_status=$?
45284 grep -v '^ *+' conftest.er1 >conftest.err
45285 rm -f conftest.er1
45286 cat conftest.err >&5
45287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45288 (exit $ac_status); } &&
45289 { ac_try='test -z "$ac_cxx_werror_flag"
45290 || test ! -s conftest.err'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45293 ac_status=$?
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; } &&
45296 { ac_try='test -s conftest.$ac_objext'
45297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45298 (eval $ac_try) 2>&5
45299 ac_status=$?
45300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45301 (exit $ac_status); }; }; then
45302 glibcxx_cv_func__hypotl_use=yes
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45307 glibcxx_cv_func__hypotl_use=no
45309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45321 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45323 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45325 for ac_func in _hypotl
45327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45328 echo "$as_me:$LINENO: checking for $ac_func" >&5
45329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45330 if eval "test \"\${$as_ac_var+set}\" = set"; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45332 else
45333 if test x$gcc_no_link = xyes; then
45334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45336 { (exit 1); exit 1; }; }
45338 cat >conftest.$ac_ext <<_ACEOF
45339 /* confdefs.h. */
45340 _ACEOF
45341 cat confdefs.h >>conftest.$ac_ext
45342 cat >>conftest.$ac_ext <<_ACEOF
45343 /* end confdefs.h. */
45344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45346 #define $ac_func innocuous_$ac_func
45348 /* System header to define __stub macros and hopefully few prototypes,
45349 which can conflict with char $ac_func (); below.
45350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45351 <limits.h> exists even on freestanding compilers. */
45353 #ifdef __STDC__
45354 # include <limits.h>
45355 #else
45356 # include <assert.h>
45357 #endif
45359 #undef $ac_func
45361 /* Override any gcc2 internal prototype to avoid an error. */
45362 #ifdef __cplusplus
45363 extern "C"
45365 #endif
45366 /* We use char because int might match the return type of a gcc2
45367 builtin and then its argument prototype would still apply. */
45368 char $ac_func ();
45369 /* The GNU C library defines this for functions which it implements
45370 to always fail with ENOSYS. Some functions are actually named
45371 something starting with __ and the normal name is an alias. */
45372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45373 choke me
45374 #else
45375 char (*f) () = $ac_func;
45376 #endif
45377 #ifdef __cplusplus
45379 #endif
45382 main ()
45384 return f != $ac_func;
45386 return 0;
45388 _ACEOF
45389 rm -f conftest.$ac_objext conftest$ac_exeext
45390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45391 (eval $ac_link) 2>conftest.er1
45392 ac_status=$?
45393 grep -v '^ *+' conftest.er1 >conftest.err
45394 rm -f conftest.er1
45395 cat conftest.err >&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); } &&
45398 { ac_try='test -z "$ac_c_werror_flag"
45399 || test ! -s conftest.err'
45400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45401 (eval $ac_try) 2>&5
45402 ac_status=$?
45403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45404 (exit $ac_status); }; } &&
45405 { ac_try='test -s conftest$ac_exeext'
45406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45407 (eval $ac_try) 2>&5
45408 ac_status=$?
45409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45410 (exit $ac_status); }; }; then
45411 eval "$as_ac_var=yes"
45412 else
45413 echo "$as_me: failed program was:" >&5
45414 sed 's/^/| /' conftest.$ac_ext >&5
45416 eval "$as_ac_var=no"
45418 rm -f conftest.err conftest.$ac_objext \
45419 conftest$ac_exeext conftest.$ac_ext
45421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45423 if test `eval echo '${'$as_ac_var'}'` = yes; then
45424 cat >>confdefs.h <<_ACEOF
45425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45426 _ACEOF
45429 done
45439 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45440 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45441 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45442 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45443 echo $ECHO_N "(cached) $ECHO_C" >&6
45444 else
45448 ac_ext=cc
45449 ac_cpp='$CXXCPP $CPPFLAGS'
45450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45454 cat >conftest.$ac_ext <<_ACEOF
45455 /* confdefs.h. */
45456 _ACEOF
45457 cat confdefs.h >>conftest.$ac_ext
45458 cat >>conftest.$ac_ext <<_ACEOF
45459 /* end confdefs.h. */
45460 #include <math.h>
45462 main ()
45464 ldexpl(0, 0);
45466 return 0;
45468 _ACEOF
45469 rm -f conftest.$ac_objext
45470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45471 (eval $ac_compile) 2>conftest.er1
45472 ac_status=$?
45473 grep -v '^ *+' conftest.er1 >conftest.err
45474 rm -f conftest.er1
45475 cat conftest.err >&5
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); } &&
45478 { ac_try='test -z "$ac_cxx_werror_flag"
45479 || test ! -s conftest.err'
45480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45481 (eval $ac_try) 2>&5
45482 ac_status=$?
45483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45484 (exit $ac_status); }; } &&
45485 { ac_try='test -s conftest.$ac_objext'
45486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45487 (eval $ac_try) 2>&5
45488 ac_status=$?
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); }; }; then
45491 glibcxx_cv_func_ldexpl_use=yes
45492 else
45493 echo "$as_me: failed program was:" >&5
45494 sed 's/^/| /' conftest.$ac_ext >&5
45496 glibcxx_cv_func_ldexpl_use=no
45498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45499 ac_ext=c
45500 ac_cpp='$CPP $CPPFLAGS'
45501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45510 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45512 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45514 for ac_func in ldexpl
45516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45517 echo "$as_me:$LINENO: checking for $ac_func" >&5
45518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45519 if eval "test \"\${$as_ac_var+set}\" = set"; then
45520 echo $ECHO_N "(cached) $ECHO_C" >&6
45521 else
45522 if test x$gcc_no_link = xyes; then
45523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45525 { (exit 1); exit 1; }; }
45527 cat >conftest.$ac_ext <<_ACEOF
45528 /* confdefs.h. */
45529 _ACEOF
45530 cat confdefs.h >>conftest.$ac_ext
45531 cat >>conftest.$ac_ext <<_ACEOF
45532 /* end confdefs.h. */
45533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45535 #define $ac_func innocuous_$ac_func
45537 /* System header to define __stub macros and hopefully few prototypes,
45538 which can conflict with char $ac_func (); below.
45539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45540 <limits.h> exists even on freestanding compilers. */
45542 #ifdef __STDC__
45543 # include <limits.h>
45544 #else
45545 # include <assert.h>
45546 #endif
45548 #undef $ac_func
45550 /* Override any gcc2 internal prototype to avoid an error. */
45551 #ifdef __cplusplus
45552 extern "C"
45554 #endif
45555 /* We use char because int might match the return type of a gcc2
45556 builtin and then its argument prototype would still apply. */
45557 char $ac_func ();
45558 /* The GNU C library defines this for functions which it implements
45559 to always fail with ENOSYS. Some functions are actually named
45560 something starting with __ and the normal name is an alias. */
45561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45562 choke me
45563 #else
45564 char (*f) () = $ac_func;
45565 #endif
45566 #ifdef __cplusplus
45568 #endif
45571 main ()
45573 return f != $ac_func;
45575 return 0;
45577 _ACEOF
45578 rm -f conftest.$ac_objext conftest$ac_exeext
45579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45580 (eval $ac_link) 2>conftest.er1
45581 ac_status=$?
45582 grep -v '^ *+' conftest.er1 >conftest.err
45583 rm -f conftest.er1
45584 cat conftest.err >&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } &&
45587 { ac_try='test -z "$ac_c_werror_flag"
45588 || test ! -s conftest.err'
45589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590 (eval $ac_try) 2>&5
45591 ac_status=$?
45592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593 (exit $ac_status); }; } &&
45594 { ac_try='test -s conftest$ac_exeext'
45595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45596 (eval $ac_try) 2>&5
45597 ac_status=$?
45598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599 (exit $ac_status); }; }; then
45600 eval "$as_ac_var=yes"
45601 else
45602 echo "$as_me: failed program was:" >&5
45603 sed 's/^/| /' conftest.$ac_ext >&5
45605 eval "$as_ac_var=no"
45607 rm -f conftest.err conftest.$ac_objext \
45608 conftest$ac_exeext conftest.$ac_ext
45610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45612 if test `eval echo '${'$as_ac_var'}'` = yes; then
45613 cat >>confdefs.h <<_ACEOF
45614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45615 _ACEOF
45618 done
45620 else
45622 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45623 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45624 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45625 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45626 echo $ECHO_N "(cached) $ECHO_C" >&6
45627 else
45631 ac_ext=cc
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45637 cat >conftest.$ac_ext <<_ACEOF
45638 /* confdefs.h. */
45639 _ACEOF
45640 cat confdefs.h >>conftest.$ac_ext
45641 cat >>conftest.$ac_ext <<_ACEOF
45642 /* end confdefs.h. */
45643 #include <math.h>
45645 main ()
45647 _ldexpl(0, 0);
45649 return 0;
45651 _ACEOF
45652 rm -f conftest.$ac_objext
45653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45654 (eval $ac_compile) 2>conftest.er1
45655 ac_status=$?
45656 grep -v '^ *+' conftest.er1 >conftest.err
45657 rm -f conftest.er1
45658 cat conftest.err >&5
45659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45660 (exit $ac_status); } &&
45661 { ac_try='test -z "$ac_cxx_werror_flag"
45662 || test ! -s conftest.err'
45663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45664 (eval $ac_try) 2>&5
45665 ac_status=$?
45666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667 (exit $ac_status); }; } &&
45668 { ac_try='test -s conftest.$ac_objext'
45669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45670 (eval $ac_try) 2>&5
45671 ac_status=$?
45672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673 (exit $ac_status); }; }; then
45674 glibcxx_cv_func__ldexpl_use=yes
45675 else
45676 echo "$as_me: failed program was:" >&5
45677 sed 's/^/| /' conftest.$ac_ext >&5
45679 glibcxx_cv_func__ldexpl_use=no
45681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45682 ac_ext=c
45683 ac_cpp='$CPP $CPPFLAGS'
45684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45693 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45695 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45697 for ac_func in _ldexpl
45699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45700 echo "$as_me:$LINENO: checking for $ac_func" >&5
45701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45702 if eval "test \"\${$as_ac_var+set}\" = set"; then
45703 echo $ECHO_N "(cached) $ECHO_C" >&6
45704 else
45705 if test x$gcc_no_link = xyes; then
45706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45708 { (exit 1); exit 1; }; }
45710 cat >conftest.$ac_ext <<_ACEOF
45711 /* confdefs.h. */
45712 _ACEOF
45713 cat confdefs.h >>conftest.$ac_ext
45714 cat >>conftest.$ac_ext <<_ACEOF
45715 /* end confdefs.h. */
45716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45718 #define $ac_func innocuous_$ac_func
45720 /* System header to define __stub macros and hopefully few prototypes,
45721 which can conflict with char $ac_func (); below.
45722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45723 <limits.h> exists even on freestanding compilers. */
45725 #ifdef __STDC__
45726 # include <limits.h>
45727 #else
45728 # include <assert.h>
45729 #endif
45731 #undef $ac_func
45733 /* Override any gcc2 internal prototype to avoid an error. */
45734 #ifdef __cplusplus
45735 extern "C"
45737 #endif
45738 /* We use char because int might match the return type of a gcc2
45739 builtin and then its argument prototype would still apply. */
45740 char $ac_func ();
45741 /* The GNU C library defines this for functions which it implements
45742 to always fail with ENOSYS. Some functions are actually named
45743 something starting with __ and the normal name is an alias. */
45744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45745 choke me
45746 #else
45747 char (*f) () = $ac_func;
45748 #endif
45749 #ifdef __cplusplus
45751 #endif
45754 main ()
45756 return f != $ac_func;
45758 return 0;
45760 _ACEOF
45761 rm -f conftest.$ac_objext conftest$ac_exeext
45762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45763 (eval $ac_link) 2>conftest.er1
45764 ac_status=$?
45765 grep -v '^ *+' conftest.er1 >conftest.err
45766 rm -f conftest.er1
45767 cat conftest.err >&5
45768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769 (exit $ac_status); } &&
45770 { ac_try='test -z "$ac_c_werror_flag"
45771 || test ! -s conftest.err'
45772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45773 (eval $ac_try) 2>&5
45774 ac_status=$?
45775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45776 (exit $ac_status); }; } &&
45777 { ac_try='test -s conftest$ac_exeext'
45778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45779 (eval $ac_try) 2>&5
45780 ac_status=$?
45781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45782 (exit $ac_status); }; }; then
45783 eval "$as_ac_var=yes"
45784 else
45785 echo "$as_me: failed program was:" >&5
45786 sed 's/^/| /' conftest.$ac_ext >&5
45788 eval "$as_ac_var=no"
45790 rm -f conftest.err conftest.$ac_objext \
45791 conftest$ac_exeext conftest.$ac_ext
45793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45795 if test `eval echo '${'$as_ac_var'}'` = yes; then
45796 cat >>confdefs.h <<_ACEOF
45797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45798 _ACEOF
45801 done
45811 echo "$as_me:$LINENO: checking for logl declaration" >&5
45812 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45813 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45814 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45815 echo $ECHO_N "(cached) $ECHO_C" >&6
45816 else
45820 ac_ext=cc
45821 ac_cpp='$CXXCPP $CPPFLAGS'
45822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45826 cat >conftest.$ac_ext <<_ACEOF
45827 /* confdefs.h. */
45828 _ACEOF
45829 cat confdefs.h >>conftest.$ac_ext
45830 cat >>conftest.$ac_ext <<_ACEOF
45831 /* end confdefs.h. */
45832 #include <math.h>
45833 #ifdef HAVE_IEEEFP_H
45834 #include <ieeefp.h>
45835 #endif
45838 main ()
45840 logl(0);
45842 return 0;
45844 _ACEOF
45845 rm -f conftest.$ac_objext
45846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45847 (eval $ac_compile) 2>conftest.er1
45848 ac_status=$?
45849 grep -v '^ *+' conftest.er1 >conftest.err
45850 rm -f conftest.er1
45851 cat conftest.err >&5
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); } &&
45854 { ac_try='test -z "$ac_cxx_werror_flag"
45855 || test ! -s conftest.err'
45856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45857 (eval $ac_try) 2>&5
45858 ac_status=$?
45859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45860 (exit $ac_status); }; } &&
45861 { ac_try='test -s conftest.$ac_objext'
45862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45863 (eval $ac_try) 2>&5
45864 ac_status=$?
45865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45866 (exit $ac_status); }; }; then
45867 glibcxx_cv_func_logl_use=yes
45868 else
45869 echo "$as_me: failed program was:" >&5
45870 sed 's/^/| /' conftest.$ac_ext >&5
45872 glibcxx_cv_func_logl_use=no
45874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45875 ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45886 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45888 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45890 for ac_func in logl
45892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45893 echo "$as_me:$LINENO: checking for $ac_func" >&5
45894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45895 if eval "test \"\${$as_ac_var+set}\" = set"; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45897 else
45898 if test x$gcc_no_link = xyes; then
45899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45901 { (exit 1); exit 1; }; }
45903 cat >conftest.$ac_ext <<_ACEOF
45904 /* confdefs.h. */
45905 _ACEOF
45906 cat confdefs.h >>conftest.$ac_ext
45907 cat >>conftest.$ac_ext <<_ACEOF
45908 /* end confdefs.h. */
45909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45911 #define $ac_func innocuous_$ac_func
45913 /* System header to define __stub macros and hopefully few prototypes,
45914 which can conflict with char $ac_func (); below.
45915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45916 <limits.h> exists even on freestanding compilers. */
45918 #ifdef __STDC__
45919 # include <limits.h>
45920 #else
45921 # include <assert.h>
45922 #endif
45924 #undef $ac_func
45926 /* Override any gcc2 internal prototype to avoid an error. */
45927 #ifdef __cplusplus
45928 extern "C"
45930 #endif
45931 /* We use char because int might match the return type of a gcc2
45932 builtin and then its argument prototype would still apply. */
45933 char $ac_func ();
45934 /* The GNU C library defines this for functions which it implements
45935 to always fail with ENOSYS. Some functions are actually named
45936 something starting with __ and the normal name is an alias. */
45937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45938 choke me
45939 #else
45940 char (*f) () = $ac_func;
45941 #endif
45942 #ifdef __cplusplus
45944 #endif
45947 main ()
45949 return f != $ac_func;
45951 return 0;
45953 _ACEOF
45954 rm -f conftest.$ac_objext conftest$ac_exeext
45955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45956 (eval $ac_link) 2>conftest.er1
45957 ac_status=$?
45958 grep -v '^ *+' conftest.er1 >conftest.err
45959 rm -f conftest.er1
45960 cat conftest.err >&5
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); } &&
45963 { ac_try='test -z "$ac_c_werror_flag"
45964 || test ! -s conftest.err'
45965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45966 (eval $ac_try) 2>&5
45967 ac_status=$?
45968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45969 (exit $ac_status); }; } &&
45970 { ac_try='test -s conftest$ac_exeext'
45971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45972 (eval $ac_try) 2>&5
45973 ac_status=$?
45974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975 (exit $ac_status); }; }; then
45976 eval "$as_ac_var=yes"
45977 else
45978 echo "$as_me: failed program was:" >&5
45979 sed 's/^/| /' conftest.$ac_ext >&5
45981 eval "$as_ac_var=no"
45983 rm -f conftest.err conftest.$ac_objext \
45984 conftest$ac_exeext conftest.$ac_ext
45986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45988 if test `eval echo '${'$as_ac_var'}'` = yes; then
45989 cat >>confdefs.h <<_ACEOF
45990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45991 _ACEOF
45994 done
45996 else
45998 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45999 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46000 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46001 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46002 echo $ECHO_N "(cached) $ECHO_C" >&6
46003 else
46007 ac_ext=cc
46008 ac_cpp='$CXXCPP $CPPFLAGS'
46009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46013 cat >conftest.$ac_ext <<_ACEOF
46014 /* confdefs.h. */
46015 _ACEOF
46016 cat confdefs.h >>conftest.$ac_ext
46017 cat >>conftest.$ac_ext <<_ACEOF
46018 /* end confdefs.h. */
46019 #include <math.h>
46020 #ifdef HAVE_IEEEFP_H
46021 #include <ieeefp.h>
46022 #endif
46025 main ()
46027 _logl(0);
46029 return 0;
46031 _ACEOF
46032 rm -f conftest.$ac_objext
46033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46034 (eval $ac_compile) 2>conftest.er1
46035 ac_status=$?
46036 grep -v '^ *+' conftest.er1 >conftest.err
46037 rm -f conftest.er1
46038 cat conftest.err >&5
46039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040 (exit $ac_status); } &&
46041 { ac_try='test -z "$ac_cxx_werror_flag"
46042 || test ! -s conftest.err'
46043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46044 (eval $ac_try) 2>&5
46045 ac_status=$?
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); }; } &&
46048 { ac_try='test -s conftest.$ac_objext'
46049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46050 (eval $ac_try) 2>&5
46051 ac_status=$?
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); }; }; then
46054 glibcxx_cv_func__logl_use=yes
46055 else
46056 echo "$as_me: failed program was:" >&5
46057 sed 's/^/| /' conftest.$ac_ext >&5
46059 glibcxx_cv_func__logl_use=no
46061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46062 ac_ext=c
46063 ac_cpp='$CPP $CPPFLAGS'
46064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46073 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46075 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46077 for ac_func in _logl
46079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46080 echo "$as_me:$LINENO: checking for $ac_func" >&5
46081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46082 if eval "test \"\${$as_ac_var+set}\" = set"; then
46083 echo $ECHO_N "(cached) $ECHO_C" >&6
46084 else
46085 if test x$gcc_no_link = xyes; then
46086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46088 { (exit 1); exit 1; }; }
46090 cat >conftest.$ac_ext <<_ACEOF
46091 /* confdefs.h. */
46092 _ACEOF
46093 cat confdefs.h >>conftest.$ac_ext
46094 cat >>conftest.$ac_ext <<_ACEOF
46095 /* end confdefs.h. */
46096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46098 #define $ac_func innocuous_$ac_func
46100 /* System header to define __stub macros and hopefully few prototypes,
46101 which can conflict with char $ac_func (); below.
46102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46103 <limits.h> exists even on freestanding compilers. */
46105 #ifdef __STDC__
46106 # include <limits.h>
46107 #else
46108 # include <assert.h>
46109 #endif
46111 #undef $ac_func
46113 /* Override any gcc2 internal prototype to avoid an error. */
46114 #ifdef __cplusplus
46115 extern "C"
46117 #endif
46118 /* We use char because int might match the return type of a gcc2
46119 builtin and then its argument prototype would still apply. */
46120 char $ac_func ();
46121 /* The GNU C library defines this for functions which it implements
46122 to always fail with ENOSYS. Some functions are actually named
46123 something starting with __ and the normal name is an alias. */
46124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46125 choke me
46126 #else
46127 char (*f) () = $ac_func;
46128 #endif
46129 #ifdef __cplusplus
46131 #endif
46134 main ()
46136 return f != $ac_func;
46138 return 0;
46140 _ACEOF
46141 rm -f conftest.$ac_objext conftest$ac_exeext
46142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46143 (eval $ac_link) 2>conftest.er1
46144 ac_status=$?
46145 grep -v '^ *+' conftest.er1 >conftest.err
46146 rm -f conftest.er1
46147 cat conftest.err >&5
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); } &&
46150 { ac_try='test -z "$ac_c_werror_flag"
46151 || test ! -s conftest.err'
46152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46153 (eval $ac_try) 2>&5
46154 ac_status=$?
46155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46156 (exit $ac_status); }; } &&
46157 { ac_try='test -s conftest$ac_exeext'
46158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46159 (eval $ac_try) 2>&5
46160 ac_status=$?
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; }; then
46163 eval "$as_ac_var=yes"
46164 else
46165 echo "$as_me: failed program was:" >&5
46166 sed 's/^/| /' conftest.$ac_ext >&5
46168 eval "$as_ac_var=no"
46170 rm -f conftest.err conftest.$ac_objext \
46171 conftest$ac_exeext conftest.$ac_ext
46173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46175 if test `eval echo '${'$as_ac_var'}'` = yes; then
46176 cat >>confdefs.h <<_ACEOF
46177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46178 _ACEOF
46181 done
46191 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46192 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46193 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46194 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46195 echo $ECHO_N "(cached) $ECHO_C" >&6
46196 else
46200 ac_ext=cc
46201 ac_cpp='$CXXCPP $CPPFLAGS'
46202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46206 cat >conftest.$ac_ext <<_ACEOF
46207 /* confdefs.h. */
46208 _ACEOF
46209 cat confdefs.h >>conftest.$ac_ext
46210 cat >>conftest.$ac_ext <<_ACEOF
46211 /* end confdefs.h. */
46212 #include <math.h>
46213 #ifdef HAVE_IEEEFP_H
46214 #include <ieeefp.h>
46215 #endif
46218 main ()
46220 log10l(0);
46222 return 0;
46224 _ACEOF
46225 rm -f conftest.$ac_objext
46226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46227 (eval $ac_compile) 2>conftest.er1
46228 ac_status=$?
46229 grep -v '^ *+' conftest.er1 >conftest.err
46230 rm -f conftest.er1
46231 cat conftest.err >&5
46232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46233 (exit $ac_status); } &&
46234 { ac_try='test -z "$ac_cxx_werror_flag"
46235 || test ! -s conftest.err'
46236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46237 (eval $ac_try) 2>&5
46238 ac_status=$?
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); }; } &&
46241 { ac_try='test -s conftest.$ac_objext'
46242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46243 (eval $ac_try) 2>&5
46244 ac_status=$?
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; }; then
46247 glibcxx_cv_func_log10l_use=yes
46248 else
46249 echo "$as_me: failed program was:" >&5
46250 sed 's/^/| /' conftest.$ac_ext >&5
46252 glibcxx_cv_func_log10l_use=no
46254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46266 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46268 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46270 for ac_func in log10l
46272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46273 echo "$as_me:$LINENO: checking for $ac_func" >&5
46274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46275 if eval "test \"\${$as_ac_var+set}\" = set"; then
46276 echo $ECHO_N "(cached) $ECHO_C" >&6
46277 else
46278 if test x$gcc_no_link = xyes; then
46279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46281 { (exit 1); exit 1; }; }
46283 cat >conftest.$ac_ext <<_ACEOF
46284 /* confdefs.h. */
46285 _ACEOF
46286 cat confdefs.h >>conftest.$ac_ext
46287 cat >>conftest.$ac_ext <<_ACEOF
46288 /* end confdefs.h. */
46289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46291 #define $ac_func innocuous_$ac_func
46293 /* System header to define __stub macros and hopefully few prototypes,
46294 which can conflict with char $ac_func (); below.
46295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46296 <limits.h> exists even on freestanding compilers. */
46298 #ifdef __STDC__
46299 # include <limits.h>
46300 #else
46301 # include <assert.h>
46302 #endif
46304 #undef $ac_func
46306 /* Override any gcc2 internal prototype to avoid an error. */
46307 #ifdef __cplusplus
46308 extern "C"
46310 #endif
46311 /* We use char because int might match the return type of a gcc2
46312 builtin and then its argument prototype would still apply. */
46313 char $ac_func ();
46314 /* The GNU C library defines this for functions which it implements
46315 to always fail with ENOSYS. Some functions are actually named
46316 something starting with __ and the normal name is an alias. */
46317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46318 choke me
46319 #else
46320 char (*f) () = $ac_func;
46321 #endif
46322 #ifdef __cplusplus
46324 #endif
46327 main ()
46329 return f != $ac_func;
46331 return 0;
46333 _ACEOF
46334 rm -f conftest.$ac_objext conftest$ac_exeext
46335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46336 (eval $ac_link) 2>conftest.er1
46337 ac_status=$?
46338 grep -v '^ *+' conftest.er1 >conftest.err
46339 rm -f conftest.er1
46340 cat conftest.err >&5
46341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46342 (exit $ac_status); } &&
46343 { ac_try='test -z "$ac_c_werror_flag"
46344 || test ! -s conftest.err'
46345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46346 (eval $ac_try) 2>&5
46347 ac_status=$?
46348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46349 (exit $ac_status); }; } &&
46350 { ac_try='test -s conftest$ac_exeext'
46351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46352 (eval $ac_try) 2>&5
46353 ac_status=$?
46354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46355 (exit $ac_status); }; }; then
46356 eval "$as_ac_var=yes"
46357 else
46358 echo "$as_me: failed program was:" >&5
46359 sed 's/^/| /' conftest.$ac_ext >&5
46361 eval "$as_ac_var=no"
46363 rm -f conftest.err conftest.$ac_objext \
46364 conftest$ac_exeext conftest.$ac_ext
46366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46368 if test `eval echo '${'$as_ac_var'}'` = yes; then
46369 cat >>confdefs.h <<_ACEOF
46370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46371 _ACEOF
46374 done
46376 else
46378 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46379 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46380 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46381 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46382 echo $ECHO_N "(cached) $ECHO_C" >&6
46383 else
46387 ac_ext=cc
46388 ac_cpp='$CXXCPP $CPPFLAGS'
46389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46393 cat >conftest.$ac_ext <<_ACEOF
46394 /* confdefs.h. */
46395 _ACEOF
46396 cat confdefs.h >>conftest.$ac_ext
46397 cat >>conftest.$ac_ext <<_ACEOF
46398 /* end confdefs.h. */
46399 #include <math.h>
46400 #ifdef HAVE_IEEEFP_H
46401 #include <ieeefp.h>
46402 #endif
46405 main ()
46407 _log10l(0);
46409 return 0;
46411 _ACEOF
46412 rm -f conftest.$ac_objext
46413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46414 (eval $ac_compile) 2>conftest.er1
46415 ac_status=$?
46416 grep -v '^ *+' conftest.er1 >conftest.err
46417 rm -f conftest.er1
46418 cat conftest.err >&5
46419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46420 (exit $ac_status); } &&
46421 { ac_try='test -z "$ac_cxx_werror_flag"
46422 || test ! -s conftest.err'
46423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46424 (eval $ac_try) 2>&5
46425 ac_status=$?
46426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46427 (exit $ac_status); }; } &&
46428 { ac_try='test -s conftest.$ac_objext'
46429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46430 (eval $ac_try) 2>&5
46431 ac_status=$?
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); }; }; then
46434 glibcxx_cv_func__log10l_use=yes
46435 else
46436 echo "$as_me: failed program was:" >&5
46437 sed 's/^/| /' conftest.$ac_ext >&5
46439 glibcxx_cv_func__log10l_use=no
46441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46442 ac_ext=c
46443 ac_cpp='$CPP $CPPFLAGS'
46444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46453 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46455 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46457 for ac_func in _log10l
46459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46460 echo "$as_me:$LINENO: checking for $ac_func" >&5
46461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46462 if eval "test \"\${$as_ac_var+set}\" = set"; then
46463 echo $ECHO_N "(cached) $ECHO_C" >&6
46464 else
46465 if test x$gcc_no_link = xyes; then
46466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46468 { (exit 1); exit 1; }; }
46470 cat >conftest.$ac_ext <<_ACEOF
46471 /* confdefs.h. */
46472 _ACEOF
46473 cat confdefs.h >>conftest.$ac_ext
46474 cat >>conftest.$ac_ext <<_ACEOF
46475 /* end confdefs.h. */
46476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46478 #define $ac_func innocuous_$ac_func
46480 /* System header to define __stub macros and hopefully few prototypes,
46481 which can conflict with char $ac_func (); below.
46482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46483 <limits.h> exists even on freestanding compilers. */
46485 #ifdef __STDC__
46486 # include <limits.h>
46487 #else
46488 # include <assert.h>
46489 #endif
46491 #undef $ac_func
46493 /* Override any gcc2 internal prototype to avoid an error. */
46494 #ifdef __cplusplus
46495 extern "C"
46497 #endif
46498 /* We use char because int might match the return type of a gcc2
46499 builtin and then its argument prototype would still apply. */
46500 char $ac_func ();
46501 /* The GNU C library defines this for functions which it implements
46502 to always fail with ENOSYS. Some functions are actually named
46503 something starting with __ and the normal name is an alias. */
46504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46505 choke me
46506 #else
46507 char (*f) () = $ac_func;
46508 #endif
46509 #ifdef __cplusplus
46511 #endif
46514 main ()
46516 return f != $ac_func;
46518 return 0;
46520 _ACEOF
46521 rm -f conftest.$ac_objext conftest$ac_exeext
46522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46523 (eval $ac_link) 2>conftest.er1
46524 ac_status=$?
46525 grep -v '^ *+' conftest.er1 >conftest.err
46526 rm -f conftest.er1
46527 cat conftest.err >&5
46528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46529 (exit $ac_status); } &&
46530 { ac_try='test -z "$ac_c_werror_flag"
46531 || test ! -s conftest.err'
46532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46533 (eval $ac_try) 2>&5
46534 ac_status=$?
46535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46536 (exit $ac_status); }; } &&
46537 { ac_try='test -s conftest$ac_exeext'
46538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46539 (eval $ac_try) 2>&5
46540 ac_status=$?
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); }; }; then
46543 eval "$as_ac_var=yes"
46544 else
46545 echo "$as_me: failed program was:" >&5
46546 sed 's/^/| /' conftest.$ac_ext >&5
46548 eval "$as_ac_var=no"
46550 rm -f conftest.err conftest.$ac_objext \
46551 conftest$ac_exeext conftest.$ac_ext
46553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46555 if test `eval echo '${'$as_ac_var'}'` = yes; then
46556 cat >>confdefs.h <<_ACEOF
46557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46558 _ACEOF
46561 done
46571 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46572 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46573 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46574 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46575 echo $ECHO_N "(cached) $ECHO_C" >&6
46576 else
46580 ac_ext=cc
46581 ac_cpp='$CXXCPP $CPPFLAGS'
46582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46586 cat >conftest.$ac_ext <<_ACEOF
46587 /* confdefs.h. */
46588 _ACEOF
46589 cat confdefs.h >>conftest.$ac_ext
46590 cat >>conftest.$ac_ext <<_ACEOF
46591 /* end confdefs.h. */
46592 #include <math.h>
46594 main ()
46596 modfl(0, 0);
46598 return 0;
46600 _ACEOF
46601 rm -f conftest.$ac_objext
46602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46603 (eval $ac_compile) 2>conftest.er1
46604 ac_status=$?
46605 grep -v '^ *+' conftest.er1 >conftest.err
46606 rm -f conftest.er1
46607 cat conftest.err >&5
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } &&
46610 { ac_try='test -z "$ac_cxx_werror_flag"
46611 || test ! -s conftest.err'
46612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46613 (eval $ac_try) 2>&5
46614 ac_status=$?
46615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46616 (exit $ac_status); }; } &&
46617 { ac_try='test -s conftest.$ac_objext'
46618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46619 (eval $ac_try) 2>&5
46620 ac_status=$?
46621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46622 (exit $ac_status); }; }; then
46623 glibcxx_cv_func_modfl_use=yes
46624 else
46625 echo "$as_me: failed program was:" >&5
46626 sed 's/^/| /' conftest.$ac_ext >&5
46628 glibcxx_cv_func_modfl_use=no
46630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46631 ac_ext=c
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46642 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46644 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46646 for ac_func in modfl
46648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46649 echo "$as_me:$LINENO: checking for $ac_func" >&5
46650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46651 if eval "test \"\${$as_ac_var+set}\" = set"; then
46652 echo $ECHO_N "(cached) $ECHO_C" >&6
46653 else
46654 if test x$gcc_no_link = xyes; then
46655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46657 { (exit 1); exit 1; }; }
46659 cat >conftest.$ac_ext <<_ACEOF
46660 /* confdefs.h. */
46661 _ACEOF
46662 cat confdefs.h >>conftest.$ac_ext
46663 cat >>conftest.$ac_ext <<_ACEOF
46664 /* end confdefs.h. */
46665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46667 #define $ac_func innocuous_$ac_func
46669 /* System header to define __stub macros and hopefully few prototypes,
46670 which can conflict with char $ac_func (); below.
46671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46672 <limits.h> exists even on freestanding compilers. */
46674 #ifdef __STDC__
46675 # include <limits.h>
46676 #else
46677 # include <assert.h>
46678 #endif
46680 #undef $ac_func
46682 /* Override any gcc2 internal prototype to avoid an error. */
46683 #ifdef __cplusplus
46684 extern "C"
46686 #endif
46687 /* We use char because int might match the return type of a gcc2
46688 builtin and then its argument prototype would still apply. */
46689 char $ac_func ();
46690 /* The GNU C library defines this for functions which it implements
46691 to always fail with ENOSYS. Some functions are actually named
46692 something starting with __ and the normal name is an alias. */
46693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46694 choke me
46695 #else
46696 char (*f) () = $ac_func;
46697 #endif
46698 #ifdef __cplusplus
46700 #endif
46703 main ()
46705 return f != $ac_func;
46707 return 0;
46709 _ACEOF
46710 rm -f conftest.$ac_objext conftest$ac_exeext
46711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46712 (eval $ac_link) 2>conftest.er1
46713 ac_status=$?
46714 grep -v '^ *+' conftest.er1 >conftest.err
46715 rm -f conftest.er1
46716 cat conftest.err >&5
46717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46718 (exit $ac_status); } &&
46719 { ac_try='test -z "$ac_c_werror_flag"
46720 || test ! -s conftest.err'
46721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46722 (eval $ac_try) 2>&5
46723 ac_status=$?
46724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46725 (exit $ac_status); }; } &&
46726 { ac_try='test -s conftest$ac_exeext'
46727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46728 (eval $ac_try) 2>&5
46729 ac_status=$?
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); }; }; then
46732 eval "$as_ac_var=yes"
46733 else
46734 echo "$as_me: failed program was:" >&5
46735 sed 's/^/| /' conftest.$ac_ext >&5
46737 eval "$as_ac_var=no"
46739 rm -f conftest.err conftest.$ac_objext \
46740 conftest$ac_exeext conftest.$ac_ext
46742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46744 if test `eval echo '${'$as_ac_var'}'` = yes; then
46745 cat >>confdefs.h <<_ACEOF
46746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46747 _ACEOF
46750 done
46752 else
46754 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46755 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46756 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46757 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46758 echo $ECHO_N "(cached) $ECHO_C" >&6
46759 else
46763 ac_ext=cc
46764 ac_cpp='$CXXCPP $CPPFLAGS'
46765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46769 cat >conftest.$ac_ext <<_ACEOF
46770 /* confdefs.h. */
46771 _ACEOF
46772 cat confdefs.h >>conftest.$ac_ext
46773 cat >>conftest.$ac_ext <<_ACEOF
46774 /* end confdefs.h. */
46775 #include <math.h>
46777 main ()
46779 _modfl(0, 0);
46781 return 0;
46783 _ACEOF
46784 rm -f conftest.$ac_objext
46785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46786 (eval $ac_compile) 2>conftest.er1
46787 ac_status=$?
46788 grep -v '^ *+' conftest.er1 >conftest.err
46789 rm -f conftest.er1
46790 cat conftest.err >&5
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); } &&
46793 { ac_try='test -z "$ac_cxx_werror_flag"
46794 || test ! -s conftest.err'
46795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46796 (eval $ac_try) 2>&5
46797 ac_status=$?
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); }; } &&
46800 { ac_try='test -s conftest.$ac_objext'
46801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46802 (eval $ac_try) 2>&5
46803 ac_status=$?
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); }; }; then
46806 glibcxx_cv_func__modfl_use=yes
46807 else
46808 echo "$as_me: failed program was:" >&5
46809 sed 's/^/| /' conftest.$ac_ext >&5
46811 glibcxx_cv_func__modfl_use=no
46813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46814 ac_ext=c
46815 ac_cpp='$CPP $CPPFLAGS'
46816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46825 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46827 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46829 for ac_func in _modfl
46831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46832 echo "$as_me:$LINENO: checking for $ac_func" >&5
46833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46834 if eval "test \"\${$as_ac_var+set}\" = set"; then
46835 echo $ECHO_N "(cached) $ECHO_C" >&6
46836 else
46837 if test x$gcc_no_link = xyes; then
46838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46840 { (exit 1); exit 1; }; }
46842 cat >conftest.$ac_ext <<_ACEOF
46843 /* confdefs.h. */
46844 _ACEOF
46845 cat confdefs.h >>conftest.$ac_ext
46846 cat >>conftest.$ac_ext <<_ACEOF
46847 /* end confdefs.h. */
46848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46850 #define $ac_func innocuous_$ac_func
46852 /* System header to define __stub macros and hopefully few prototypes,
46853 which can conflict with char $ac_func (); below.
46854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46855 <limits.h> exists even on freestanding compilers. */
46857 #ifdef __STDC__
46858 # include <limits.h>
46859 #else
46860 # include <assert.h>
46861 #endif
46863 #undef $ac_func
46865 /* Override any gcc2 internal prototype to avoid an error. */
46866 #ifdef __cplusplus
46867 extern "C"
46869 #endif
46870 /* We use char because int might match the return type of a gcc2
46871 builtin and then its argument prototype would still apply. */
46872 char $ac_func ();
46873 /* The GNU C library defines this for functions which it implements
46874 to always fail with ENOSYS. Some functions are actually named
46875 something starting with __ and the normal name is an alias. */
46876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46877 choke me
46878 #else
46879 char (*f) () = $ac_func;
46880 #endif
46881 #ifdef __cplusplus
46883 #endif
46886 main ()
46888 return f != $ac_func;
46890 return 0;
46892 _ACEOF
46893 rm -f conftest.$ac_objext conftest$ac_exeext
46894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46895 (eval $ac_link) 2>conftest.er1
46896 ac_status=$?
46897 grep -v '^ *+' conftest.er1 >conftest.err
46898 rm -f conftest.er1
46899 cat conftest.err >&5
46900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46901 (exit $ac_status); } &&
46902 { ac_try='test -z "$ac_c_werror_flag"
46903 || test ! -s conftest.err'
46904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46905 (eval $ac_try) 2>&5
46906 ac_status=$?
46907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908 (exit $ac_status); }; } &&
46909 { ac_try='test -s conftest$ac_exeext'
46910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46911 (eval $ac_try) 2>&5
46912 ac_status=$?
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); }; }; then
46915 eval "$as_ac_var=yes"
46916 else
46917 echo "$as_me: failed program was:" >&5
46918 sed 's/^/| /' conftest.$ac_ext >&5
46920 eval "$as_ac_var=no"
46922 rm -f conftest.err conftest.$ac_objext \
46923 conftest$ac_exeext conftest.$ac_ext
46925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46927 if test `eval echo '${'$as_ac_var'}'` = yes; then
46928 cat >>confdefs.h <<_ACEOF
46929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46930 _ACEOF
46933 done
46943 echo "$as_me:$LINENO: checking for powl declaration" >&5
46944 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46945 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46946 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46947 echo $ECHO_N "(cached) $ECHO_C" >&6
46948 else
46952 ac_ext=cc
46953 ac_cpp='$CXXCPP $CPPFLAGS'
46954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46958 cat >conftest.$ac_ext <<_ACEOF
46959 /* confdefs.h. */
46960 _ACEOF
46961 cat confdefs.h >>conftest.$ac_ext
46962 cat >>conftest.$ac_ext <<_ACEOF
46963 /* end confdefs.h. */
46964 #include <math.h>
46966 main ()
46968 powl(0, 0);
46970 return 0;
46972 _ACEOF
46973 rm -f conftest.$ac_objext
46974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46975 (eval $ac_compile) 2>conftest.er1
46976 ac_status=$?
46977 grep -v '^ *+' conftest.er1 >conftest.err
46978 rm -f conftest.er1
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } &&
46982 { ac_try='test -z "$ac_cxx_werror_flag"
46983 || test ! -s conftest.err'
46984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46985 (eval $ac_try) 2>&5
46986 ac_status=$?
46987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46988 (exit $ac_status); }; } &&
46989 { ac_try='test -s conftest.$ac_objext'
46990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46991 (eval $ac_try) 2>&5
46992 ac_status=$?
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); }; }; then
46995 glibcxx_cv_func_powl_use=yes
46996 else
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
47000 glibcxx_cv_func_powl_use=no
47002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47003 ac_ext=c
47004 ac_cpp='$CPP $CPPFLAGS'
47005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47014 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47016 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47018 for ac_func in powl
47020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47021 echo "$as_me:$LINENO: checking for $ac_func" >&5
47022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47023 if eval "test \"\${$as_ac_var+set}\" = set"; then
47024 echo $ECHO_N "(cached) $ECHO_C" >&6
47025 else
47026 if test x$gcc_no_link = xyes; then
47027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47029 { (exit 1); exit 1; }; }
47031 cat >conftest.$ac_ext <<_ACEOF
47032 /* confdefs.h. */
47033 _ACEOF
47034 cat confdefs.h >>conftest.$ac_ext
47035 cat >>conftest.$ac_ext <<_ACEOF
47036 /* end confdefs.h. */
47037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47039 #define $ac_func innocuous_$ac_func
47041 /* System header to define __stub macros and hopefully few prototypes,
47042 which can conflict with char $ac_func (); below.
47043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47044 <limits.h> exists even on freestanding compilers. */
47046 #ifdef __STDC__
47047 # include <limits.h>
47048 #else
47049 # include <assert.h>
47050 #endif
47052 #undef $ac_func
47054 /* Override any gcc2 internal prototype to avoid an error. */
47055 #ifdef __cplusplus
47056 extern "C"
47058 #endif
47059 /* We use char because int might match the return type of a gcc2
47060 builtin and then its argument prototype would still apply. */
47061 char $ac_func ();
47062 /* The GNU C library defines this for functions which it implements
47063 to always fail with ENOSYS. Some functions are actually named
47064 something starting with __ and the normal name is an alias. */
47065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47066 choke me
47067 #else
47068 char (*f) () = $ac_func;
47069 #endif
47070 #ifdef __cplusplus
47072 #endif
47075 main ()
47077 return f != $ac_func;
47079 return 0;
47081 _ACEOF
47082 rm -f conftest.$ac_objext conftest$ac_exeext
47083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47084 (eval $ac_link) 2>conftest.er1
47085 ac_status=$?
47086 grep -v '^ *+' conftest.er1 >conftest.err
47087 rm -f conftest.er1
47088 cat conftest.err >&5
47089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47090 (exit $ac_status); } &&
47091 { ac_try='test -z "$ac_c_werror_flag"
47092 || test ! -s conftest.err'
47093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47094 (eval $ac_try) 2>&5
47095 ac_status=$?
47096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47097 (exit $ac_status); }; } &&
47098 { ac_try='test -s conftest$ac_exeext'
47099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47100 (eval $ac_try) 2>&5
47101 ac_status=$?
47102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47103 (exit $ac_status); }; }; then
47104 eval "$as_ac_var=yes"
47105 else
47106 echo "$as_me: failed program was:" >&5
47107 sed 's/^/| /' conftest.$ac_ext >&5
47109 eval "$as_ac_var=no"
47111 rm -f conftest.err conftest.$ac_objext \
47112 conftest$ac_exeext conftest.$ac_ext
47114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47116 if test `eval echo '${'$as_ac_var'}'` = yes; then
47117 cat >>confdefs.h <<_ACEOF
47118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47119 _ACEOF
47122 done
47124 else
47126 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47127 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47128 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47129 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47130 echo $ECHO_N "(cached) $ECHO_C" >&6
47131 else
47135 ac_ext=cc
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141 cat >conftest.$ac_ext <<_ACEOF
47142 /* confdefs.h. */
47143 _ACEOF
47144 cat confdefs.h >>conftest.$ac_ext
47145 cat >>conftest.$ac_ext <<_ACEOF
47146 /* end confdefs.h. */
47147 #include <math.h>
47149 main ()
47151 _powl(0, 0);
47153 return 0;
47155 _ACEOF
47156 rm -f conftest.$ac_objext
47157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47158 (eval $ac_compile) 2>conftest.er1
47159 ac_status=$?
47160 grep -v '^ *+' conftest.er1 >conftest.err
47161 rm -f conftest.er1
47162 cat conftest.err >&5
47163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47164 (exit $ac_status); } &&
47165 { ac_try='test -z "$ac_cxx_werror_flag"
47166 || test ! -s conftest.err'
47167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47168 (eval $ac_try) 2>&5
47169 ac_status=$?
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); }; } &&
47172 { ac_try='test -s conftest.$ac_objext'
47173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47174 (eval $ac_try) 2>&5
47175 ac_status=$?
47176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177 (exit $ac_status); }; }; then
47178 glibcxx_cv_func__powl_use=yes
47179 else
47180 echo "$as_me: failed program was:" >&5
47181 sed 's/^/| /' conftest.$ac_ext >&5
47183 glibcxx_cv_func__powl_use=no
47185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47186 ac_ext=c
47187 ac_cpp='$CPP $CPPFLAGS'
47188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47197 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47199 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47201 for ac_func in _powl
47203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47204 echo "$as_me:$LINENO: checking for $ac_func" >&5
47205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47206 if eval "test \"\${$as_ac_var+set}\" = set"; then
47207 echo $ECHO_N "(cached) $ECHO_C" >&6
47208 else
47209 if test x$gcc_no_link = xyes; then
47210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47212 { (exit 1); exit 1; }; }
47214 cat >conftest.$ac_ext <<_ACEOF
47215 /* confdefs.h. */
47216 _ACEOF
47217 cat confdefs.h >>conftest.$ac_ext
47218 cat >>conftest.$ac_ext <<_ACEOF
47219 /* end confdefs.h. */
47220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47222 #define $ac_func innocuous_$ac_func
47224 /* System header to define __stub macros and hopefully few prototypes,
47225 which can conflict with char $ac_func (); below.
47226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47227 <limits.h> exists even on freestanding compilers. */
47229 #ifdef __STDC__
47230 # include <limits.h>
47231 #else
47232 # include <assert.h>
47233 #endif
47235 #undef $ac_func
47237 /* Override any gcc2 internal prototype to avoid an error. */
47238 #ifdef __cplusplus
47239 extern "C"
47241 #endif
47242 /* We use char because int might match the return type of a gcc2
47243 builtin and then its argument prototype would still apply. */
47244 char $ac_func ();
47245 /* The GNU C library defines this for functions which it implements
47246 to always fail with ENOSYS. Some functions are actually named
47247 something starting with __ and the normal name is an alias. */
47248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47249 choke me
47250 #else
47251 char (*f) () = $ac_func;
47252 #endif
47253 #ifdef __cplusplus
47255 #endif
47258 main ()
47260 return f != $ac_func;
47262 return 0;
47264 _ACEOF
47265 rm -f conftest.$ac_objext conftest$ac_exeext
47266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47267 (eval $ac_link) 2>conftest.er1
47268 ac_status=$?
47269 grep -v '^ *+' conftest.er1 >conftest.err
47270 rm -f conftest.er1
47271 cat conftest.err >&5
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); } &&
47274 { ac_try='test -z "$ac_c_werror_flag"
47275 || test ! -s conftest.err'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47278 ac_status=$?
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; } &&
47281 { ac_try='test -s conftest$ac_exeext'
47282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283 (eval $ac_try) 2>&5
47284 ac_status=$?
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; }; then
47287 eval "$as_ac_var=yes"
47288 else
47289 echo "$as_me: failed program was:" >&5
47290 sed 's/^/| /' conftest.$ac_ext >&5
47292 eval "$as_ac_var=no"
47294 rm -f conftest.err conftest.$ac_objext \
47295 conftest$ac_exeext conftest.$ac_ext
47297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47299 if test `eval echo '${'$as_ac_var'}'` = yes; then
47300 cat >>confdefs.h <<_ACEOF
47301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47302 _ACEOF
47305 done
47315 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47316 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47317 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47318 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47319 echo $ECHO_N "(cached) $ECHO_C" >&6
47320 else
47324 ac_ext=cc
47325 ac_cpp='$CXXCPP $CPPFLAGS'
47326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47330 cat >conftest.$ac_ext <<_ACEOF
47331 /* confdefs.h. */
47332 _ACEOF
47333 cat confdefs.h >>conftest.$ac_ext
47334 cat >>conftest.$ac_ext <<_ACEOF
47335 /* end confdefs.h. */
47336 #include <math.h>
47337 #ifdef HAVE_IEEEFP_H
47338 #include <ieeefp.h>
47339 #endif
47342 main ()
47344 sqrtl(0);
47346 return 0;
47348 _ACEOF
47349 rm -f conftest.$ac_objext
47350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47351 (eval $ac_compile) 2>conftest.er1
47352 ac_status=$?
47353 grep -v '^ *+' conftest.er1 >conftest.err
47354 rm -f conftest.er1
47355 cat conftest.err >&5
47356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357 (exit $ac_status); } &&
47358 { ac_try='test -z "$ac_cxx_werror_flag"
47359 || test ! -s conftest.err'
47360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47361 (eval $ac_try) 2>&5
47362 ac_status=$?
47363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47364 (exit $ac_status); }; } &&
47365 { ac_try='test -s conftest.$ac_objext'
47366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47367 (eval $ac_try) 2>&5
47368 ac_status=$?
47369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47370 (exit $ac_status); }; }; then
47371 glibcxx_cv_func_sqrtl_use=yes
47372 else
47373 echo "$as_me: failed program was:" >&5
47374 sed 's/^/| /' conftest.$ac_ext >&5
47376 glibcxx_cv_func_sqrtl_use=no
47378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47390 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47392 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47394 for ac_func in sqrtl
47396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47397 echo "$as_me:$LINENO: checking for $ac_func" >&5
47398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47399 if eval "test \"\${$as_ac_var+set}\" = set"; then
47400 echo $ECHO_N "(cached) $ECHO_C" >&6
47401 else
47402 if test x$gcc_no_link = xyes; then
47403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47405 { (exit 1); exit 1; }; }
47407 cat >conftest.$ac_ext <<_ACEOF
47408 /* confdefs.h. */
47409 _ACEOF
47410 cat confdefs.h >>conftest.$ac_ext
47411 cat >>conftest.$ac_ext <<_ACEOF
47412 /* end confdefs.h. */
47413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47415 #define $ac_func innocuous_$ac_func
47417 /* System header to define __stub macros and hopefully few prototypes,
47418 which can conflict with char $ac_func (); below.
47419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47420 <limits.h> exists even on freestanding compilers. */
47422 #ifdef __STDC__
47423 # include <limits.h>
47424 #else
47425 # include <assert.h>
47426 #endif
47428 #undef $ac_func
47430 /* Override any gcc2 internal prototype to avoid an error. */
47431 #ifdef __cplusplus
47432 extern "C"
47434 #endif
47435 /* We use char because int might match the return type of a gcc2
47436 builtin and then its argument prototype would still apply. */
47437 char $ac_func ();
47438 /* The GNU C library defines this for functions which it implements
47439 to always fail with ENOSYS. Some functions are actually named
47440 something starting with __ and the normal name is an alias. */
47441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47442 choke me
47443 #else
47444 char (*f) () = $ac_func;
47445 #endif
47446 #ifdef __cplusplus
47448 #endif
47451 main ()
47453 return f != $ac_func;
47455 return 0;
47457 _ACEOF
47458 rm -f conftest.$ac_objext conftest$ac_exeext
47459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47460 (eval $ac_link) 2>conftest.er1
47461 ac_status=$?
47462 grep -v '^ *+' conftest.er1 >conftest.err
47463 rm -f conftest.er1
47464 cat conftest.err >&5
47465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47466 (exit $ac_status); } &&
47467 { ac_try='test -z "$ac_c_werror_flag"
47468 || test ! -s conftest.err'
47469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47470 (eval $ac_try) 2>&5
47471 ac_status=$?
47472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47473 (exit $ac_status); }; } &&
47474 { ac_try='test -s conftest$ac_exeext'
47475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47476 (eval $ac_try) 2>&5
47477 ac_status=$?
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); }; }; then
47480 eval "$as_ac_var=yes"
47481 else
47482 echo "$as_me: failed program was:" >&5
47483 sed 's/^/| /' conftest.$ac_ext >&5
47485 eval "$as_ac_var=no"
47487 rm -f conftest.err conftest.$ac_objext \
47488 conftest$ac_exeext conftest.$ac_ext
47490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47492 if test `eval echo '${'$as_ac_var'}'` = yes; then
47493 cat >>confdefs.h <<_ACEOF
47494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47495 _ACEOF
47498 done
47500 else
47502 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47503 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47504 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47505 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47506 echo $ECHO_N "(cached) $ECHO_C" >&6
47507 else
47511 ac_ext=cc
47512 ac_cpp='$CXXCPP $CPPFLAGS'
47513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47517 cat >conftest.$ac_ext <<_ACEOF
47518 /* confdefs.h. */
47519 _ACEOF
47520 cat confdefs.h >>conftest.$ac_ext
47521 cat >>conftest.$ac_ext <<_ACEOF
47522 /* end confdefs.h. */
47523 #include <math.h>
47524 #ifdef HAVE_IEEEFP_H
47525 #include <ieeefp.h>
47526 #endif
47529 main ()
47531 _sqrtl(0);
47533 return 0;
47535 _ACEOF
47536 rm -f conftest.$ac_objext
47537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47538 (eval $ac_compile) 2>conftest.er1
47539 ac_status=$?
47540 grep -v '^ *+' conftest.er1 >conftest.err
47541 rm -f conftest.er1
47542 cat conftest.err >&5
47543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47544 (exit $ac_status); } &&
47545 { ac_try='test -z "$ac_cxx_werror_flag"
47546 || test ! -s conftest.err'
47547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47548 (eval $ac_try) 2>&5
47549 ac_status=$?
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); }; } &&
47552 { ac_try='test -s conftest.$ac_objext'
47553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47554 (eval $ac_try) 2>&5
47555 ac_status=$?
47556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47557 (exit $ac_status); }; }; then
47558 glibcxx_cv_func__sqrtl_use=yes
47559 else
47560 echo "$as_me: failed program was:" >&5
47561 sed 's/^/| /' conftest.$ac_ext >&5
47563 glibcxx_cv_func__sqrtl_use=no
47565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47566 ac_ext=c
47567 ac_cpp='$CPP $CPPFLAGS'
47568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47577 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47579 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47581 for ac_func in _sqrtl
47583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47584 echo "$as_me:$LINENO: checking for $ac_func" >&5
47585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47586 if eval "test \"\${$as_ac_var+set}\" = set"; then
47587 echo $ECHO_N "(cached) $ECHO_C" >&6
47588 else
47589 if test x$gcc_no_link = xyes; then
47590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47592 { (exit 1); exit 1; }; }
47594 cat >conftest.$ac_ext <<_ACEOF
47595 /* confdefs.h. */
47596 _ACEOF
47597 cat confdefs.h >>conftest.$ac_ext
47598 cat >>conftest.$ac_ext <<_ACEOF
47599 /* end confdefs.h. */
47600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47602 #define $ac_func innocuous_$ac_func
47604 /* System header to define __stub macros and hopefully few prototypes,
47605 which can conflict with char $ac_func (); below.
47606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47607 <limits.h> exists even on freestanding compilers. */
47609 #ifdef __STDC__
47610 # include <limits.h>
47611 #else
47612 # include <assert.h>
47613 #endif
47615 #undef $ac_func
47617 /* Override any gcc2 internal prototype to avoid an error. */
47618 #ifdef __cplusplus
47619 extern "C"
47621 #endif
47622 /* We use char because int might match the return type of a gcc2
47623 builtin and then its argument prototype would still apply. */
47624 char $ac_func ();
47625 /* The GNU C library defines this for functions which it implements
47626 to always fail with ENOSYS. Some functions are actually named
47627 something starting with __ and the normal name is an alias. */
47628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47629 choke me
47630 #else
47631 char (*f) () = $ac_func;
47632 #endif
47633 #ifdef __cplusplus
47635 #endif
47638 main ()
47640 return f != $ac_func;
47642 return 0;
47644 _ACEOF
47645 rm -f conftest.$ac_objext conftest$ac_exeext
47646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47647 (eval $ac_link) 2>conftest.er1
47648 ac_status=$?
47649 grep -v '^ *+' conftest.er1 >conftest.err
47650 rm -f conftest.er1
47651 cat conftest.err >&5
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); } &&
47654 { ac_try='test -z "$ac_c_werror_flag"
47655 || test ! -s conftest.err'
47656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47657 (eval $ac_try) 2>&5
47658 ac_status=$?
47659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660 (exit $ac_status); }; } &&
47661 { ac_try='test -s conftest$ac_exeext'
47662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47663 (eval $ac_try) 2>&5
47664 ac_status=$?
47665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666 (exit $ac_status); }; }; then
47667 eval "$as_ac_var=yes"
47668 else
47669 echo "$as_me: failed program was:" >&5
47670 sed 's/^/| /' conftest.$ac_ext >&5
47672 eval "$as_ac_var=no"
47674 rm -f conftest.err conftest.$ac_objext \
47675 conftest$ac_exeext conftest.$ac_ext
47677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47679 if test `eval echo '${'$as_ac_var'}'` = yes; then
47680 cat >>confdefs.h <<_ACEOF
47681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47682 _ACEOF
47685 done
47695 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47696 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47697 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47698 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47699 echo $ECHO_N "(cached) $ECHO_C" >&6
47700 else
47704 ac_ext=cc
47705 ac_cpp='$CXXCPP $CPPFLAGS'
47706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47710 cat >conftest.$ac_ext <<_ACEOF
47711 /* confdefs.h. */
47712 _ACEOF
47713 cat confdefs.h >>conftest.$ac_ext
47714 cat >>conftest.$ac_ext <<_ACEOF
47715 /* end confdefs.h. */
47716 #include <math.h>
47718 main ()
47720 sincosl(0, 0, 0);
47722 return 0;
47724 _ACEOF
47725 rm -f conftest.$ac_objext
47726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47727 (eval $ac_compile) 2>conftest.er1
47728 ac_status=$?
47729 grep -v '^ *+' conftest.er1 >conftest.err
47730 rm -f conftest.er1
47731 cat conftest.err >&5
47732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47733 (exit $ac_status); } &&
47734 { ac_try='test -z "$ac_cxx_werror_flag"
47735 || test ! -s conftest.err'
47736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47737 (eval $ac_try) 2>&5
47738 ac_status=$?
47739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47740 (exit $ac_status); }; } &&
47741 { ac_try='test -s conftest.$ac_objext'
47742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47743 (eval $ac_try) 2>&5
47744 ac_status=$?
47745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47746 (exit $ac_status); }; }; then
47747 glibcxx_cv_func_sincosl_use=yes
47748 else
47749 echo "$as_me: failed program was:" >&5
47750 sed 's/^/| /' conftest.$ac_ext >&5
47752 glibcxx_cv_func_sincosl_use=no
47754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47755 ac_ext=c
47756 ac_cpp='$CPP $CPPFLAGS'
47757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47766 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47768 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47770 for ac_func in sincosl
47772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47773 echo "$as_me:$LINENO: checking for $ac_func" >&5
47774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47775 if eval "test \"\${$as_ac_var+set}\" = set"; then
47776 echo $ECHO_N "(cached) $ECHO_C" >&6
47777 else
47778 if test x$gcc_no_link = xyes; then
47779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47781 { (exit 1); exit 1; }; }
47783 cat >conftest.$ac_ext <<_ACEOF
47784 /* confdefs.h. */
47785 _ACEOF
47786 cat confdefs.h >>conftest.$ac_ext
47787 cat >>conftest.$ac_ext <<_ACEOF
47788 /* end confdefs.h. */
47789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47791 #define $ac_func innocuous_$ac_func
47793 /* System header to define __stub macros and hopefully few prototypes,
47794 which can conflict with char $ac_func (); below.
47795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47796 <limits.h> exists even on freestanding compilers. */
47798 #ifdef __STDC__
47799 # include <limits.h>
47800 #else
47801 # include <assert.h>
47802 #endif
47804 #undef $ac_func
47806 /* Override any gcc2 internal prototype to avoid an error. */
47807 #ifdef __cplusplus
47808 extern "C"
47810 #endif
47811 /* We use char because int might match the return type of a gcc2
47812 builtin and then its argument prototype would still apply. */
47813 char $ac_func ();
47814 /* The GNU C library defines this for functions which it implements
47815 to always fail with ENOSYS. Some functions are actually named
47816 something starting with __ and the normal name is an alias. */
47817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47818 choke me
47819 #else
47820 char (*f) () = $ac_func;
47821 #endif
47822 #ifdef __cplusplus
47824 #endif
47827 main ()
47829 return f != $ac_func;
47831 return 0;
47833 _ACEOF
47834 rm -f conftest.$ac_objext conftest$ac_exeext
47835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47836 (eval $ac_link) 2>conftest.er1
47837 ac_status=$?
47838 grep -v '^ *+' conftest.er1 >conftest.err
47839 rm -f conftest.er1
47840 cat conftest.err >&5
47841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47842 (exit $ac_status); } &&
47843 { ac_try='test -z "$ac_c_werror_flag"
47844 || test ! -s conftest.err'
47845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47846 (eval $ac_try) 2>&5
47847 ac_status=$?
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); }; } &&
47850 { ac_try='test -s conftest$ac_exeext'
47851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47852 (eval $ac_try) 2>&5
47853 ac_status=$?
47854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855 (exit $ac_status); }; }; then
47856 eval "$as_ac_var=yes"
47857 else
47858 echo "$as_me: failed program was:" >&5
47859 sed 's/^/| /' conftest.$ac_ext >&5
47861 eval "$as_ac_var=no"
47863 rm -f conftest.err conftest.$ac_objext \
47864 conftest$ac_exeext conftest.$ac_ext
47866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47868 if test `eval echo '${'$as_ac_var'}'` = yes; then
47869 cat >>confdefs.h <<_ACEOF
47870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47871 _ACEOF
47874 done
47876 else
47878 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47879 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47880 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47881 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47882 echo $ECHO_N "(cached) $ECHO_C" >&6
47883 else
47887 ac_ext=cc
47888 ac_cpp='$CXXCPP $CPPFLAGS'
47889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47893 cat >conftest.$ac_ext <<_ACEOF
47894 /* confdefs.h. */
47895 _ACEOF
47896 cat confdefs.h >>conftest.$ac_ext
47897 cat >>conftest.$ac_ext <<_ACEOF
47898 /* end confdefs.h. */
47899 #include <math.h>
47901 main ()
47903 _sincosl(0, 0, 0);
47905 return 0;
47907 _ACEOF
47908 rm -f conftest.$ac_objext
47909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47910 (eval $ac_compile) 2>conftest.er1
47911 ac_status=$?
47912 grep -v '^ *+' conftest.er1 >conftest.err
47913 rm -f conftest.er1
47914 cat conftest.err >&5
47915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47916 (exit $ac_status); } &&
47917 { ac_try='test -z "$ac_cxx_werror_flag"
47918 || test ! -s conftest.err'
47919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47920 (eval $ac_try) 2>&5
47921 ac_status=$?
47922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47923 (exit $ac_status); }; } &&
47924 { ac_try='test -s conftest.$ac_objext'
47925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47926 (eval $ac_try) 2>&5
47927 ac_status=$?
47928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47929 (exit $ac_status); }; }; then
47930 glibcxx_cv_func__sincosl_use=yes
47931 else
47932 echo "$as_me: failed program was:" >&5
47933 sed 's/^/| /' conftest.$ac_ext >&5
47935 glibcxx_cv_func__sincosl_use=no
47937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47938 ac_ext=c
47939 ac_cpp='$CPP $CPPFLAGS'
47940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47949 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47951 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47953 for ac_func in _sincosl
47955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47956 echo "$as_me:$LINENO: checking for $ac_func" >&5
47957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47958 if eval "test \"\${$as_ac_var+set}\" = set"; then
47959 echo $ECHO_N "(cached) $ECHO_C" >&6
47960 else
47961 if test x$gcc_no_link = xyes; then
47962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47964 { (exit 1); exit 1; }; }
47966 cat >conftest.$ac_ext <<_ACEOF
47967 /* confdefs.h. */
47968 _ACEOF
47969 cat confdefs.h >>conftest.$ac_ext
47970 cat >>conftest.$ac_ext <<_ACEOF
47971 /* end confdefs.h. */
47972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47974 #define $ac_func innocuous_$ac_func
47976 /* System header to define __stub macros and hopefully few prototypes,
47977 which can conflict with char $ac_func (); below.
47978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47979 <limits.h> exists even on freestanding compilers. */
47981 #ifdef __STDC__
47982 # include <limits.h>
47983 #else
47984 # include <assert.h>
47985 #endif
47987 #undef $ac_func
47989 /* Override any gcc2 internal prototype to avoid an error. */
47990 #ifdef __cplusplus
47991 extern "C"
47993 #endif
47994 /* We use char because int might match the return type of a gcc2
47995 builtin and then its argument prototype would still apply. */
47996 char $ac_func ();
47997 /* The GNU C library defines this for functions which it implements
47998 to always fail with ENOSYS. Some functions are actually named
47999 something starting with __ and the normal name is an alias. */
48000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48001 choke me
48002 #else
48003 char (*f) () = $ac_func;
48004 #endif
48005 #ifdef __cplusplus
48007 #endif
48010 main ()
48012 return f != $ac_func;
48014 return 0;
48016 _ACEOF
48017 rm -f conftest.$ac_objext conftest$ac_exeext
48018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48019 (eval $ac_link) 2>conftest.er1
48020 ac_status=$?
48021 grep -v '^ *+' conftest.er1 >conftest.err
48022 rm -f conftest.er1
48023 cat conftest.err >&5
48024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48025 (exit $ac_status); } &&
48026 { ac_try='test -z "$ac_c_werror_flag"
48027 || test ! -s conftest.err'
48028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48029 (eval $ac_try) 2>&5
48030 ac_status=$?
48031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48032 (exit $ac_status); }; } &&
48033 { ac_try='test -s conftest$ac_exeext'
48034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48035 (eval $ac_try) 2>&5
48036 ac_status=$?
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); }; }; then
48039 eval "$as_ac_var=yes"
48040 else
48041 echo "$as_me: failed program was:" >&5
48042 sed 's/^/| /' conftest.$ac_ext >&5
48044 eval "$as_ac_var=no"
48046 rm -f conftest.err conftest.$ac_objext \
48047 conftest$ac_exeext conftest.$ac_ext
48049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48051 if test `eval echo '${'$as_ac_var'}'` = yes; then
48052 cat >>confdefs.h <<_ACEOF
48053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48054 _ACEOF
48057 done
48067 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48068 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48069 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48070 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48072 else
48076 ac_ext=cc
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082 cat >conftest.$ac_ext <<_ACEOF
48083 /* confdefs.h. */
48084 _ACEOF
48085 cat confdefs.h >>conftest.$ac_ext
48086 cat >>conftest.$ac_ext <<_ACEOF
48087 /* end confdefs.h. */
48088 #include <math.h>
48089 #ifdef HAVE_IEEEFP_H
48090 #include <ieeefp.h>
48091 #endif
48094 main ()
48096 finitel(0);
48098 return 0;
48100 _ACEOF
48101 rm -f conftest.$ac_objext
48102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48103 (eval $ac_compile) 2>conftest.er1
48104 ac_status=$?
48105 grep -v '^ *+' conftest.er1 >conftest.err
48106 rm -f conftest.er1
48107 cat conftest.err >&5
48108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48109 (exit $ac_status); } &&
48110 { ac_try='test -z "$ac_cxx_werror_flag"
48111 || test ! -s conftest.err'
48112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48113 (eval $ac_try) 2>&5
48114 ac_status=$?
48115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48116 (exit $ac_status); }; } &&
48117 { ac_try='test -s conftest.$ac_objext'
48118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48119 (eval $ac_try) 2>&5
48120 ac_status=$?
48121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48122 (exit $ac_status); }; }; then
48123 glibcxx_cv_func_finitel_use=yes
48124 else
48125 echo "$as_me: failed program was:" >&5
48126 sed 's/^/| /' conftest.$ac_ext >&5
48128 glibcxx_cv_func_finitel_use=no
48130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48131 ac_ext=c
48132 ac_cpp='$CPP $CPPFLAGS'
48133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48142 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48144 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48146 for ac_func in finitel
48148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48149 echo "$as_me:$LINENO: checking for $ac_func" >&5
48150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48151 if eval "test \"\${$as_ac_var+set}\" = set"; then
48152 echo $ECHO_N "(cached) $ECHO_C" >&6
48153 else
48154 if test x$gcc_no_link = xyes; then
48155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48157 { (exit 1); exit 1; }; }
48159 cat >conftest.$ac_ext <<_ACEOF
48160 /* confdefs.h. */
48161 _ACEOF
48162 cat confdefs.h >>conftest.$ac_ext
48163 cat >>conftest.$ac_ext <<_ACEOF
48164 /* end confdefs.h. */
48165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48167 #define $ac_func innocuous_$ac_func
48169 /* System header to define __stub macros and hopefully few prototypes,
48170 which can conflict with char $ac_func (); below.
48171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48172 <limits.h> exists even on freestanding compilers. */
48174 #ifdef __STDC__
48175 # include <limits.h>
48176 #else
48177 # include <assert.h>
48178 #endif
48180 #undef $ac_func
48182 /* Override any gcc2 internal prototype to avoid an error. */
48183 #ifdef __cplusplus
48184 extern "C"
48186 #endif
48187 /* We use char because int might match the return type of a gcc2
48188 builtin and then its argument prototype would still apply. */
48189 char $ac_func ();
48190 /* The GNU C library defines this for functions which it implements
48191 to always fail with ENOSYS. Some functions are actually named
48192 something starting with __ and the normal name is an alias. */
48193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48194 choke me
48195 #else
48196 char (*f) () = $ac_func;
48197 #endif
48198 #ifdef __cplusplus
48200 #endif
48203 main ()
48205 return f != $ac_func;
48207 return 0;
48209 _ACEOF
48210 rm -f conftest.$ac_objext conftest$ac_exeext
48211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48212 (eval $ac_link) 2>conftest.er1
48213 ac_status=$?
48214 grep -v '^ *+' conftest.er1 >conftest.err
48215 rm -f conftest.er1
48216 cat conftest.err >&5
48217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218 (exit $ac_status); } &&
48219 { ac_try='test -z "$ac_c_werror_flag"
48220 || test ! -s conftest.err'
48221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48222 (eval $ac_try) 2>&5
48223 ac_status=$?
48224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48225 (exit $ac_status); }; } &&
48226 { ac_try='test -s conftest$ac_exeext'
48227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48228 (eval $ac_try) 2>&5
48229 ac_status=$?
48230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48231 (exit $ac_status); }; }; then
48232 eval "$as_ac_var=yes"
48233 else
48234 echo "$as_me: failed program was:" >&5
48235 sed 's/^/| /' conftest.$ac_ext >&5
48237 eval "$as_ac_var=no"
48239 rm -f conftest.err conftest.$ac_objext \
48240 conftest$ac_exeext conftest.$ac_ext
48242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48244 if test `eval echo '${'$as_ac_var'}'` = yes; then
48245 cat >>confdefs.h <<_ACEOF
48246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48247 _ACEOF
48250 done
48252 else
48254 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48255 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48256 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48257 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48259 else
48263 ac_ext=cc
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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>
48276 #ifdef HAVE_IEEEFP_H
48277 #include <ieeefp.h>
48278 #endif
48281 main ()
48283 _finitel(0);
48285 return 0;
48287 _ACEOF
48288 rm -f conftest.$ac_objext
48289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48290 (eval $ac_compile) 2>conftest.er1
48291 ac_status=$?
48292 grep -v '^ *+' conftest.er1 >conftest.err
48293 rm -f conftest.er1
48294 cat conftest.err >&5
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); } &&
48297 { ac_try='test -z "$ac_cxx_werror_flag"
48298 || test ! -s conftest.err'
48299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48300 (eval $ac_try) 2>&5
48301 ac_status=$?
48302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48303 (exit $ac_status); }; } &&
48304 { ac_try='test -s conftest.$ac_objext'
48305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48306 (eval $ac_try) 2>&5
48307 ac_status=$?
48308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48309 (exit $ac_status); }; }; then
48310 glibcxx_cv_func__finitel_use=yes
48311 else
48312 echo "$as_me: failed program was:" >&5
48313 sed 's/^/| /' conftest.$ac_ext >&5
48315 glibcxx_cv_func__finitel_use=no
48317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48318 ac_ext=c
48319 ac_cpp='$CPP $CPPFLAGS'
48320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48329 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48331 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48333 for ac_func in _finitel
48335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48336 echo "$as_me:$LINENO: checking for $ac_func" >&5
48337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48338 if eval "test \"\${$as_ac_var+set}\" = set"; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48340 else
48341 if test x$gcc_no_link = xyes; then
48342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48344 { (exit 1); exit 1; }; }
48346 cat >conftest.$ac_ext <<_ACEOF
48347 /* confdefs.h. */
48348 _ACEOF
48349 cat confdefs.h >>conftest.$ac_ext
48350 cat >>conftest.$ac_ext <<_ACEOF
48351 /* end confdefs.h. */
48352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48354 #define $ac_func innocuous_$ac_func
48356 /* System header to define __stub macros and hopefully few prototypes,
48357 which can conflict with char $ac_func (); below.
48358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48359 <limits.h> exists even on freestanding compilers. */
48361 #ifdef __STDC__
48362 # include <limits.h>
48363 #else
48364 # include <assert.h>
48365 #endif
48367 #undef $ac_func
48369 /* Override any gcc2 internal prototype to avoid an error. */
48370 #ifdef __cplusplus
48371 extern "C"
48373 #endif
48374 /* We use char because int might match the return type of a gcc2
48375 builtin and then its argument prototype would still apply. */
48376 char $ac_func ();
48377 /* The GNU C library defines this for functions which it implements
48378 to always fail with ENOSYS. Some functions are actually named
48379 something starting with __ and the normal name is an alias. */
48380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48381 choke me
48382 #else
48383 char (*f) () = $ac_func;
48384 #endif
48385 #ifdef __cplusplus
48387 #endif
48390 main ()
48392 return f != $ac_func;
48394 return 0;
48396 _ACEOF
48397 rm -f conftest.$ac_objext conftest$ac_exeext
48398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48399 (eval $ac_link) 2>conftest.er1
48400 ac_status=$?
48401 grep -v '^ *+' conftest.er1 >conftest.err
48402 rm -f conftest.er1
48403 cat conftest.err >&5
48404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48405 (exit $ac_status); } &&
48406 { ac_try='test -z "$ac_c_werror_flag"
48407 || test ! -s conftest.err'
48408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48409 (eval $ac_try) 2>&5
48410 ac_status=$?
48411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48412 (exit $ac_status); }; } &&
48413 { ac_try='test -s conftest$ac_exeext'
48414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48415 (eval $ac_try) 2>&5
48416 ac_status=$?
48417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48418 (exit $ac_status); }; }; then
48419 eval "$as_ac_var=yes"
48420 else
48421 echo "$as_me: failed program was:" >&5
48422 sed 's/^/| /' conftest.$ac_ext >&5
48424 eval "$as_ac_var=no"
48426 rm -f conftest.err conftest.$ac_objext \
48427 conftest$ac_exeext conftest.$ac_ext
48429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48431 if test `eval echo '${'$as_ac_var'}'` = yes; then
48432 cat >>confdefs.h <<_ACEOF
48433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48434 _ACEOF
48437 done
48446 LIBS="$ac_save_LIBS"
48447 CXXFLAGS="$ac_save_CXXFLAGS"
48451 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48452 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48453 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48454 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48455 echo $ECHO_N "(cached) $ECHO_C" >&6
48456 else
48460 ac_ext=cc
48461 ac_cpp='$CXXCPP $CPPFLAGS'
48462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48466 cat >conftest.$ac_ext <<_ACEOF
48467 /* confdefs.h. */
48468 _ACEOF
48469 cat confdefs.h >>conftest.$ac_ext
48470 cat >>conftest.$ac_ext <<_ACEOF
48471 /* end confdefs.h. */
48472 #include <math.h>
48474 main ()
48476 __builtin_abs(0);
48478 return 0;
48480 _ACEOF
48481 rm -f conftest.$ac_objext
48482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48483 (eval $ac_compile) 2>conftest.er1
48484 ac_status=$?
48485 grep -v '^ *+' conftest.er1 >conftest.err
48486 rm -f conftest.er1
48487 cat conftest.err >&5
48488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48489 (exit $ac_status); } &&
48490 { ac_try='test -z "$ac_cxx_werror_flag"
48491 || test ! -s conftest.err'
48492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48493 (eval $ac_try) 2>&5
48494 ac_status=$?
48495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48496 (exit $ac_status); }; } &&
48497 { ac_try='test -s conftest.$ac_objext'
48498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48499 (eval $ac_try) 2>&5
48500 ac_status=$?
48501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48502 (exit $ac_status); }; }; then
48503 glibcxx_cv_func___builtin_abs_use=yes
48504 else
48505 echo "$as_me: failed program was:" >&5
48506 sed 's/^/| /' conftest.$ac_ext >&5
48508 glibcxx_cv_func___builtin_abs_use=no
48510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48511 ac_ext=c
48512 ac_cpp='$CPP $CPPFLAGS'
48513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48521 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48522 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48523 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48524 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48525 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48526 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48527 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48528 echo $ECHO_N "(cached) $ECHO_C" >&6
48529 else
48531 if test x$gcc_no_link = xyes; then
48532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48534 { (exit 1); exit 1; }; }
48536 cat >conftest.$ac_ext <<_ACEOF
48537 /* confdefs.h. */
48538 _ACEOF
48539 cat confdefs.h >>conftest.$ac_ext
48540 cat >>conftest.$ac_ext <<_ACEOF
48541 /* end confdefs.h. */
48542 #include <math.h>
48544 main ()
48546 __builtin_abs(0);
48548 return 0;
48550 _ACEOF
48551 rm -f conftest.$ac_objext conftest$ac_exeext
48552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48553 (eval $ac_link) 2>conftest.er1
48554 ac_status=$?
48555 grep -v '^ *+' conftest.er1 >conftest.err
48556 rm -f conftest.er1
48557 cat conftest.err >&5
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); } &&
48560 { ac_try='test -z "$ac_c_werror_flag"
48561 || test ! -s conftest.err'
48562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48563 (eval $ac_try) 2>&5
48564 ac_status=$?
48565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48566 (exit $ac_status); }; } &&
48567 { ac_try='test -s conftest$ac_exeext'
48568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48569 (eval $ac_try) 2>&5
48570 ac_status=$?
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; }; then
48573 glibcxx_cv_func___builtin_abs_link=yes
48574 else
48575 echo "$as_me: failed program was:" >&5
48576 sed 's/^/| /' conftest.$ac_ext >&5
48578 glibcxx_cv_func___builtin_abs_link=no
48580 rm -f conftest.err conftest.$ac_objext \
48581 conftest$ac_exeext conftest.$ac_ext
48586 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48587 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48589 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48591 cat >>confdefs.h <<\_ACEOF
48592 #define HAVE___BUILTIN_ABS 1
48593 _ACEOF
48600 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48601 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48602 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48603 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48604 echo $ECHO_N "(cached) $ECHO_C" >&6
48605 else
48609 ac_ext=cc
48610 ac_cpp='$CXXCPP $CPPFLAGS'
48611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48615 cat >conftest.$ac_ext <<_ACEOF
48616 /* confdefs.h. */
48617 _ACEOF
48618 cat confdefs.h >>conftest.$ac_ext
48619 cat >>conftest.$ac_ext <<_ACEOF
48620 /* end confdefs.h. */
48621 #include <math.h>
48623 main ()
48625 __builtin_fabsf(0);
48627 return 0;
48629 _ACEOF
48630 rm -f conftest.$ac_objext
48631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48632 (eval $ac_compile) 2>conftest.er1
48633 ac_status=$?
48634 grep -v '^ *+' conftest.er1 >conftest.err
48635 rm -f conftest.er1
48636 cat conftest.err >&5
48637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48638 (exit $ac_status); } &&
48639 { ac_try='test -z "$ac_cxx_werror_flag"
48640 || test ! -s conftest.err'
48641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48642 (eval $ac_try) 2>&5
48643 ac_status=$?
48644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48645 (exit $ac_status); }; } &&
48646 { ac_try='test -s conftest.$ac_objext'
48647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48648 (eval $ac_try) 2>&5
48649 ac_status=$?
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }; }; then
48652 glibcxx_cv_func___builtin_fabsf_use=yes
48653 else
48654 echo "$as_me: failed program was:" >&5
48655 sed 's/^/| /' conftest.$ac_ext >&5
48657 glibcxx_cv_func___builtin_fabsf_use=no
48659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48660 ac_ext=c
48661 ac_cpp='$CPP $CPPFLAGS'
48662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48671 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48672 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48673 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48674 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48675 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48676 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48677 echo $ECHO_N "(cached) $ECHO_C" >&6
48678 else
48680 if test x$gcc_no_link = xyes; then
48681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48683 { (exit 1); exit 1; }; }
48685 cat >conftest.$ac_ext <<_ACEOF
48686 /* confdefs.h. */
48687 _ACEOF
48688 cat confdefs.h >>conftest.$ac_ext
48689 cat >>conftest.$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48691 #include <math.h>
48693 main ()
48695 __builtin_fabsf(0);
48697 return 0;
48699 _ACEOF
48700 rm -f conftest.$ac_objext conftest$ac_exeext
48701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48702 (eval $ac_link) 2>conftest.er1
48703 ac_status=$?
48704 grep -v '^ *+' conftest.er1 >conftest.err
48705 rm -f conftest.er1
48706 cat conftest.err >&5
48707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708 (exit $ac_status); } &&
48709 { ac_try='test -z "$ac_c_werror_flag"
48710 || test ! -s conftest.err'
48711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48712 (eval $ac_try) 2>&5
48713 ac_status=$?
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; } &&
48716 { ac_try='test -s conftest$ac_exeext'
48717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48718 (eval $ac_try) 2>&5
48719 ac_status=$?
48720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721 (exit $ac_status); }; }; then
48722 glibcxx_cv_func___builtin_fabsf_link=yes
48723 else
48724 echo "$as_me: failed program was:" >&5
48725 sed 's/^/| /' conftest.$ac_ext >&5
48727 glibcxx_cv_func___builtin_fabsf_link=no
48729 rm -f conftest.err conftest.$ac_objext \
48730 conftest$ac_exeext conftest.$ac_ext
48735 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48736 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48738 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48740 cat >>confdefs.h <<\_ACEOF
48741 #define HAVE___BUILTIN_FABSF 1
48742 _ACEOF
48749 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48750 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48751 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48752 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48753 echo $ECHO_N "(cached) $ECHO_C" >&6
48754 else
48758 ac_ext=cc
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764 cat >conftest.$ac_ext <<_ACEOF
48765 /* confdefs.h. */
48766 _ACEOF
48767 cat confdefs.h >>conftest.$ac_ext
48768 cat >>conftest.$ac_ext <<_ACEOF
48769 /* end confdefs.h. */
48770 #include <math.h>
48772 main ()
48774 __builtin_fabs(0);
48776 return 0;
48778 _ACEOF
48779 rm -f conftest.$ac_objext
48780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48781 (eval $ac_compile) 2>conftest.er1
48782 ac_status=$?
48783 grep -v '^ *+' conftest.er1 >conftest.err
48784 rm -f conftest.er1
48785 cat conftest.err >&5
48786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48787 (exit $ac_status); } &&
48788 { ac_try='test -z "$ac_cxx_werror_flag"
48789 || test ! -s conftest.err'
48790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48791 (eval $ac_try) 2>&5
48792 ac_status=$?
48793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48794 (exit $ac_status); }; } &&
48795 { ac_try='test -s conftest.$ac_objext'
48796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48797 (eval $ac_try) 2>&5
48798 ac_status=$?
48799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48800 (exit $ac_status); }; }; then
48801 glibcxx_cv_func___builtin_fabs_use=yes
48802 else
48803 echo "$as_me: failed program was:" >&5
48804 sed 's/^/| /' conftest.$ac_ext >&5
48806 glibcxx_cv_func___builtin_fabs_use=no
48808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48809 ac_ext=c
48810 ac_cpp='$CPP $CPPFLAGS'
48811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48819 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48820 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48821 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48822 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48823 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48824 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48825 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48826 echo $ECHO_N "(cached) $ECHO_C" >&6
48827 else
48829 if test x$gcc_no_link = xyes; then
48830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48832 { (exit 1); exit 1; }; }
48834 cat >conftest.$ac_ext <<_ACEOF
48835 /* confdefs.h. */
48836 _ACEOF
48837 cat confdefs.h >>conftest.$ac_ext
48838 cat >>conftest.$ac_ext <<_ACEOF
48839 /* end confdefs.h. */
48840 #include <math.h>
48842 main ()
48844 __builtin_fabs(0);
48846 return 0;
48848 _ACEOF
48849 rm -f conftest.$ac_objext conftest$ac_exeext
48850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48851 (eval $ac_link) 2>conftest.er1
48852 ac_status=$?
48853 grep -v '^ *+' conftest.er1 >conftest.err
48854 rm -f conftest.er1
48855 cat conftest.err >&5
48856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48857 (exit $ac_status); } &&
48858 { ac_try='test -z "$ac_c_werror_flag"
48859 || test ! -s conftest.err'
48860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48861 (eval $ac_try) 2>&5
48862 ac_status=$?
48863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864 (exit $ac_status); }; } &&
48865 { ac_try='test -s conftest$ac_exeext'
48866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48867 (eval $ac_try) 2>&5
48868 ac_status=$?
48869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48870 (exit $ac_status); }; }; then
48871 glibcxx_cv_func___builtin_fabs_link=yes
48872 else
48873 echo "$as_me: failed program was:" >&5
48874 sed 's/^/| /' conftest.$ac_ext >&5
48876 glibcxx_cv_func___builtin_fabs_link=no
48878 rm -f conftest.err conftest.$ac_objext \
48879 conftest$ac_exeext conftest.$ac_ext
48884 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48885 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48887 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48889 cat >>confdefs.h <<\_ACEOF
48890 #define HAVE___BUILTIN_FABS 1
48891 _ACEOF
48898 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48899 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48900 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48901 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48902 echo $ECHO_N "(cached) $ECHO_C" >&6
48903 else
48907 ac_ext=cc
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913 cat >conftest.$ac_ext <<_ACEOF
48914 /* confdefs.h. */
48915 _ACEOF
48916 cat confdefs.h >>conftest.$ac_ext
48917 cat >>conftest.$ac_ext <<_ACEOF
48918 /* end confdefs.h. */
48919 #include <math.h>
48921 main ()
48923 __builtin_fabsl(0);
48925 return 0;
48927 _ACEOF
48928 rm -f conftest.$ac_objext
48929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48930 (eval $ac_compile) 2>conftest.er1
48931 ac_status=$?
48932 grep -v '^ *+' conftest.er1 >conftest.err
48933 rm -f conftest.er1
48934 cat conftest.err >&5
48935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48936 (exit $ac_status); } &&
48937 { ac_try='test -z "$ac_cxx_werror_flag"
48938 || test ! -s conftest.err'
48939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48940 (eval $ac_try) 2>&5
48941 ac_status=$?
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); }; } &&
48944 { ac_try='test -s conftest.$ac_objext'
48945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48946 (eval $ac_try) 2>&5
48947 ac_status=$?
48948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949 (exit $ac_status); }; }; then
48950 glibcxx_cv_func___builtin_fabsl_use=yes
48951 else
48952 echo "$as_me: failed program was:" >&5
48953 sed 's/^/| /' conftest.$ac_ext >&5
48955 glibcxx_cv_func___builtin_fabsl_use=no
48957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48969 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48970 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48971 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48972 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48973 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48974 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48975 echo $ECHO_N "(cached) $ECHO_C" >&6
48976 else
48978 if test x$gcc_no_link = xyes; then
48979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48981 { (exit 1); exit 1; }; }
48983 cat >conftest.$ac_ext <<_ACEOF
48984 /* confdefs.h. */
48985 _ACEOF
48986 cat confdefs.h >>conftest.$ac_ext
48987 cat >>conftest.$ac_ext <<_ACEOF
48988 /* end confdefs.h. */
48989 #include <math.h>
48991 main ()
48993 __builtin_fabsl(0);
48995 return 0;
48997 _ACEOF
48998 rm -f conftest.$ac_objext conftest$ac_exeext
48999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49000 (eval $ac_link) 2>conftest.er1
49001 ac_status=$?
49002 grep -v '^ *+' conftest.er1 >conftest.err
49003 rm -f conftest.er1
49004 cat conftest.err >&5
49005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49006 (exit $ac_status); } &&
49007 { ac_try='test -z "$ac_c_werror_flag"
49008 || test ! -s conftest.err'
49009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49010 (eval $ac_try) 2>&5
49011 ac_status=$?
49012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49013 (exit $ac_status); }; } &&
49014 { ac_try='test -s conftest$ac_exeext'
49015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49016 (eval $ac_try) 2>&5
49017 ac_status=$?
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); }; }; then
49020 glibcxx_cv_func___builtin_fabsl_link=yes
49021 else
49022 echo "$as_me: failed program was:" >&5
49023 sed 's/^/| /' conftest.$ac_ext >&5
49025 glibcxx_cv_func___builtin_fabsl_link=no
49027 rm -f conftest.err conftest.$ac_objext \
49028 conftest$ac_exeext conftest.$ac_ext
49033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49034 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49036 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49038 cat >>confdefs.h <<\_ACEOF
49039 #define HAVE___BUILTIN_FABSL 1
49040 _ACEOF
49047 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49048 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49049 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49050 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49051 echo $ECHO_N "(cached) $ECHO_C" >&6
49052 else
49056 ac_ext=cc
49057 ac_cpp='$CXXCPP $CPPFLAGS'
49058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49062 cat >conftest.$ac_ext <<_ACEOF
49063 /* confdefs.h. */
49064 _ACEOF
49065 cat confdefs.h >>conftest.$ac_ext
49066 cat >>conftest.$ac_ext <<_ACEOF
49067 /* end confdefs.h. */
49068 #include <math.h>
49070 main ()
49072 __builtin_labs(0);
49074 return 0;
49076 _ACEOF
49077 rm -f conftest.$ac_objext
49078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49079 (eval $ac_compile) 2>conftest.er1
49080 ac_status=$?
49081 grep -v '^ *+' conftest.er1 >conftest.err
49082 rm -f conftest.er1
49083 cat conftest.err >&5
49084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49085 (exit $ac_status); } &&
49086 { ac_try='test -z "$ac_cxx_werror_flag"
49087 || test ! -s conftest.err'
49088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49089 (eval $ac_try) 2>&5
49090 ac_status=$?
49091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092 (exit $ac_status); }; } &&
49093 { ac_try='test -s conftest.$ac_objext'
49094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49095 (eval $ac_try) 2>&5
49096 ac_status=$?
49097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49098 (exit $ac_status); }; }; then
49099 glibcxx_cv_func___builtin_labs_use=yes
49100 else
49101 echo "$as_me: failed program was:" >&5
49102 sed 's/^/| /' conftest.$ac_ext >&5
49104 glibcxx_cv_func___builtin_labs_use=no
49106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49107 ac_ext=c
49108 ac_cpp='$CPP $CPPFLAGS'
49109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49118 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49119 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49120 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49121 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49122 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49123 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49124 echo $ECHO_N "(cached) $ECHO_C" >&6
49125 else
49127 if test x$gcc_no_link = xyes; then
49128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49130 { (exit 1); exit 1; }; }
49132 cat >conftest.$ac_ext <<_ACEOF
49133 /* confdefs.h. */
49134 _ACEOF
49135 cat confdefs.h >>conftest.$ac_ext
49136 cat >>conftest.$ac_ext <<_ACEOF
49137 /* end confdefs.h. */
49138 #include <math.h>
49140 main ()
49142 __builtin_labs(0);
49144 return 0;
49146 _ACEOF
49147 rm -f conftest.$ac_objext conftest$ac_exeext
49148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49149 (eval $ac_link) 2>conftest.er1
49150 ac_status=$?
49151 grep -v '^ *+' conftest.er1 >conftest.err
49152 rm -f conftest.er1
49153 cat conftest.err >&5
49154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49155 (exit $ac_status); } &&
49156 { ac_try='test -z "$ac_c_werror_flag"
49157 || test ! -s conftest.err'
49158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49159 (eval $ac_try) 2>&5
49160 ac_status=$?
49161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162 (exit $ac_status); }; } &&
49163 { ac_try='test -s conftest$ac_exeext'
49164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49165 (eval $ac_try) 2>&5
49166 ac_status=$?
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); }; }; then
49169 glibcxx_cv_func___builtin_labs_link=yes
49170 else
49171 echo "$as_me: failed program was:" >&5
49172 sed 's/^/| /' conftest.$ac_ext >&5
49174 glibcxx_cv_func___builtin_labs_link=no
49176 rm -f conftest.err conftest.$ac_objext \
49177 conftest$ac_exeext conftest.$ac_ext
49182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49183 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49185 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49187 cat >>confdefs.h <<\_ACEOF
49188 #define HAVE___BUILTIN_LABS 1
49189 _ACEOF
49197 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49198 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49199 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49200 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 else
49206 ac_ext=cc
49207 ac_cpp='$CXXCPP $CPPFLAGS'
49208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49212 cat >conftest.$ac_ext <<_ACEOF
49213 /* confdefs.h. */
49214 _ACEOF
49215 cat confdefs.h >>conftest.$ac_ext
49216 cat >>conftest.$ac_ext <<_ACEOF
49217 /* end confdefs.h. */
49218 #include <math.h>
49220 main ()
49222 __builtin_sqrtf(0);
49224 return 0;
49226 _ACEOF
49227 rm -f conftest.$ac_objext
49228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49229 (eval $ac_compile) 2>conftest.er1
49230 ac_status=$?
49231 grep -v '^ *+' conftest.er1 >conftest.err
49232 rm -f conftest.er1
49233 cat conftest.err >&5
49234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49235 (exit $ac_status); } &&
49236 { ac_try='test -z "$ac_cxx_werror_flag"
49237 || test ! -s conftest.err'
49238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49239 (eval $ac_try) 2>&5
49240 ac_status=$?
49241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49242 (exit $ac_status); }; } &&
49243 { ac_try='test -s conftest.$ac_objext'
49244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49245 (eval $ac_try) 2>&5
49246 ac_status=$?
49247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49248 (exit $ac_status); }; }; then
49249 glibcxx_cv_func___builtin_sqrtf_use=yes
49250 else
49251 echo "$as_me: failed program was:" >&5
49252 sed 's/^/| /' conftest.$ac_ext >&5
49254 glibcxx_cv_func___builtin_sqrtf_use=no
49256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49257 ac_ext=c
49258 ac_cpp='$CPP $CPPFLAGS'
49259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49267 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49268 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49269 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49270 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49271 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49272 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49273 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49274 echo $ECHO_N "(cached) $ECHO_C" >&6
49275 else
49277 if test x$gcc_no_link = xyes; then
49278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49280 { (exit 1); exit 1; }; }
49282 cat >conftest.$ac_ext <<_ACEOF
49283 /* confdefs.h. */
49284 _ACEOF
49285 cat confdefs.h >>conftest.$ac_ext
49286 cat >>conftest.$ac_ext <<_ACEOF
49287 /* end confdefs.h. */
49288 #include <math.h>
49290 main ()
49292 __builtin_sqrtf(0);
49294 return 0;
49296 _ACEOF
49297 rm -f conftest.$ac_objext conftest$ac_exeext
49298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49299 (eval $ac_link) 2>conftest.er1
49300 ac_status=$?
49301 grep -v '^ *+' conftest.er1 >conftest.err
49302 rm -f conftest.er1
49303 cat conftest.err >&5
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); } &&
49306 { ac_try='test -z "$ac_c_werror_flag"
49307 || test ! -s conftest.err'
49308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49309 (eval $ac_try) 2>&5
49310 ac_status=$?
49311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49312 (exit $ac_status); }; } &&
49313 { ac_try='test -s conftest$ac_exeext'
49314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49315 (eval $ac_try) 2>&5
49316 ac_status=$?
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); }; }; then
49319 glibcxx_cv_func___builtin_sqrtf_link=yes
49320 else
49321 echo "$as_me: failed program was:" >&5
49322 sed 's/^/| /' conftest.$ac_ext >&5
49324 glibcxx_cv_func___builtin_sqrtf_link=no
49326 rm -f conftest.err conftest.$ac_objext \
49327 conftest$ac_exeext conftest.$ac_ext
49332 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49333 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49335 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49337 cat >>confdefs.h <<\_ACEOF
49338 #define HAVE___BUILTIN_SQRTF 1
49339 _ACEOF
49346 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49347 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49348 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49349 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49350 echo $ECHO_N "(cached) $ECHO_C" >&6
49351 else
49355 ac_ext=cc
49356 ac_cpp='$CXXCPP $CPPFLAGS'
49357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49361 cat >conftest.$ac_ext <<_ACEOF
49362 /* confdefs.h. */
49363 _ACEOF
49364 cat confdefs.h >>conftest.$ac_ext
49365 cat >>conftest.$ac_ext <<_ACEOF
49366 /* end confdefs.h. */
49367 #include <math.h>
49369 main ()
49371 __builtin_sqrt(0);
49373 return 0;
49375 _ACEOF
49376 rm -f conftest.$ac_objext
49377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49378 (eval $ac_compile) 2>conftest.er1
49379 ac_status=$?
49380 grep -v '^ *+' conftest.er1 >conftest.err
49381 rm -f conftest.er1
49382 cat conftest.err >&5
49383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49384 (exit $ac_status); } &&
49385 { ac_try='test -z "$ac_cxx_werror_flag"
49386 || test ! -s conftest.err'
49387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49388 (eval $ac_try) 2>&5
49389 ac_status=$?
49390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391 (exit $ac_status); }; } &&
49392 { ac_try='test -s conftest.$ac_objext'
49393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49394 (eval $ac_try) 2>&5
49395 ac_status=$?
49396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397 (exit $ac_status); }; }; then
49398 glibcxx_cv_func___builtin_sqrt_use=yes
49399 else
49400 echo "$as_me: failed program was:" >&5
49401 sed 's/^/| /' conftest.$ac_ext >&5
49403 glibcxx_cv_func___builtin_sqrt_use=no
49405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49406 ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49417 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49418 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49419 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49420 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49421 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49422 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49423 echo $ECHO_N "(cached) $ECHO_C" >&6
49424 else
49426 if test x$gcc_no_link = xyes; then
49427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49429 { (exit 1); exit 1; }; }
49431 cat >conftest.$ac_ext <<_ACEOF
49432 /* confdefs.h. */
49433 _ACEOF
49434 cat confdefs.h >>conftest.$ac_ext
49435 cat >>conftest.$ac_ext <<_ACEOF
49436 /* end confdefs.h. */
49437 #include <math.h>
49439 main ()
49441 __builtin_sqrt(0);
49443 return 0;
49445 _ACEOF
49446 rm -f conftest.$ac_objext conftest$ac_exeext
49447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49448 (eval $ac_link) 2>conftest.er1
49449 ac_status=$?
49450 grep -v '^ *+' conftest.er1 >conftest.err
49451 rm -f conftest.er1
49452 cat conftest.err >&5
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); } &&
49455 { ac_try='test -z "$ac_c_werror_flag"
49456 || test ! -s conftest.err'
49457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49458 (eval $ac_try) 2>&5
49459 ac_status=$?
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); }; } &&
49462 { ac_try='test -s conftest$ac_exeext'
49463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49464 (eval $ac_try) 2>&5
49465 ac_status=$?
49466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49467 (exit $ac_status); }; }; then
49468 glibcxx_cv_func___builtin_sqrt_link=yes
49469 else
49470 echo "$as_me: failed program was:" >&5
49471 sed 's/^/| /' conftest.$ac_ext >&5
49473 glibcxx_cv_func___builtin_sqrt_link=no
49475 rm -f conftest.err conftest.$ac_objext \
49476 conftest$ac_exeext conftest.$ac_ext
49481 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49482 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49484 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49486 cat >>confdefs.h <<\_ACEOF
49487 #define HAVE___BUILTIN_SQRT 1
49488 _ACEOF
49495 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49496 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49497 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49498 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49499 echo $ECHO_N "(cached) $ECHO_C" >&6
49500 else
49504 ac_ext=cc
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510 cat >conftest.$ac_ext <<_ACEOF
49511 /* confdefs.h. */
49512 _ACEOF
49513 cat confdefs.h >>conftest.$ac_ext
49514 cat >>conftest.$ac_ext <<_ACEOF
49515 /* end confdefs.h. */
49516 #include <math.h>
49518 main ()
49520 __builtin_sqrtl(0);
49522 return 0;
49524 _ACEOF
49525 rm -f conftest.$ac_objext
49526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49527 (eval $ac_compile) 2>conftest.er1
49528 ac_status=$?
49529 grep -v '^ *+' conftest.er1 >conftest.err
49530 rm -f conftest.er1
49531 cat conftest.err >&5
49532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49533 (exit $ac_status); } &&
49534 { ac_try='test -z "$ac_cxx_werror_flag"
49535 || test ! -s conftest.err'
49536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49537 (eval $ac_try) 2>&5
49538 ac_status=$?
49539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49540 (exit $ac_status); }; } &&
49541 { ac_try='test -s conftest.$ac_objext'
49542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49543 (eval $ac_try) 2>&5
49544 ac_status=$?
49545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49546 (exit $ac_status); }; }; then
49547 glibcxx_cv_func___builtin_sqrtl_use=yes
49548 else
49549 echo "$as_me: failed program was:" >&5
49550 sed 's/^/| /' conftest.$ac_ext >&5
49552 glibcxx_cv_func___builtin_sqrtl_use=no
49554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49555 ac_ext=c
49556 ac_cpp='$CPP $CPPFLAGS'
49557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49565 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49566 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49567 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49568 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49569 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49570 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49571 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49572 echo $ECHO_N "(cached) $ECHO_C" >&6
49573 else
49575 if test x$gcc_no_link = xyes; then
49576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49578 { (exit 1); exit 1; }; }
49580 cat >conftest.$ac_ext <<_ACEOF
49581 /* confdefs.h. */
49582 _ACEOF
49583 cat confdefs.h >>conftest.$ac_ext
49584 cat >>conftest.$ac_ext <<_ACEOF
49585 /* end confdefs.h. */
49586 #include <math.h>
49588 main ()
49590 __builtin_sqrtl(0);
49592 return 0;
49594 _ACEOF
49595 rm -f conftest.$ac_objext conftest$ac_exeext
49596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49597 (eval $ac_link) 2>conftest.er1
49598 ac_status=$?
49599 grep -v '^ *+' conftest.er1 >conftest.err
49600 rm -f conftest.er1
49601 cat conftest.err >&5
49602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49603 (exit $ac_status); } &&
49604 { ac_try='test -z "$ac_c_werror_flag"
49605 || test ! -s conftest.err'
49606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49607 (eval $ac_try) 2>&5
49608 ac_status=$?
49609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49610 (exit $ac_status); }; } &&
49611 { ac_try='test -s conftest$ac_exeext'
49612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49613 (eval $ac_try) 2>&5
49614 ac_status=$?
49615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49616 (exit $ac_status); }; }; then
49617 glibcxx_cv_func___builtin_sqrtl_link=yes
49618 else
49619 echo "$as_me: failed program was:" >&5
49620 sed 's/^/| /' conftest.$ac_ext >&5
49622 glibcxx_cv_func___builtin_sqrtl_link=no
49624 rm -f conftest.err conftest.$ac_objext \
49625 conftest$ac_exeext conftest.$ac_ext
49630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49631 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49633 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49635 cat >>confdefs.h <<\_ACEOF
49636 #define HAVE___BUILTIN_SQRTL 1
49637 _ACEOF
49645 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49646 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49647 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49648 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 else
49654 ac_ext=cc
49655 ac_cpp='$CXXCPP $CPPFLAGS'
49656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49660 cat >conftest.$ac_ext <<_ACEOF
49661 /* confdefs.h. */
49662 _ACEOF
49663 cat confdefs.h >>conftest.$ac_ext
49664 cat >>conftest.$ac_ext <<_ACEOF
49665 /* end confdefs.h. */
49666 #include <math.h>
49668 main ()
49670 __builtin_sinf(0);
49672 return 0;
49674 _ACEOF
49675 rm -f conftest.$ac_objext
49676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49677 (eval $ac_compile) 2>conftest.er1
49678 ac_status=$?
49679 grep -v '^ *+' conftest.er1 >conftest.err
49680 rm -f conftest.er1
49681 cat conftest.err >&5
49682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49683 (exit $ac_status); } &&
49684 { ac_try='test -z "$ac_cxx_werror_flag"
49685 || test ! -s conftest.err'
49686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49687 (eval $ac_try) 2>&5
49688 ac_status=$?
49689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49690 (exit $ac_status); }; } &&
49691 { ac_try='test -s conftest.$ac_objext'
49692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49693 (eval $ac_try) 2>&5
49694 ac_status=$?
49695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49696 (exit $ac_status); }; }; then
49697 glibcxx_cv_func___builtin_sinf_use=yes
49698 else
49699 echo "$as_me: failed program was:" >&5
49700 sed 's/^/| /' conftest.$ac_ext >&5
49702 glibcxx_cv_func___builtin_sinf_use=no
49704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49705 ac_ext=c
49706 ac_cpp='$CPP $CPPFLAGS'
49707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49715 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49716 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49717 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49718 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49719 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49720 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49721 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49722 echo $ECHO_N "(cached) $ECHO_C" >&6
49723 else
49725 if test x$gcc_no_link = xyes; then
49726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49728 { (exit 1); exit 1; }; }
49730 cat >conftest.$ac_ext <<_ACEOF
49731 /* confdefs.h. */
49732 _ACEOF
49733 cat confdefs.h >>conftest.$ac_ext
49734 cat >>conftest.$ac_ext <<_ACEOF
49735 /* end confdefs.h. */
49736 #include <math.h>
49738 main ()
49740 __builtin_sinf(0);
49742 return 0;
49744 _ACEOF
49745 rm -f conftest.$ac_objext conftest$ac_exeext
49746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49747 (eval $ac_link) 2>conftest.er1
49748 ac_status=$?
49749 grep -v '^ *+' conftest.er1 >conftest.err
49750 rm -f conftest.er1
49751 cat conftest.err >&5
49752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753 (exit $ac_status); } &&
49754 { ac_try='test -z "$ac_c_werror_flag"
49755 || test ! -s conftest.err'
49756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49757 (eval $ac_try) 2>&5
49758 ac_status=$?
49759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49760 (exit $ac_status); }; } &&
49761 { ac_try='test -s conftest$ac_exeext'
49762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49763 (eval $ac_try) 2>&5
49764 ac_status=$?
49765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766 (exit $ac_status); }; }; then
49767 glibcxx_cv_func___builtin_sinf_link=yes
49768 else
49769 echo "$as_me: failed program was:" >&5
49770 sed 's/^/| /' conftest.$ac_ext >&5
49772 glibcxx_cv_func___builtin_sinf_link=no
49774 rm -f conftest.err conftest.$ac_objext \
49775 conftest$ac_exeext conftest.$ac_ext
49780 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49781 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49783 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49785 cat >>confdefs.h <<\_ACEOF
49786 #define HAVE___BUILTIN_SINF 1
49787 _ACEOF
49794 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49795 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49796 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49797 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49798 echo $ECHO_N "(cached) $ECHO_C" >&6
49799 else
49803 ac_ext=cc
49804 ac_cpp='$CXXCPP $CPPFLAGS'
49805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49809 cat >conftest.$ac_ext <<_ACEOF
49810 /* confdefs.h. */
49811 _ACEOF
49812 cat confdefs.h >>conftest.$ac_ext
49813 cat >>conftest.$ac_ext <<_ACEOF
49814 /* end confdefs.h. */
49815 #include <math.h>
49817 main ()
49819 __builtin_sin(0);
49821 return 0;
49823 _ACEOF
49824 rm -f conftest.$ac_objext
49825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49826 (eval $ac_compile) 2>conftest.er1
49827 ac_status=$?
49828 grep -v '^ *+' conftest.er1 >conftest.err
49829 rm -f conftest.er1
49830 cat conftest.err >&5
49831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49832 (exit $ac_status); } &&
49833 { ac_try='test -z "$ac_cxx_werror_flag"
49834 || test ! -s conftest.err'
49835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49836 (eval $ac_try) 2>&5
49837 ac_status=$?
49838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839 (exit $ac_status); }; } &&
49840 { ac_try='test -s conftest.$ac_objext'
49841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49842 (eval $ac_try) 2>&5
49843 ac_status=$?
49844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49845 (exit $ac_status); }; }; then
49846 glibcxx_cv_func___builtin_sin_use=yes
49847 else
49848 echo "$as_me: failed program was:" >&5
49849 sed 's/^/| /' conftest.$ac_ext >&5
49851 glibcxx_cv_func___builtin_sin_use=no
49853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49854 ac_ext=c
49855 ac_cpp='$CPP $CPPFLAGS'
49856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49865 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49866 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49867 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49868 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49869 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49870 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49872 else
49874 if test x$gcc_no_link = xyes; then
49875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49877 { (exit 1); exit 1; }; }
49879 cat >conftest.$ac_ext <<_ACEOF
49880 /* confdefs.h. */
49881 _ACEOF
49882 cat confdefs.h >>conftest.$ac_ext
49883 cat >>conftest.$ac_ext <<_ACEOF
49884 /* end confdefs.h. */
49885 #include <math.h>
49887 main ()
49889 __builtin_sin(0);
49891 return 0;
49893 _ACEOF
49894 rm -f conftest.$ac_objext conftest$ac_exeext
49895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49896 (eval $ac_link) 2>conftest.er1
49897 ac_status=$?
49898 grep -v '^ *+' conftest.er1 >conftest.err
49899 rm -f conftest.er1
49900 cat conftest.err >&5
49901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902 (exit $ac_status); } &&
49903 { ac_try='test -z "$ac_c_werror_flag"
49904 || test ! -s conftest.err'
49905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49906 (eval $ac_try) 2>&5
49907 ac_status=$?
49908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49909 (exit $ac_status); }; } &&
49910 { ac_try='test -s conftest$ac_exeext'
49911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49912 (eval $ac_try) 2>&5
49913 ac_status=$?
49914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915 (exit $ac_status); }; }; then
49916 glibcxx_cv_func___builtin_sin_link=yes
49917 else
49918 echo "$as_me: failed program was:" >&5
49919 sed 's/^/| /' conftest.$ac_ext >&5
49921 glibcxx_cv_func___builtin_sin_link=no
49923 rm -f conftest.err conftest.$ac_objext \
49924 conftest$ac_exeext conftest.$ac_ext
49929 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49930 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49932 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49934 cat >>confdefs.h <<\_ACEOF
49935 #define HAVE___BUILTIN_SIN 1
49936 _ACEOF
49943 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49944 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49945 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49946 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49947 echo $ECHO_N "(cached) $ECHO_C" >&6
49948 else
49952 ac_ext=cc
49953 ac_cpp='$CXXCPP $CPPFLAGS'
49954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49958 cat >conftest.$ac_ext <<_ACEOF
49959 /* confdefs.h. */
49960 _ACEOF
49961 cat confdefs.h >>conftest.$ac_ext
49962 cat >>conftest.$ac_ext <<_ACEOF
49963 /* end confdefs.h. */
49964 #include <math.h>
49966 main ()
49968 __builtin_sinl(0);
49970 return 0;
49972 _ACEOF
49973 rm -f conftest.$ac_objext
49974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49975 (eval $ac_compile) 2>conftest.er1
49976 ac_status=$?
49977 grep -v '^ *+' conftest.er1 >conftest.err
49978 rm -f conftest.er1
49979 cat conftest.err >&5
49980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49981 (exit $ac_status); } &&
49982 { ac_try='test -z "$ac_cxx_werror_flag"
49983 || test ! -s conftest.err'
49984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49985 (eval $ac_try) 2>&5
49986 ac_status=$?
49987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49988 (exit $ac_status); }; } &&
49989 { ac_try='test -s conftest.$ac_objext'
49990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49991 (eval $ac_try) 2>&5
49992 ac_status=$?
49993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49994 (exit $ac_status); }; }; then
49995 glibcxx_cv_func___builtin_sinl_use=yes
49996 else
49997 echo "$as_me: failed program was:" >&5
49998 sed 's/^/| /' conftest.$ac_ext >&5
50000 glibcxx_cv_func___builtin_sinl_use=no
50002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50003 ac_ext=c
50004 ac_cpp='$CPP $CPPFLAGS'
50005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50013 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50014 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50015 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50016 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50017 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50018 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50019 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50020 echo $ECHO_N "(cached) $ECHO_C" >&6
50021 else
50023 if test x$gcc_no_link = xyes; then
50024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50026 { (exit 1); exit 1; }; }
50028 cat >conftest.$ac_ext <<_ACEOF
50029 /* confdefs.h. */
50030 _ACEOF
50031 cat confdefs.h >>conftest.$ac_ext
50032 cat >>conftest.$ac_ext <<_ACEOF
50033 /* end confdefs.h. */
50034 #include <math.h>
50036 main ()
50038 __builtin_sinl(0);
50040 return 0;
50042 _ACEOF
50043 rm -f conftest.$ac_objext conftest$ac_exeext
50044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50045 (eval $ac_link) 2>conftest.er1
50046 ac_status=$?
50047 grep -v '^ *+' conftest.er1 >conftest.err
50048 rm -f conftest.er1
50049 cat conftest.err >&5
50050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051 (exit $ac_status); } &&
50052 { ac_try='test -z "$ac_c_werror_flag"
50053 || test ! -s conftest.err'
50054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50055 (eval $ac_try) 2>&5
50056 ac_status=$?
50057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50058 (exit $ac_status); }; } &&
50059 { ac_try='test -s conftest$ac_exeext'
50060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50061 (eval $ac_try) 2>&5
50062 ac_status=$?
50063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50064 (exit $ac_status); }; }; then
50065 glibcxx_cv_func___builtin_sinl_link=yes
50066 else
50067 echo "$as_me: failed program was:" >&5
50068 sed 's/^/| /' conftest.$ac_ext >&5
50070 glibcxx_cv_func___builtin_sinl_link=no
50072 rm -f conftest.err conftest.$ac_objext \
50073 conftest$ac_exeext conftest.$ac_ext
50078 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50079 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50081 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50083 cat >>confdefs.h <<\_ACEOF
50084 #define HAVE___BUILTIN_SINL 1
50085 _ACEOF
50093 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50094 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50095 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50096 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50097 echo $ECHO_N "(cached) $ECHO_C" >&6
50098 else
50102 ac_ext=cc
50103 ac_cpp='$CXXCPP $CPPFLAGS'
50104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50108 cat >conftest.$ac_ext <<_ACEOF
50109 /* confdefs.h. */
50110 _ACEOF
50111 cat confdefs.h >>conftest.$ac_ext
50112 cat >>conftest.$ac_ext <<_ACEOF
50113 /* end confdefs.h. */
50114 #include <math.h>
50116 main ()
50118 __builtin_cosf(0);
50120 return 0;
50122 _ACEOF
50123 rm -f conftest.$ac_objext
50124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50125 (eval $ac_compile) 2>conftest.er1
50126 ac_status=$?
50127 grep -v '^ *+' conftest.er1 >conftest.err
50128 rm -f conftest.er1
50129 cat conftest.err >&5
50130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 (exit $ac_status); } &&
50132 { ac_try='test -z "$ac_cxx_werror_flag"
50133 || test ! -s conftest.err'
50134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50135 (eval $ac_try) 2>&5
50136 ac_status=$?
50137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50138 (exit $ac_status); }; } &&
50139 { ac_try='test -s conftest.$ac_objext'
50140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50141 (eval $ac_try) 2>&5
50142 ac_status=$?
50143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50144 (exit $ac_status); }; }; then
50145 glibcxx_cv_func___builtin_cosf_use=yes
50146 else
50147 echo "$as_me: failed program was:" >&5
50148 sed 's/^/| /' conftest.$ac_ext >&5
50150 glibcxx_cv_func___builtin_cosf_use=no
50152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50153 ac_ext=c
50154 ac_cpp='$CPP $CPPFLAGS'
50155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50163 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50164 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50165 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50166 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50167 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50168 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50169 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50170 echo $ECHO_N "(cached) $ECHO_C" >&6
50171 else
50173 if test x$gcc_no_link = xyes; then
50174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50176 { (exit 1); exit 1; }; }
50178 cat >conftest.$ac_ext <<_ACEOF
50179 /* confdefs.h. */
50180 _ACEOF
50181 cat confdefs.h >>conftest.$ac_ext
50182 cat >>conftest.$ac_ext <<_ACEOF
50183 /* end confdefs.h. */
50184 #include <math.h>
50186 main ()
50188 __builtin_cosf(0);
50190 return 0;
50192 _ACEOF
50193 rm -f conftest.$ac_objext conftest$ac_exeext
50194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50195 (eval $ac_link) 2>conftest.er1
50196 ac_status=$?
50197 grep -v '^ *+' conftest.er1 >conftest.err
50198 rm -f conftest.er1
50199 cat conftest.err >&5
50200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50201 (exit $ac_status); } &&
50202 { ac_try='test -z "$ac_c_werror_flag"
50203 || test ! -s conftest.err'
50204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50205 (eval $ac_try) 2>&5
50206 ac_status=$?
50207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50208 (exit $ac_status); }; } &&
50209 { ac_try='test -s conftest$ac_exeext'
50210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50211 (eval $ac_try) 2>&5
50212 ac_status=$?
50213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50214 (exit $ac_status); }; }; then
50215 glibcxx_cv_func___builtin_cosf_link=yes
50216 else
50217 echo "$as_me: failed program was:" >&5
50218 sed 's/^/| /' conftest.$ac_ext >&5
50220 glibcxx_cv_func___builtin_cosf_link=no
50222 rm -f conftest.err conftest.$ac_objext \
50223 conftest$ac_exeext conftest.$ac_ext
50228 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50229 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50231 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50233 cat >>confdefs.h <<\_ACEOF
50234 #define HAVE___BUILTIN_COSF 1
50235 _ACEOF
50242 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50243 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50244 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50245 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50251 ac_ext=cc
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257 cat >conftest.$ac_ext <<_ACEOF
50258 /* confdefs.h. */
50259 _ACEOF
50260 cat confdefs.h >>conftest.$ac_ext
50261 cat >>conftest.$ac_ext <<_ACEOF
50262 /* end confdefs.h. */
50263 #include <math.h>
50265 main ()
50267 __builtin_cos(0);
50269 return 0;
50271 _ACEOF
50272 rm -f conftest.$ac_objext
50273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50274 (eval $ac_compile) 2>conftest.er1
50275 ac_status=$?
50276 grep -v '^ *+' conftest.er1 >conftest.err
50277 rm -f conftest.er1
50278 cat conftest.err >&5
50279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50280 (exit $ac_status); } &&
50281 { ac_try='test -z "$ac_cxx_werror_flag"
50282 || test ! -s conftest.err'
50283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50284 (eval $ac_try) 2>&5
50285 ac_status=$?
50286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50287 (exit $ac_status); }; } &&
50288 { ac_try='test -s conftest.$ac_objext'
50289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50290 (eval $ac_try) 2>&5
50291 ac_status=$?
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); }; }; then
50294 glibcxx_cv_func___builtin_cos_use=yes
50295 else
50296 echo "$as_me: failed program was:" >&5
50297 sed 's/^/| /' conftest.$ac_ext >&5
50299 glibcxx_cv_func___builtin_cos_use=no
50301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50302 ac_ext=c
50303 ac_cpp='$CPP $CPPFLAGS'
50304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50312 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50313 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50314 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50315 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50316 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50317 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50318 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50319 echo $ECHO_N "(cached) $ECHO_C" >&6
50320 else
50322 if test x$gcc_no_link = xyes; then
50323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50325 { (exit 1); exit 1; }; }
50327 cat >conftest.$ac_ext <<_ACEOF
50328 /* confdefs.h. */
50329 _ACEOF
50330 cat confdefs.h >>conftest.$ac_ext
50331 cat >>conftest.$ac_ext <<_ACEOF
50332 /* end confdefs.h. */
50333 #include <math.h>
50335 main ()
50337 __builtin_cos(0);
50339 return 0;
50341 _ACEOF
50342 rm -f conftest.$ac_objext conftest$ac_exeext
50343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50344 (eval $ac_link) 2>conftest.er1
50345 ac_status=$?
50346 grep -v '^ *+' conftest.er1 >conftest.err
50347 rm -f conftest.er1
50348 cat conftest.err >&5
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); } &&
50351 { ac_try='test -z "$ac_c_werror_flag"
50352 || test ! -s conftest.err'
50353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50354 (eval $ac_try) 2>&5
50355 ac_status=$?
50356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50357 (exit $ac_status); }; } &&
50358 { ac_try='test -s conftest$ac_exeext'
50359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50360 (eval $ac_try) 2>&5
50361 ac_status=$?
50362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50363 (exit $ac_status); }; }; then
50364 glibcxx_cv_func___builtin_cos_link=yes
50365 else
50366 echo "$as_me: failed program was:" >&5
50367 sed 's/^/| /' conftest.$ac_ext >&5
50369 glibcxx_cv_func___builtin_cos_link=no
50371 rm -f conftest.err conftest.$ac_objext \
50372 conftest$ac_exeext conftest.$ac_ext
50377 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50378 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50380 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50382 cat >>confdefs.h <<\_ACEOF
50383 #define HAVE___BUILTIN_COS 1
50384 _ACEOF
50391 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50392 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50393 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50394 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50395 echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50400 ac_ext=cc
50401 ac_cpp='$CXXCPP $CPPFLAGS'
50402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50406 cat >conftest.$ac_ext <<_ACEOF
50407 /* confdefs.h. */
50408 _ACEOF
50409 cat confdefs.h >>conftest.$ac_ext
50410 cat >>conftest.$ac_ext <<_ACEOF
50411 /* end confdefs.h. */
50412 #include <math.h>
50414 main ()
50416 __builtin_cosl(0);
50418 return 0;
50420 _ACEOF
50421 rm -f conftest.$ac_objext
50422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50423 (eval $ac_compile) 2>conftest.er1
50424 ac_status=$?
50425 grep -v '^ *+' conftest.er1 >conftest.err
50426 rm -f conftest.er1
50427 cat conftest.err >&5
50428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50429 (exit $ac_status); } &&
50430 { ac_try='test -z "$ac_cxx_werror_flag"
50431 || test ! -s conftest.err'
50432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50433 (eval $ac_try) 2>&5
50434 ac_status=$?
50435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50436 (exit $ac_status); }; } &&
50437 { ac_try='test -s conftest.$ac_objext'
50438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50439 (eval $ac_try) 2>&5
50440 ac_status=$?
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); }; }; then
50443 glibcxx_cv_func___builtin_cosl_use=yes
50444 else
50445 echo "$as_me: failed program was:" >&5
50446 sed 's/^/| /' conftest.$ac_ext >&5
50448 glibcxx_cv_func___builtin_cosl_use=no
50450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50451 ac_ext=c
50452 ac_cpp='$CPP $CPPFLAGS'
50453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50462 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50463 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50464 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50465 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50466 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50467 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50468 echo $ECHO_N "(cached) $ECHO_C" >&6
50469 else
50471 if test x$gcc_no_link = xyes; then
50472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50474 { (exit 1); exit 1; }; }
50476 cat >conftest.$ac_ext <<_ACEOF
50477 /* confdefs.h. */
50478 _ACEOF
50479 cat confdefs.h >>conftest.$ac_ext
50480 cat >>conftest.$ac_ext <<_ACEOF
50481 /* end confdefs.h. */
50482 #include <math.h>
50484 main ()
50486 __builtin_cosl(0);
50488 return 0;
50490 _ACEOF
50491 rm -f conftest.$ac_objext conftest$ac_exeext
50492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50493 (eval $ac_link) 2>conftest.er1
50494 ac_status=$?
50495 grep -v '^ *+' conftest.er1 >conftest.err
50496 rm -f conftest.er1
50497 cat conftest.err >&5
50498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50499 (exit $ac_status); } &&
50500 { ac_try='test -z "$ac_c_werror_flag"
50501 || test ! -s conftest.err'
50502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50503 (eval $ac_try) 2>&5
50504 ac_status=$?
50505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50506 (exit $ac_status); }; } &&
50507 { ac_try='test -s conftest$ac_exeext'
50508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50509 (eval $ac_try) 2>&5
50510 ac_status=$?
50511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50512 (exit $ac_status); }; }; then
50513 glibcxx_cv_func___builtin_cosl_link=yes
50514 else
50515 echo "$as_me: failed program was:" >&5
50516 sed 's/^/| /' conftest.$ac_ext >&5
50518 glibcxx_cv_func___builtin_cosl_link=no
50520 rm -f conftest.err conftest.$ac_objext \
50521 conftest$ac_exeext conftest.$ac_ext
50526 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50527 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50529 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50531 cat >>confdefs.h <<\_ACEOF
50532 #define HAVE___BUILTIN_COSL 1
50533 _ACEOF
50542 echo "$as_me:$LINENO: checking for main in -lm" >&5
50543 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50544 if test "${ac_cv_lib_m_main+set}" = set; then
50545 echo $ECHO_N "(cached) $ECHO_C" >&6
50546 else
50547 ac_check_lib_save_LIBS=$LIBS
50548 LIBS="-lm $LIBS"
50549 if test x$gcc_no_link = xyes; then
50550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50552 { (exit 1); exit 1; }; }
50554 cat >conftest.$ac_ext <<_ACEOF
50555 /* confdefs.h. */
50556 _ACEOF
50557 cat confdefs.h >>conftest.$ac_ext
50558 cat >>conftest.$ac_ext <<_ACEOF
50559 /* end confdefs.h. */
50563 main ()
50565 main ();
50567 return 0;
50569 _ACEOF
50570 rm -f conftest.$ac_objext conftest$ac_exeext
50571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50572 (eval $ac_link) 2>conftest.er1
50573 ac_status=$?
50574 grep -v '^ *+' conftest.er1 >conftest.err
50575 rm -f conftest.er1
50576 cat conftest.err >&5
50577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50578 (exit $ac_status); } &&
50579 { ac_try='test -z "$ac_c_werror_flag"
50580 || test ! -s conftest.err'
50581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50582 (eval $ac_try) 2>&5
50583 ac_status=$?
50584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50585 (exit $ac_status); }; } &&
50586 { ac_try='test -s conftest$ac_exeext'
50587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50588 (eval $ac_try) 2>&5
50589 ac_status=$?
50590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591 (exit $ac_status); }; }; then
50592 ac_cv_lib_m_main=yes
50593 else
50594 echo "$as_me: failed program was:" >&5
50595 sed 's/^/| /' conftest.$ac_ext >&5
50597 ac_cv_lib_m_main=no
50599 rm -f conftest.err conftest.$ac_objext \
50600 conftest$ac_exeext conftest.$ac_ext
50601 LIBS=$ac_check_lib_save_LIBS
50603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50604 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50605 if test $ac_cv_lib_m_main = yes; then
50606 cat >>confdefs.h <<_ACEOF
50607 #define HAVE_LIBM 1
50608 _ACEOF
50610 LIBS="-lm $LIBS"
50615 for ac_func in copysignf
50617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50618 echo "$as_me:$LINENO: checking for $ac_func" >&5
50619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50620 if eval "test \"\${$as_ac_var+set}\" = set"; then
50621 echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50623 if test x$gcc_no_link = xyes; then
50624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50626 { (exit 1); exit 1; }; }
50628 cat >conftest.$ac_ext <<_ACEOF
50629 /* confdefs.h. */
50630 _ACEOF
50631 cat confdefs.h >>conftest.$ac_ext
50632 cat >>conftest.$ac_ext <<_ACEOF
50633 /* end confdefs.h. */
50634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50636 #define $ac_func innocuous_$ac_func
50638 /* System header to define __stub macros and hopefully few prototypes,
50639 which can conflict with char $ac_func (); below.
50640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50641 <limits.h> exists even on freestanding compilers. */
50643 #ifdef __STDC__
50644 # include <limits.h>
50645 #else
50646 # include <assert.h>
50647 #endif
50649 #undef $ac_func
50651 /* Override any gcc2 internal prototype to avoid an error. */
50652 #ifdef __cplusplus
50653 extern "C"
50655 #endif
50656 /* We use char because int might match the return type of a gcc2
50657 builtin and then its argument prototype would still apply. */
50658 char $ac_func ();
50659 /* The GNU C library defines this for functions which it implements
50660 to always fail with ENOSYS. Some functions are actually named
50661 something starting with __ and the normal name is an alias. */
50662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50663 choke me
50664 #else
50665 char (*f) () = $ac_func;
50666 #endif
50667 #ifdef __cplusplus
50669 #endif
50672 main ()
50674 return f != $ac_func;
50676 return 0;
50678 _ACEOF
50679 rm -f conftest.$ac_objext conftest$ac_exeext
50680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50681 (eval $ac_link) 2>conftest.er1
50682 ac_status=$?
50683 grep -v '^ *+' conftest.er1 >conftest.err
50684 rm -f conftest.er1
50685 cat conftest.err >&5
50686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50687 (exit $ac_status); } &&
50688 { ac_try='test -z "$ac_c_werror_flag"
50689 || test ! -s conftest.err'
50690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50691 (eval $ac_try) 2>&5
50692 ac_status=$?
50693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50694 (exit $ac_status); }; } &&
50695 { ac_try='test -s conftest$ac_exeext'
50696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50697 (eval $ac_try) 2>&5
50698 ac_status=$?
50699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50700 (exit $ac_status); }; }; then
50701 eval "$as_ac_var=yes"
50702 else
50703 echo "$as_me: failed program was:" >&5
50704 sed 's/^/| /' conftest.$ac_ext >&5
50706 eval "$as_ac_var=no"
50708 rm -f conftest.err conftest.$ac_objext \
50709 conftest$ac_exeext conftest.$ac_ext
50711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50713 if test `eval echo '${'$as_ac_var'}'` = yes; then
50714 cat >>confdefs.h <<_ACEOF
50715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50716 _ACEOF
50718 else
50719 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50721 done
50725 for ac_func in __signbit
50727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50728 echo "$as_me:$LINENO: checking for $ac_func" >&5
50729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50730 if eval "test \"\${$as_ac_var+set}\" = set"; then
50731 echo $ECHO_N "(cached) $ECHO_C" >&6
50732 else
50733 if test x$gcc_no_link = xyes; then
50734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50736 { (exit 1); exit 1; }; }
50738 cat >conftest.$ac_ext <<_ACEOF
50739 /* confdefs.h. */
50740 _ACEOF
50741 cat confdefs.h >>conftest.$ac_ext
50742 cat >>conftest.$ac_ext <<_ACEOF
50743 /* end confdefs.h. */
50744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50746 #define $ac_func innocuous_$ac_func
50748 /* System header to define __stub macros and hopefully few prototypes,
50749 which can conflict with char $ac_func (); below.
50750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50751 <limits.h> exists even on freestanding compilers. */
50753 #ifdef __STDC__
50754 # include <limits.h>
50755 #else
50756 # include <assert.h>
50757 #endif
50759 #undef $ac_func
50761 /* Override any gcc2 internal prototype to avoid an error. */
50762 #ifdef __cplusplus
50763 extern "C"
50765 #endif
50766 /* We use char because int might match the return type of a gcc2
50767 builtin and then its argument prototype would still apply. */
50768 char $ac_func ();
50769 /* The GNU C library defines this for functions which it implements
50770 to always fail with ENOSYS. Some functions are actually named
50771 something starting with __ and the normal name is an alias. */
50772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50773 choke me
50774 #else
50775 char (*f) () = $ac_func;
50776 #endif
50777 #ifdef __cplusplus
50779 #endif
50782 main ()
50784 return f != $ac_func;
50786 return 0;
50788 _ACEOF
50789 rm -f conftest.$ac_objext conftest$ac_exeext
50790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50791 (eval $ac_link) 2>conftest.er1
50792 ac_status=$?
50793 grep -v '^ *+' conftest.er1 >conftest.err
50794 rm -f conftest.er1
50795 cat conftest.err >&5
50796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50797 (exit $ac_status); } &&
50798 { ac_try='test -z "$ac_c_werror_flag"
50799 || test ! -s conftest.err'
50800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50801 (eval $ac_try) 2>&5
50802 ac_status=$?
50803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50804 (exit $ac_status); }; } &&
50805 { ac_try='test -s conftest$ac_exeext'
50806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50807 (eval $ac_try) 2>&5
50808 ac_status=$?
50809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50810 (exit $ac_status); }; }; then
50811 eval "$as_ac_var=yes"
50812 else
50813 echo "$as_me: failed program was:" >&5
50814 sed 's/^/| /' conftest.$ac_ext >&5
50816 eval "$as_ac_var=no"
50818 rm -f conftest.err conftest.$ac_objext \
50819 conftest$ac_exeext conftest.$ac_ext
50821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50823 if test `eval echo '${'$as_ac_var'}'` = yes; then
50824 cat >>confdefs.h <<_ACEOF
50825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50826 _ACEOF
50828 else
50829 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50831 done
50835 for ac_func in __signbitf
50837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50838 echo "$as_me:$LINENO: checking for $ac_func" >&5
50839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50840 if eval "test \"\${$as_ac_var+set}\" = set"; then
50841 echo $ECHO_N "(cached) $ECHO_C" >&6
50842 else
50843 if test x$gcc_no_link = xyes; then
50844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50846 { (exit 1); exit 1; }; }
50848 cat >conftest.$ac_ext <<_ACEOF
50849 /* confdefs.h. */
50850 _ACEOF
50851 cat confdefs.h >>conftest.$ac_ext
50852 cat >>conftest.$ac_ext <<_ACEOF
50853 /* end confdefs.h. */
50854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50856 #define $ac_func innocuous_$ac_func
50858 /* System header to define __stub macros and hopefully few prototypes,
50859 which can conflict with char $ac_func (); below.
50860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50861 <limits.h> exists even on freestanding compilers. */
50863 #ifdef __STDC__
50864 # include <limits.h>
50865 #else
50866 # include <assert.h>
50867 #endif
50869 #undef $ac_func
50871 /* Override any gcc2 internal prototype to avoid an error. */
50872 #ifdef __cplusplus
50873 extern "C"
50875 #endif
50876 /* We use char because int might match the return type of a gcc2
50877 builtin and then its argument prototype would still apply. */
50878 char $ac_func ();
50879 /* The GNU C library defines this for functions which it implements
50880 to always fail with ENOSYS. Some functions are actually named
50881 something starting with __ and the normal name is an alias. */
50882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50883 choke me
50884 #else
50885 char (*f) () = $ac_func;
50886 #endif
50887 #ifdef __cplusplus
50889 #endif
50892 main ()
50894 return f != $ac_func;
50896 return 0;
50898 _ACEOF
50899 rm -f conftest.$ac_objext conftest$ac_exeext
50900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50901 (eval $ac_link) 2>conftest.er1
50902 ac_status=$?
50903 grep -v '^ *+' conftest.er1 >conftest.err
50904 rm -f conftest.er1
50905 cat conftest.err >&5
50906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50907 (exit $ac_status); } &&
50908 { ac_try='test -z "$ac_c_werror_flag"
50909 || test ! -s conftest.err'
50910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50911 (eval $ac_try) 2>&5
50912 ac_status=$?
50913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50914 (exit $ac_status); }; } &&
50915 { ac_try='test -s conftest$ac_exeext'
50916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50917 (eval $ac_try) 2>&5
50918 ac_status=$?
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; }; then
50921 eval "$as_ac_var=yes"
50922 else
50923 echo "$as_me: failed program was:" >&5
50924 sed 's/^/| /' conftest.$ac_ext >&5
50926 eval "$as_ac_var=no"
50928 rm -f conftest.err conftest.$ac_objext \
50929 conftest$ac_exeext conftest.$ac_ext
50931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50933 if test `eval echo '${'$as_ac_var'}'` = yes; then
50934 cat >>confdefs.h <<_ACEOF
50935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50936 _ACEOF
50938 else
50939 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50941 done
50944 if test x$ac_cv_func_copysignl = x"yes"; then
50946 for ac_func in __signbitl
50948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50949 echo "$as_me:$LINENO: checking for $ac_func" >&5
50950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50951 if eval "test \"\${$as_ac_var+set}\" = set"; then
50952 echo $ECHO_N "(cached) $ECHO_C" >&6
50953 else
50954 if test x$gcc_no_link = xyes; then
50955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50957 { (exit 1); exit 1; }; }
50959 cat >conftest.$ac_ext <<_ACEOF
50960 /* confdefs.h. */
50961 _ACEOF
50962 cat confdefs.h >>conftest.$ac_ext
50963 cat >>conftest.$ac_ext <<_ACEOF
50964 /* end confdefs.h. */
50965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50967 #define $ac_func innocuous_$ac_func
50969 /* System header to define __stub macros and hopefully few prototypes,
50970 which can conflict with char $ac_func (); below.
50971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50972 <limits.h> exists even on freestanding compilers. */
50974 #ifdef __STDC__
50975 # include <limits.h>
50976 #else
50977 # include <assert.h>
50978 #endif
50980 #undef $ac_func
50982 /* Override any gcc2 internal prototype to avoid an error. */
50983 #ifdef __cplusplus
50984 extern "C"
50986 #endif
50987 /* We use char because int might match the return type of a gcc2
50988 builtin and then its argument prototype would still apply. */
50989 char $ac_func ();
50990 /* The GNU C library defines this for functions which it implements
50991 to always fail with ENOSYS. Some functions are actually named
50992 something starting with __ and the normal name is an alias. */
50993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50994 choke me
50995 #else
50996 char (*f) () = $ac_func;
50997 #endif
50998 #ifdef __cplusplus
51000 #endif
51003 main ()
51005 return f != $ac_func;
51007 return 0;
51009 _ACEOF
51010 rm -f conftest.$ac_objext conftest$ac_exeext
51011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51012 (eval $ac_link) 2>conftest.er1
51013 ac_status=$?
51014 grep -v '^ *+' conftest.er1 >conftest.err
51015 rm -f conftest.er1
51016 cat conftest.err >&5
51017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51018 (exit $ac_status); } &&
51019 { ac_try='test -z "$ac_c_werror_flag"
51020 || test ! -s conftest.err'
51021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51022 (eval $ac_try) 2>&5
51023 ac_status=$?
51024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51025 (exit $ac_status); }; } &&
51026 { ac_try='test -s conftest$ac_exeext'
51027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51028 (eval $ac_try) 2>&5
51029 ac_status=$?
51030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51031 (exit $ac_status); }; }; then
51032 eval "$as_ac_var=yes"
51033 else
51034 echo "$as_me: failed program was:" >&5
51035 sed 's/^/| /' conftest.$ac_ext >&5
51037 eval "$as_ac_var=no"
51039 rm -f conftest.err conftest.$ac_objext \
51040 conftest$ac_exeext conftest.$ac_ext
51042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51044 if test `eval echo '${'$as_ac_var'}'` = yes; then
51045 cat >>confdefs.h <<_ACEOF
51046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51047 _ACEOF
51049 else
51050 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51052 done
51056 # Used in libmath/Makefile.am.
51057 if test -n "$LIBMATHOBJS"; then
51058 need_libmath=yes
51064 enable_iconv=no
51065 # Only continue checking if the ISO C99 headers exist and support is on.
51066 if test x"$enable_wchar_t" = xyes; then
51068 # Use iconv for wchar_t to char conversions. As such, check for
51069 # X/Open Portability Guide, version 2 features (XPG2).
51070 if test "${ac_cv_header_iconv_h+set}" = set; then
51071 echo "$as_me:$LINENO: checking for iconv.h" >&5
51072 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51073 if test "${ac_cv_header_iconv_h+set}" = set; then
51074 echo $ECHO_N "(cached) $ECHO_C" >&6
51076 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51077 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51078 else
51079 # Is the header compilable?
51080 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51081 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51082 cat >conftest.$ac_ext <<_ACEOF
51083 /* confdefs.h. */
51084 _ACEOF
51085 cat confdefs.h >>conftest.$ac_ext
51086 cat >>conftest.$ac_ext <<_ACEOF
51087 /* end confdefs.h. */
51088 $ac_includes_default
51089 #include <iconv.h>
51090 _ACEOF
51091 rm -f conftest.$ac_objext
51092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51093 (eval $ac_compile) 2>conftest.er1
51094 ac_status=$?
51095 grep -v '^ *+' conftest.er1 >conftest.err
51096 rm -f conftest.er1
51097 cat conftest.err >&5
51098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51099 (exit $ac_status); } &&
51100 { ac_try='test -z "$ac_c_werror_flag"
51101 || test ! -s conftest.err'
51102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51103 (eval $ac_try) 2>&5
51104 ac_status=$?
51105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51106 (exit $ac_status); }; } &&
51107 { ac_try='test -s conftest.$ac_objext'
51108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51109 (eval $ac_try) 2>&5
51110 ac_status=$?
51111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51112 (exit $ac_status); }; }; then
51113 ac_header_compiler=yes
51114 else
51115 echo "$as_me: failed program was:" >&5
51116 sed 's/^/| /' conftest.$ac_ext >&5
51118 ac_header_compiler=no
51120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51122 echo "${ECHO_T}$ac_header_compiler" >&6
51124 # Is the header present?
51125 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51126 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51127 cat >conftest.$ac_ext <<_ACEOF
51128 /* confdefs.h. */
51129 _ACEOF
51130 cat confdefs.h >>conftest.$ac_ext
51131 cat >>conftest.$ac_ext <<_ACEOF
51132 /* end confdefs.h. */
51133 #include <iconv.h>
51134 _ACEOF
51135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51137 ac_status=$?
51138 grep -v '^ *+' conftest.er1 >conftest.err
51139 rm -f conftest.er1
51140 cat conftest.err >&5
51141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51142 (exit $ac_status); } >/dev/null; then
51143 if test -s conftest.err; then
51144 ac_cpp_err=$ac_c_preproc_warn_flag
51145 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51146 else
51147 ac_cpp_err=
51149 else
51150 ac_cpp_err=yes
51152 if test -z "$ac_cpp_err"; then
51153 ac_header_preproc=yes
51154 else
51155 echo "$as_me: failed program was:" >&5
51156 sed 's/^/| /' conftest.$ac_ext >&5
51158 ac_header_preproc=no
51160 rm -f conftest.err conftest.$ac_ext
51161 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51162 echo "${ECHO_T}$ac_header_preproc" >&6
51164 # So? What about this header?
51165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51166 yes:no: )
51167 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51168 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51169 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51170 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51171 ac_header_preproc=yes
51173 no:yes:* )
51174 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51175 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51176 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51177 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51178 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51179 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51180 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51181 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51182 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51183 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51184 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51185 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51187 cat <<\_ASBOX
51188 ## ----------------------------------------- ##
51189 ## Report this to the package-unused lists. ##
51190 ## ----------------------------------------- ##
51191 _ASBOX
51193 sed "s/^/$as_me: WARNING: /" >&2
51195 esac
51196 echo "$as_me:$LINENO: checking for iconv.h" >&5
51197 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51198 if test "${ac_cv_header_iconv_h+set}" = set; then
51199 echo $ECHO_N "(cached) $ECHO_C" >&6
51200 else
51201 ac_cv_header_iconv_h=$ac_header_preproc
51203 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51204 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51207 if test $ac_cv_header_iconv_h = yes; then
51208 ac_has_iconv_h=yes
51209 else
51210 ac_has_iconv_h=no
51214 if test "${ac_cv_header_langinfo_h+set}" = set; then
51215 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51216 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51217 if test "${ac_cv_header_langinfo_h+set}" = set; then
51218 echo $ECHO_N "(cached) $ECHO_C" >&6
51220 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51221 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51222 else
51223 # Is the header compilable?
51224 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51225 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51226 cat >conftest.$ac_ext <<_ACEOF
51227 /* confdefs.h. */
51228 _ACEOF
51229 cat confdefs.h >>conftest.$ac_ext
51230 cat >>conftest.$ac_ext <<_ACEOF
51231 /* end confdefs.h. */
51232 $ac_includes_default
51233 #include <langinfo.h>
51234 _ACEOF
51235 rm -f conftest.$ac_objext
51236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51237 (eval $ac_compile) 2>conftest.er1
51238 ac_status=$?
51239 grep -v '^ *+' conftest.er1 >conftest.err
51240 rm -f conftest.er1
51241 cat conftest.err >&5
51242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243 (exit $ac_status); } &&
51244 { ac_try='test -z "$ac_c_werror_flag"
51245 || test ! -s conftest.err'
51246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51247 (eval $ac_try) 2>&5
51248 ac_status=$?
51249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51250 (exit $ac_status); }; } &&
51251 { ac_try='test -s conftest.$ac_objext'
51252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51253 (eval $ac_try) 2>&5
51254 ac_status=$?
51255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51256 (exit $ac_status); }; }; then
51257 ac_header_compiler=yes
51258 else
51259 echo "$as_me: failed program was:" >&5
51260 sed 's/^/| /' conftest.$ac_ext >&5
51262 ac_header_compiler=no
51264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51266 echo "${ECHO_T}$ac_header_compiler" >&6
51268 # Is the header present?
51269 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51270 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51271 cat >conftest.$ac_ext <<_ACEOF
51272 /* confdefs.h. */
51273 _ACEOF
51274 cat confdefs.h >>conftest.$ac_ext
51275 cat >>conftest.$ac_ext <<_ACEOF
51276 /* end confdefs.h. */
51277 #include <langinfo.h>
51278 _ACEOF
51279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51281 ac_status=$?
51282 grep -v '^ *+' conftest.er1 >conftest.err
51283 rm -f conftest.er1
51284 cat conftest.err >&5
51285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51286 (exit $ac_status); } >/dev/null; then
51287 if test -s conftest.err; then
51288 ac_cpp_err=$ac_c_preproc_warn_flag
51289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51290 else
51291 ac_cpp_err=
51293 else
51294 ac_cpp_err=yes
51296 if test -z "$ac_cpp_err"; then
51297 ac_header_preproc=yes
51298 else
51299 echo "$as_me: failed program was:" >&5
51300 sed 's/^/| /' conftest.$ac_ext >&5
51302 ac_header_preproc=no
51304 rm -f conftest.err conftest.$ac_ext
51305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51306 echo "${ECHO_T}$ac_header_preproc" >&6
51308 # So? What about this header?
51309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51310 yes:no: )
51311 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51312 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51313 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51314 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51315 ac_header_preproc=yes
51317 no:yes:* )
51318 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51319 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51320 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51321 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51322 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51323 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51324 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51325 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51326 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51327 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51328 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51329 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51331 cat <<\_ASBOX
51332 ## ----------------------------------------- ##
51333 ## Report this to the package-unused lists. ##
51334 ## ----------------------------------------- ##
51335 _ASBOX
51337 sed "s/^/$as_me: WARNING: /" >&2
51339 esac
51340 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51341 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51342 if test "${ac_cv_header_langinfo_h+set}" = set; then
51343 echo $ECHO_N "(cached) $ECHO_C" >&6
51344 else
51345 ac_cv_header_langinfo_h=$ac_header_preproc
51347 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51348 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51351 if test $ac_cv_header_langinfo_h = yes; then
51352 ac_has_langinfo_h=yes
51353 else
51354 ac_has_langinfo_h=no
51359 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51360 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51361 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51362 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51363 echo $ECHO_N "(cached) $ECHO_C" >&6
51364 else
51365 ac_check_lib_save_LIBS=$LIBS
51366 LIBS="-liconv $LIBS"
51367 if test x$gcc_no_link = xyes; then
51368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51370 { (exit 1); exit 1; }; }
51372 cat >conftest.$ac_ext <<_ACEOF
51373 /* confdefs.h. */
51374 _ACEOF
51375 cat confdefs.h >>conftest.$ac_ext
51376 cat >>conftest.$ac_ext <<_ACEOF
51377 /* end confdefs.h. */
51379 /* Override any gcc2 internal prototype to avoid an error. */
51380 #ifdef __cplusplus
51381 extern "C"
51382 #endif
51383 /* We use char because int might match the return type of a gcc2
51384 builtin and then its argument prototype would still apply. */
51385 char iconv ();
51387 main ()
51389 iconv ();
51391 return 0;
51393 _ACEOF
51394 rm -f conftest.$ac_objext conftest$ac_exeext
51395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51396 (eval $ac_link) 2>conftest.er1
51397 ac_status=$?
51398 grep -v '^ *+' conftest.er1 >conftest.err
51399 rm -f conftest.er1
51400 cat conftest.err >&5
51401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51402 (exit $ac_status); } &&
51403 { ac_try='test -z "$ac_c_werror_flag"
51404 || test ! -s conftest.err'
51405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406 (eval $ac_try) 2>&5
51407 ac_status=$?
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); }; } &&
51410 { ac_try='test -s conftest$ac_exeext'
51411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51412 (eval $ac_try) 2>&5
51413 ac_status=$?
51414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51415 (exit $ac_status); }; }; then
51416 ac_cv_lib_iconv_iconv=yes
51417 else
51418 echo "$as_me: failed program was:" >&5
51419 sed 's/^/| /' conftest.$ac_ext >&5
51421 ac_cv_lib_iconv_iconv=no
51423 rm -f conftest.err conftest.$ac_objext \
51424 conftest$ac_exeext conftest.$ac_ext
51425 LIBS=$ac_check_lib_save_LIBS
51427 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51428 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51429 if test $ac_cv_lib_iconv_iconv = yes; then
51430 LIBICONV="-liconv"
51433 ac_save_LIBS="$LIBS"
51434 LIBS="$LIBS $LIBICONV"
51441 for ac_func in iconv_open iconv_close iconv nl_langinfo
51443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51444 echo "$as_me:$LINENO: checking for $ac_func" >&5
51445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51446 if eval "test \"\${$as_ac_var+set}\" = set"; then
51447 echo $ECHO_N "(cached) $ECHO_C" >&6
51448 else
51449 if test x$gcc_no_link = xyes; then
51450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51452 { (exit 1); exit 1; }; }
51454 cat >conftest.$ac_ext <<_ACEOF
51455 /* confdefs.h. */
51456 _ACEOF
51457 cat confdefs.h >>conftest.$ac_ext
51458 cat >>conftest.$ac_ext <<_ACEOF
51459 /* end confdefs.h. */
51460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51462 #define $ac_func innocuous_$ac_func
51464 /* System header to define __stub macros and hopefully few prototypes,
51465 which can conflict with char $ac_func (); below.
51466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51467 <limits.h> exists even on freestanding compilers. */
51469 #ifdef __STDC__
51470 # include <limits.h>
51471 #else
51472 # include <assert.h>
51473 #endif
51475 #undef $ac_func
51477 /* Override any gcc2 internal prototype to avoid an error. */
51478 #ifdef __cplusplus
51479 extern "C"
51481 #endif
51482 /* We use char because int might match the return type of a gcc2
51483 builtin and then its argument prototype would still apply. */
51484 char $ac_func ();
51485 /* The GNU C library defines this for functions which it implements
51486 to always fail with ENOSYS. Some functions are actually named
51487 something starting with __ and the normal name is an alias. */
51488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51489 choke me
51490 #else
51491 char (*f) () = $ac_func;
51492 #endif
51493 #ifdef __cplusplus
51495 #endif
51498 main ()
51500 return f != $ac_func;
51502 return 0;
51504 _ACEOF
51505 rm -f conftest.$ac_objext conftest$ac_exeext
51506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51507 (eval $ac_link) 2>conftest.er1
51508 ac_status=$?
51509 grep -v '^ *+' conftest.er1 >conftest.err
51510 rm -f conftest.er1
51511 cat conftest.err >&5
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); } &&
51514 { ac_try='test -z "$ac_c_werror_flag"
51515 || test ! -s conftest.err'
51516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51517 (eval $ac_try) 2>&5
51518 ac_status=$?
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); }; } &&
51521 { ac_try='test -s conftest$ac_exeext'
51522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51523 (eval $ac_try) 2>&5
51524 ac_status=$?
51525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51526 (exit $ac_status); }; }; then
51527 eval "$as_ac_var=yes"
51528 else
51529 echo "$as_me: failed program was:" >&5
51530 sed 's/^/| /' conftest.$ac_ext >&5
51532 eval "$as_ac_var=no"
51534 rm -f conftest.err conftest.$ac_objext \
51535 conftest$ac_exeext conftest.$ac_ext
51537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51539 if test `eval echo '${'$as_ac_var'}'` = yes; then
51540 cat >>confdefs.h <<_ACEOF
51541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51542 _ACEOF
51543 ac_XPG2funcs=yes
51544 else
51545 ac_XPG2funcs=no
51547 done
51550 LIBS="$ac_save_LIBS"
51552 if test x"$ac_has_iconv_h" = xyes &&
51553 test x"$ac_has_langinfo_h" = xyes &&
51554 test x"$ac_XPG2funcs" = xyes;
51555 then
51557 cat >>confdefs.h <<\_ACEOF
51558 #define _GLIBCXX_USE_ICONV 1
51559 _ACEOF
51561 enable_iconv=yes
51564 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51565 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51566 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51567 echo "${ECHO_T}$enable_iconv" >&6
51570 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51571 ac_save_CXXFLAGS="$CXXFLAGS"
51572 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51575 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51576 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51577 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51578 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51579 echo $ECHO_N "(cached) $ECHO_C" >&6
51580 else
51584 ac_ext=cc
51585 ac_cpp='$CXXCPP $CPPFLAGS'
51586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51590 cat >conftest.$ac_ext <<_ACEOF
51591 /* confdefs.h. */
51592 _ACEOF
51593 cat confdefs.h >>conftest.$ac_ext
51594 cat >>conftest.$ac_ext <<_ACEOF
51595 /* end confdefs.h. */
51596 #include <stdlib.h>
51598 main ()
51600 strtold(0, 0);
51602 return 0;
51604 _ACEOF
51605 rm -f conftest.$ac_objext
51606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51607 (eval $ac_compile) 2>conftest.er1
51608 ac_status=$?
51609 grep -v '^ *+' conftest.er1 >conftest.err
51610 rm -f conftest.er1
51611 cat conftest.err >&5
51612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613 (exit $ac_status); } &&
51614 { ac_try='test -z "$ac_cxx_werror_flag"
51615 || test ! -s conftest.err'
51616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51617 (eval $ac_try) 2>&5
51618 ac_status=$?
51619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51620 (exit $ac_status); }; } &&
51621 { ac_try='test -s conftest.$ac_objext'
51622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51623 (eval $ac_try) 2>&5
51624 ac_status=$?
51625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51626 (exit $ac_status); }; }; then
51627 glibcxx_cv_func_strtold_use=yes
51628 else
51629 echo "$as_me: failed program was:" >&5
51630 sed 's/^/| /' conftest.$ac_ext >&5
51632 glibcxx_cv_func_strtold_use=no
51634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51635 ac_ext=c
51636 ac_cpp='$CPP $CPPFLAGS'
51637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51646 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51647 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51649 for ac_func in strtold
51651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51652 echo "$as_me:$LINENO: checking for $ac_func" >&5
51653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51654 if eval "test \"\${$as_ac_var+set}\" = set"; then
51655 echo $ECHO_N "(cached) $ECHO_C" >&6
51656 else
51657 if test x$gcc_no_link = xyes; then
51658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51660 { (exit 1); exit 1; }; }
51662 cat >conftest.$ac_ext <<_ACEOF
51663 /* confdefs.h. */
51664 _ACEOF
51665 cat confdefs.h >>conftest.$ac_ext
51666 cat >>conftest.$ac_ext <<_ACEOF
51667 /* end confdefs.h. */
51668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51670 #define $ac_func innocuous_$ac_func
51672 /* System header to define __stub macros and hopefully few prototypes,
51673 which can conflict with char $ac_func (); below.
51674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51675 <limits.h> exists even on freestanding compilers. */
51677 #ifdef __STDC__
51678 # include <limits.h>
51679 #else
51680 # include <assert.h>
51681 #endif
51683 #undef $ac_func
51685 /* Override any gcc2 internal prototype to avoid an error. */
51686 #ifdef __cplusplus
51687 extern "C"
51689 #endif
51690 /* We use char because int might match the return type of a gcc2
51691 builtin and then its argument prototype would still apply. */
51692 char $ac_func ();
51693 /* The GNU C library defines this for functions which it implements
51694 to always fail with ENOSYS. Some functions are actually named
51695 something starting with __ and the normal name is an alias. */
51696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51697 choke me
51698 #else
51699 char (*f) () = $ac_func;
51700 #endif
51701 #ifdef __cplusplus
51703 #endif
51706 main ()
51708 return f != $ac_func;
51710 return 0;
51712 _ACEOF
51713 rm -f conftest.$ac_objext conftest$ac_exeext
51714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51715 (eval $ac_link) 2>conftest.er1
51716 ac_status=$?
51717 grep -v '^ *+' conftest.er1 >conftest.err
51718 rm -f conftest.er1
51719 cat conftest.err >&5
51720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51721 (exit $ac_status); } &&
51722 { ac_try='test -z "$ac_c_werror_flag"
51723 || test ! -s conftest.err'
51724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51725 (eval $ac_try) 2>&5
51726 ac_status=$?
51727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51728 (exit $ac_status); }; } &&
51729 { ac_try='test -s conftest$ac_exeext'
51730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51731 (eval $ac_try) 2>&5
51732 ac_status=$?
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); }; }; then
51735 eval "$as_ac_var=yes"
51736 else
51737 echo "$as_me: failed program was:" >&5
51738 sed 's/^/| /' conftest.$ac_ext >&5
51740 eval "$as_ac_var=no"
51742 rm -f conftest.err conftest.$ac_objext \
51743 conftest$ac_exeext conftest.$ac_ext
51745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51747 if test `eval echo '${'$as_ac_var'}'` = yes; then
51748 cat >>confdefs.h <<_ACEOF
51749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51750 _ACEOF
51753 done
51761 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51762 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51763 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51764 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51765 echo $ECHO_N "(cached) $ECHO_C" >&6
51766 else
51770 ac_ext=cc
51771 ac_cpp='$CXXCPP $CPPFLAGS'
51772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51776 cat >conftest.$ac_ext <<_ACEOF
51777 /* confdefs.h. */
51778 _ACEOF
51779 cat confdefs.h >>conftest.$ac_ext
51780 cat >>conftest.$ac_ext <<_ACEOF
51781 /* end confdefs.h. */
51782 #include <stdlib.h>
51784 main ()
51786 strtof(0, 0);
51788 return 0;
51790 _ACEOF
51791 rm -f conftest.$ac_objext
51792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51793 (eval $ac_compile) 2>conftest.er1
51794 ac_status=$?
51795 grep -v '^ *+' conftest.er1 >conftest.err
51796 rm -f conftest.er1
51797 cat conftest.err >&5
51798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51799 (exit $ac_status); } &&
51800 { ac_try='test -z "$ac_cxx_werror_flag"
51801 || test ! -s conftest.err'
51802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51803 (eval $ac_try) 2>&5
51804 ac_status=$?
51805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51806 (exit $ac_status); }; } &&
51807 { ac_try='test -s conftest.$ac_objext'
51808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51809 (eval $ac_try) 2>&5
51810 ac_status=$?
51811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51812 (exit $ac_status); }; }; then
51813 glibcxx_cv_func_strtof_use=yes
51814 else
51815 echo "$as_me: failed program was:" >&5
51816 sed 's/^/| /' conftest.$ac_ext >&5
51818 glibcxx_cv_func_strtof_use=no
51820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51821 ac_ext=c
51822 ac_cpp='$CPP $CPPFLAGS'
51823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51832 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51833 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51835 for ac_func in strtof
51837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51838 echo "$as_me:$LINENO: checking for $ac_func" >&5
51839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51840 if eval "test \"\${$as_ac_var+set}\" = set"; then
51841 echo $ECHO_N "(cached) $ECHO_C" >&6
51842 else
51843 if test x$gcc_no_link = xyes; then
51844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51846 { (exit 1); exit 1; }; }
51848 cat >conftest.$ac_ext <<_ACEOF
51849 /* confdefs.h. */
51850 _ACEOF
51851 cat confdefs.h >>conftest.$ac_ext
51852 cat >>conftest.$ac_ext <<_ACEOF
51853 /* end confdefs.h. */
51854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51856 #define $ac_func innocuous_$ac_func
51858 /* System header to define __stub macros and hopefully few prototypes,
51859 which can conflict with char $ac_func (); below.
51860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51861 <limits.h> exists even on freestanding compilers. */
51863 #ifdef __STDC__
51864 # include <limits.h>
51865 #else
51866 # include <assert.h>
51867 #endif
51869 #undef $ac_func
51871 /* Override any gcc2 internal prototype to avoid an error. */
51872 #ifdef __cplusplus
51873 extern "C"
51875 #endif
51876 /* We use char because int might match the return type of a gcc2
51877 builtin and then its argument prototype would still apply. */
51878 char $ac_func ();
51879 /* The GNU C library defines this for functions which it implements
51880 to always fail with ENOSYS. Some functions are actually named
51881 something starting with __ and the normal name is an alias. */
51882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51883 choke me
51884 #else
51885 char (*f) () = $ac_func;
51886 #endif
51887 #ifdef __cplusplus
51889 #endif
51892 main ()
51894 return f != $ac_func;
51896 return 0;
51898 _ACEOF
51899 rm -f conftest.$ac_objext conftest$ac_exeext
51900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51901 (eval $ac_link) 2>conftest.er1
51902 ac_status=$?
51903 grep -v '^ *+' conftest.er1 >conftest.err
51904 rm -f conftest.er1
51905 cat conftest.err >&5
51906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51907 (exit $ac_status); } &&
51908 { ac_try='test -z "$ac_c_werror_flag"
51909 || test ! -s conftest.err'
51910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51911 (eval $ac_try) 2>&5
51912 ac_status=$?
51913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51914 (exit $ac_status); }; } &&
51915 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51921 eval "$as_ac_var=yes"
51922 else
51923 echo "$as_me: failed program was:" >&5
51924 sed 's/^/| /' conftest.$ac_ext >&5
51926 eval "$as_ac_var=no"
51928 rm -f conftest.err conftest.$ac_objext \
51929 conftest$ac_exeext conftest.$ac_ext
51931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51933 if test `eval echo '${'$as_ac_var'}'` = yes; then
51934 cat >>confdefs.h <<_ACEOF
51935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51936 _ACEOF
51939 done
51947 CXXFLAGS="$ac_save_CXXFLAGS"
51950 # For showmanyc_helper().
51953 for ac_header in sys/ioctl.h sys/filio.h
51955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51957 echo "$as_me:$LINENO: checking for $ac_header" >&5
51958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51960 echo $ECHO_N "(cached) $ECHO_C" >&6
51962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51964 else
51965 # Is the header compilable?
51966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51968 cat >conftest.$ac_ext <<_ACEOF
51969 /* confdefs.h. */
51970 _ACEOF
51971 cat confdefs.h >>conftest.$ac_ext
51972 cat >>conftest.$ac_ext <<_ACEOF
51973 /* end confdefs.h. */
51974 $ac_includes_default
51975 #include <$ac_header>
51976 _ACEOF
51977 rm -f conftest.$ac_objext
51978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51979 (eval $ac_compile) 2>conftest.er1
51980 ac_status=$?
51981 grep -v '^ *+' conftest.er1 >conftest.err
51982 rm -f conftest.er1
51983 cat conftest.err >&5
51984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51985 (exit $ac_status); } &&
51986 { ac_try='test -z "$ac_c_werror_flag"
51987 || test ! -s conftest.err'
51988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51989 (eval $ac_try) 2>&5
51990 ac_status=$?
51991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51992 (exit $ac_status); }; } &&
51993 { ac_try='test -s conftest.$ac_objext'
51994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51995 (eval $ac_try) 2>&5
51996 ac_status=$?
51997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51998 (exit $ac_status); }; }; then
51999 ac_header_compiler=yes
52000 else
52001 echo "$as_me: failed program was:" >&5
52002 sed 's/^/| /' conftest.$ac_ext >&5
52004 ac_header_compiler=no
52006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52008 echo "${ECHO_T}$ac_header_compiler" >&6
52010 # Is the header present?
52011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52013 cat >conftest.$ac_ext <<_ACEOF
52014 /* confdefs.h. */
52015 _ACEOF
52016 cat confdefs.h >>conftest.$ac_ext
52017 cat >>conftest.$ac_ext <<_ACEOF
52018 /* end confdefs.h. */
52019 #include <$ac_header>
52020 _ACEOF
52021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52023 ac_status=$?
52024 grep -v '^ *+' conftest.er1 >conftest.err
52025 rm -f conftest.er1
52026 cat conftest.err >&5
52027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52028 (exit $ac_status); } >/dev/null; then
52029 if test -s conftest.err; then
52030 ac_cpp_err=$ac_c_preproc_warn_flag
52031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52032 else
52033 ac_cpp_err=
52035 else
52036 ac_cpp_err=yes
52038 if test -z "$ac_cpp_err"; then
52039 ac_header_preproc=yes
52040 else
52041 echo "$as_me: failed program was:" >&5
52042 sed 's/^/| /' conftest.$ac_ext >&5
52044 ac_header_preproc=no
52046 rm -f conftest.err conftest.$ac_ext
52047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52048 echo "${ECHO_T}$ac_header_preproc" >&6
52050 # So? What about this header?
52051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52052 yes:no: )
52053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52057 ac_header_preproc=yes
52059 no:yes:* )
52060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52073 cat <<\_ASBOX
52074 ## ----------------------------------------- ##
52075 ## Report this to the package-unused lists. ##
52076 ## ----------------------------------------- ##
52077 _ASBOX
52079 sed "s/^/$as_me: WARNING: /" >&2
52081 esac
52082 echo "$as_me:$LINENO: checking for $ac_header" >&5
52083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52085 echo $ECHO_N "(cached) $ECHO_C" >&6
52086 else
52087 eval "$as_ac_Header=\$ac_header_preproc"
52089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52094 cat >>confdefs.h <<_ACEOF
52095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52096 _ACEOF
52100 done
52103 echo "$as_me:$LINENO: checking for poll" >&5
52104 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52105 if test "${glibcxx_cv_POLL+set}" = set; then
52106 echo $ECHO_N "(cached) $ECHO_C" >&6
52107 else
52109 if test x$gcc_no_link = xyes; then
52110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52112 { (exit 1); exit 1; }; }
52114 cat >conftest.$ac_ext <<_ACEOF
52115 /* confdefs.h. */
52116 _ACEOF
52117 cat confdefs.h >>conftest.$ac_ext
52118 cat >>conftest.$ac_ext <<_ACEOF
52119 /* end confdefs.h. */
52120 #include <poll.h>
52122 main ()
52124 struct pollfd pfd[1];
52125 pfd[0].events = POLLIN;
52126 poll(pfd, 1, 0);
52128 return 0;
52130 _ACEOF
52131 rm -f conftest.$ac_objext conftest$ac_exeext
52132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52133 (eval $ac_link) 2>conftest.er1
52134 ac_status=$?
52135 grep -v '^ *+' conftest.er1 >conftest.err
52136 rm -f conftest.er1
52137 cat conftest.err >&5
52138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139 (exit $ac_status); } &&
52140 { ac_try='test -z "$ac_c_werror_flag"
52141 || test ! -s conftest.err'
52142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52143 (eval $ac_try) 2>&5
52144 ac_status=$?
52145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52146 (exit $ac_status); }; } &&
52147 { ac_try='test -s conftest$ac_exeext'
52148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52149 (eval $ac_try) 2>&5
52150 ac_status=$?
52151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52152 (exit $ac_status); }; }; then
52153 glibcxx_cv_POLL=yes
52154 else
52155 echo "$as_me: failed program was:" >&5
52156 sed 's/^/| /' conftest.$ac_ext >&5
52158 glibcxx_cv_POLL=no
52160 rm -f conftest.err conftest.$ac_objext \
52161 conftest$ac_exeext conftest.$ac_ext
52165 if test $glibcxx_cv_POLL = yes; then
52167 cat >>confdefs.h <<\_ACEOF
52168 #define HAVE_POLL 1
52169 _ACEOF
52172 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52173 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52176 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52177 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52178 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52179 echo $ECHO_N "(cached) $ECHO_C" >&6
52180 else
52182 if test x$gcc_no_link = xyes; then
52183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52185 { (exit 1); exit 1; }; }
52187 cat >conftest.$ac_ext <<_ACEOF
52188 /* confdefs.h. */
52189 _ACEOF
52190 cat confdefs.h >>conftest.$ac_ext
52191 cat >>conftest.$ac_ext <<_ACEOF
52192 /* end confdefs.h. */
52193 #include <sys/stat.h>
52195 main ()
52197 struct stat buffer;
52198 fstat(0, &buffer);
52199 S_ISREG(buffer.st_mode);
52201 return 0;
52203 _ACEOF
52204 rm -f conftest.$ac_objext conftest$ac_exeext
52205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52206 (eval $ac_link) 2>conftest.er1
52207 ac_status=$?
52208 grep -v '^ *+' conftest.er1 >conftest.err
52209 rm -f conftest.er1
52210 cat conftest.err >&5
52211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52212 (exit $ac_status); } &&
52213 { ac_try='test -z "$ac_c_werror_flag"
52214 || test ! -s conftest.err'
52215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52216 (eval $ac_try) 2>&5
52217 ac_status=$?
52218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52219 (exit $ac_status); }; } &&
52220 { ac_try='test -s conftest$ac_exeext'
52221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52222 (eval $ac_try) 2>&5
52223 ac_status=$?
52224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52225 (exit $ac_status); }; }; then
52226 glibcxx_cv_S_ISREG=yes
52227 else
52228 echo "$as_me: failed program was:" >&5
52229 sed 's/^/| /' conftest.$ac_ext >&5
52231 glibcxx_cv_S_ISREG=no
52233 rm -f conftest.err conftest.$ac_objext \
52234 conftest$ac_exeext conftest.$ac_ext
52238 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52239 echo $ECHO_N "(cached) $ECHO_C" >&6
52240 else
52242 if test x$gcc_no_link = xyes; then
52243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52245 { (exit 1); exit 1; }; }
52247 cat >conftest.$ac_ext <<_ACEOF
52248 /* confdefs.h. */
52249 _ACEOF
52250 cat confdefs.h >>conftest.$ac_ext
52251 cat >>conftest.$ac_ext <<_ACEOF
52252 /* end confdefs.h. */
52253 #include <sys/stat.h>
52255 main ()
52257 struct stat buffer;
52258 fstat(0, &buffer);
52259 S_IFREG & buffer.st_mode;
52261 return 0;
52263 _ACEOF
52264 rm -f conftest.$ac_objext conftest$ac_exeext
52265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52266 (eval $ac_link) 2>conftest.er1
52267 ac_status=$?
52268 grep -v '^ *+' conftest.er1 >conftest.err
52269 rm -f conftest.er1
52270 cat conftest.err >&5
52271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52272 (exit $ac_status); } &&
52273 { ac_try='test -z "$ac_c_werror_flag"
52274 || test ! -s conftest.err'
52275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52276 (eval $ac_try) 2>&5
52277 ac_status=$?
52278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52279 (exit $ac_status); }; } &&
52280 { ac_try='test -s conftest$ac_exeext'
52281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52282 (eval $ac_try) 2>&5
52283 ac_status=$?
52284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285 (exit $ac_status); }; }; then
52286 glibcxx_cv_S_IFREG=yes
52287 else
52288 echo "$as_me: failed program was:" >&5
52289 sed 's/^/| /' conftest.$ac_ext >&5
52291 glibcxx_cv_S_IFREG=no
52293 rm -f conftest.err conftest.$ac_objext \
52294 conftest$ac_exeext conftest.$ac_ext
52298 res=no
52299 if test $glibcxx_cv_S_ISREG = yes; then
52301 cat >>confdefs.h <<\_ACEOF
52302 #define HAVE_S_ISREG 1
52303 _ACEOF
52305 res=S_ISREG
52306 elif test $glibcxx_cv_S_IFREG = yes; then
52308 cat >>confdefs.h <<\_ACEOF
52309 #define HAVE_S_IFREG 1
52310 _ACEOF
52312 res=S_IFREG
52314 echo "$as_me:$LINENO: result: $res" >&5
52315 echo "${ECHO_T}$res" >&6
52318 # For xsputn_2().
52320 for ac_header in sys/uio.h
52322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52324 echo "$as_me:$LINENO: checking for $ac_header" >&5
52325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52327 echo $ECHO_N "(cached) $ECHO_C" >&6
52329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52331 else
52332 # Is the header compilable?
52333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52335 cat >conftest.$ac_ext <<_ACEOF
52336 /* confdefs.h. */
52337 _ACEOF
52338 cat confdefs.h >>conftest.$ac_ext
52339 cat >>conftest.$ac_ext <<_ACEOF
52340 /* end confdefs.h. */
52341 $ac_includes_default
52342 #include <$ac_header>
52343 _ACEOF
52344 rm -f conftest.$ac_objext
52345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52346 (eval $ac_compile) 2>conftest.er1
52347 ac_status=$?
52348 grep -v '^ *+' conftest.er1 >conftest.err
52349 rm -f conftest.er1
52350 cat conftest.err >&5
52351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52352 (exit $ac_status); } &&
52353 { ac_try='test -z "$ac_c_werror_flag"
52354 || test ! -s conftest.err'
52355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52356 (eval $ac_try) 2>&5
52357 ac_status=$?
52358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52359 (exit $ac_status); }; } &&
52360 { ac_try='test -s conftest.$ac_objext'
52361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52362 (eval $ac_try) 2>&5
52363 ac_status=$?
52364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52365 (exit $ac_status); }; }; then
52366 ac_header_compiler=yes
52367 else
52368 echo "$as_me: failed program was:" >&5
52369 sed 's/^/| /' conftest.$ac_ext >&5
52371 ac_header_compiler=no
52373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52375 echo "${ECHO_T}$ac_header_compiler" >&6
52377 # Is the header present?
52378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52380 cat >conftest.$ac_ext <<_ACEOF
52381 /* confdefs.h. */
52382 _ACEOF
52383 cat confdefs.h >>conftest.$ac_ext
52384 cat >>conftest.$ac_ext <<_ACEOF
52385 /* end confdefs.h. */
52386 #include <$ac_header>
52387 _ACEOF
52388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52390 ac_status=$?
52391 grep -v '^ *+' conftest.er1 >conftest.err
52392 rm -f conftest.er1
52393 cat conftest.err >&5
52394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52395 (exit $ac_status); } >/dev/null; then
52396 if test -s conftest.err; then
52397 ac_cpp_err=$ac_c_preproc_warn_flag
52398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52399 else
52400 ac_cpp_err=
52402 else
52403 ac_cpp_err=yes
52405 if test -z "$ac_cpp_err"; then
52406 ac_header_preproc=yes
52407 else
52408 echo "$as_me: failed program was:" >&5
52409 sed 's/^/| /' conftest.$ac_ext >&5
52411 ac_header_preproc=no
52413 rm -f conftest.err conftest.$ac_ext
52414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52415 echo "${ECHO_T}$ac_header_preproc" >&6
52417 # So? What about this header?
52418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52419 yes:no: )
52420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52424 ac_header_preproc=yes
52426 no:yes:* )
52427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52440 cat <<\_ASBOX
52441 ## ----------------------------------------- ##
52442 ## Report this to the package-unused lists. ##
52443 ## ----------------------------------------- ##
52444 _ASBOX
52446 sed "s/^/$as_me: WARNING: /" >&2
52448 esac
52449 echo "$as_me:$LINENO: checking for $ac_header" >&5
52450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52453 else
52454 eval "$as_ac_Header=\$ac_header_preproc"
52456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52461 cat >>confdefs.h <<_ACEOF
52462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52463 _ACEOF
52467 done
52470 echo "$as_me:$LINENO: checking for writev" >&5
52471 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52472 if test "${glibcxx_cv_WRITEV+set}" = set; then
52473 echo $ECHO_N "(cached) $ECHO_C" >&6
52474 else
52476 if test x$gcc_no_link = xyes; then
52477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52479 { (exit 1); exit 1; }; }
52481 cat >conftest.$ac_ext <<_ACEOF
52482 /* confdefs.h. */
52483 _ACEOF
52484 cat confdefs.h >>conftest.$ac_ext
52485 cat >>conftest.$ac_ext <<_ACEOF
52486 /* end confdefs.h. */
52487 #include <sys/uio.h>
52489 main ()
52491 struct iovec iov[2];
52492 writev(0, iov, 0);
52494 return 0;
52496 _ACEOF
52497 rm -f conftest.$ac_objext conftest$ac_exeext
52498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52499 (eval $ac_link) 2>conftest.er1
52500 ac_status=$?
52501 grep -v '^ *+' conftest.er1 >conftest.err
52502 rm -f conftest.er1
52503 cat conftest.err >&5
52504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505 (exit $ac_status); } &&
52506 { ac_try='test -z "$ac_c_werror_flag"
52507 || test ! -s conftest.err'
52508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52509 (eval $ac_try) 2>&5
52510 ac_status=$?
52511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52512 (exit $ac_status); }; } &&
52513 { ac_try='test -s conftest$ac_exeext'
52514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52515 (eval $ac_try) 2>&5
52516 ac_status=$?
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); }; }; then
52519 glibcxx_cv_WRITEV=yes
52520 else
52521 echo "$as_me: failed program was:" >&5
52522 sed 's/^/| /' conftest.$ac_ext >&5
52524 glibcxx_cv_WRITEV=no
52526 rm -f conftest.err conftest.$ac_objext \
52527 conftest$ac_exeext conftest.$ac_ext
52531 if test $glibcxx_cv_WRITEV = yes; then
52533 cat >>confdefs.h <<\_ACEOF
52534 #define HAVE_WRITEV 1
52535 _ACEOF
52538 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52539 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52542 cat >>confdefs.h <<\_ACEOF
52543 #define HAVE_LC_MESSAGES 1
52544 _ACEOF
52547 cat >conftest.$ac_ext <<_ACEOF
52548 /* confdefs.h. */
52549 _ACEOF
52550 cat confdefs.h >>conftest.$ac_ext
52551 cat >>conftest.$ac_ext <<_ACEOF
52552 /* end confdefs.h. */
52553 #include <setjmp.h>
52555 main ()
52557 sigjmp_buf env;
52558 while (! sigsetjmp (env, 1))
52559 siglongjmp (env, 1);
52562 return 0;
52564 _ACEOF
52565 rm -f conftest.$ac_objext
52566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52567 (eval $ac_compile) 2>conftest.er1
52568 ac_status=$?
52569 grep -v '^ *+' conftest.er1 >conftest.err
52570 rm -f conftest.er1
52571 cat conftest.err >&5
52572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573 (exit $ac_status); } &&
52574 { ac_try='test -z "$ac_c_werror_flag"
52575 || test ! -s conftest.err'
52576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52577 (eval $ac_try) 2>&5
52578 ac_status=$?
52579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52580 (exit $ac_status); }; } &&
52581 { ac_try='test -s conftest.$ac_objext'
52582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52583 (eval $ac_try) 2>&5
52584 ac_status=$?
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); }; }; then
52588 cat >>confdefs.h <<\_ACEOF
52589 #define HAVE_SIGSETJMP 1
52590 _ACEOF
52592 else
52593 echo "$as_me: failed program was:" >&5
52594 sed 's/^/| /' conftest.$ac_ext >&5
52597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52599 cat >>confdefs.h <<\_ACEOF
52600 #define HAVE_MMAP 1
52601 _ACEOF
52605 *djgpp)
52626 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52627 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52628 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52629 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52633 echo "$as_me:$LINENO: checking for $ac_header" >&5
52634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52636 echo $ECHO_N "(cached) $ECHO_C" >&6
52638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52640 else
52641 # Is the header compilable?
52642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52644 cat >conftest.$ac_ext <<_ACEOF
52645 /* confdefs.h. */
52646 _ACEOF
52647 cat confdefs.h >>conftest.$ac_ext
52648 cat >>conftest.$ac_ext <<_ACEOF
52649 /* end confdefs.h. */
52650 $ac_includes_default
52651 #include <$ac_header>
52652 _ACEOF
52653 rm -f conftest.$ac_objext
52654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52655 (eval $ac_compile) 2>conftest.er1
52656 ac_status=$?
52657 grep -v '^ *+' conftest.er1 >conftest.err
52658 rm -f conftest.er1
52659 cat conftest.err >&5
52660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52661 (exit $ac_status); } &&
52662 { ac_try='test -z "$ac_c_werror_flag"
52663 || test ! -s conftest.err'
52664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52665 (eval $ac_try) 2>&5
52666 ac_status=$?
52667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52668 (exit $ac_status); }; } &&
52669 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
52675 ac_header_compiler=yes
52676 else
52677 echo "$as_me: failed program was:" >&5
52678 sed 's/^/| /' conftest.$ac_ext >&5
52680 ac_header_compiler=no
52682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52684 echo "${ECHO_T}$ac_header_compiler" >&6
52686 # Is the header present?
52687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52689 cat >conftest.$ac_ext <<_ACEOF
52690 /* confdefs.h. */
52691 _ACEOF
52692 cat confdefs.h >>conftest.$ac_ext
52693 cat >>conftest.$ac_ext <<_ACEOF
52694 /* end confdefs.h. */
52695 #include <$ac_header>
52696 _ACEOF
52697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52699 ac_status=$?
52700 grep -v '^ *+' conftest.er1 >conftest.err
52701 rm -f conftest.er1
52702 cat conftest.err >&5
52703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52704 (exit $ac_status); } >/dev/null; then
52705 if test -s conftest.err; then
52706 ac_cpp_err=$ac_c_preproc_warn_flag
52707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52708 else
52709 ac_cpp_err=
52711 else
52712 ac_cpp_err=yes
52714 if test -z "$ac_cpp_err"; then
52715 ac_header_preproc=yes
52716 else
52717 echo "$as_me: failed program was:" >&5
52718 sed 's/^/| /' conftest.$ac_ext >&5
52720 ac_header_preproc=no
52722 rm -f conftest.err conftest.$ac_ext
52723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52724 echo "${ECHO_T}$ac_header_preproc" >&6
52726 # So? What about this header?
52727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52728 yes:no: )
52729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52733 ac_header_preproc=yes
52735 no:yes:* )
52736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52749 cat <<\_ASBOX
52750 ## ----------------------------------------- ##
52751 ## Report this to the package-unused lists. ##
52752 ## ----------------------------------------- ##
52753 _ASBOX
52755 sed "s/^/$as_me: WARNING: /" >&2
52757 esac
52758 echo "$as_me:$LINENO: checking for $ac_header" >&5
52759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52761 echo $ECHO_N "(cached) $ECHO_C" >&6
52762 else
52763 eval "$as_ac_Header=\$ac_header_preproc"
52765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52770 cat >>confdefs.h <<_ACEOF
52771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52772 _ACEOF
52776 done
52779 # All these tests are for C++; save the language and the compiler flags.
52780 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52781 # found in GLIBCXX_CONFIGURE.
52784 ac_ext=cc
52785 ac_cpp='$CXXCPP $CPPFLAGS'
52786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52790 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52791 ac_save_CXXFLAGS="$CXXFLAGS"
52793 # Check for maintainer-mode bits.
52794 if test x"$USE_MAINTAINER_MODE" = xno; then
52795 WERROR=''
52796 else
52797 WERROR='-Werror'
52800 # Check for -ffunction-sections -fdata-sections
52801 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52802 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52803 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52804 cat >conftest.$ac_ext <<_ACEOF
52805 /* confdefs.h. */
52806 _ACEOF
52807 cat confdefs.h >>conftest.$ac_ext
52808 cat >>conftest.$ac_ext <<_ACEOF
52809 /* end confdefs.h. */
52812 main ()
52814 int foo;
52816 return 0;
52818 _ACEOF
52819 rm -f conftest.$ac_objext
52820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52821 (eval $ac_compile) 2>conftest.er1
52822 ac_status=$?
52823 grep -v '^ *+' conftest.er1 >conftest.err
52824 rm -f conftest.er1
52825 cat conftest.err >&5
52826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52827 (exit $ac_status); } &&
52828 { ac_try='test -z "$ac_cxx_werror_flag"
52829 || test ! -s conftest.err'
52830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52831 (eval $ac_try) 2>&5
52832 ac_status=$?
52833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52834 (exit $ac_status); }; } &&
52835 { ac_try='test -s conftest.$ac_objext'
52836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52837 (eval $ac_try) 2>&5
52838 ac_status=$?
52839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52840 (exit $ac_status); }; }; then
52841 ac_fdsections=yes
52842 else
52843 echo "$as_me: failed program was:" >&5
52844 sed 's/^/| /' conftest.$ac_ext >&5
52846 ac_fdsections=no
52848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52849 if test "$ac_test_CXXFLAGS" = set; then
52850 CXXFLAGS="$ac_save_CXXFLAGS"
52851 else
52852 # this is the suspicious part
52853 CXXFLAGS=''
52855 if test x"$ac_fdsections" = x"yes"; then
52856 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52858 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52859 echo "${ECHO_T}$ac_fdsections" >&6
52861 ac_ext=c
52862 ac_cpp='$CPP $CPPFLAGS'
52863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52871 # If we're not using GNU ld, then there's no point in even trying these
52872 # tests. Check for that first. We should have already tested for gld
52873 # by now (in libtool), but require it now just to be safe...
52874 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52875 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52879 # The name set by libtool depends on the version of libtool. Shame on us
52880 # for depending on an impl detail, but c'est la vie. Older versions used
52881 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52882 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52883 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52884 # set (hence we're using an older libtool), then set it.
52885 if test x${with_gnu_ld+set} != xset; then
52886 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52887 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52888 with_gnu_ld=no
52889 else
52890 with_gnu_ld=$ac_cv_prog_gnu_ld
52894 # Start by getting the version number. I think the libtool test already
52895 # does some of this, but throws away the result.
52897 ldver=`$LD --version 2>/dev/null | head -1 | \
52898 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52900 glibcxx_gnu_ld_version=`echo $ldver | \
52901 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52903 # Set --gc-sections.
52904 if test "$with_gnu_ld" = "notbroken"; then
52905 # GNU ld it is! Joy and bunny rabbits!
52907 # All these tests are for C++; save the language and the compiler flags.
52908 # Need to do this so that g++ won't try to link in libstdc++
52909 ac_test_CFLAGS="${CFLAGS+set}"
52910 ac_save_CFLAGS="$CFLAGS"
52911 CFLAGS='-x c++ -Wl,--gc-sections'
52913 # Check for -Wl,--gc-sections
52914 # XXX This test is broken at the moment, as symbols required for linking
52915 # are now in libsupc++ (not built yet). In addition, this test has
52916 # cored on solaris in the past. In addition, --gc-sections doesn't
52917 # really work at the moment (keeps on discarding used sections, first
52918 # .eh_frame and now some of the glibc sections for iconv).
52919 # Bzzzzt. Thanks for playing, maybe next time.
52920 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52921 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52922 if test "$cross_compiling" = yes; then
52923 ac_sectionLDflags=yes
52924 else
52925 cat >conftest.$ac_ext <<_ACEOF
52926 /* confdefs.h. */
52927 _ACEOF
52928 cat confdefs.h >>conftest.$ac_ext
52929 cat >>conftest.$ac_ext <<_ACEOF
52930 /* end confdefs.h. */
52932 int main(void)
52934 try { throw 1; }
52935 catch (...) { };
52936 return 0;
52939 _ACEOF
52940 rm -f conftest$ac_exeext
52941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52942 (eval $ac_link) 2>&5
52943 ac_status=$?
52944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52947 (eval $ac_try) 2>&5
52948 ac_status=$?
52949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52950 (exit $ac_status); }; }; then
52951 ac_sectionLDflags=yes
52952 else
52953 echo "$as_me: program exited with status $ac_status" >&5
52954 echo "$as_me: failed program was:" >&5
52955 sed 's/^/| /' conftest.$ac_ext >&5
52957 ( exit $ac_status )
52958 ac_sectionLDflags=no
52960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52962 if test "$ac_test_CFLAGS" = set; then
52963 CFLAGS="$ac_save_CFLAGS"
52964 else
52965 # this is the suspicious part
52966 CFLAGS=''
52968 if test "$ac_sectionLDflags" = "yes"; then
52969 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52971 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52972 echo "${ECHO_T}$ac_sectionLDflags" >&6
52975 # Set linker optimization flags.
52976 if test x"$with_gnu_ld" = x"yes"; then
52977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52985 ac_save_CXXFLAGS="$CXXFLAGS"
52986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52988 echo "$as_me:$LINENO: checking for sin in -lm" >&5
52989 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52990 if test "${ac_cv_lib_m_sin+set}" = set; then
52991 echo $ECHO_N "(cached) $ECHO_C" >&6
52992 else
52993 ac_check_lib_save_LIBS=$LIBS
52994 LIBS="-lm $LIBS"
52995 if test x$gcc_no_link = xyes; then
52996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52998 { (exit 1); exit 1; }; }
53000 cat >conftest.$ac_ext <<_ACEOF
53001 /* confdefs.h. */
53002 _ACEOF
53003 cat confdefs.h >>conftest.$ac_ext
53004 cat >>conftest.$ac_ext <<_ACEOF
53005 /* end confdefs.h. */
53007 /* Override any gcc2 internal prototype to avoid an error. */
53008 #ifdef __cplusplus
53009 extern "C"
53010 #endif
53011 /* We use char because int might match the return type of a gcc2
53012 builtin and then its argument prototype would still apply. */
53013 char sin ();
53015 main ()
53017 sin ();
53019 return 0;
53021 _ACEOF
53022 rm -f conftest.$ac_objext conftest$ac_exeext
53023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53024 (eval $ac_link) 2>conftest.er1
53025 ac_status=$?
53026 grep -v '^ *+' conftest.er1 >conftest.err
53027 rm -f conftest.er1
53028 cat conftest.err >&5
53029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53030 (exit $ac_status); } &&
53031 { ac_try='test -z "$ac_c_werror_flag"
53032 || test ! -s conftest.err'
53033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53034 (eval $ac_try) 2>&5
53035 ac_status=$?
53036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53037 (exit $ac_status); }; } &&
53038 { ac_try='test -s conftest$ac_exeext'
53039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53040 (eval $ac_try) 2>&5
53041 ac_status=$?
53042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53043 (exit $ac_status); }; }; then
53044 ac_cv_lib_m_sin=yes
53045 else
53046 echo "$as_me: failed program was:" >&5
53047 sed 's/^/| /' conftest.$ac_ext >&5
53049 ac_cv_lib_m_sin=no
53051 rm -f conftest.err conftest.$ac_objext \
53052 conftest$ac_exeext conftest.$ac_ext
53053 LIBS=$ac_check_lib_save_LIBS
53055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53056 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53057 if test $ac_cv_lib_m_sin = yes; then
53058 libm="-lm"
53061 ac_save_LIBS="$LIBS"
53062 LIBS="$LIBS $libm"
53066 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53067 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53068 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53069 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53070 echo $ECHO_N "(cached) $ECHO_C" >&6
53071 else
53075 ac_ext=cc
53076 ac_cpp='$CXXCPP $CPPFLAGS'
53077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53081 cat >conftest.$ac_ext <<_ACEOF
53082 /* confdefs.h. */
53083 _ACEOF
53084 cat confdefs.h >>conftest.$ac_ext
53085 cat >>conftest.$ac_ext <<_ACEOF
53086 /* end confdefs.h. */
53087 #include <math.h>
53088 #ifdef HAVE_IEEEFP_H
53089 #include <ieeefp.h>
53090 #endif
53093 main ()
53095 isinf(0);
53097 return 0;
53099 _ACEOF
53100 rm -f conftest.$ac_objext
53101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53102 (eval $ac_compile) 2>conftest.er1
53103 ac_status=$?
53104 grep -v '^ *+' conftest.er1 >conftest.err
53105 rm -f conftest.er1
53106 cat conftest.err >&5
53107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53108 (exit $ac_status); } &&
53109 { ac_try='test -z "$ac_cxx_werror_flag"
53110 || test ! -s conftest.err'
53111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53112 (eval $ac_try) 2>&5
53113 ac_status=$?
53114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53115 (exit $ac_status); }; } &&
53116 { ac_try='test -s conftest.$ac_objext'
53117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53118 (eval $ac_try) 2>&5
53119 ac_status=$?
53120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53121 (exit $ac_status); }; }; then
53122 glibcxx_cv_func_isinf_use=yes
53123 else
53124 echo "$as_me: failed program was:" >&5
53125 sed 's/^/| /' conftest.$ac_ext >&5
53127 glibcxx_cv_func_isinf_use=no
53129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53141 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53143 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53145 for ac_func in isinf
53147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53148 echo "$as_me:$LINENO: checking for $ac_func" >&5
53149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53150 if eval "test \"\${$as_ac_var+set}\" = set"; then
53151 echo $ECHO_N "(cached) $ECHO_C" >&6
53152 else
53153 if test x$gcc_no_link = xyes; then
53154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53156 { (exit 1); exit 1; }; }
53158 cat >conftest.$ac_ext <<_ACEOF
53159 /* confdefs.h. */
53160 _ACEOF
53161 cat confdefs.h >>conftest.$ac_ext
53162 cat >>conftest.$ac_ext <<_ACEOF
53163 /* end confdefs.h. */
53164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53166 #define $ac_func innocuous_$ac_func
53168 /* System header to define __stub macros and hopefully few prototypes,
53169 which can conflict with char $ac_func (); below.
53170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53171 <limits.h> exists even on freestanding compilers. */
53173 #ifdef __STDC__
53174 # include <limits.h>
53175 #else
53176 # include <assert.h>
53177 #endif
53179 #undef $ac_func
53181 /* Override any gcc2 internal prototype to avoid an error. */
53182 #ifdef __cplusplus
53183 extern "C"
53185 #endif
53186 /* We use char because int might match the return type of a gcc2
53187 builtin and then its argument prototype would still apply. */
53188 char $ac_func ();
53189 /* The GNU C library defines this for functions which it implements
53190 to always fail with ENOSYS. Some functions are actually named
53191 something starting with __ and the normal name is an alias. */
53192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53193 choke me
53194 #else
53195 char (*f) () = $ac_func;
53196 #endif
53197 #ifdef __cplusplus
53199 #endif
53202 main ()
53204 return f != $ac_func;
53206 return 0;
53208 _ACEOF
53209 rm -f conftest.$ac_objext conftest$ac_exeext
53210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53211 (eval $ac_link) 2>conftest.er1
53212 ac_status=$?
53213 grep -v '^ *+' conftest.er1 >conftest.err
53214 rm -f conftest.er1
53215 cat conftest.err >&5
53216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53217 (exit $ac_status); } &&
53218 { ac_try='test -z "$ac_c_werror_flag"
53219 || test ! -s conftest.err'
53220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53221 (eval $ac_try) 2>&5
53222 ac_status=$?
53223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53224 (exit $ac_status); }; } &&
53225 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
53231 eval "$as_ac_var=yes"
53232 else
53233 echo "$as_me: failed program was:" >&5
53234 sed 's/^/| /' conftest.$ac_ext >&5
53236 eval "$as_ac_var=no"
53238 rm -f conftest.err conftest.$ac_objext \
53239 conftest$ac_exeext conftest.$ac_ext
53241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53243 if test `eval echo '${'$as_ac_var'}'` = yes; then
53244 cat >>confdefs.h <<_ACEOF
53245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53246 _ACEOF
53249 done
53251 else
53253 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53254 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53255 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53256 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53257 echo $ECHO_N "(cached) $ECHO_C" >&6
53258 else
53262 ac_ext=cc
53263 ac_cpp='$CXXCPP $CPPFLAGS'
53264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53268 cat >conftest.$ac_ext <<_ACEOF
53269 /* confdefs.h. */
53270 _ACEOF
53271 cat confdefs.h >>conftest.$ac_ext
53272 cat >>conftest.$ac_ext <<_ACEOF
53273 /* end confdefs.h. */
53274 #include <math.h>
53275 #ifdef HAVE_IEEEFP_H
53276 #include <ieeefp.h>
53277 #endif
53280 main ()
53282 _isinf(0);
53284 return 0;
53286 _ACEOF
53287 rm -f conftest.$ac_objext
53288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53289 (eval $ac_compile) 2>conftest.er1
53290 ac_status=$?
53291 grep -v '^ *+' conftest.er1 >conftest.err
53292 rm -f conftest.er1
53293 cat conftest.err >&5
53294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53295 (exit $ac_status); } &&
53296 { ac_try='test -z "$ac_cxx_werror_flag"
53297 || test ! -s conftest.err'
53298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53299 (eval $ac_try) 2>&5
53300 ac_status=$?
53301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302 (exit $ac_status); }; } &&
53303 { ac_try='test -s conftest.$ac_objext'
53304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53305 (eval $ac_try) 2>&5
53306 ac_status=$?
53307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53308 (exit $ac_status); }; }; then
53309 glibcxx_cv_func__isinf_use=yes
53310 else
53311 echo "$as_me: failed program was:" >&5
53312 sed 's/^/| /' conftest.$ac_ext >&5
53314 glibcxx_cv_func__isinf_use=no
53316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53317 ac_ext=c
53318 ac_cpp='$CPP $CPPFLAGS'
53319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53328 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53330 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53332 for ac_func in _isinf
53334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53335 echo "$as_me:$LINENO: checking for $ac_func" >&5
53336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53337 if eval "test \"\${$as_ac_var+set}\" = set"; then
53338 echo $ECHO_N "(cached) $ECHO_C" >&6
53339 else
53340 if test x$gcc_no_link = xyes; then
53341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53343 { (exit 1); exit 1; }; }
53345 cat >conftest.$ac_ext <<_ACEOF
53346 /* confdefs.h. */
53347 _ACEOF
53348 cat confdefs.h >>conftest.$ac_ext
53349 cat >>conftest.$ac_ext <<_ACEOF
53350 /* end confdefs.h. */
53351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53353 #define $ac_func innocuous_$ac_func
53355 /* System header to define __stub macros and hopefully few prototypes,
53356 which can conflict with char $ac_func (); below.
53357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53358 <limits.h> exists even on freestanding compilers. */
53360 #ifdef __STDC__
53361 # include <limits.h>
53362 #else
53363 # include <assert.h>
53364 #endif
53366 #undef $ac_func
53368 /* Override any gcc2 internal prototype to avoid an error. */
53369 #ifdef __cplusplus
53370 extern "C"
53372 #endif
53373 /* We use char because int might match the return type of a gcc2
53374 builtin and then its argument prototype would still apply. */
53375 char $ac_func ();
53376 /* The GNU C library defines this for functions which it implements
53377 to always fail with ENOSYS. Some functions are actually named
53378 something starting with __ and the normal name is an alias. */
53379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53380 choke me
53381 #else
53382 char (*f) () = $ac_func;
53383 #endif
53384 #ifdef __cplusplus
53386 #endif
53389 main ()
53391 return f != $ac_func;
53393 return 0;
53395 _ACEOF
53396 rm -f conftest.$ac_objext conftest$ac_exeext
53397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53398 (eval $ac_link) 2>conftest.er1
53399 ac_status=$?
53400 grep -v '^ *+' conftest.er1 >conftest.err
53401 rm -f conftest.er1
53402 cat conftest.err >&5
53403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53404 (exit $ac_status); } &&
53405 { ac_try='test -z "$ac_c_werror_flag"
53406 || test ! -s conftest.err'
53407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53408 (eval $ac_try) 2>&5
53409 ac_status=$?
53410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53411 (exit $ac_status); }; } &&
53412 { ac_try='test -s conftest$ac_exeext'
53413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53414 (eval $ac_try) 2>&5
53415 ac_status=$?
53416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53417 (exit $ac_status); }; }; then
53418 eval "$as_ac_var=yes"
53419 else
53420 echo "$as_me: failed program was:" >&5
53421 sed 's/^/| /' conftest.$ac_ext >&5
53423 eval "$as_ac_var=no"
53425 rm -f conftest.err conftest.$ac_objext \
53426 conftest$ac_exeext conftest.$ac_ext
53428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53430 if test `eval echo '${'$as_ac_var'}'` = yes; then
53431 cat >>confdefs.h <<_ACEOF
53432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53433 _ACEOF
53436 done
53446 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53447 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53448 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53449 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53450 echo $ECHO_N "(cached) $ECHO_C" >&6
53451 else
53455 ac_ext=cc
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53461 cat >conftest.$ac_ext <<_ACEOF
53462 /* confdefs.h. */
53463 _ACEOF
53464 cat confdefs.h >>conftest.$ac_ext
53465 cat >>conftest.$ac_ext <<_ACEOF
53466 /* end confdefs.h. */
53467 #include <math.h>
53468 #ifdef HAVE_IEEEFP_H
53469 #include <ieeefp.h>
53470 #endif
53473 main ()
53475 isnan(0);
53477 return 0;
53479 _ACEOF
53480 rm -f conftest.$ac_objext
53481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53482 (eval $ac_compile) 2>conftest.er1
53483 ac_status=$?
53484 grep -v '^ *+' conftest.er1 >conftest.err
53485 rm -f conftest.er1
53486 cat conftest.err >&5
53487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53488 (exit $ac_status); } &&
53489 { ac_try='test -z "$ac_cxx_werror_flag"
53490 || test ! -s conftest.err'
53491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53492 (eval $ac_try) 2>&5
53493 ac_status=$?
53494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53495 (exit $ac_status); }; } &&
53496 { ac_try='test -s conftest.$ac_objext'
53497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53498 (eval $ac_try) 2>&5
53499 ac_status=$?
53500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53501 (exit $ac_status); }; }; then
53502 glibcxx_cv_func_isnan_use=yes
53503 else
53504 echo "$as_me: failed program was:" >&5
53505 sed 's/^/| /' conftest.$ac_ext >&5
53507 glibcxx_cv_func_isnan_use=no
53509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53510 ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53521 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53523 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53525 for ac_func in isnan
53527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53528 echo "$as_me:$LINENO: checking for $ac_func" >&5
53529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53530 if eval "test \"\${$as_ac_var+set}\" = set"; then
53531 echo $ECHO_N "(cached) $ECHO_C" >&6
53532 else
53533 if test x$gcc_no_link = xyes; then
53534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53536 { (exit 1); exit 1; }; }
53538 cat >conftest.$ac_ext <<_ACEOF
53539 /* confdefs.h. */
53540 _ACEOF
53541 cat confdefs.h >>conftest.$ac_ext
53542 cat >>conftest.$ac_ext <<_ACEOF
53543 /* end confdefs.h. */
53544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53546 #define $ac_func innocuous_$ac_func
53548 /* System header to define __stub macros and hopefully few prototypes,
53549 which can conflict with char $ac_func (); below.
53550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53551 <limits.h> exists even on freestanding compilers. */
53553 #ifdef __STDC__
53554 # include <limits.h>
53555 #else
53556 # include <assert.h>
53557 #endif
53559 #undef $ac_func
53561 /* Override any gcc2 internal prototype to avoid an error. */
53562 #ifdef __cplusplus
53563 extern "C"
53565 #endif
53566 /* We use char because int might match the return type of a gcc2
53567 builtin and then its argument prototype would still apply. */
53568 char $ac_func ();
53569 /* The GNU C library defines this for functions which it implements
53570 to always fail with ENOSYS. Some functions are actually named
53571 something starting with __ and the normal name is an alias. */
53572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53573 choke me
53574 #else
53575 char (*f) () = $ac_func;
53576 #endif
53577 #ifdef __cplusplus
53579 #endif
53582 main ()
53584 return f != $ac_func;
53586 return 0;
53588 _ACEOF
53589 rm -f conftest.$ac_objext conftest$ac_exeext
53590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53591 (eval $ac_link) 2>conftest.er1
53592 ac_status=$?
53593 grep -v '^ *+' conftest.er1 >conftest.err
53594 rm -f conftest.er1
53595 cat conftest.err >&5
53596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53597 (exit $ac_status); } &&
53598 { ac_try='test -z "$ac_c_werror_flag"
53599 || test ! -s conftest.err'
53600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53601 (eval $ac_try) 2>&5
53602 ac_status=$?
53603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53604 (exit $ac_status); }; } &&
53605 { ac_try='test -s conftest$ac_exeext'
53606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53607 (eval $ac_try) 2>&5
53608 ac_status=$?
53609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53610 (exit $ac_status); }; }; then
53611 eval "$as_ac_var=yes"
53612 else
53613 echo "$as_me: failed program was:" >&5
53614 sed 's/^/| /' conftest.$ac_ext >&5
53616 eval "$as_ac_var=no"
53618 rm -f conftest.err conftest.$ac_objext \
53619 conftest$ac_exeext conftest.$ac_ext
53621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53623 if test `eval echo '${'$as_ac_var'}'` = yes; then
53624 cat >>confdefs.h <<_ACEOF
53625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53626 _ACEOF
53629 done
53631 else
53633 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53634 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53635 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53636 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53637 echo $ECHO_N "(cached) $ECHO_C" >&6
53638 else
53642 ac_ext=cc
53643 ac_cpp='$CXXCPP $CPPFLAGS'
53644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53648 cat >conftest.$ac_ext <<_ACEOF
53649 /* confdefs.h. */
53650 _ACEOF
53651 cat confdefs.h >>conftest.$ac_ext
53652 cat >>conftest.$ac_ext <<_ACEOF
53653 /* end confdefs.h. */
53654 #include <math.h>
53655 #ifdef HAVE_IEEEFP_H
53656 #include <ieeefp.h>
53657 #endif
53660 main ()
53662 _isnan(0);
53664 return 0;
53666 _ACEOF
53667 rm -f conftest.$ac_objext
53668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53669 (eval $ac_compile) 2>conftest.er1
53670 ac_status=$?
53671 grep -v '^ *+' conftest.er1 >conftest.err
53672 rm -f conftest.er1
53673 cat conftest.err >&5
53674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53675 (exit $ac_status); } &&
53676 { ac_try='test -z "$ac_cxx_werror_flag"
53677 || test ! -s conftest.err'
53678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53679 (eval $ac_try) 2>&5
53680 ac_status=$?
53681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53682 (exit $ac_status); }; } &&
53683 { ac_try='test -s conftest.$ac_objext'
53684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53685 (eval $ac_try) 2>&5
53686 ac_status=$?
53687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53688 (exit $ac_status); }; }; then
53689 glibcxx_cv_func__isnan_use=yes
53690 else
53691 echo "$as_me: failed program was:" >&5
53692 sed 's/^/| /' conftest.$ac_ext >&5
53694 glibcxx_cv_func__isnan_use=no
53696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53697 ac_ext=c
53698 ac_cpp='$CPP $CPPFLAGS'
53699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53708 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53710 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53712 for ac_func in _isnan
53714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53715 echo "$as_me:$LINENO: checking for $ac_func" >&5
53716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53717 if eval "test \"\${$as_ac_var+set}\" = set"; then
53718 echo $ECHO_N "(cached) $ECHO_C" >&6
53719 else
53720 if test x$gcc_no_link = xyes; then
53721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53723 { (exit 1); exit 1; }; }
53725 cat >conftest.$ac_ext <<_ACEOF
53726 /* confdefs.h. */
53727 _ACEOF
53728 cat confdefs.h >>conftest.$ac_ext
53729 cat >>conftest.$ac_ext <<_ACEOF
53730 /* end confdefs.h. */
53731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53733 #define $ac_func innocuous_$ac_func
53735 /* System header to define __stub macros and hopefully few prototypes,
53736 which can conflict with char $ac_func (); below.
53737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53738 <limits.h> exists even on freestanding compilers. */
53740 #ifdef __STDC__
53741 # include <limits.h>
53742 #else
53743 # include <assert.h>
53744 #endif
53746 #undef $ac_func
53748 /* Override any gcc2 internal prototype to avoid an error. */
53749 #ifdef __cplusplus
53750 extern "C"
53752 #endif
53753 /* We use char because int might match the return type of a gcc2
53754 builtin and then its argument prototype would still apply. */
53755 char $ac_func ();
53756 /* The GNU C library defines this for functions which it implements
53757 to always fail with ENOSYS. Some functions are actually named
53758 something starting with __ and the normal name is an alias. */
53759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53760 choke me
53761 #else
53762 char (*f) () = $ac_func;
53763 #endif
53764 #ifdef __cplusplus
53766 #endif
53769 main ()
53771 return f != $ac_func;
53773 return 0;
53775 _ACEOF
53776 rm -f conftest.$ac_objext conftest$ac_exeext
53777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53778 (eval $ac_link) 2>conftest.er1
53779 ac_status=$?
53780 grep -v '^ *+' conftest.er1 >conftest.err
53781 rm -f conftest.er1
53782 cat conftest.err >&5
53783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53784 (exit $ac_status); } &&
53785 { ac_try='test -z "$ac_c_werror_flag"
53786 || test ! -s conftest.err'
53787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53788 (eval $ac_try) 2>&5
53789 ac_status=$?
53790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53791 (exit $ac_status); }; } &&
53792 { ac_try='test -s conftest$ac_exeext'
53793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53794 (eval $ac_try) 2>&5
53795 ac_status=$?
53796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53797 (exit $ac_status); }; }; then
53798 eval "$as_ac_var=yes"
53799 else
53800 echo "$as_me: failed program was:" >&5
53801 sed 's/^/| /' conftest.$ac_ext >&5
53803 eval "$as_ac_var=no"
53805 rm -f conftest.err conftest.$ac_objext \
53806 conftest$ac_exeext conftest.$ac_ext
53808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53810 if test `eval echo '${'$as_ac_var'}'` = yes; then
53811 cat >>confdefs.h <<_ACEOF
53812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53813 _ACEOF
53816 done
53826 echo "$as_me:$LINENO: checking for finite declaration" >&5
53827 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53828 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53829 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53830 echo $ECHO_N "(cached) $ECHO_C" >&6
53831 else
53835 ac_ext=cc
53836 ac_cpp='$CXXCPP $CPPFLAGS'
53837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53841 cat >conftest.$ac_ext <<_ACEOF
53842 /* confdefs.h. */
53843 _ACEOF
53844 cat confdefs.h >>conftest.$ac_ext
53845 cat >>conftest.$ac_ext <<_ACEOF
53846 /* end confdefs.h. */
53847 #include <math.h>
53848 #ifdef HAVE_IEEEFP_H
53849 #include <ieeefp.h>
53850 #endif
53853 main ()
53855 finite(0);
53857 return 0;
53859 _ACEOF
53860 rm -f conftest.$ac_objext
53861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53862 (eval $ac_compile) 2>conftest.er1
53863 ac_status=$?
53864 grep -v '^ *+' conftest.er1 >conftest.err
53865 rm -f conftest.er1
53866 cat conftest.err >&5
53867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53868 (exit $ac_status); } &&
53869 { ac_try='test -z "$ac_cxx_werror_flag"
53870 || test ! -s conftest.err'
53871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53872 (eval $ac_try) 2>&5
53873 ac_status=$?
53874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875 (exit $ac_status); }; } &&
53876 { ac_try='test -s conftest.$ac_objext'
53877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53878 (eval $ac_try) 2>&5
53879 ac_status=$?
53880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53881 (exit $ac_status); }; }; then
53882 glibcxx_cv_func_finite_use=yes
53883 else
53884 echo "$as_me: failed program was:" >&5
53885 sed 's/^/| /' conftest.$ac_ext >&5
53887 glibcxx_cv_func_finite_use=no
53889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53890 ac_ext=c
53891 ac_cpp='$CPP $CPPFLAGS'
53892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53901 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53903 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53905 for ac_func in finite
53907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53908 echo "$as_me:$LINENO: checking for $ac_func" >&5
53909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53910 if eval "test \"\${$as_ac_var+set}\" = set"; then
53911 echo $ECHO_N "(cached) $ECHO_C" >&6
53912 else
53913 if test x$gcc_no_link = xyes; then
53914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53916 { (exit 1); exit 1; }; }
53918 cat >conftest.$ac_ext <<_ACEOF
53919 /* confdefs.h. */
53920 _ACEOF
53921 cat confdefs.h >>conftest.$ac_ext
53922 cat >>conftest.$ac_ext <<_ACEOF
53923 /* end confdefs.h. */
53924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53926 #define $ac_func innocuous_$ac_func
53928 /* System header to define __stub macros and hopefully few prototypes,
53929 which can conflict with char $ac_func (); below.
53930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53931 <limits.h> exists even on freestanding compilers. */
53933 #ifdef __STDC__
53934 # include <limits.h>
53935 #else
53936 # include <assert.h>
53937 #endif
53939 #undef $ac_func
53941 /* Override any gcc2 internal prototype to avoid an error. */
53942 #ifdef __cplusplus
53943 extern "C"
53945 #endif
53946 /* We use char because int might match the return type of a gcc2
53947 builtin and then its argument prototype would still apply. */
53948 char $ac_func ();
53949 /* The GNU C library defines this for functions which it implements
53950 to always fail with ENOSYS. Some functions are actually named
53951 something starting with __ and the normal name is an alias. */
53952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53953 choke me
53954 #else
53955 char (*f) () = $ac_func;
53956 #endif
53957 #ifdef __cplusplus
53959 #endif
53962 main ()
53964 return f != $ac_func;
53966 return 0;
53968 _ACEOF
53969 rm -f conftest.$ac_objext conftest$ac_exeext
53970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53971 (eval $ac_link) 2>conftest.er1
53972 ac_status=$?
53973 grep -v '^ *+' conftest.er1 >conftest.err
53974 rm -f conftest.er1
53975 cat conftest.err >&5
53976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53977 (exit $ac_status); } &&
53978 { ac_try='test -z "$ac_c_werror_flag"
53979 || test ! -s conftest.err'
53980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53981 (eval $ac_try) 2>&5
53982 ac_status=$?
53983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53984 (exit $ac_status); }; } &&
53985 { ac_try='test -s conftest$ac_exeext'
53986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53987 (eval $ac_try) 2>&5
53988 ac_status=$?
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); }; }; then
53991 eval "$as_ac_var=yes"
53992 else
53993 echo "$as_me: failed program was:" >&5
53994 sed 's/^/| /' conftest.$ac_ext >&5
53996 eval "$as_ac_var=no"
53998 rm -f conftest.err conftest.$ac_objext \
53999 conftest$ac_exeext conftest.$ac_ext
54001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54003 if test `eval echo '${'$as_ac_var'}'` = yes; then
54004 cat >>confdefs.h <<_ACEOF
54005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54006 _ACEOF
54009 done
54011 else
54013 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54014 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54015 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54016 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54017 echo $ECHO_N "(cached) $ECHO_C" >&6
54018 else
54022 ac_ext=cc
54023 ac_cpp='$CXXCPP $CPPFLAGS'
54024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54028 cat >conftest.$ac_ext <<_ACEOF
54029 /* confdefs.h. */
54030 _ACEOF
54031 cat confdefs.h >>conftest.$ac_ext
54032 cat >>conftest.$ac_ext <<_ACEOF
54033 /* end confdefs.h. */
54034 #include <math.h>
54035 #ifdef HAVE_IEEEFP_H
54036 #include <ieeefp.h>
54037 #endif
54040 main ()
54042 _finite(0);
54044 return 0;
54046 _ACEOF
54047 rm -f conftest.$ac_objext
54048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54049 (eval $ac_compile) 2>conftest.er1
54050 ac_status=$?
54051 grep -v '^ *+' conftest.er1 >conftest.err
54052 rm -f conftest.er1
54053 cat conftest.err >&5
54054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54055 (exit $ac_status); } &&
54056 { ac_try='test -z "$ac_cxx_werror_flag"
54057 || test ! -s conftest.err'
54058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54059 (eval $ac_try) 2>&5
54060 ac_status=$?
54061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54062 (exit $ac_status); }; } &&
54063 { ac_try='test -s conftest.$ac_objext'
54064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54065 (eval $ac_try) 2>&5
54066 ac_status=$?
54067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54068 (exit $ac_status); }; }; then
54069 glibcxx_cv_func__finite_use=yes
54070 else
54071 echo "$as_me: failed program was:" >&5
54072 sed 's/^/| /' conftest.$ac_ext >&5
54074 glibcxx_cv_func__finite_use=no
54076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54077 ac_ext=c
54078 ac_cpp='$CPP $CPPFLAGS'
54079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54088 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54090 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54092 for ac_func in _finite
54094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54095 echo "$as_me:$LINENO: checking for $ac_func" >&5
54096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54097 if eval "test \"\${$as_ac_var+set}\" = set"; then
54098 echo $ECHO_N "(cached) $ECHO_C" >&6
54099 else
54100 if test x$gcc_no_link = xyes; then
54101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54103 { (exit 1); exit 1; }; }
54105 cat >conftest.$ac_ext <<_ACEOF
54106 /* confdefs.h. */
54107 _ACEOF
54108 cat confdefs.h >>conftest.$ac_ext
54109 cat >>conftest.$ac_ext <<_ACEOF
54110 /* end confdefs.h. */
54111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54113 #define $ac_func innocuous_$ac_func
54115 /* System header to define __stub macros and hopefully few prototypes,
54116 which can conflict with char $ac_func (); below.
54117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54118 <limits.h> exists even on freestanding compilers. */
54120 #ifdef __STDC__
54121 # include <limits.h>
54122 #else
54123 # include <assert.h>
54124 #endif
54126 #undef $ac_func
54128 /* Override any gcc2 internal prototype to avoid an error. */
54129 #ifdef __cplusplus
54130 extern "C"
54132 #endif
54133 /* We use char because int might match the return type of a gcc2
54134 builtin and then its argument prototype would still apply. */
54135 char $ac_func ();
54136 /* The GNU C library defines this for functions which it implements
54137 to always fail with ENOSYS. Some functions are actually named
54138 something starting with __ and the normal name is an alias. */
54139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54140 choke me
54141 #else
54142 char (*f) () = $ac_func;
54143 #endif
54144 #ifdef __cplusplus
54146 #endif
54149 main ()
54151 return f != $ac_func;
54153 return 0;
54155 _ACEOF
54156 rm -f conftest.$ac_objext conftest$ac_exeext
54157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54158 (eval $ac_link) 2>conftest.er1
54159 ac_status=$?
54160 grep -v '^ *+' conftest.er1 >conftest.err
54161 rm -f conftest.er1
54162 cat conftest.err >&5
54163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54164 (exit $ac_status); } &&
54165 { ac_try='test -z "$ac_c_werror_flag"
54166 || test ! -s conftest.err'
54167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54168 (eval $ac_try) 2>&5
54169 ac_status=$?
54170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54171 (exit $ac_status); }; } &&
54172 { ac_try='test -s conftest$ac_exeext'
54173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54174 (eval $ac_try) 2>&5
54175 ac_status=$?
54176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54177 (exit $ac_status); }; }; then
54178 eval "$as_ac_var=yes"
54179 else
54180 echo "$as_me: failed program was:" >&5
54181 sed 's/^/| /' conftest.$ac_ext >&5
54183 eval "$as_ac_var=no"
54185 rm -f conftest.err conftest.$ac_objext \
54186 conftest$ac_exeext conftest.$ac_ext
54188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54190 if test `eval echo '${'$as_ac_var'}'` = yes; then
54191 cat >>confdefs.h <<_ACEOF
54192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54193 _ACEOF
54196 done
54206 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54207 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54208 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54209 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54210 echo $ECHO_N "(cached) $ECHO_C" >&6
54211 else
54215 ac_ext=cc
54216 ac_cpp='$CXXCPP $CPPFLAGS'
54217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54221 cat >conftest.$ac_ext <<_ACEOF
54222 /* confdefs.h. */
54223 _ACEOF
54224 cat confdefs.h >>conftest.$ac_ext
54225 cat >>conftest.$ac_ext <<_ACEOF
54226 /* end confdefs.h. */
54227 #include <math.h>
54229 main ()
54231 copysign(0, 0);
54233 return 0;
54235 _ACEOF
54236 rm -f conftest.$ac_objext
54237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54238 (eval $ac_compile) 2>conftest.er1
54239 ac_status=$?
54240 grep -v '^ *+' conftest.er1 >conftest.err
54241 rm -f conftest.er1
54242 cat conftest.err >&5
54243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54244 (exit $ac_status); } &&
54245 { ac_try='test -z "$ac_cxx_werror_flag"
54246 || test ! -s conftest.err'
54247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54248 (eval $ac_try) 2>&5
54249 ac_status=$?
54250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54251 (exit $ac_status); }; } &&
54252 { ac_try='test -s conftest.$ac_objext'
54253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54254 (eval $ac_try) 2>&5
54255 ac_status=$?
54256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54257 (exit $ac_status); }; }; then
54258 glibcxx_cv_func_copysign_use=yes
54259 else
54260 echo "$as_me: failed program was:" >&5
54261 sed 's/^/| /' conftest.$ac_ext >&5
54263 glibcxx_cv_func_copysign_use=no
54265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54266 ac_ext=c
54267 ac_cpp='$CPP $CPPFLAGS'
54268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54277 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54279 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54281 for ac_func in copysign
54283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54284 echo "$as_me:$LINENO: checking for $ac_func" >&5
54285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54286 if eval "test \"\${$as_ac_var+set}\" = set"; then
54287 echo $ECHO_N "(cached) $ECHO_C" >&6
54288 else
54289 if test x$gcc_no_link = xyes; then
54290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54292 { (exit 1); exit 1; }; }
54294 cat >conftest.$ac_ext <<_ACEOF
54295 /* confdefs.h. */
54296 _ACEOF
54297 cat confdefs.h >>conftest.$ac_ext
54298 cat >>conftest.$ac_ext <<_ACEOF
54299 /* end confdefs.h. */
54300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54302 #define $ac_func innocuous_$ac_func
54304 /* System header to define __stub macros and hopefully few prototypes,
54305 which can conflict with char $ac_func (); below.
54306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54307 <limits.h> exists even on freestanding compilers. */
54309 #ifdef __STDC__
54310 # include <limits.h>
54311 #else
54312 # include <assert.h>
54313 #endif
54315 #undef $ac_func
54317 /* Override any gcc2 internal prototype to avoid an error. */
54318 #ifdef __cplusplus
54319 extern "C"
54321 #endif
54322 /* We use char because int might match the return type of a gcc2
54323 builtin and then its argument prototype would still apply. */
54324 char $ac_func ();
54325 /* The GNU C library defines this for functions which it implements
54326 to always fail with ENOSYS. Some functions are actually named
54327 something starting with __ and the normal name is an alias. */
54328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54329 choke me
54330 #else
54331 char (*f) () = $ac_func;
54332 #endif
54333 #ifdef __cplusplus
54335 #endif
54338 main ()
54340 return f != $ac_func;
54342 return 0;
54344 _ACEOF
54345 rm -f conftest.$ac_objext conftest$ac_exeext
54346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54347 (eval $ac_link) 2>conftest.er1
54348 ac_status=$?
54349 grep -v '^ *+' conftest.er1 >conftest.err
54350 rm -f conftest.er1
54351 cat conftest.err >&5
54352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54353 (exit $ac_status); } &&
54354 { ac_try='test -z "$ac_c_werror_flag"
54355 || test ! -s conftest.err'
54356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54357 (eval $ac_try) 2>&5
54358 ac_status=$?
54359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54360 (exit $ac_status); }; } &&
54361 { ac_try='test -s conftest$ac_exeext'
54362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54363 (eval $ac_try) 2>&5
54364 ac_status=$?
54365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54366 (exit $ac_status); }; }; then
54367 eval "$as_ac_var=yes"
54368 else
54369 echo "$as_me: failed program was:" >&5
54370 sed 's/^/| /' conftest.$ac_ext >&5
54372 eval "$as_ac_var=no"
54374 rm -f conftest.err conftest.$ac_objext \
54375 conftest$ac_exeext conftest.$ac_ext
54377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54379 if test `eval echo '${'$as_ac_var'}'` = yes; then
54380 cat >>confdefs.h <<_ACEOF
54381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54382 _ACEOF
54385 done
54387 else
54389 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54390 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54391 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54392 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54393 echo $ECHO_N "(cached) $ECHO_C" >&6
54394 else
54398 ac_ext=cc
54399 ac_cpp='$CXXCPP $CPPFLAGS'
54400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54404 cat >conftest.$ac_ext <<_ACEOF
54405 /* confdefs.h. */
54406 _ACEOF
54407 cat confdefs.h >>conftest.$ac_ext
54408 cat >>conftest.$ac_ext <<_ACEOF
54409 /* end confdefs.h. */
54410 #include <math.h>
54412 main ()
54414 _copysign(0, 0);
54416 return 0;
54418 _ACEOF
54419 rm -f conftest.$ac_objext
54420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54421 (eval $ac_compile) 2>conftest.er1
54422 ac_status=$?
54423 grep -v '^ *+' conftest.er1 >conftest.err
54424 rm -f conftest.er1
54425 cat conftest.err >&5
54426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54427 (exit $ac_status); } &&
54428 { ac_try='test -z "$ac_cxx_werror_flag"
54429 || test ! -s conftest.err'
54430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54431 (eval $ac_try) 2>&5
54432 ac_status=$?
54433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54434 (exit $ac_status); }; } &&
54435 { ac_try='test -s conftest.$ac_objext'
54436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54437 (eval $ac_try) 2>&5
54438 ac_status=$?
54439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54440 (exit $ac_status); }; }; then
54441 glibcxx_cv_func__copysign_use=yes
54442 else
54443 echo "$as_me: failed program was:" >&5
54444 sed 's/^/| /' conftest.$ac_ext >&5
54446 glibcxx_cv_func__copysign_use=no
54448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54449 ac_ext=c
54450 ac_cpp='$CPP $CPPFLAGS'
54451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54460 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54462 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54464 for ac_func in _copysign
54466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54467 echo "$as_me:$LINENO: checking for $ac_func" >&5
54468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54469 if eval "test \"\${$as_ac_var+set}\" = set"; then
54470 echo $ECHO_N "(cached) $ECHO_C" >&6
54471 else
54472 if test x$gcc_no_link = xyes; then
54473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54475 { (exit 1); exit 1; }; }
54477 cat >conftest.$ac_ext <<_ACEOF
54478 /* confdefs.h. */
54479 _ACEOF
54480 cat confdefs.h >>conftest.$ac_ext
54481 cat >>conftest.$ac_ext <<_ACEOF
54482 /* end confdefs.h. */
54483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54485 #define $ac_func innocuous_$ac_func
54487 /* System header to define __stub macros and hopefully few prototypes,
54488 which can conflict with char $ac_func (); below.
54489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54490 <limits.h> exists even on freestanding compilers. */
54492 #ifdef __STDC__
54493 # include <limits.h>
54494 #else
54495 # include <assert.h>
54496 #endif
54498 #undef $ac_func
54500 /* Override any gcc2 internal prototype to avoid an error. */
54501 #ifdef __cplusplus
54502 extern "C"
54504 #endif
54505 /* We use char because int might match the return type of a gcc2
54506 builtin and then its argument prototype would still apply. */
54507 char $ac_func ();
54508 /* The GNU C library defines this for functions which it implements
54509 to always fail with ENOSYS. Some functions are actually named
54510 something starting with __ and the normal name is an alias. */
54511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54512 choke me
54513 #else
54514 char (*f) () = $ac_func;
54515 #endif
54516 #ifdef __cplusplus
54518 #endif
54521 main ()
54523 return f != $ac_func;
54525 return 0;
54527 _ACEOF
54528 rm -f conftest.$ac_objext conftest$ac_exeext
54529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54530 (eval $ac_link) 2>conftest.er1
54531 ac_status=$?
54532 grep -v '^ *+' conftest.er1 >conftest.err
54533 rm -f conftest.er1
54534 cat conftest.err >&5
54535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536 (exit $ac_status); } &&
54537 { ac_try='test -z "$ac_c_werror_flag"
54538 || test ! -s conftest.err'
54539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54540 (eval $ac_try) 2>&5
54541 ac_status=$?
54542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54543 (exit $ac_status); }; } &&
54544 { ac_try='test -s conftest$ac_exeext'
54545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54546 (eval $ac_try) 2>&5
54547 ac_status=$?
54548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54549 (exit $ac_status); }; }; then
54550 eval "$as_ac_var=yes"
54551 else
54552 echo "$as_me: failed program was:" >&5
54553 sed 's/^/| /' conftest.$ac_ext >&5
54555 eval "$as_ac_var=no"
54557 rm -f conftest.err conftest.$ac_objext \
54558 conftest$ac_exeext conftest.$ac_ext
54560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54562 if test `eval echo '${'$as_ac_var'}'` = yes; then
54563 cat >>confdefs.h <<_ACEOF
54564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54565 _ACEOF
54568 done
54578 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54579 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54580 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54581 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54582 echo $ECHO_N "(cached) $ECHO_C" >&6
54583 else
54587 ac_ext=cc
54588 ac_cpp='$CXXCPP $CPPFLAGS'
54589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54593 cat >conftest.$ac_ext <<_ACEOF
54594 /* confdefs.h. */
54595 _ACEOF
54596 cat confdefs.h >>conftest.$ac_ext
54597 cat >>conftest.$ac_ext <<_ACEOF
54598 /* end confdefs.h. */
54599 #include <math.h>
54601 main ()
54603 sincos(0, 0, 0);
54605 return 0;
54607 _ACEOF
54608 rm -f conftest.$ac_objext
54609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54610 (eval $ac_compile) 2>conftest.er1
54611 ac_status=$?
54612 grep -v '^ *+' conftest.er1 >conftest.err
54613 rm -f conftest.er1
54614 cat conftest.err >&5
54615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54616 (exit $ac_status); } &&
54617 { ac_try='test -z "$ac_cxx_werror_flag"
54618 || test ! -s conftest.err'
54619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54620 (eval $ac_try) 2>&5
54621 ac_status=$?
54622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54623 (exit $ac_status); }; } &&
54624 { ac_try='test -s conftest.$ac_objext'
54625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54626 (eval $ac_try) 2>&5
54627 ac_status=$?
54628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54629 (exit $ac_status); }; }; then
54630 glibcxx_cv_func_sincos_use=yes
54631 else
54632 echo "$as_me: failed program was:" >&5
54633 sed 's/^/| /' conftest.$ac_ext >&5
54635 glibcxx_cv_func_sincos_use=no
54637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54638 ac_ext=c
54639 ac_cpp='$CPP $CPPFLAGS'
54640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54649 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54651 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54653 for ac_func in sincos
54655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54656 echo "$as_me:$LINENO: checking for $ac_func" >&5
54657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54658 if eval "test \"\${$as_ac_var+set}\" = set"; then
54659 echo $ECHO_N "(cached) $ECHO_C" >&6
54660 else
54661 if test x$gcc_no_link = xyes; then
54662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54664 { (exit 1); exit 1; }; }
54666 cat >conftest.$ac_ext <<_ACEOF
54667 /* confdefs.h. */
54668 _ACEOF
54669 cat confdefs.h >>conftest.$ac_ext
54670 cat >>conftest.$ac_ext <<_ACEOF
54671 /* end confdefs.h. */
54672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54674 #define $ac_func innocuous_$ac_func
54676 /* System header to define __stub macros and hopefully few prototypes,
54677 which can conflict with char $ac_func (); below.
54678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54679 <limits.h> exists even on freestanding compilers. */
54681 #ifdef __STDC__
54682 # include <limits.h>
54683 #else
54684 # include <assert.h>
54685 #endif
54687 #undef $ac_func
54689 /* Override any gcc2 internal prototype to avoid an error. */
54690 #ifdef __cplusplus
54691 extern "C"
54693 #endif
54694 /* We use char because int might match the return type of a gcc2
54695 builtin and then its argument prototype would still apply. */
54696 char $ac_func ();
54697 /* The GNU C library defines this for functions which it implements
54698 to always fail with ENOSYS. Some functions are actually named
54699 something starting with __ and the normal name is an alias. */
54700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54701 choke me
54702 #else
54703 char (*f) () = $ac_func;
54704 #endif
54705 #ifdef __cplusplus
54707 #endif
54710 main ()
54712 return f != $ac_func;
54714 return 0;
54716 _ACEOF
54717 rm -f conftest.$ac_objext conftest$ac_exeext
54718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54719 (eval $ac_link) 2>conftest.er1
54720 ac_status=$?
54721 grep -v '^ *+' conftest.er1 >conftest.err
54722 rm -f conftest.er1
54723 cat conftest.err >&5
54724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54725 (exit $ac_status); } &&
54726 { ac_try='test -z "$ac_c_werror_flag"
54727 || test ! -s conftest.err'
54728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54729 (eval $ac_try) 2>&5
54730 ac_status=$?
54731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732 (exit $ac_status); }; } &&
54733 { ac_try='test -s conftest$ac_exeext'
54734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54735 (eval $ac_try) 2>&5
54736 ac_status=$?
54737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54738 (exit $ac_status); }; }; then
54739 eval "$as_ac_var=yes"
54740 else
54741 echo "$as_me: failed program was:" >&5
54742 sed 's/^/| /' conftest.$ac_ext >&5
54744 eval "$as_ac_var=no"
54746 rm -f conftest.err conftest.$ac_objext \
54747 conftest$ac_exeext conftest.$ac_ext
54749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54751 if test `eval echo '${'$as_ac_var'}'` = yes; then
54752 cat >>confdefs.h <<_ACEOF
54753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54754 _ACEOF
54757 done
54759 else
54761 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54762 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54763 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54764 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54765 echo $ECHO_N "(cached) $ECHO_C" >&6
54766 else
54770 ac_ext=cc
54771 ac_cpp='$CXXCPP $CPPFLAGS'
54772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54776 cat >conftest.$ac_ext <<_ACEOF
54777 /* confdefs.h. */
54778 _ACEOF
54779 cat confdefs.h >>conftest.$ac_ext
54780 cat >>conftest.$ac_ext <<_ACEOF
54781 /* end confdefs.h. */
54782 #include <math.h>
54784 main ()
54786 _sincos(0, 0, 0);
54788 return 0;
54790 _ACEOF
54791 rm -f conftest.$ac_objext
54792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54793 (eval $ac_compile) 2>conftest.er1
54794 ac_status=$?
54795 grep -v '^ *+' conftest.er1 >conftest.err
54796 rm -f conftest.er1
54797 cat conftest.err >&5
54798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799 (exit $ac_status); } &&
54800 { ac_try='test -z "$ac_cxx_werror_flag"
54801 || test ! -s conftest.err'
54802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54803 (eval $ac_try) 2>&5
54804 ac_status=$?
54805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54806 (exit $ac_status); }; } &&
54807 { ac_try='test -s conftest.$ac_objext'
54808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54809 (eval $ac_try) 2>&5
54810 ac_status=$?
54811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54812 (exit $ac_status); }; }; then
54813 glibcxx_cv_func__sincos_use=yes
54814 else
54815 echo "$as_me: failed program was:" >&5
54816 sed 's/^/| /' conftest.$ac_ext >&5
54818 glibcxx_cv_func__sincos_use=no
54820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54832 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54834 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54836 for ac_func in _sincos
54838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54839 echo "$as_me:$LINENO: checking for $ac_func" >&5
54840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54841 if eval "test \"\${$as_ac_var+set}\" = set"; then
54842 echo $ECHO_N "(cached) $ECHO_C" >&6
54843 else
54844 if test x$gcc_no_link = xyes; then
54845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54847 { (exit 1); exit 1; }; }
54849 cat >conftest.$ac_ext <<_ACEOF
54850 /* confdefs.h. */
54851 _ACEOF
54852 cat confdefs.h >>conftest.$ac_ext
54853 cat >>conftest.$ac_ext <<_ACEOF
54854 /* end confdefs.h. */
54855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54857 #define $ac_func innocuous_$ac_func
54859 /* System header to define __stub macros and hopefully few prototypes,
54860 which can conflict with char $ac_func (); below.
54861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54862 <limits.h> exists even on freestanding compilers. */
54864 #ifdef __STDC__
54865 # include <limits.h>
54866 #else
54867 # include <assert.h>
54868 #endif
54870 #undef $ac_func
54872 /* Override any gcc2 internal prototype to avoid an error. */
54873 #ifdef __cplusplus
54874 extern "C"
54876 #endif
54877 /* We use char because int might match the return type of a gcc2
54878 builtin and then its argument prototype would still apply. */
54879 char $ac_func ();
54880 /* The GNU C library defines this for functions which it implements
54881 to always fail with ENOSYS. Some functions are actually named
54882 something starting with __ and the normal name is an alias. */
54883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54884 choke me
54885 #else
54886 char (*f) () = $ac_func;
54887 #endif
54888 #ifdef __cplusplus
54890 #endif
54893 main ()
54895 return f != $ac_func;
54897 return 0;
54899 _ACEOF
54900 rm -f conftest.$ac_objext conftest$ac_exeext
54901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54902 (eval $ac_link) 2>conftest.er1
54903 ac_status=$?
54904 grep -v '^ *+' conftest.er1 >conftest.err
54905 rm -f conftest.er1
54906 cat conftest.err >&5
54907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54908 (exit $ac_status); } &&
54909 { ac_try='test -z "$ac_c_werror_flag"
54910 || test ! -s conftest.err'
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); }; } &&
54916 { ac_try='test -s conftest$ac_exeext'
54917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54918 (eval $ac_try) 2>&5
54919 ac_status=$?
54920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54921 (exit $ac_status); }; }; then
54922 eval "$as_ac_var=yes"
54923 else
54924 echo "$as_me: failed program was:" >&5
54925 sed 's/^/| /' conftest.$ac_ext >&5
54927 eval "$as_ac_var=no"
54929 rm -f conftest.err conftest.$ac_objext \
54930 conftest$ac_exeext conftest.$ac_ext
54932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54934 if test `eval echo '${'$as_ac_var'}'` = yes; then
54935 cat >>confdefs.h <<_ACEOF
54936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54937 _ACEOF
54940 done
54950 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54951 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54952 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54953 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54954 echo $ECHO_N "(cached) $ECHO_C" >&6
54955 else
54959 ac_ext=cc
54960 ac_cpp='$CXXCPP $CPPFLAGS'
54961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54965 cat >conftest.$ac_ext <<_ACEOF
54966 /* confdefs.h. */
54967 _ACEOF
54968 cat confdefs.h >>conftest.$ac_ext
54969 cat >>conftest.$ac_ext <<_ACEOF
54970 /* end confdefs.h. */
54971 #include <math.h>
54972 #ifdef HAVE_IEEEFP_H
54973 #include <ieeefp.h>
54974 #endif
54977 main ()
54979 fpclass(0);
54981 return 0;
54983 _ACEOF
54984 rm -f conftest.$ac_objext
54985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54986 (eval $ac_compile) 2>conftest.er1
54987 ac_status=$?
54988 grep -v '^ *+' conftest.er1 >conftest.err
54989 rm -f conftest.er1
54990 cat conftest.err >&5
54991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992 (exit $ac_status); } &&
54993 { ac_try='test -z "$ac_cxx_werror_flag"
54994 || test ! -s conftest.err'
54995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54996 (eval $ac_try) 2>&5
54997 ac_status=$?
54998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54999 (exit $ac_status); }; } &&
55000 { ac_try='test -s conftest.$ac_objext'
55001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55002 (eval $ac_try) 2>&5
55003 ac_status=$?
55004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55005 (exit $ac_status); }; }; then
55006 glibcxx_cv_func_fpclass_use=yes
55007 else
55008 echo "$as_me: failed program was:" >&5
55009 sed 's/^/| /' conftest.$ac_ext >&5
55011 glibcxx_cv_func_fpclass_use=no
55013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55014 ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55025 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55027 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55029 for ac_func in fpclass
55031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55032 echo "$as_me:$LINENO: checking for $ac_func" >&5
55033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55034 if eval "test \"\${$as_ac_var+set}\" = set"; then
55035 echo $ECHO_N "(cached) $ECHO_C" >&6
55036 else
55037 if test x$gcc_no_link = xyes; then
55038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55040 { (exit 1); exit 1; }; }
55042 cat >conftest.$ac_ext <<_ACEOF
55043 /* confdefs.h. */
55044 _ACEOF
55045 cat confdefs.h >>conftest.$ac_ext
55046 cat >>conftest.$ac_ext <<_ACEOF
55047 /* end confdefs.h. */
55048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55050 #define $ac_func innocuous_$ac_func
55052 /* System header to define __stub macros and hopefully few prototypes,
55053 which can conflict with char $ac_func (); below.
55054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55055 <limits.h> exists even on freestanding compilers. */
55057 #ifdef __STDC__
55058 # include <limits.h>
55059 #else
55060 # include <assert.h>
55061 #endif
55063 #undef $ac_func
55065 /* Override any gcc2 internal prototype to avoid an error. */
55066 #ifdef __cplusplus
55067 extern "C"
55069 #endif
55070 /* We use char because int might match the return type of a gcc2
55071 builtin and then its argument prototype would still apply. */
55072 char $ac_func ();
55073 /* The GNU C library defines this for functions which it implements
55074 to always fail with ENOSYS. Some functions are actually named
55075 something starting with __ and the normal name is an alias. */
55076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55077 choke me
55078 #else
55079 char (*f) () = $ac_func;
55080 #endif
55081 #ifdef __cplusplus
55083 #endif
55086 main ()
55088 return f != $ac_func;
55090 return 0;
55092 _ACEOF
55093 rm -f conftest.$ac_objext conftest$ac_exeext
55094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55095 (eval $ac_link) 2>conftest.er1
55096 ac_status=$?
55097 grep -v '^ *+' conftest.er1 >conftest.err
55098 rm -f conftest.er1
55099 cat conftest.err >&5
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); } &&
55102 { ac_try='test -z "$ac_c_werror_flag"
55103 || test ! -s conftest.err'
55104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55105 (eval $ac_try) 2>&5
55106 ac_status=$?
55107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55108 (exit $ac_status); }; } &&
55109 { ac_try='test -s conftest$ac_exeext'
55110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55111 (eval $ac_try) 2>&5
55112 ac_status=$?
55113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55114 (exit $ac_status); }; }; then
55115 eval "$as_ac_var=yes"
55116 else
55117 echo "$as_me: failed program was:" >&5
55118 sed 's/^/| /' conftest.$ac_ext >&5
55120 eval "$as_ac_var=no"
55122 rm -f conftest.err conftest.$ac_objext \
55123 conftest$ac_exeext conftest.$ac_ext
55125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55127 if test `eval echo '${'$as_ac_var'}'` = yes; then
55128 cat >>confdefs.h <<_ACEOF
55129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55130 _ACEOF
55133 done
55135 else
55137 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55138 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55139 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55140 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55141 echo $ECHO_N "(cached) $ECHO_C" >&6
55142 else
55146 ac_ext=cc
55147 ac_cpp='$CXXCPP $CPPFLAGS'
55148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55152 cat >conftest.$ac_ext <<_ACEOF
55153 /* confdefs.h. */
55154 _ACEOF
55155 cat confdefs.h >>conftest.$ac_ext
55156 cat >>conftest.$ac_ext <<_ACEOF
55157 /* end confdefs.h. */
55158 #include <math.h>
55159 #ifdef HAVE_IEEEFP_H
55160 #include <ieeefp.h>
55161 #endif
55164 main ()
55166 _fpclass(0);
55168 return 0;
55170 _ACEOF
55171 rm -f conftest.$ac_objext
55172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55173 (eval $ac_compile) 2>conftest.er1
55174 ac_status=$?
55175 grep -v '^ *+' conftest.er1 >conftest.err
55176 rm -f conftest.er1
55177 cat conftest.err >&5
55178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55179 (exit $ac_status); } &&
55180 { ac_try='test -z "$ac_cxx_werror_flag"
55181 || test ! -s conftest.err'
55182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55183 (eval $ac_try) 2>&5
55184 ac_status=$?
55185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55186 (exit $ac_status); }; } &&
55187 { ac_try='test -s conftest.$ac_objext'
55188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55189 (eval $ac_try) 2>&5
55190 ac_status=$?
55191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55192 (exit $ac_status); }; }; then
55193 glibcxx_cv_func__fpclass_use=yes
55194 else
55195 echo "$as_me: failed program was:" >&5
55196 sed 's/^/| /' conftest.$ac_ext >&5
55198 glibcxx_cv_func__fpclass_use=no
55200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55201 ac_ext=c
55202 ac_cpp='$CPP $CPPFLAGS'
55203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55212 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55214 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55216 for ac_func in _fpclass
55218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55219 echo "$as_me:$LINENO: checking for $ac_func" >&5
55220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55221 if eval "test \"\${$as_ac_var+set}\" = set"; then
55222 echo $ECHO_N "(cached) $ECHO_C" >&6
55223 else
55224 if test x$gcc_no_link = xyes; then
55225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55227 { (exit 1); exit 1; }; }
55229 cat >conftest.$ac_ext <<_ACEOF
55230 /* confdefs.h. */
55231 _ACEOF
55232 cat confdefs.h >>conftest.$ac_ext
55233 cat >>conftest.$ac_ext <<_ACEOF
55234 /* end confdefs.h. */
55235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55237 #define $ac_func innocuous_$ac_func
55239 /* System header to define __stub macros and hopefully few prototypes,
55240 which can conflict with char $ac_func (); below.
55241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55242 <limits.h> exists even on freestanding compilers. */
55244 #ifdef __STDC__
55245 # include <limits.h>
55246 #else
55247 # include <assert.h>
55248 #endif
55250 #undef $ac_func
55252 /* Override any gcc2 internal prototype to avoid an error. */
55253 #ifdef __cplusplus
55254 extern "C"
55256 #endif
55257 /* We use char because int might match the return type of a gcc2
55258 builtin and then its argument prototype would still apply. */
55259 char $ac_func ();
55260 /* The GNU C library defines this for functions which it implements
55261 to always fail with ENOSYS. Some functions are actually named
55262 something starting with __ and the normal name is an alias. */
55263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55264 choke me
55265 #else
55266 char (*f) () = $ac_func;
55267 #endif
55268 #ifdef __cplusplus
55270 #endif
55273 main ()
55275 return f != $ac_func;
55277 return 0;
55279 _ACEOF
55280 rm -f conftest.$ac_objext conftest$ac_exeext
55281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55282 (eval $ac_link) 2>conftest.er1
55283 ac_status=$?
55284 grep -v '^ *+' conftest.er1 >conftest.err
55285 rm -f conftest.er1
55286 cat conftest.err >&5
55287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55288 (exit $ac_status); } &&
55289 { ac_try='test -z "$ac_c_werror_flag"
55290 || test ! -s conftest.err'
55291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55292 (eval $ac_try) 2>&5
55293 ac_status=$?
55294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55295 (exit $ac_status); }; } &&
55296 { ac_try='test -s conftest$ac_exeext'
55297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55298 (eval $ac_try) 2>&5
55299 ac_status=$?
55300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55301 (exit $ac_status); }; }; then
55302 eval "$as_ac_var=yes"
55303 else
55304 echo "$as_me: failed program was:" >&5
55305 sed 's/^/| /' conftest.$ac_ext >&5
55307 eval "$as_ac_var=no"
55309 rm -f conftest.err conftest.$ac_objext \
55310 conftest$ac_exeext conftest.$ac_ext
55312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55314 if test `eval echo '${'$as_ac_var'}'` = yes; then
55315 cat >>confdefs.h <<_ACEOF
55316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55317 _ACEOF
55320 done
55330 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55331 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55332 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55333 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55334 echo $ECHO_N "(cached) $ECHO_C" >&6
55335 else
55339 ac_ext=cc
55340 ac_cpp='$CXXCPP $CPPFLAGS'
55341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55345 cat >conftest.$ac_ext <<_ACEOF
55346 /* confdefs.h. */
55347 _ACEOF
55348 cat confdefs.h >>conftest.$ac_ext
55349 cat >>conftest.$ac_ext <<_ACEOF
55350 /* end confdefs.h. */
55351 #include <math.h>
55352 #ifdef HAVE_IEEEFP_H
55353 #include <ieeefp.h>
55354 #endif
55357 main ()
55359 qfpclass(0);
55361 return 0;
55363 _ACEOF
55364 rm -f conftest.$ac_objext
55365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55366 (eval $ac_compile) 2>conftest.er1
55367 ac_status=$?
55368 grep -v '^ *+' conftest.er1 >conftest.err
55369 rm -f conftest.er1
55370 cat conftest.err >&5
55371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55372 (exit $ac_status); } &&
55373 { ac_try='test -z "$ac_cxx_werror_flag"
55374 || test ! -s conftest.err'
55375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55376 (eval $ac_try) 2>&5
55377 ac_status=$?
55378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55379 (exit $ac_status); }; } &&
55380 { ac_try='test -s conftest.$ac_objext'
55381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55382 (eval $ac_try) 2>&5
55383 ac_status=$?
55384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55385 (exit $ac_status); }; }; then
55386 glibcxx_cv_func_qfpclass_use=yes
55387 else
55388 echo "$as_me: failed program was:" >&5
55389 sed 's/^/| /' conftest.$ac_ext >&5
55391 glibcxx_cv_func_qfpclass_use=no
55393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55394 ac_ext=c
55395 ac_cpp='$CPP $CPPFLAGS'
55396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55405 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55407 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55409 for ac_func in qfpclass
55411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55412 echo "$as_me:$LINENO: checking for $ac_func" >&5
55413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55414 if eval "test \"\${$as_ac_var+set}\" = set"; then
55415 echo $ECHO_N "(cached) $ECHO_C" >&6
55416 else
55417 if test x$gcc_no_link = xyes; then
55418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55420 { (exit 1); exit 1; }; }
55422 cat >conftest.$ac_ext <<_ACEOF
55423 /* confdefs.h. */
55424 _ACEOF
55425 cat confdefs.h >>conftest.$ac_ext
55426 cat >>conftest.$ac_ext <<_ACEOF
55427 /* end confdefs.h. */
55428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55430 #define $ac_func innocuous_$ac_func
55432 /* System header to define __stub macros and hopefully few prototypes,
55433 which can conflict with char $ac_func (); below.
55434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55435 <limits.h> exists even on freestanding compilers. */
55437 #ifdef __STDC__
55438 # include <limits.h>
55439 #else
55440 # include <assert.h>
55441 #endif
55443 #undef $ac_func
55445 /* Override any gcc2 internal prototype to avoid an error. */
55446 #ifdef __cplusplus
55447 extern "C"
55449 #endif
55450 /* We use char because int might match the return type of a gcc2
55451 builtin and then its argument prototype would still apply. */
55452 char $ac_func ();
55453 /* The GNU C library defines this for functions which it implements
55454 to always fail with ENOSYS. Some functions are actually named
55455 something starting with __ and the normal name is an alias. */
55456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55457 choke me
55458 #else
55459 char (*f) () = $ac_func;
55460 #endif
55461 #ifdef __cplusplus
55463 #endif
55466 main ()
55468 return f != $ac_func;
55470 return 0;
55472 _ACEOF
55473 rm -f conftest.$ac_objext conftest$ac_exeext
55474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55475 (eval $ac_link) 2>conftest.er1
55476 ac_status=$?
55477 grep -v '^ *+' conftest.er1 >conftest.err
55478 rm -f conftest.er1
55479 cat conftest.err >&5
55480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481 (exit $ac_status); } &&
55482 { ac_try='test -z "$ac_c_werror_flag"
55483 || test ! -s conftest.err'
55484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55485 (eval $ac_try) 2>&5
55486 ac_status=$?
55487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55488 (exit $ac_status); }; } &&
55489 { ac_try='test -s conftest$ac_exeext'
55490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55491 (eval $ac_try) 2>&5
55492 ac_status=$?
55493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55494 (exit $ac_status); }; }; then
55495 eval "$as_ac_var=yes"
55496 else
55497 echo "$as_me: failed program was:" >&5
55498 sed 's/^/| /' conftest.$ac_ext >&5
55500 eval "$as_ac_var=no"
55502 rm -f conftest.err conftest.$ac_objext \
55503 conftest$ac_exeext conftest.$ac_ext
55505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55507 if test `eval echo '${'$as_ac_var'}'` = yes; then
55508 cat >>confdefs.h <<_ACEOF
55509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55510 _ACEOF
55513 done
55515 else
55517 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55518 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55519 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55520 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55521 echo $ECHO_N "(cached) $ECHO_C" >&6
55522 else
55526 ac_ext=cc
55527 ac_cpp='$CXXCPP $CPPFLAGS'
55528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55532 cat >conftest.$ac_ext <<_ACEOF
55533 /* confdefs.h. */
55534 _ACEOF
55535 cat confdefs.h >>conftest.$ac_ext
55536 cat >>conftest.$ac_ext <<_ACEOF
55537 /* end confdefs.h. */
55538 #include <math.h>
55539 #ifdef HAVE_IEEEFP_H
55540 #include <ieeefp.h>
55541 #endif
55544 main ()
55546 _qfpclass(0);
55548 return 0;
55550 _ACEOF
55551 rm -f conftest.$ac_objext
55552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55553 (eval $ac_compile) 2>conftest.er1
55554 ac_status=$?
55555 grep -v '^ *+' conftest.er1 >conftest.err
55556 rm -f conftest.er1
55557 cat conftest.err >&5
55558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55559 (exit $ac_status); } &&
55560 { ac_try='test -z "$ac_cxx_werror_flag"
55561 || test ! -s conftest.err'
55562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55563 (eval $ac_try) 2>&5
55564 ac_status=$?
55565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55566 (exit $ac_status); }; } &&
55567 { ac_try='test -s conftest.$ac_objext'
55568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55569 (eval $ac_try) 2>&5
55570 ac_status=$?
55571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55572 (exit $ac_status); }; }; then
55573 glibcxx_cv_func__qfpclass_use=yes
55574 else
55575 echo "$as_me: failed program was:" >&5
55576 sed 's/^/| /' conftest.$ac_ext >&5
55578 glibcxx_cv_func__qfpclass_use=no
55580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55592 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55594 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55596 for ac_func in _qfpclass
55598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55599 echo "$as_me:$LINENO: checking for $ac_func" >&5
55600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55601 if eval "test \"\${$as_ac_var+set}\" = set"; then
55602 echo $ECHO_N "(cached) $ECHO_C" >&6
55603 else
55604 if test x$gcc_no_link = xyes; then
55605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55607 { (exit 1); exit 1; }; }
55609 cat >conftest.$ac_ext <<_ACEOF
55610 /* confdefs.h. */
55611 _ACEOF
55612 cat confdefs.h >>conftest.$ac_ext
55613 cat >>conftest.$ac_ext <<_ACEOF
55614 /* end confdefs.h. */
55615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55617 #define $ac_func innocuous_$ac_func
55619 /* System header to define __stub macros and hopefully few prototypes,
55620 which can conflict with char $ac_func (); below.
55621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55622 <limits.h> exists even on freestanding compilers. */
55624 #ifdef __STDC__
55625 # include <limits.h>
55626 #else
55627 # include <assert.h>
55628 #endif
55630 #undef $ac_func
55632 /* Override any gcc2 internal prototype to avoid an error. */
55633 #ifdef __cplusplus
55634 extern "C"
55636 #endif
55637 /* We use char because int might match the return type of a gcc2
55638 builtin and then its argument prototype would still apply. */
55639 char $ac_func ();
55640 /* The GNU C library defines this for functions which it implements
55641 to always fail with ENOSYS. Some functions are actually named
55642 something starting with __ and the normal name is an alias. */
55643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55644 choke me
55645 #else
55646 char (*f) () = $ac_func;
55647 #endif
55648 #ifdef __cplusplus
55650 #endif
55653 main ()
55655 return f != $ac_func;
55657 return 0;
55659 _ACEOF
55660 rm -f conftest.$ac_objext conftest$ac_exeext
55661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55662 (eval $ac_link) 2>conftest.er1
55663 ac_status=$?
55664 grep -v '^ *+' conftest.er1 >conftest.err
55665 rm -f conftest.er1
55666 cat conftest.err >&5
55667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55668 (exit $ac_status); } &&
55669 { ac_try='test -z "$ac_c_werror_flag"
55670 || test ! -s conftest.err'
55671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55672 (eval $ac_try) 2>&5
55673 ac_status=$?
55674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55675 (exit $ac_status); }; } &&
55676 { ac_try='test -s conftest$ac_exeext'
55677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55678 (eval $ac_try) 2>&5
55679 ac_status=$?
55680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55681 (exit $ac_status); }; }; then
55682 eval "$as_ac_var=yes"
55683 else
55684 echo "$as_me: failed program was:" >&5
55685 sed 's/^/| /' conftest.$ac_ext >&5
55687 eval "$as_ac_var=no"
55689 rm -f conftest.err conftest.$ac_objext \
55690 conftest$ac_exeext conftest.$ac_ext
55692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55694 if test `eval echo '${'$as_ac_var'}'` = yes; then
55695 cat >>confdefs.h <<_ACEOF
55696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55697 _ACEOF
55700 done
55710 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55711 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55712 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55713 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55714 echo $ECHO_N "(cached) $ECHO_C" >&6
55715 else
55719 ac_ext=cc
55720 ac_cpp='$CXXCPP $CPPFLAGS'
55721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55725 cat >conftest.$ac_ext <<_ACEOF
55726 /* confdefs.h. */
55727 _ACEOF
55728 cat confdefs.h >>conftest.$ac_ext
55729 cat >>conftest.$ac_ext <<_ACEOF
55730 /* end confdefs.h. */
55731 #include <math.h>
55733 main ()
55735 hypot(0, 0);
55737 return 0;
55739 _ACEOF
55740 rm -f conftest.$ac_objext
55741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55742 (eval $ac_compile) 2>conftest.er1
55743 ac_status=$?
55744 grep -v '^ *+' conftest.er1 >conftest.err
55745 rm -f conftest.er1
55746 cat conftest.err >&5
55747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55748 (exit $ac_status); } &&
55749 { ac_try='test -z "$ac_cxx_werror_flag"
55750 || test ! -s conftest.err'
55751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55752 (eval $ac_try) 2>&5
55753 ac_status=$?
55754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55755 (exit $ac_status); }; } &&
55756 { ac_try='test -s conftest.$ac_objext'
55757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55758 (eval $ac_try) 2>&5
55759 ac_status=$?
55760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761 (exit $ac_status); }; }; then
55762 glibcxx_cv_func_hypot_use=yes
55763 else
55764 echo "$as_me: failed program was:" >&5
55765 sed 's/^/| /' conftest.$ac_ext >&5
55767 glibcxx_cv_func_hypot_use=no
55769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55781 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55783 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55785 for ac_func in hypot
55787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55788 echo "$as_me:$LINENO: checking for $ac_func" >&5
55789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55790 if eval "test \"\${$as_ac_var+set}\" = set"; then
55791 echo $ECHO_N "(cached) $ECHO_C" >&6
55792 else
55793 if test x$gcc_no_link = xyes; then
55794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55796 { (exit 1); exit 1; }; }
55798 cat >conftest.$ac_ext <<_ACEOF
55799 /* confdefs.h. */
55800 _ACEOF
55801 cat confdefs.h >>conftest.$ac_ext
55802 cat >>conftest.$ac_ext <<_ACEOF
55803 /* end confdefs.h. */
55804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55806 #define $ac_func innocuous_$ac_func
55808 /* System header to define __stub macros and hopefully few prototypes,
55809 which can conflict with char $ac_func (); below.
55810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55811 <limits.h> exists even on freestanding compilers. */
55813 #ifdef __STDC__
55814 # include <limits.h>
55815 #else
55816 # include <assert.h>
55817 #endif
55819 #undef $ac_func
55821 /* Override any gcc2 internal prototype to avoid an error. */
55822 #ifdef __cplusplus
55823 extern "C"
55825 #endif
55826 /* We use char because int might match the return type of a gcc2
55827 builtin and then its argument prototype would still apply. */
55828 char $ac_func ();
55829 /* The GNU C library defines this for functions which it implements
55830 to always fail with ENOSYS. Some functions are actually named
55831 something starting with __ and the normal name is an alias. */
55832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55833 choke me
55834 #else
55835 char (*f) () = $ac_func;
55836 #endif
55837 #ifdef __cplusplus
55839 #endif
55842 main ()
55844 return f != $ac_func;
55846 return 0;
55848 _ACEOF
55849 rm -f conftest.$ac_objext conftest$ac_exeext
55850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55851 (eval $ac_link) 2>conftest.er1
55852 ac_status=$?
55853 grep -v '^ *+' conftest.er1 >conftest.err
55854 rm -f conftest.er1
55855 cat conftest.err >&5
55856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55857 (exit $ac_status); } &&
55858 { ac_try='test -z "$ac_c_werror_flag"
55859 || test ! -s conftest.err'
55860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55861 (eval $ac_try) 2>&5
55862 ac_status=$?
55863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55864 (exit $ac_status); }; } &&
55865 { ac_try='test -s conftest$ac_exeext'
55866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55867 (eval $ac_try) 2>&5
55868 ac_status=$?
55869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55870 (exit $ac_status); }; }; then
55871 eval "$as_ac_var=yes"
55872 else
55873 echo "$as_me: failed program was:" >&5
55874 sed 's/^/| /' conftest.$ac_ext >&5
55876 eval "$as_ac_var=no"
55878 rm -f conftest.err conftest.$ac_objext \
55879 conftest$ac_exeext conftest.$ac_ext
55881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55883 if test `eval echo '${'$as_ac_var'}'` = yes; then
55884 cat >>confdefs.h <<_ACEOF
55885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55886 _ACEOF
55889 done
55891 else
55893 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55894 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55895 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55896 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55897 echo $ECHO_N "(cached) $ECHO_C" >&6
55898 else
55902 ac_ext=cc
55903 ac_cpp='$CXXCPP $CPPFLAGS'
55904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55908 cat >conftest.$ac_ext <<_ACEOF
55909 /* confdefs.h. */
55910 _ACEOF
55911 cat confdefs.h >>conftest.$ac_ext
55912 cat >>conftest.$ac_ext <<_ACEOF
55913 /* end confdefs.h. */
55914 #include <math.h>
55916 main ()
55918 _hypot(0, 0);
55920 return 0;
55922 _ACEOF
55923 rm -f conftest.$ac_objext
55924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55925 (eval $ac_compile) 2>conftest.er1
55926 ac_status=$?
55927 grep -v '^ *+' conftest.er1 >conftest.err
55928 rm -f conftest.er1
55929 cat conftest.err >&5
55930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55931 (exit $ac_status); } &&
55932 { ac_try='test -z "$ac_cxx_werror_flag"
55933 || test ! -s conftest.err'
55934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55935 (eval $ac_try) 2>&5
55936 ac_status=$?
55937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55938 (exit $ac_status); }; } &&
55939 { ac_try='test -s conftest.$ac_objext'
55940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55941 (eval $ac_try) 2>&5
55942 ac_status=$?
55943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55944 (exit $ac_status); }; }; then
55945 glibcxx_cv_func__hypot_use=yes
55946 else
55947 echo "$as_me: failed program was:" >&5
55948 sed 's/^/| /' conftest.$ac_ext >&5
55950 glibcxx_cv_func__hypot_use=no
55952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55953 ac_ext=c
55954 ac_cpp='$CPP $CPPFLAGS'
55955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55964 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55966 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55968 for ac_func in _hypot
55970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55971 echo "$as_me:$LINENO: checking for $ac_func" >&5
55972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55973 if eval "test \"\${$as_ac_var+set}\" = set"; then
55974 echo $ECHO_N "(cached) $ECHO_C" >&6
55975 else
55976 if test x$gcc_no_link = xyes; then
55977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55979 { (exit 1); exit 1; }; }
55981 cat >conftest.$ac_ext <<_ACEOF
55982 /* confdefs.h. */
55983 _ACEOF
55984 cat confdefs.h >>conftest.$ac_ext
55985 cat >>conftest.$ac_ext <<_ACEOF
55986 /* end confdefs.h. */
55987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55989 #define $ac_func innocuous_$ac_func
55991 /* System header to define __stub macros and hopefully few prototypes,
55992 which can conflict with char $ac_func (); below.
55993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55994 <limits.h> exists even on freestanding compilers. */
55996 #ifdef __STDC__
55997 # include <limits.h>
55998 #else
55999 # include <assert.h>
56000 #endif
56002 #undef $ac_func
56004 /* Override any gcc2 internal prototype to avoid an error. */
56005 #ifdef __cplusplus
56006 extern "C"
56008 #endif
56009 /* We use char because int might match the return type of a gcc2
56010 builtin and then its argument prototype would still apply. */
56011 char $ac_func ();
56012 /* The GNU C library defines this for functions which it implements
56013 to always fail with ENOSYS. Some functions are actually named
56014 something starting with __ and the normal name is an alias. */
56015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56016 choke me
56017 #else
56018 char (*f) () = $ac_func;
56019 #endif
56020 #ifdef __cplusplus
56022 #endif
56025 main ()
56027 return f != $ac_func;
56029 return 0;
56031 _ACEOF
56032 rm -f conftest.$ac_objext conftest$ac_exeext
56033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56034 (eval $ac_link) 2>conftest.er1
56035 ac_status=$?
56036 grep -v '^ *+' conftest.er1 >conftest.err
56037 rm -f conftest.er1
56038 cat conftest.err >&5
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); } &&
56041 { ac_try='test -z "$ac_c_werror_flag"
56042 || test ! -s conftest.err'
56043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044 (eval $ac_try) 2>&5
56045 ac_status=$?
56046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047 (exit $ac_status); }; } &&
56048 { ac_try='test -s conftest$ac_exeext'
56049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56050 (eval $ac_try) 2>&5
56051 ac_status=$?
56052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56053 (exit $ac_status); }; }; then
56054 eval "$as_ac_var=yes"
56055 else
56056 echo "$as_me: failed program was:" >&5
56057 sed 's/^/| /' conftest.$ac_ext >&5
56059 eval "$as_ac_var=no"
56061 rm -f conftest.err conftest.$ac_objext \
56062 conftest$ac_exeext conftest.$ac_ext
56064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56066 if test `eval echo '${'$as_ac_var'}'` = yes; then
56067 cat >>confdefs.h <<_ACEOF
56068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56069 _ACEOF
56072 done
56082 echo "$as_me:$LINENO: checking for float trig functions" >&5
56083 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56084 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56085 echo $ECHO_N "(cached) $ECHO_C" >&6
56086 else
56090 ac_ext=cc
56091 ac_cpp='$CXXCPP $CPPFLAGS'
56092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56096 cat >conftest.$ac_ext <<_ACEOF
56097 /* confdefs.h. */
56098 _ACEOF
56099 cat confdefs.h >>conftest.$ac_ext
56100 cat >>conftest.$ac_ext <<_ACEOF
56101 /* end confdefs.h. */
56102 #include <math.h>
56104 main ()
56106 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56108 return 0;
56110 _ACEOF
56111 rm -f conftest.$ac_objext
56112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56113 (eval $ac_compile) 2>conftest.er1
56114 ac_status=$?
56115 grep -v '^ *+' conftest.er1 >conftest.err
56116 rm -f conftest.er1
56117 cat conftest.err >&5
56118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56119 (exit $ac_status); } &&
56120 { ac_try='test -z "$ac_cxx_werror_flag"
56121 || test ! -s conftest.err'
56122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56123 (eval $ac_try) 2>&5
56124 ac_status=$?
56125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56126 (exit $ac_status); }; } &&
56127 { ac_try='test -s conftest.$ac_objext'
56128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56129 (eval $ac_try) 2>&5
56130 ac_status=$?
56131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56132 (exit $ac_status); }; }; then
56133 glibcxx_cv_func_float_trig_use=yes
56134 else
56135 echo "$as_me: failed program was:" >&5
56136 sed 's/^/| /' conftest.$ac_ext >&5
56138 glibcxx_cv_func_float_trig_use=no
56140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56150 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56151 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56161 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56164 echo "$as_me:$LINENO: checking for $ac_func" >&5
56165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56166 if eval "test \"\${$as_ac_var+set}\" = set"; then
56167 echo $ECHO_N "(cached) $ECHO_C" >&6
56168 else
56169 if test x$gcc_no_link = xyes; then
56170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56172 { (exit 1); exit 1; }; }
56174 cat >conftest.$ac_ext <<_ACEOF
56175 /* confdefs.h. */
56176 _ACEOF
56177 cat confdefs.h >>conftest.$ac_ext
56178 cat >>conftest.$ac_ext <<_ACEOF
56179 /* end confdefs.h. */
56180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56182 #define $ac_func innocuous_$ac_func
56184 /* System header to define __stub macros and hopefully few prototypes,
56185 which can conflict with char $ac_func (); below.
56186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56187 <limits.h> exists even on freestanding compilers. */
56189 #ifdef __STDC__
56190 # include <limits.h>
56191 #else
56192 # include <assert.h>
56193 #endif
56195 #undef $ac_func
56197 /* Override any gcc2 internal prototype to avoid an error. */
56198 #ifdef __cplusplus
56199 extern "C"
56201 #endif
56202 /* We use char because int might match the return type of a gcc2
56203 builtin and then its argument prototype would still apply. */
56204 char $ac_func ();
56205 /* The GNU C library defines this for functions which it implements
56206 to always fail with ENOSYS. Some functions are actually named
56207 something starting with __ and the normal name is an alias. */
56208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56209 choke me
56210 #else
56211 char (*f) () = $ac_func;
56212 #endif
56213 #ifdef __cplusplus
56215 #endif
56218 main ()
56220 return f != $ac_func;
56222 return 0;
56224 _ACEOF
56225 rm -f conftest.$ac_objext conftest$ac_exeext
56226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56227 (eval $ac_link) 2>conftest.er1
56228 ac_status=$?
56229 grep -v '^ *+' conftest.er1 >conftest.err
56230 rm -f conftest.er1
56231 cat conftest.err >&5
56232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233 (exit $ac_status); } &&
56234 { ac_try='test -z "$ac_c_werror_flag"
56235 || test ! -s conftest.err'
56236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56237 (eval $ac_try) 2>&5
56238 ac_status=$?
56239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240 (exit $ac_status); }; } &&
56241 { ac_try='test -s conftest$ac_exeext'
56242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56243 (eval $ac_try) 2>&5
56244 ac_status=$?
56245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56246 (exit $ac_status); }; }; then
56247 eval "$as_ac_var=yes"
56248 else
56249 echo "$as_me: failed program was:" >&5
56250 sed 's/^/| /' conftest.$ac_ext >&5
56252 eval "$as_ac_var=no"
56254 rm -f conftest.err conftest.$ac_objext \
56255 conftest$ac_exeext conftest.$ac_ext
56257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56259 if test `eval echo '${'$as_ac_var'}'` = yes; then
56260 cat >>confdefs.h <<_ACEOF
56261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56262 _ACEOF
56265 done
56267 else
56268 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56269 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56270 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56271 echo $ECHO_N "(cached) $ECHO_C" >&6
56272 else
56276 ac_ext=cc
56277 ac_cpp='$CXXCPP $CPPFLAGS'
56278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56282 cat >conftest.$ac_ext <<_ACEOF
56283 /* confdefs.h. */
56284 _ACEOF
56285 cat confdefs.h >>conftest.$ac_ext
56286 cat >>conftest.$ac_ext <<_ACEOF
56287 /* end confdefs.h. */
56288 #include <math.h>
56290 main ()
56292 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56294 return 0;
56296 _ACEOF
56297 rm -f conftest.$ac_objext
56298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56299 (eval $ac_compile) 2>conftest.er1
56300 ac_status=$?
56301 grep -v '^ *+' conftest.er1 >conftest.err
56302 rm -f conftest.er1
56303 cat conftest.err >&5
56304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56305 (exit $ac_status); } &&
56306 { ac_try='test -z "$ac_cxx_werror_flag"
56307 || test ! -s conftest.err'
56308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56309 (eval $ac_try) 2>&5
56310 ac_status=$?
56311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312 (exit $ac_status); }; } &&
56313 { ac_try='test -s conftest.$ac_objext'
56314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315 (eval $ac_try) 2>&5
56316 ac_status=$?
56317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318 (exit $ac_status); }; }; then
56319 glibcxx_cv_func__float_trig_use=yes
56320 else
56321 echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56324 glibcxx_cv_func__float_trig_use=no
56326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56327 ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56336 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56337 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56347 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56350 echo "$as_me:$LINENO: checking for $ac_func" >&5
56351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56352 if eval "test \"\${$as_ac_var+set}\" = set"; then
56353 echo $ECHO_N "(cached) $ECHO_C" >&6
56354 else
56355 if test x$gcc_no_link = xyes; then
56356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56358 { (exit 1); exit 1; }; }
56360 cat >conftest.$ac_ext <<_ACEOF
56361 /* confdefs.h. */
56362 _ACEOF
56363 cat confdefs.h >>conftest.$ac_ext
56364 cat >>conftest.$ac_ext <<_ACEOF
56365 /* end confdefs.h. */
56366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56368 #define $ac_func innocuous_$ac_func
56370 /* System header to define __stub macros and hopefully few prototypes,
56371 which can conflict with char $ac_func (); below.
56372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56373 <limits.h> exists even on freestanding compilers. */
56375 #ifdef __STDC__
56376 # include <limits.h>
56377 #else
56378 # include <assert.h>
56379 #endif
56381 #undef $ac_func
56383 /* Override any gcc2 internal prototype to avoid an error. */
56384 #ifdef __cplusplus
56385 extern "C"
56387 #endif
56388 /* We use char because int might match the return type of a gcc2
56389 builtin and then its argument prototype would still apply. */
56390 char $ac_func ();
56391 /* The GNU C library defines this for functions which it implements
56392 to always fail with ENOSYS. Some functions are actually named
56393 something starting with __ and the normal name is an alias. */
56394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56395 choke me
56396 #else
56397 char (*f) () = $ac_func;
56398 #endif
56399 #ifdef __cplusplus
56401 #endif
56404 main ()
56406 return f != $ac_func;
56408 return 0;
56410 _ACEOF
56411 rm -f conftest.$ac_objext conftest$ac_exeext
56412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56413 (eval $ac_link) 2>conftest.er1
56414 ac_status=$?
56415 grep -v '^ *+' conftest.er1 >conftest.err
56416 rm -f conftest.er1
56417 cat conftest.err >&5
56418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419 (exit $ac_status); } &&
56420 { ac_try='test -z "$ac_c_werror_flag"
56421 || test ! -s conftest.err'
56422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56423 (eval $ac_try) 2>&5
56424 ac_status=$?
56425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56426 (exit $ac_status); }; } &&
56427 { ac_try='test -s conftest$ac_exeext'
56428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56429 (eval $ac_try) 2>&5
56430 ac_status=$?
56431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432 (exit $ac_status); }; }; then
56433 eval "$as_ac_var=yes"
56434 else
56435 echo "$as_me: failed program was:" >&5
56436 sed 's/^/| /' conftest.$ac_ext >&5
56438 eval "$as_ac_var=no"
56440 rm -f conftest.err conftest.$ac_objext \
56441 conftest$ac_exeext conftest.$ac_ext
56443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56445 if test `eval echo '${'$as_ac_var'}'` = yes; then
56446 cat >>confdefs.h <<_ACEOF
56447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56448 _ACEOF
56451 done
56469 echo "$as_me:$LINENO: checking for float round functions" >&5
56470 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56471 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56472 echo $ECHO_N "(cached) $ECHO_C" >&6
56473 else
56477 ac_ext=cc
56478 ac_cpp='$CXXCPP $CPPFLAGS'
56479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56483 cat >conftest.$ac_ext <<_ACEOF
56484 /* confdefs.h. */
56485 _ACEOF
56486 cat confdefs.h >>conftest.$ac_ext
56487 cat >>conftest.$ac_ext <<_ACEOF
56488 /* end confdefs.h. */
56489 #include <math.h>
56491 main ()
56493 ceilf (0); floorf (0);
56495 return 0;
56497 _ACEOF
56498 rm -f conftest.$ac_objext
56499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56500 (eval $ac_compile) 2>conftest.er1
56501 ac_status=$?
56502 grep -v '^ *+' conftest.er1 >conftest.err
56503 rm -f conftest.er1
56504 cat conftest.err >&5
56505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56506 (exit $ac_status); } &&
56507 { ac_try='test -z "$ac_cxx_werror_flag"
56508 || test ! -s conftest.err'
56509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56510 (eval $ac_try) 2>&5
56511 ac_status=$?
56512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56513 (exit $ac_status); }; } &&
56514 { ac_try='test -s conftest.$ac_objext'
56515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56516 (eval $ac_try) 2>&5
56517 ac_status=$?
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); }; }; then
56520 glibcxx_cv_func_float_round_use=yes
56521 else
56522 echo "$as_me: failed program was:" >&5
56523 sed 's/^/| /' conftest.$ac_ext >&5
56525 glibcxx_cv_func_float_round_use=no
56527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56528 ac_ext=c
56529 ac_cpp='$CPP $CPPFLAGS'
56530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56537 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56538 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56541 for ac_func in ceilf floorf
56543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56544 echo "$as_me:$LINENO: checking for $ac_func" >&5
56545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56546 if eval "test \"\${$as_ac_var+set}\" = set"; then
56547 echo $ECHO_N "(cached) $ECHO_C" >&6
56548 else
56549 if test x$gcc_no_link = xyes; then
56550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56552 { (exit 1); exit 1; }; }
56554 cat >conftest.$ac_ext <<_ACEOF
56555 /* confdefs.h. */
56556 _ACEOF
56557 cat confdefs.h >>conftest.$ac_ext
56558 cat >>conftest.$ac_ext <<_ACEOF
56559 /* end confdefs.h. */
56560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56562 #define $ac_func innocuous_$ac_func
56564 /* System header to define __stub macros and hopefully few prototypes,
56565 which can conflict with char $ac_func (); below.
56566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56567 <limits.h> exists even on freestanding compilers. */
56569 #ifdef __STDC__
56570 # include <limits.h>
56571 #else
56572 # include <assert.h>
56573 #endif
56575 #undef $ac_func
56577 /* Override any gcc2 internal prototype to avoid an error. */
56578 #ifdef __cplusplus
56579 extern "C"
56581 #endif
56582 /* We use char because int might match the return type of a gcc2
56583 builtin and then its argument prototype would still apply. */
56584 char $ac_func ();
56585 /* The GNU C library defines this for functions which it implements
56586 to always fail with ENOSYS. Some functions are actually named
56587 something starting with __ and the normal name is an alias. */
56588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56589 choke me
56590 #else
56591 char (*f) () = $ac_func;
56592 #endif
56593 #ifdef __cplusplus
56595 #endif
56598 main ()
56600 return f != $ac_func;
56602 return 0;
56604 _ACEOF
56605 rm -f conftest.$ac_objext conftest$ac_exeext
56606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56607 (eval $ac_link) 2>conftest.er1
56608 ac_status=$?
56609 grep -v '^ *+' conftest.er1 >conftest.err
56610 rm -f conftest.er1
56611 cat conftest.err >&5
56612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56613 (exit $ac_status); } &&
56614 { ac_try='test -z "$ac_c_werror_flag"
56615 || test ! -s conftest.err'
56616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56617 (eval $ac_try) 2>&5
56618 ac_status=$?
56619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56620 (exit $ac_status); }; } &&
56621 { ac_try='test -s conftest$ac_exeext'
56622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56623 (eval $ac_try) 2>&5
56624 ac_status=$?
56625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56626 (exit $ac_status); }; }; then
56627 eval "$as_ac_var=yes"
56628 else
56629 echo "$as_me: failed program was:" >&5
56630 sed 's/^/| /' conftest.$ac_ext >&5
56632 eval "$as_ac_var=no"
56634 rm -f conftest.err conftest.$ac_objext \
56635 conftest$ac_exeext conftest.$ac_ext
56637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56639 if test `eval echo '${'$as_ac_var'}'` = yes; then
56640 cat >>confdefs.h <<_ACEOF
56641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56642 _ACEOF
56645 done
56647 else
56648 echo "$as_me:$LINENO: checking for _float round functions" >&5
56649 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56650 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56651 echo $ECHO_N "(cached) $ECHO_C" >&6
56652 else
56656 ac_ext=cc
56657 ac_cpp='$CXXCPP $CPPFLAGS'
56658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56662 cat >conftest.$ac_ext <<_ACEOF
56663 /* confdefs.h. */
56664 _ACEOF
56665 cat confdefs.h >>conftest.$ac_ext
56666 cat >>conftest.$ac_ext <<_ACEOF
56667 /* end confdefs.h. */
56668 #include <math.h>
56670 main ()
56672 _ceilf (0); _floorf (0);
56674 return 0;
56676 _ACEOF
56677 rm -f conftest.$ac_objext
56678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56679 (eval $ac_compile) 2>conftest.er1
56680 ac_status=$?
56681 grep -v '^ *+' conftest.er1 >conftest.err
56682 rm -f conftest.er1
56683 cat conftest.err >&5
56684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56685 (exit $ac_status); } &&
56686 { ac_try='test -z "$ac_cxx_werror_flag"
56687 || test ! -s conftest.err'
56688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56689 (eval $ac_try) 2>&5
56690 ac_status=$?
56691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56692 (exit $ac_status); }; } &&
56693 { ac_try='test -s conftest.$ac_objext'
56694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56695 (eval $ac_try) 2>&5
56696 ac_status=$?
56697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56698 (exit $ac_status); }; }; then
56699 glibcxx_cv_func__float_round_use=yes
56700 else
56701 echo "$as_me: failed program was:" >&5
56702 sed 's/^/| /' conftest.$ac_ext >&5
56704 glibcxx_cv_func__float_round_use=no
56706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56707 ac_ext=c
56708 ac_cpp='$CPP $CPPFLAGS'
56709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56716 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56717 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56720 for ac_func in _ceilf _floorf
56722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56723 echo "$as_me:$LINENO: checking for $ac_func" >&5
56724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56725 if eval "test \"\${$as_ac_var+set}\" = set"; then
56726 echo $ECHO_N "(cached) $ECHO_C" >&6
56727 else
56728 if test x$gcc_no_link = xyes; then
56729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56731 { (exit 1); exit 1; }; }
56733 cat >conftest.$ac_ext <<_ACEOF
56734 /* confdefs.h. */
56735 _ACEOF
56736 cat confdefs.h >>conftest.$ac_ext
56737 cat >>conftest.$ac_ext <<_ACEOF
56738 /* end confdefs.h. */
56739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56741 #define $ac_func innocuous_$ac_func
56743 /* System header to define __stub macros and hopefully few prototypes,
56744 which can conflict with char $ac_func (); below.
56745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56746 <limits.h> exists even on freestanding compilers. */
56748 #ifdef __STDC__
56749 # include <limits.h>
56750 #else
56751 # include <assert.h>
56752 #endif
56754 #undef $ac_func
56756 /* Override any gcc2 internal prototype to avoid an error. */
56757 #ifdef __cplusplus
56758 extern "C"
56760 #endif
56761 /* We use char because int might match the return type of a gcc2
56762 builtin and then its argument prototype would still apply. */
56763 char $ac_func ();
56764 /* The GNU C library defines this for functions which it implements
56765 to always fail with ENOSYS. Some functions are actually named
56766 something starting with __ and the normal name is an alias. */
56767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56768 choke me
56769 #else
56770 char (*f) () = $ac_func;
56771 #endif
56772 #ifdef __cplusplus
56774 #endif
56777 main ()
56779 return f != $ac_func;
56781 return 0;
56783 _ACEOF
56784 rm -f conftest.$ac_objext conftest$ac_exeext
56785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56786 (eval $ac_link) 2>conftest.er1
56787 ac_status=$?
56788 grep -v '^ *+' conftest.er1 >conftest.err
56789 rm -f conftest.er1
56790 cat conftest.err >&5
56791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56792 (exit $ac_status); } &&
56793 { ac_try='test -z "$ac_c_werror_flag"
56794 || test ! -s conftest.err'
56795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56796 (eval $ac_try) 2>&5
56797 ac_status=$?
56798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56799 (exit $ac_status); }; } &&
56800 { ac_try='test -s conftest$ac_exeext'
56801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56802 (eval $ac_try) 2>&5
56803 ac_status=$?
56804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56805 (exit $ac_status); }; }; then
56806 eval "$as_ac_var=yes"
56807 else
56808 echo "$as_me: failed program was:" >&5
56809 sed 's/^/| /' conftest.$ac_ext >&5
56811 eval "$as_ac_var=no"
56813 rm -f conftest.err conftest.$ac_objext \
56814 conftest$ac_exeext conftest.$ac_ext
56816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56818 if test `eval echo '${'$as_ac_var'}'` = yes; then
56819 cat >>confdefs.h <<_ACEOF
56820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56821 _ACEOF
56824 done
56836 echo "$as_me:$LINENO: checking for expf declaration" >&5
56837 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56838 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56839 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56840 echo $ECHO_N "(cached) $ECHO_C" >&6
56841 else
56845 ac_ext=cc
56846 ac_cpp='$CXXCPP $CPPFLAGS'
56847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56851 cat >conftest.$ac_ext <<_ACEOF
56852 /* confdefs.h. */
56853 _ACEOF
56854 cat confdefs.h >>conftest.$ac_ext
56855 cat >>conftest.$ac_ext <<_ACEOF
56856 /* end confdefs.h. */
56857 #include <math.h>
56858 #ifdef HAVE_IEEEFP_H
56859 #include <ieeefp.h>
56860 #endif
56863 main ()
56865 expf(0);
56867 return 0;
56869 _ACEOF
56870 rm -f conftest.$ac_objext
56871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56872 (eval $ac_compile) 2>conftest.er1
56873 ac_status=$?
56874 grep -v '^ *+' conftest.er1 >conftest.err
56875 rm -f conftest.er1
56876 cat conftest.err >&5
56877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56878 (exit $ac_status); } &&
56879 { ac_try='test -z "$ac_cxx_werror_flag"
56880 || test ! -s conftest.err'
56881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56882 (eval $ac_try) 2>&5
56883 ac_status=$?
56884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885 (exit $ac_status); }; } &&
56886 { ac_try='test -s conftest.$ac_objext'
56887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56888 (eval $ac_try) 2>&5
56889 ac_status=$?
56890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891 (exit $ac_status); }; }; then
56892 glibcxx_cv_func_expf_use=yes
56893 else
56894 echo "$as_me: failed program was:" >&5
56895 sed 's/^/| /' conftest.$ac_ext >&5
56897 glibcxx_cv_func_expf_use=no
56899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56900 ac_ext=c
56901 ac_cpp='$CPP $CPPFLAGS'
56902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56911 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56913 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56915 for ac_func in expf
56917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56918 echo "$as_me:$LINENO: checking for $ac_func" >&5
56919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56920 if eval "test \"\${$as_ac_var+set}\" = set"; then
56921 echo $ECHO_N "(cached) $ECHO_C" >&6
56922 else
56923 if test x$gcc_no_link = xyes; then
56924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56926 { (exit 1); exit 1; }; }
56928 cat >conftest.$ac_ext <<_ACEOF
56929 /* confdefs.h. */
56930 _ACEOF
56931 cat confdefs.h >>conftest.$ac_ext
56932 cat >>conftest.$ac_ext <<_ACEOF
56933 /* end confdefs.h. */
56934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56936 #define $ac_func innocuous_$ac_func
56938 /* System header to define __stub macros and hopefully few prototypes,
56939 which can conflict with char $ac_func (); below.
56940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56941 <limits.h> exists even on freestanding compilers. */
56943 #ifdef __STDC__
56944 # include <limits.h>
56945 #else
56946 # include <assert.h>
56947 #endif
56949 #undef $ac_func
56951 /* Override any gcc2 internal prototype to avoid an error. */
56952 #ifdef __cplusplus
56953 extern "C"
56955 #endif
56956 /* We use char because int might match the return type of a gcc2
56957 builtin and then its argument prototype would still apply. */
56958 char $ac_func ();
56959 /* The GNU C library defines this for functions which it implements
56960 to always fail with ENOSYS. Some functions are actually named
56961 something starting with __ and the normal name is an alias. */
56962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56963 choke me
56964 #else
56965 char (*f) () = $ac_func;
56966 #endif
56967 #ifdef __cplusplus
56969 #endif
56972 main ()
56974 return f != $ac_func;
56976 return 0;
56978 _ACEOF
56979 rm -f conftest.$ac_objext conftest$ac_exeext
56980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56981 (eval $ac_link) 2>conftest.er1
56982 ac_status=$?
56983 grep -v '^ *+' conftest.er1 >conftest.err
56984 rm -f conftest.er1
56985 cat conftest.err >&5
56986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56987 (exit $ac_status); } &&
56988 { ac_try='test -z "$ac_c_werror_flag"
56989 || test ! -s conftest.err'
56990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56991 (eval $ac_try) 2>&5
56992 ac_status=$?
56993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56994 (exit $ac_status); }; } &&
56995 { ac_try='test -s conftest$ac_exeext'
56996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56997 (eval $ac_try) 2>&5
56998 ac_status=$?
56999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57000 (exit $ac_status); }; }; then
57001 eval "$as_ac_var=yes"
57002 else
57003 echo "$as_me: failed program was:" >&5
57004 sed 's/^/| /' conftest.$ac_ext >&5
57006 eval "$as_ac_var=no"
57008 rm -f conftest.err conftest.$ac_objext \
57009 conftest$ac_exeext conftest.$ac_ext
57011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57013 if test `eval echo '${'$as_ac_var'}'` = yes; then
57014 cat >>confdefs.h <<_ACEOF
57015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57016 _ACEOF
57019 done
57021 else
57023 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57024 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57025 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57026 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57027 echo $ECHO_N "(cached) $ECHO_C" >&6
57028 else
57032 ac_ext=cc
57033 ac_cpp='$CXXCPP $CPPFLAGS'
57034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57038 cat >conftest.$ac_ext <<_ACEOF
57039 /* confdefs.h. */
57040 _ACEOF
57041 cat confdefs.h >>conftest.$ac_ext
57042 cat >>conftest.$ac_ext <<_ACEOF
57043 /* end confdefs.h. */
57044 #include <math.h>
57045 #ifdef HAVE_IEEEFP_H
57046 #include <ieeefp.h>
57047 #endif
57050 main ()
57052 _expf(0);
57054 return 0;
57056 _ACEOF
57057 rm -f conftest.$ac_objext
57058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57059 (eval $ac_compile) 2>conftest.er1
57060 ac_status=$?
57061 grep -v '^ *+' conftest.er1 >conftest.err
57062 rm -f conftest.er1
57063 cat conftest.err >&5
57064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57065 (exit $ac_status); } &&
57066 { ac_try='test -z "$ac_cxx_werror_flag"
57067 || test ! -s conftest.err'
57068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57069 (eval $ac_try) 2>&5
57070 ac_status=$?
57071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57072 (exit $ac_status); }; } &&
57073 { ac_try='test -s conftest.$ac_objext'
57074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57075 (eval $ac_try) 2>&5
57076 ac_status=$?
57077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57078 (exit $ac_status); }; }; then
57079 glibcxx_cv_func__expf_use=yes
57080 else
57081 echo "$as_me: failed program was:" >&5
57082 sed 's/^/| /' conftest.$ac_ext >&5
57084 glibcxx_cv_func__expf_use=no
57086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57087 ac_ext=c
57088 ac_cpp='$CPP $CPPFLAGS'
57089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57098 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57100 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57102 for ac_func in _expf
57104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57105 echo "$as_me:$LINENO: checking for $ac_func" >&5
57106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57107 if eval "test \"\${$as_ac_var+set}\" = set"; then
57108 echo $ECHO_N "(cached) $ECHO_C" >&6
57109 else
57110 if test x$gcc_no_link = xyes; then
57111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57113 { (exit 1); exit 1; }; }
57115 cat >conftest.$ac_ext <<_ACEOF
57116 /* confdefs.h. */
57117 _ACEOF
57118 cat confdefs.h >>conftest.$ac_ext
57119 cat >>conftest.$ac_ext <<_ACEOF
57120 /* end confdefs.h. */
57121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57123 #define $ac_func innocuous_$ac_func
57125 /* System header to define __stub macros and hopefully few prototypes,
57126 which can conflict with char $ac_func (); below.
57127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57128 <limits.h> exists even on freestanding compilers. */
57130 #ifdef __STDC__
57131 # include <limits.h>
57132 #else
57133 # include <assert.h>
57134 #endif
57136 #undef $ac_func
57138 /* Override any gcc2 internal prototype to avoid an error. */
57139 #ifdef __cplusplus
57140 extern "C"
57142 #endif
57143 /* We use char because int might match the return type of a gcc2
57144 builtin and then its argument prototype would still apply. */
57145 char $ac_func ();
57146 /* The GNU C library defines this for functions which it implements
57147 to always fail with ENOSYS. Some functions are actually named
57148 something starting with __ and the normal name is an alias. */
57149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57150 choke me
57151 #else
57152 char (*f) () = $ac_func;
57153 #endif
57154 #ifdef __cplusplus
57156 #endif
57159 main ()
57161 return f != $ac_func;
57163 return 0;
57165 _ACEOF
57166 rm -f conftest.$ac_objext conftest$ac_exeext
57167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57168 (eval $ac_link) 2>conftest.er1
57169 ac_status=$?
57170 grep -v '^ *+' conftest.er1 >conftest.err
57171 rm -f conftest.er1
57172 cat conftest.err >&5
57173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57174 (exit $ac_status); } &&
57175 { ac_try='test -z "$ac_c_werror_flag"
57176 || test ! -s conftest.err'
57177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57178 (eval $ac_try) 2>&5
57179 ac_status=$?
57180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57181 (exit $ac_status); }; } &&
57182 { ac_try='test -s conftest$ac_exeext'
57183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57184 (eval $ac_try) 2>&5
57185 ac_status=$?
57186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57187 (exit $ac_status); }; }; then
57188 eval "$as_ac_var=yes"
57189 else
57190 echo "$as_me: failed program was:" >&5
57191 sed 's/^/| /' conftest.$ac_ext >&5
57193 eval "$as_ac_var=no"
57195 rm -f conftest.err conftest.$ac_objext \
57196 conftest$ac_exeext conftest.$ac_ext
57198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57200 if test `eval echo '${'$as_ac_var'}'` = yes; then
57201 cat >>confdefs.h <<_ACEOF
57202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57203 _ACEOF
57206 done
57216 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57217 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57218 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57219 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57220 echo $ECHO_N "(cached) $ECHO_C" >&6
57221 else
57225 ac_ext=cc
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231 cat >conftest.$ac_ext <<_ACEOF
57232 /* confdefs.h. */
57233 _ACEOF
57234 cat confdefs.h >>conftest.$ac_ext
57235 cat >>conftest.$ac_ext <<_ACEOF
57236 /* end confdefs.h. */
57237 #include <math.h>
57238 #ifdef HAVE_IEEEFP_H
57239 #include <ieeefp.h>
57240 #endif
57243 main ()
57245 isnanf(0);
57247 return 0;
57249 _ACEOF
57250 rm -f conftest.$ac_objext
57251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57252 (eval $ac_compile) 2>conftest.er1
57253 ac_status=$?
57254 grep -v '^ *+' conftest.er1 >conftest.err
57255 rm -f conftest.er1
57256 cat conftest.err >&5
57257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57258 (exit $ac_status); } &&
57259 { ac_try='test -z "$ac_cxx_werror_flag"
57260 || test ! -s conftest.err'
57261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57262 (eval $ac_try) 2>&5
57263 ac_status=$?
57264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265 (exit $ac_status); }; } &&
57266 { ac_try='test -s conftest.$ac_objext'
57267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57268 (eval $ac_try) 2>&5
57269 ac_status=$?
57270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57271 (exit $ac_status); }; }; then
57272 glibcxx_cv_func_isnanf_use=yes
57273 else
57274 echo "$as_me: failed program was:" >&5
57275 sed 's/^/| /' conftest.$ac_ext >&5
57277 glibcxx_cv_func_isnanf_use=no
57279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57280 ac_ext=c
57281 ac_cpp='$CPP $CPPFLAGS'
57282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57291 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57293 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57295 for ac_func in isnanf
57297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57298 echo "$as_me:$LINENO: checking for $ac_func" >&5
57299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57300 if eval "test \"\${$as_ac_var+set}\" = set"; then
57301 echo $ECHO_N "(cached) $ECHO_C" >&6
57302 else
57303 if test x$gcc_no_link = xyes; then
57304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57306 { (exit 1); exit 1; }; }
57308 cat >conftest.$ac_ext <<_ACEOF
57309 /* confdefs.h. */
57310 _ACEOF
57311 cat confdefs.h >>conftest.$ac_ext
57312 cat >>conftest.$ac_ext <<_ACEOF
57313 /* end confdefs.h. */
57314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57316 #define $ac_func innocuous_$ac_func
57318 /* System header to define __stub macros and hopefully few prototypes,
57319 which can conflict with char $ac_func (); below.
57320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57321 <limits.h> exists even on freestanding compilers. */
57323 #ifdef __STDC__
57324 # include <limits.h>
57325 #else
57326 # include <assert.h>
57327 #endif
57329 #undef $ac_func
57331 /* Override any gcc2 internal prototype to avoid an error. */
57332 #ifdef __cplusplus
57333 extern "C"
57335 #endif
57336 /* We use char because int might match the return type of a gcc2
57337 builtin and then its argument prototype would still apply. */
57338 char $ac_func ();
57339 /* The GNU C library defines this for functions which it implements
57340 to always fail with ENOSYS. Some functions are actually named
57341 something starting with __ and the normal name is an alias. */
57342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57343 choke me
57344 #else
57345 char (*f) () = $ac_func;
57346 #endif
57347 #ifdef __cplusplus
57349 #endif
57352 main ()
57354 return f != $ac_func;
57356 return 0;
57358 _ACEOF
57359 rm -f conftest.$ac_objext conftest$ac_exeext
57360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57361 (eval $ac_link) 2>conftest.er1
57362 ac_status=$?
57363 grep -v '^ *+' conftest.er1 >conftest.err
57364 rm -f conftest.er1
57365 cat conftest.err >&5
57366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57367 (exit $ac_status); } &&
57368 { ac_try='test -z "$ac_c_werror_flag"
57369 || test ! -s conftest.err'
57370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57371 (eval $ac_try) 2>&5
57372 ac_status=$?
57373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57374 (exit $ac_status); }; } &&
57375 { ac_try='test -s conftest$ac_exeext'
57376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57377 (eval $ac_try) 2>&5
57378 ac_status=$?
57379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57380 (exit $ac_status); }; }; then
57381 eval "$as_ac_var=yes"
57382 else
57383 echo "$as_me: failed program was:" >&5
57384 sed 's/^/| /' conftest.$ac_ext >&5
57386 eval "$as_ac_var=no"
57388 rm -f conftest.err conftest.$ac_objext \
57389 conftest$ac_exeext conftest.$ac_ext
57391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57393 if test `eval echo '${'$as_ac_var'}'` = yes; then
57394 cat >>confdefs.h <<_ACEOF
57395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57396 _ACEOF
57399 done
57401 else
57403 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57404 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57405 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57406 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57407 echo $ECHO_N "(cached) $ECHO_C" >&6
57408 else
57412 ac_ext=cc
57413 ac_cpp='$CXXCPP $CPPFLAGS'
57414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57418 cat >conftest.$ac_ext <<_ACEOF
57419 /* confdefs.h. */
57420 _ACEOF
57421 cat confdefs.h >>conftest.$ac_ext
57422 cat >>conftest.$ac_ext <<_ACEOF
57423 /* end confdefs.h. */
57424 #include <math.h>
57425 #ifdef HAVE_IEEEFP_H
57426 #include <ieeefp.h>
57427 #endif
57430 main ()
57432 _isnanf(0);
57434 return 0;
57436 _ACEOF
57437 rm -f conftest.$ac_objext
57438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57439 (eval $ac_compile) 2>conftest.er1
57440 ac_status=$?
57441 grep -v '^ *+' conftest.er1 >conftest.err
57442 rm -f conftest.er1
57443 cat conftest.err >&5
57444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57445 (exit $ac_status); } &&
57446 { ac_try='test -z "$ac_cxx_werror_flag"
57447 || test ! -s conftest.err'
57448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57449 (eval $ac_try) 2>&5
57450 ac_status=$?
57451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57452 (exit $ac_status); }; } &&
57453 { ac_try='test -s conftest.$ac_objext'
57454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57455 (eval $ac_try) 2>&5
57456 ac_status=$?
57457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57458 (exit $ac_status); }; }; then
57459 glibcxx_cv_func__isnanf_use=yes
57460 else
57461 echo "$as_me: failed program was:" >&5
57462 sed 's/^/| /' conftest.$ac_ext >&5
57464 glibcxx_cv_func__isnanf_use=no
57466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57467 ac_ext=c
57468 ac_cpp='$CPP $CPPFLAGS'
57469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57478 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57480 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57482 for ac_func in _isnanf
57484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57485 echo "$as_me:$LINENO: checking for $ac_func" >&5
57486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57487 if eval "test \"\${$as_ac_var+set}\" = set"; then
57488 echo $ECHO_N "(cached) $ECHO_C" >&6
57489 else
57490 if test x$gcc_no_link = xyes; then
57491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57493 { (exit 1); exit 1; }; }
57495 cat >conftest.$ac_ext <<_ACEOF
57496 /* confdefs.h. */
57497 _ACEOF
57498 cat confdefs.h >>conftest.$ac_ext
57499 cat >>conftest.$ac_ext <<_ACEOF
57500 /* end confdefs.h. */
57501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57503 #define $ac_func innocuous_$ac_func
57505 /* System header to define __stub macros and hopefully few prototypes,
57506 which can conflict with char $ac_func (); below.
57507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57508 <limits.h> exists even on freestanding compilers. */
57510 #ifdef __STDC__
57511 # include <limits.h>
57512 #else
57513 # include <assert.h>
57514 #endif
57516 #undef $ac_func
57518 /* Override any gcc2 internal prototype to avoid an error. */
57519 #ifdef __cplusplus
57520 extern "C"
57522 #endif
57523 /* We use char because int might match the return type of a gcc2
57524 builtin and then its argument prototype would still apply. */
57525 char $ac_func ();
57526 /* The GNU C library defines this for functions which it implements
57527 to always fail with ENOSYS. Some functions are actually named
57528 something starting with __ and the normal name is an alias. */
57529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57530 choke me
57531 #else
57532 char (*f) () = $ac_func;
57533 #endif
57534 #ifdef __cplusplus
57536 #endif
57539 main ()
57541 return f != $ac_func;
57543 return 0;
57545 _ACEOF
57546 rm -f conftest.$ac_objext conftest$ac_exeext
57547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57548 (eval $ac_link) 2>conftest.er1
57549 ac_status=$?
57550 grep -v '^ *+' conftest.er1 >conftest.err
57551 rm -f conftest.er1
57552 cat conftest.err >&5
57553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57554 (exit $ac_status); } &&
57555 { ac_try='test -z "$ac_c_werror_flag"
57556 || test ! -s conftest.err'
57557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57558 (eval $ac_try) 2>&5
57559 ac_status=$?
57560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57561 (exit $ac_status); }; } &&
57562 { ac_try='test -s conftest$ac_exeext'
57563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57564 (eval $ac_try) 2>&5
57565 ac_status=$?
57566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57567 (exit $ac_status); }; }; then
57568 eval "$as_ac_var=yes"
57569 else
57570 echo "$as_me: failed program was:" >&5
57571 sed 's/^/| /' conftest.$ac_ext >&5
57573 eval "$as_ac_var=no"
57575 rm -f conftest.err conftest.$ac_objext \
57576 conftest$ac_exeext conftest.$ac_ext
57578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57580 if test `eval echo '${'$as_ac_var'}'` = yes; then
57581 cat >>confdefs.h <<_ACEOF
57582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57583 _ACEOF
57586 done
57596 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57597 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57598 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57599 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57600 echo $ECHO_N "(cached) $ECHO_C" >&6
57601 else
57605 ac_ext=cc
57606 ac_cpp='$CXXCPP $CPPFLAGS'
57607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57611 cat >conftest.$ac_ext <<_ACEOF
57612 /* confdefs.h. */
57613 _ACEOF
57614 cat confdefs.h >>conftest.$ac_ext
57615 cat >>conftest.$ac_ext <<_ACEOF
57616 /* end confdefs.h. */
57617 #include <math.h>
57618 #ifdef HAVE_IEEEFP_H
57619 #include <ieeefp.h>
57620 #endif
57623 main ()
57625 isinff(0);
57627 return 0;
57629 _ACEOF
57630 rm -f conftest.$ac_objext
57631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57632 (eval $ac_compile) 2>conftest.er1
57633 ac_status=$?
57634 grep -v '^ *+' conftest.er1 >conftest.err
57635 rm -f conftest.er1
57636 cat conftest.err >&5
57637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57638 (exit $ac_status); } &&
57639 { ac_try='test -z "$ac_cxx_werror_flag"
57640 || test ! -s conftest.err'
57641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57642 (eval $ac_try) 2>&5
57643 ac_status=$?
57644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57645 (exit $ac_status); }; } &&
57646 { ac_try='test -s conftest.$ac_objext'
57647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57648 (eval $ac_try) 2>&5
57649 ac_status=$?
57650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57651 (exit $ac_status); }; }; then
57652 glibcxx_cv_func_isinff_use=yes
57653 else
57654 echo "$as_me: failed program was:" >&5
57655 sed 's/^/| /' conftest.$ac_ext >&5
57657 glibcxx_cv_func_isinff_use=no
57659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57660 ac_ext=c
57661 ac_cpp='$CPP $CPPFLAGS'
57662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57671 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57673 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57675 for ac_func in isinff
57677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57678 echo "$as_me:$LINENO: checking for $ac_func" >&5
57679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57680 if eval "test \"\${$as_ac_var+set}\" = set"; then
57681 echo $ECHO_N "(cached) $ECHO_C" >&6
57682 else
57683 if test x$gcc_no_link = xyes; then
57684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57686 { (exit 1); exit 1; }; }
57688 cat >conftest.$ac_ext <<_ACEOF
57689 /* confdefs.h. */
57690 _ACEOF
57691 cat confdefs.h >>conftest.$ac_ext
57692 cat >>conftest.$ac_ext <<_ACEOF
57693 /* end confdefs.h. */
57694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57696 #define $ac_func innocuous_$ac_func
57698 /* System header to define __stub macros and hopefully few prototypes,
57699 which can conflict with char $ac_func (); below.
57700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57701 <limits.h> exists even on freestanding compilers. */
57703 #ifdef __STDC__
57704 # include <limits.h>
57705 #else
57706 # include <assert.h>
57707 #endif
57709 #undef $ac_func
57711 /* Override any gcc2 internal prototype to avoid an error. */
57712 #ifdef __cplusplus
57713 extern "C"
57715 #endif
57716 /* We use char because int might match the return type of a gcc2
57717 builtin and then its argument prototype would still apply. */
57718 char $ac_func ();
57719 /* The GNU C library defines this for functions which it implements
57720 to always fail with ENOSYS. Some functions are actually named
57721 something starting with __ and the normal name is an alias. */
57722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57723 choke me
57724 #else
57725 char (*f) () = $ac_func;
57726 #endif
57727 #ifdef __cplusplus
57729 #endif
57732 main ()
57734 return f != $ac_func;
57736 return 0;
57738 _ACEOF
57739 rm -f conftest.$ac_objext conftest$ac_exeext
57740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57741 (eval $ac_link) 2>conftest.er1
57742 ac_status=$?
57743 grep -v '^ *+' conftest.er1 >conftest.err
57744 rm -f conftest.er1
57745 cat conftest.err >&5
57746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57747 (exit $ac_status); } &&
57748 { ac_try='test -z "$ac_c_werror_flag"
57749 || test ! -s conftest.err'
57750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57751 (eval $ac_try) 2>&5
57752 ac_status=$?
57753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57754 (exit $ac_status); }; } &&
57755 { ac_try='test -s conftest$ac_exeext'
57756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57757 (eval $ac_try) 2>&5
57758 ac_status=$?
57759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57760 (exit $ac_status); }; }; then
57761 eval "$as_ac_var=yes"
57762 else
57763 echo "$as_me: failed program was:" >&5
57764 sed 's/^/| /' conftest.$ac_ext >&5
57766 eval "$as_ac_var=no"
57768 rm -f conftest.err conftest.$ac_objext \
57769 conftest$ac_exeext conftest.$ac_ext
57771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57773 if test `eval echo '${'$as_ac_var'}'` = yes; then
57774 cat >>confdefs.h <<_ACEOF
57775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57776 _ACEOF
57779 done
57781 else
57783 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57784 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57785 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57786 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57787 echo $ECHO_N "(cached) $ECHO_C" >&6
57788 else
57792 ac_ext=cc
57793 ac_cpp='$CXXCPP $CPPFLAGS'
57794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57798 cat >conftest.$ac_ext <<_ACEOF
57799 /* confdefs.h. */
57800 _ACEOF
57801 cat confdefs.h >>conftest.$ac_ext
57802 cat >>conftest.$ac_ext <<_ACEOF
57803 /* end confdefs.h. */
57804 #include <math.h>
57805 #ifdef HAVE_IEEEFP_H
57806 #include <ieeefp.h>
57807 #endif
57810 main ()
57812 _isinff(0);
57814 return 0;
57816 _ACEOF
57817 rm -f conftest.$ac_objext
57818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57819 (eval $ac_compile) 2>conftest.er1
57820 ac_status=$?
57821 grep -v '^ *+' conftest.er1 >conftest.err
57822 rm -f conftest.er1
57823 cat conftest.err >&5
57824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57825 (exit $ac_status); } &&
57826 { ac_try='test -z "$ac_cxx_werror_flag"
57827 || test ! -s conftest.err'
57828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57829 (eval $ac_try) 2>&5
57830 ac_status=$?
57831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57832 (exit $ac_status); }; } &&
57833 { ac_try='test -s conftest.$ac_objext'
57834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57835 (eval $ac_try) 2>&5
57836 ac_status=$?
57837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838 (exit $ac_status); }; }; then
57839 glibcxx_cv_func__isinff_use=yes
57840 else
57841 echo "$as_me: failed program was:" >&5
57842 sed 's/^/| /' conftest.$ac_ext >&5
57844 glibcxx_cv_func__isinff_use=no
57846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57847 ac_ext=c
57848 ac_cpp='$CPP $CPPFLAGS'
57849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57858 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57860 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57862 for ac_func in _isinff
57864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57865 echo "$as_me:$LINENO: checking for $ac_func" >&5
57866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57867 if eval "test \"\${$as_ac_var+set}\" = set"; then
57868 echo $ECHO_N "(cached) $ECHO_C" >&6
57869 else
57870 if test x$gcc_no_link = xyes; then
57871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57873 { (exit 1); exit 1; }; }
57875 cat >conftest.$ac_ext <<_ACEOF
57876 /* confdefs.h. */
57877 _ACEOF
57878 cat confdefs.h >>conftest.$ac_ext
57879 cat >>conftest.$ac_ext <<_ACEOF
57880 /* end confdefs.h. */
57881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57883 #define $ac_func innocuous_$ac_func
57885 /* System header to define __stub macros and hopefully few prototypes,
57886 which can conflict with char $ac_func (); below.
57887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57888 <limits.h> exists even on freestanding compilers. */
57890 #ifdef __STDC__
57891 # include <limits.h>
57892 #else
57893 # include <assert.h>
57894 #endif
57896 #undef $ac_func
57898 /* Override any gcc2 internal prototype to avoid an error. */
57899 #ifdef __cplusplus
57900 extern "C"
57902 #endif
57903 /* We use char because int might match the return type of a gcc2
57904 builtin and then its argument prototype would still apply. */
57905 char $ac_func ();
57906 /* The GNU C library defines this for functions which it implements
57907 to always fail with ENOSYS. Some functions are actually named
57908 something starting with __ and the normal name is an alias. */
57909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57910 choke me
57911 #else
57912 char (*f) () = $ac_func;
57913 #endif
57914 #ifdef __cplusplus
57916 #endif
57919 main ()
57921 return f != $ac_func;
57923 return 0;
57925 _ACEOF
57926 rm -f conftest.$ac_objext conftest$ac_exeext
57927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57928 (eval $ac_link) 2>conftest.er1
57929 ac_status=$?
57930 grep -v '^ *+' conftest.er1 >conftest.err
57931 rm -f conftest.er1
57932 cat conftest.err >&5
57933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57934 (exit $ac_status); } &&
57935 { ac_try='test -z "$ac_c_werror_flag"
57936 || test ! -s conftest.err'
57937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57938 (eval $ac_try) 2>&5
57939 ac_status=$?
57940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57941 (exit $ac_status); }; } &&
57942 { ac_try='test -s conftest$ac_exeext'
57943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57944 (eval $ac_try) 2>&5
57945 ac_status=$?
57946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57947 (exit $ac_status); }; }; then
57948 eval "$as_ac_var=yes"
57949 else
57950 echo "$as_me: failed program was:" >&5
57951 sed 's/^/| /' conftest.$ac_ext >&5
57953 eval "$as_ac_var=no"
57955 rm -f conftest.err conftest.$ac_objext \
57956 conftest$ac_exeext conftest.$ac_ext
57958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57960 if test `eval echo '${'$as_ac_var'}'` = yes; then
57961 cat >>confdefs.h <<_ACEOF
57962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57963 _ACEOF
57966 done
57976 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57977 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57978 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57979 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57980 echo $ECHO_N "(cached) $ECHO_C" >&6
57981 else
57985 ac_ext=cc
57986 ac_cpp='$CXXCPP $CPPFLAGS'
57987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57991 cat >conftest.$ac_ext <<_ACEOF
57992 /* confdefs.h. */
57993 _ACEOF
57994 cat confdefs.h >>conftest.$ac_ext
57995 cat >>conftest.$ac_ext <<_ACEOF
57996 /* end confdefs.h. */
57997 #include <math.h>
57999 main ()
58001 atan2f(0, 0);
58003 return 0;
58005 _ACEOF
58006 rm -f conftest.$ac_objext
58007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58008 (eval $ac_compile) 2>conftest.er1
58009 ac_status=$?
58010 grep -v '^ *+' conftest.er1 >conftest.err
58011 rm -f conftest.er1
58012 cat conftest.err >&5
58013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58014 (exit $ac_status); } &&
58015 { ac_try='test -z "$ac_cxx_werror_flag"
58016 || test ! -s conftest.err'
58017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58018 (eval $ac_try) 2>&5
58019 ac_status=$?
58020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021 (exit $ac_status); }; } &&
58022 { ac_try='test -s conftest.$ac_objext'
58023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024 (eval $ac_try) 2>&5
58025 ac_status=$?
58026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027 (exit $ac_status); }; }; then
58028 glibcxx_cv_func_atan2f_use=yes
58029 else
58030 echo "$as_me: failed program was:" >&5
58031 sed 's/^/| /' conftest.$ac_ext >&5
58033 glibcxx_cv_func_atan2f_use=no
58035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58036 ac_ext=c
58037 ac_cpp='$CPP $CPPFLAGS'
58038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58047 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58049 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58051 for ac_func in atan2f
58053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58054 echo "$as_me:$LINENO: checking for $ac_func" >&5
58055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58056 if eval "test \"\${$as_ac_var+set}\" = set"; then
58057 echo $ECHO_N "(cached) $ECHO_C" >&6
58058 else
58059 if test x$gcc_no_link = xyes; then
58060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58062 { (exit 1); exit 1; }; }
58064 cat >conftest.$ac_ext <<_ACEOF
58065 /* confdefs.h. */
58066 _ACEOF
58067 cat confdefs.h >>conftest.$ac_ext
58068 cat >>conftest.$ac_ext <<_ACEOF
58069 /* end confdefs.h. */
58070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58072 #define $ac_func innocuous_$ac_func
58074 /* System header to define __stub macros and hopefully few prototypes,
58075 which can conflict with char $ac_func (); below.
58076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58077 <limits.h> exists even on freestanding compilers. */
58079 #ifdef __STDC__
58080 # include <limits.h>
58081 #else
58082 # include <assert.h>
58083 #endif
58085 #undef $ac_func
58087 /* Override any gcc2 internal prototype to avoid an error. */
58088 #ifdef __cplusplus
58089 extern "C"
58091 #endif
58092 /* We use char because int might match the return type of a gcc2
58093 builtin and then its argument prototype would still apply. */
58094 char $ac_func ();
58095 /* The GNU C library defines this for functions which it implements
58096 to always fail with ENOSYS. Some functions are actually named
58097 something starting with __ and the normal name is an alias. */
58098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58099 choke me
58100 #else
58101 char (*f) () = $ac_func;
58102 #endif
58103 #ifdef __cplusplus
58105 #endif
58108 main ()
58110 return f != $ac_func;
58112 return 0;
58114 _ACEOF
58115 rm -f conftest.$ac_objext conftest$ac_exeext
58116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58117 (eval $ac_link) 2>conftest.er1
58118 ac_status=$?
58119 grep -v '^ *+' conftest.er1 >conftest.err
58120 rm -f conftest.er1
58121 cat conftest.err >&5
58122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58123 (exit $ac_status); } &&
58124 { ac_try='test -z "$ac_c_werror_flag"
58125 || test ! -s conftest.err'
58126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58127 (eval $ac_try) 2>&5
58128 ac_status=$?
58129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58130 (exit $ac_status); }; } &&
58131 { ac_try='test -s conftest$ac_exeext'
58132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58133 (eval $ac_try) 2>&5
58134 ac_status=$?
58135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58136 (exit $ac_status); }; }; then
58137 eval "$as_ac_var=yes"
58138 else
58139 echo "$as_me: failed program was:" >&5
58140 sed 's/^/| /' conftest.$ac_ext >&5
58142 eval "$as_ac_var=no"
58144 rm -f conftest.err conftest.$ac_objext \
58145 conftest$ac_exeext conftest.$ac_ext
58147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58149 if test `eval echo '${'$as_ac_var'}'` = yes; then
58150 cat >>confdefs.h <<_ACEOF
58151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58152 _ACEOF
58155 done
58157 else
58159 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58160 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58161 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58162 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58163 echo $ECHO_N "(cached) $ECHO_C" >&6
58164 else
58168 ac_ext=cc
58169 ac_cpp='$CXXCPP $CPPFLAGS'
58170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58174 cat >conftest.$ac_ext <<_ACEOF
58175 /* confdefs.h. */
58176 _ACEOF
58177 cat confdefs.h >>conftest.$ac_ext
58178 cat >>conftest.$ac_ext <<_ACEOF
58179 /* end confdefs.h. */
58180 #include <math.h>
58182 main ()
58184 _atan2f(0, 0);
58186 return 0;
58188 _ACEOF
58189 rm -f conftest.$ac_objext
58190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58191 (eval $ac_compile) 2>conftest.er1
58192 ac_status=$?
58193 grep -v '^ *+' conftest.er1 >conftest.err
58194 rm -f conftest.er1
58195 cat conftest.err >&5
58196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58197 (exit $ac_status); } &&
58198 { ac_try='test -z "$ac_cxx_werror_flag"
58199 || test ! -s conftest.err'
58200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58201 (eval $ac_try) 2>&5
58202 ac_status=$?
58203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58204 (exit $ac_status); }; } &&
58205 { ac_try='test -s conftest.$ac_objext'
58206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58207 (eval $ac_try) 2>&5
58208 ac_status=$?
58209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58210 (exit $ac_status); }; }; then
58211 glibcxx_cv_func__atan2f_use=yes
58212 else
58213 echo "$as_me: failed program was:" >&5
58214 sed 's/^/| /' conftest.$ac_ext >&5
58216 glibcxx_cv_func__atan2f_use=no
58218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58219 ac_ext=c
58220 ac_cpp='$CPP $CPPFLAGS'
58221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58230 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58232 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58234 for ac_func in _atan2f
58236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58237 echo "$as_me:$LINENO: checking for $ac_func" >&5
58238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58239 if eval "test \"\${$as_ac_var+set}\" = set"; then
58240 echo $ECHO_N "(cached) $ECHO_C" >&6
58241 else
58242 if test x$gcc_no_link = xyes; then
58243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58245 { (exit 1); exit 1; }; }
58247 cat >conftest.$ac_ext <<_ACEOF
58248 /* confdefs.h. */
58249 _ACEOF
58250 cat confdefs.h >>conftest.$ac_ext
58251 cat >>conftest.$ac_ext <<_ACEOF
58252 /* end confdefs.h. */
58253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58255 #define $ac_func innocuous_$ac_func
58257 /* System header to define __stub macros and hopefully few prototypes,
58258 which can conflict with char $ac_func (); below.
58259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58260 <limits.h> exists even on freestanding compilers. */
58262 #ifdef __STDC__
58263 # include <limits.h>
58264 #else
58265 # include <assert.h>
58266 #endif
58268 #undef $ac_func
58270 /* Override any gcc2 internal prototype to avoid an error. */
58271 #ifdef __cplusplus
58272 extern "C"
58274 #endif
58275 /* We use char because int might match the return type of a gcc2
58276 builtin and then its argument prototype would still apply. */
58277 char $ac_func ();
58278 /* The GNU C library defines this for functions which it implements
58279 to always fail with ENOSYS. Some functions are actually named
58280 something starting with __ and the normal name is an alias. */
58281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58282 choke me
58283 #else
58284 char (*f) () = $ac_func;
58285 #endif
58286 #ifdef __cplusplus
58288 #endif
58291 main ()
58293 return f != $ac_func;
58295 return 0;
58297 _ACEOF
58298 rm -f conftest.$ac_objext conftest$ac_exeext
58299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58300 (eval $ac_link) 2>conftest.er1
58301 ac_status=$?
58302 grep -v '^ *+' conftest.er1 >conftest.err
58303 rm -f conftest.er1
58304 cat conftest.err >&5
58305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58306 (exit $ac_status); } &&
58307 { ac_try='test -z "$ac_c_werror_flag"
58308 || test ! -s conftest.err'
58309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58310 (eval $ac_try) 2>&5
58311 ac_status=$?
58312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58313 (exit $ac_status); }; } &&
58314 { ac_try='test -s conftest$ac_exeext'
58315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58316 (eval $ac_try) 2>&5
58317 ac_status=$?
58318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58319 (exit $ac_status); }; }; then
58320 eval "$as_ac_var=yes"
58321 else
58322 echo "$as_me: failed program was:" >&5
58323 sed 's/^/| /' conftest.$ac_ext >&5
58325 eval "$as_ac_var=no"
58327 rm -f conftest.err conftest.$ac_objext \
58328 conftest$ac_exeext conftest.$ac_ext
58330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58332 if test `eval echo '${'$as_ac_var'}'` = yes; then
58333 cat >>confdefs.h <<_ACEOF
58334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58335 _ACEOF
58338 done
58348 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58349 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58352 echo $ECHO_N "(cached) $ECHO_C" >&6
58353 else
58357 ac_ext=cc
58358 ac_cpp='$CXXCPP $CPPFLAGS'
58359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58363 cat >conftest.$ac_ext <<_ACEOF
58364 /* confdefs.h. */
58365 _ACEOF
58366 cat confdefs.h >>conftest.$ac_ext
58367 cat >>conftest.$ac_ext <<_ACEOF
58368 /* end confdefs.h. */
58369 #include <math.h>
58370 #ifdef HAVE_IEEEFP_H
58371 #include <ieeefp.h>
58372 #endif
58375 main ()
58377 fabsf(0);
58379 return 0;
58381 _ACEOF
58382 rm -f conftest.$ac_objext
58383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58384 (eval $ac_compile) 2>conftest.er1
58385 ac_status=$?
58386 grep -v '^ *+' conftest.er1 >conftest.err
58387 rm -f conftest.er1
58388 cat conftest.err >&5
58389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58390 (exit $ac_status); } &&
58391 { ac_try='test -z "$ac_cxx_werror_flag"
58392 || test ! -s conftest.err'
58393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58394 (eval $ac_try) 2>&5
58395 ac_status=$?
58396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58397 (exit $ac_status); }; } &&
58398 { ac_try='test -s conftest.$ac_objext'
58399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58400 (eval $ac_try) 2>&5
58401 ac_status=$?
58402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58403 (exit $ac_status); }; }; then
58404 glibcxx_cv_func_fabsf_use=yes
58405 else
58406 echo "$as_me: failed program was:" >&5
58407 sed 's/^/| /' conftest.$ac_ext >&5
58409 glibcxx_cv_func_fabsf_use=no
58411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58423 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58425 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58427 for ac_func in fabsf
58429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58430 echo "$as_me:$LINENO: checking for $ac_func" >&5
58431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58432 if eval "test \"\${$as_ac_var+set}\" = set"; then
58433 echo $ECHO_N "(cached) $ECHO_C" >&6
58434 else
58435 if test x$gcc_no_link = xyes; then
58436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58438 { (exit 1); exit 1; }; }
58440 cat >conftest.$ac_ext <<_ACEOF
58441 /* confdefs.h. */
58442 _ACEOF
58443 cat confdefs.h >>conftest.$ac_ext
58444 cat >>conftest.$ac_ext <<_ACEOF
58445 /* end confdefs.h. */
58446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58448 #define $ac_func innocuous_$ac_func
58450 /* System header to define __stub macros and hopefully few prototypes,
58451 which can conflict with char $ac_func (); below.
58452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58453 <limits.h> exists even on freestanding compilers. */
58455 #ifdef __STDC__
58456 # include <limits.h>
58457 #else
58458 # include <assert.h>
58459 #endif
58461 #undef $ac_func
58463 /* Override any gcc2 internal prototype to avoid an error. */
58464 #ifdef __cplusplus
58465 extern "C"
58467 #endif
58468 /* We use char because int might match the return type of a gcc2
58469 builtin and then its argument prototype would still apply. */
58470 char $ac_func ();
58471 /* The GNU C library defines this for functions which it implements
58472 to always fail with ENOSYS. Some functions are actually named
58473 something starting with __ and the normal name is an alias. */
58474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58475 choke me
58476 #else
58477 char (*f) () = $ac_func;
58478 #endif
58479 #ifdef __cplusplus
58481 #endif
58484 main ()
58486 return f != $ac_func;
58488 return 0;
58490 _ACEOF
58491 rm -f conftest.$ac_objext conftest$ac_exeext
58492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58493 (eval $ac_link) 2>conftest.er1
58494 ac_status=$?
58495 grep -v '^ *+' conftest.er1 >conftest.err
58496 rm -f conftest.er1
58497 cat conftest.err >&5
58498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58499 (exit $ac_status); } &&
58500 { ac_try='test -z "$ac_c_werror_flag"
58501 || test ! -s conftest.err'
58502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58503 (eval $ac_try) 2>&5
58504 ac_status=$?
58505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58506 (exit $ac_status); }; } &&
58507 { ac_try='test -s conftest$ac_exeext'
58508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58509 (eval $ac_try) 2>&5
58510 ac_status=$?
58511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58512 (exit $ac_status); }; }; then
58513 eval "$as_ac_var=yes"
58514 else
58515 echo "$as_me: failed program was:" >&5
58516 sed 's/^/| /' conftest.$ac_ext >&5
58518 eval "$as_ac_var=no"
58520 rm -f conftest.err conftest.$ac_objext \
58521 conftest$ac_exeext conftest.$ac_ext
58523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58525 if test `eval echo '${'$as_ac_var'}'` = yes; then
58526 cat >>confdefs.h <<_ACEOF
58527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58528 _ACEOF
58531 done
58533 else
58535 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58536 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58537 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58538 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58539 echo $ECHO_N "(cached) $ECHO_C" >&6
58540 else
58544 ac_ext=cc
58545 ac_cpp='$CXXCPP $CPPFLAGS'
58546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58550 cat >conftest.$ac_ext <<_ACEOF
58551 /* confdefs.h. */
58552 _ACEOF
58553 cat confdefs.h >>conftest.$ac_ext
58554 cat >>conftest.$ac_ext <<_ACEOF
58555 /* end confdefs.h. */
58556 #include <math.h>
58557 #ifdef HAVE_IEEEFP_H
58558 #include <ieeefp.h>
58559 #endif
58562 main ()
58564 _fabsf(0);
58566 return 0;
58568 _ACEOF
58569 rm -f conftest.$ac_objext
58570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58571 (eval $ac_compile) 2>conftest.er1
58572 ac_status=$?
58573 grep -v '^ *+' conftest.er1 >conftest.err
58574 rm -f conftest.er1
58575 cat conftest.err >&5
58576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577 (exit $ac_status); } &&
58578 { ac_try='test -z "$ac_cxx_werror_flag"
58579 || test ! -s conftest.err'
58580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58581 (eval $ac_try) 2>&5
58582 ac_status=$?
58583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584 (exit $ac_status); }; } &&
58585 { ac_try='test -s conftest.$ac_objext'
58586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58587 (eval $ac_try) 2>&5
58588 ac_status=$?
58589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58590 (exit $ac_status); }; }; then
58591 glibcxx_cv_func__fabsf_use=yes
58592 else
58593 echo "$as_me: failed program was:" >&5
58594 sed 's/^/| /' conftest.$ac_ext >&5
58596 glibcxx_cv_func__fabsf_use=no
58598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58599 ac_ext=c
58600 ac_cpp='$CPP $CPPFLAGS'
58601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58610 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58612 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58614 for ac_func in _fabsf
58616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58617 echo "$as_me:$LINENO: checking for $ac_func" >&5
58618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58619 if eval "test \"\${$as_ac_var+set}\" = set"; then
58620 echo $ECHO_N "(cached) $ECHO_C" >&6
58621 else
58622 if test x$gcc_no_link = xyes; then
58623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58625 { (exit 1); exit 1; }; }
58627 cat >conftest.$ac_ext <<_ACEOF
58628 /* confdefs.h. */
58629 _ACEOF
58630 cat confdefs.h >>conftest.$ac_ext
58631 cat >>conftest.$ac_ext <<_ACEOF
58632 /* end confdefs.h. */
58633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58635 #define $ac_func innocuous_$ac_func
58637 /* System header to define __stub macros and hopefully few prototypes,
58638 which can conflict with char $ac_func (); below.
58639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58640 <limits.h> exists even on freestanding compilers. */
58642 #ifdef __STDC__
58643 # include <limits.h>
58644 #else
58645 # include <assert.h>
58646 #endif
58648 #undef $ac_func
58650 /* Override any gcc2 internal prototype to avoid an error. */
58651 #ifdef __cplusplus
58652 extern "C"
58654 #endif
58655 /* We use char because int might match the return type of a gcc2
58656 builtin and then its argument prototype would still apply. */
58657 char $ac_func ();
58658 /* The GNU C library defines this for functions which it implements
58659 to always fail with ENOSYS. Some functions are actually named
58660 something starting with __ and the normal name is an alias. */
58661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58662 choke me
58663 #else
58664 char (*f) () = $ac_func;
58665 #endif
58666 #ifdef __cplusplus
58668 #endif
58671 main ()
58673 return f != $ac_func;
58675 return 0;
58677 _ACEOF
58678 rm -f conftest.$ac_objext conftest$ac_exeext
58679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58680 (eval $ac_link) 2>conftest.er1
58681 ac_status=$?
58682 grep -v '^ *+' conftest.er1 >conftest.err
58683 rm -f conftest.er1
58684 cat conftest.err >&5
58685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58686 (exit $ac_status); } &&
58687 { ac_try='test -z "$ac_c_werror_flag"
58688 || test ! -s conftest.err'
58689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58690 (eval $ac_try) 2>&5
58691 ac_status=$?
58692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58693 (exit $ac_status); }; } &&
58694 { ac_try='test -s conftest$ac_exeext'
58695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58696 (eval $ac_try) 2>&5
58697 ac_status=$?
58698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58699 (exit $ac_status); }; }; then
58700 eval "$as_ac_var=yes"
58701 else
58702 echo "$as_me: failed program was:" >&5
58703 sed 's/^/| /' conftest.$ac_ext >&5
58705 eval "$as_ac_var=no"
58707 rm -f conftest.err conftest.$ac_objext \
58708 conftest$ac_exeext conftest.$ac_ext
58710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58712 if test `eval echo '${'$as_ac_var'}'` = yes; then
58713 cat >>confdefs.h <<_ACEOF
58714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58715 _ACEOF
58718 done
58728 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58729 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58730 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58731 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58732 echo $ECHO_N "(cached) $ECHO_C" >&6
58733 else
58737 ac_ext=cc
58738 ac_cpp='$CXXCPP $CPPFLAGS'
58739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58743 cat >conftest.$ac_ext <<_ACEOF
58744 /* confdefs.h. */
58745 _ACEOF
58746 cat confdefs.h >>conftest.$ac_ext
58747 cat >>conftest.$ac_ext <<_ACEOF
58748 /* end confdefs.h. */
58749 #include <math.h>
58751 main ()
58753 fmodf(0, 0);
58755 return 0;
58757 _ACEOF
58758 rm -f conftest.$ac_objext
58759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58760 (eval $ac_compile) 2>conftest.er1
58761 ac_status=$?
58762 grep -v '^ *+' conftest.er1 >conftest.err
58763 rm -f conftest.er1
58764 cat conftest.err >&5
58765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766 (exit $ac_status); } &&
58767 { ac_try='test -z "$ac_cxx_werror_flag"
58768 || test ! -s conftest.err'
58769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58770 (eval $ac_try) 2>&5
58771 ac_status=$?
58772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58773 (exit $ac_status); }; } &&
58774 { ac_try='test -s conftest.$ac_objext'
58775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58776 (eval $ac_try) 2>&5
58777 ac_status=$?
58778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58779 (exit $ac_status); }; }; then
58780 glibcxx_cv_func_fmodf_use=yes
58781 else
58782 echo "$as_me: failed program was:" >&5
58783 sed 's/^/| /' conftest.$ac_ext >&5
58785 glibcxx_cv_func_fmodf_use=no
58787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58788 ac_ext=c
58789 ac_cpp='$CPP $CPPFLAGS'
58790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58799 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58801 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58803 for ac_func in fmodf
58805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58806 echo "$as_me:$LINENO: checking for $ac_func" >&5
58807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58808 if eval "test \"\${$as_ac_var+set}\" = set"; then
58809 echo $ECHO_N "(cached) $ECHO_C" >&6
58810 else
58811 if test x$gcc_no_link = xyes; then
58812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58814 { (exit 1); exit 1; }; }
58816 cat >conftest.$ac_ext <<_ACEOF
58817 /* confdefs.h. */
58818 _ACEOF
58819 cat confdefs.h >>conftest.$ac_ext
58820 cat >>conftest.$ac_ext <<_ACEOF
58821 /* end confdefs.h. */
58822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58824 #define $ac_func innocuous_$ac_func
58826 /* System header to define __stub macros and hopefully few prototypes,
58827 which can conflict with char $ac_func (); below.
58828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58829 <limits.h> exists even on freestanding compilers. */
58831 #ifdef __STDC__
58832 # include <limits.h>
58833 #else
58834 # include <assert.h>
58835 #endif
58837 #undef $ac_func
58839 /* Override any gcc2 internal prototype to avoid an error. */
58840 #ifdef __cplusplus
58841 extern "C"
58843 #endif
58844 /* We use char because int might match the return type of a gcc2
58845 builtin and then its argument prototype would still apply. */
58846 char $ac_func ();
58847 /* The GNU C library defines this for functions which it implements
58848 to always fail with ENOSYS. Some functions are actually named
58849 something starting with __ and the normal name is an alias. */
58850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58851 choke me
58852 #else
58853 char (*f) () = $ac_func;
58854 #endif
58855 #ifdef __cplusplus
58857 #endif
58860 main ()
58862 return f != $ac_func;
58864 return 0;
58866 _ACEOF
58867 rm -f conftest.$ac_objext conftest$ac_exeext
58868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58869 (eval $ac_link) 2>conftest.er1
58870 ac_status=$?
58871 grep -v '^ *+' conftest.er1 >conftest.err
58872 rm -f conftest.er1
58873 cat conftest.err >&5
58874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58875 (exit $ac_status); } &&
58876 { ac_try='test -z "$ac_c_werror_flag"
58877 || test ! -s conftest.err'
58878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58879 (eval $ac_try) 2>&5
58880 ac_status=$?
58881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58882 (exit $ac_status); }; } &&
58883 { ac_try='test -s conftest$ac_exeext'
58884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58885 (eval $ac_try) 2>&5
58886 ac_status=$?
58887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58888 (exit $ac_status); }; }; then
58889 eval "$as_ac_var=yes"
58890 else
58891 echo "$as_me: failed program was:" >&5
58892 sed 's/^/| /' conftest.$ac_ext >&5
58894 eval "$as_ac_var=no"
58896 rm -f conftest.err conftest.$ac_objext \
58897 conftest$ac_exeext conftest.$ac_ext
58899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58901 if test `eval echo '${'$as_ac_var'}'` = yes; then
58902 cat >>confdefs.h <<_ACEOF
58903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58904 _ACEOF
58907 done
58909 else
58911 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58912 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58913 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58914 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58915 echo $ECHO_N "(cached) $ECHO_C" >&6
58916 else
58920 ac_ext=cc
58921 ac_cpp='$CXXCPP $CPPFLAGS'
58922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58926 cat >conftest.$ac_ext <<_ACEOF
58927 /* confdefs.h. */
58928 _ACEOF
58929 cat confdefs.h >>conftest.$ac_ext
58930 cat >>conftest.$ac_ext <<_ACEOF
58931 /* end confdefs.h. */
58932 #include <math.h>
58934 main ()
58936 _fmodf(0, 0);
58938 return 0;
58940 _ACEOF
58941 rm -f conftest.$ac_objext
58942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58943 (eval $ac_compile) 2>conftest.er1
58944 ac_status=$?
58945 grep -v '^ *+' conftest.er1 >conftest.err
58946 rm -f conftest.er1
58947 cat conftest.err >&5
58948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58949 (exit $ac_status); } &&
58950 { ac_try='test -z "$ac_cxx_werror_flag"
58951 || test ! -s conftest.err'
58952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58953 (eval $ac_try) 2>&5
58954 ac_status=$?
58955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956 (exit $ac_status); }; } &&
58957 { ac_try='test -s conftest.$ac_objext'
58958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959 (eval $ac_try) 2>&5
58960 ac_status=$?
58961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962 (exit $ac_status); }; }; then
58963 glibcxx_cv_func__fmodf_use=yes
58964 else
58965 echo "$as_me: failed program was:" >&5
58966 sed 's/^/| /' conftest.$ac_ext >&5
58968 glibcxx_cv_func__fmodf_use=no
58970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58971 ac_ext=c
58972 ac_cpp='$CPP $CPPFLAGS'
58973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58982 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58984 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58986 for ac_func in _fmodf
58988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58989 echo "$as_me:$LINENO: checking for $ac_func" >&5
58990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58991 if eval "test \"\${$as_ac_var+set}\" = set"; then
58992 echo $ECHO_N "(cached) $ECHO_C" >&6
58993 else
58994 if test x$gcc_no_link = xyes; then
58995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58997 { (exit 1); exit 1; }; }
58999 cat >conftest.$ac_ext <<_ACEOF
59000 /* confdefs.h. */
59001 _ACEOF
59002 cat confdefs.h >>conftest.$ac_ext
59003 cat >>conftest.$ac_ext <<_ACEOF
59004 /* end confdefs.h. */
59005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59007 #define $ac_func innocuous_$ac_func
59009 /* System header to define __stub macros and hopefully few prototypes,
59010 which can conflict with char $ac_func (); below.
59011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59012 <limits.h> exists even on freestanding compilers. */
59014 #ifdef __STDC__
59015 # include <limits.h>
59016 #else
59017 # include <assert.h>
59018 #endif
59020 #undef $ac_func
59022 /* Override any gcc2 internal prototype to avoid an error. */
59023 #ifdef __cplusplus
59024 extern "C"
59026 #endif
59027 /* We use char because int might match the return type of a gcc2
59028 builtin and then its argument prototype would still apply. */
59029 char $ac_func ();
59030 /* The GNU C library defines this for functions which it implements
59031 to always fail with ENOSYS. Some functions are actually named
59032 something starting with __ and the normal name is an alias. */
59033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59034 choke me
59035 #else
59036 char (*f) () = $ac_func;
59037 #endif
59038 #ifdef __cplusplus
59040 #endif
59043 main ()
59045 return f != $ac_func;
59047 return 0;
59049 _ACEOF
59050 rm -f conftest.$ac_objext conftest$ac_exeext
59051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59052 (eval $ac_link) 2>conftest.er1
59053 ac_status=$?
59054 grep -v '^ *+' conftest.er1 >conftest.err
59055 rm -f conftest.er1
59056 cat conftest.err >&5
59057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59058 (exit $ac_status); } &&
59059 { ac_try='test -z "$ac_c_werror_flag"
59060 || test ! -s conftest.err'
59061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59062 (eval $ac_try) 2>&5
59063 ac_status=$?
59064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59065 (exit $ac_status); }; } &&
59066 { ac_try='test -s conftest$ac_exeext'
59067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59068 (eval $ac_try) 2>&5
59069 ac_status=$?
59070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59071 (exit $ac_status); }; }; then
59072 eval "$as_ac_var=yes"
59073 else
59074 echo "$as_me: failed program was:" >&5
59075 sed 's/^/| /' conftest.$ac_ext >&5
59077 eval "$as_ac_var=no"
59079 rm -f conftest.err conftest.$ac_objext \
59080 conftest$ac_exeext conftest.$ac_ext
59082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59084 if test `eval echo '${'$as_ac_var'}'` = yes; then
59085 cat >>confdefs.h <<_ACEOF
59086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59087 _ACEOF
59090 done
59100 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59101 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59102 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59103 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59104 echo $ECHO_N "(cached) $ECHO_C" >&6
59105 else
59109 ac_ext=cc
59110 ac_cpp='$CXXCPP $CPPFLAGS'
59111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59115 cat >conftest.$ac_ext <<_ACEOF
59116 /* confdefs.h. */
59117 _ACEOF
59118 cat confdefs.h >>conftest.$ac_ext
59119 cat >>conftest.$ac_ext <<_ACEOF
59120 /* end confdefs.h. */
59121 #include <math.h>
59123 main ()
59125 frexpf(0, 0);
59127 return 0;
59129 _ACEOF
59130 rm -f conftest.$ac_objext
59131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59132 (eval $ac_compile) 2>conftest.er1
59133 ac_status=$?
59134 grep -v '^ *+' conftest.er1 >conftest.err
59135 rm -f conftest.er1
59136 cat conftest.err >&5
59137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59138 (exit $ac_status); } &&
59139 { ac_try='test -z "$ac_cxx_werror_flag"
59140 || test ! -s conftest.err'
59141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59142 (eval $ac_try) 2>&5
59143 ac_status=$?
59144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59145 (exit $ac_status); }; } &&
59146 { ac_try='test -s conftest.$ac_objext'
59147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59148 (eval $ac_try) 2>&5
59149 ac_status=$?
59150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59151 (exit $ac_status); }; }; then
59152 glibcxx_cv_func_frexpf_use=yes
59153 else
59154 echo "$as_me: failed program was:" >&5
59155 sed 's/^/| /' conftest.$ac_ext >&5
59157 glibcxx_cv_func_frexpf_use=no
59159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59160 ac_ext=c
59161 ac_cpp='$CPP $CPPFLAGS'
59162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59171 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59173 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59175 for ac_func in frexpf
59177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59178 echo "$as_me:$LINENO: checking for $ac_func" >&5
59179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59180 if eval "test \"\${$as_ac_var+set}\" = set"; then
59181 echo $ECHO_N "(cached) $ECHO_C" >&6
59182 else
59183 if test x$gcc_no_link = xyes; then
59184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59186 { (exit 1); exit 1; }; }
59188 cat >conftest.$ac_ext <<_ACEOF
59189 /* confdefs.h. */
59190 _ACEOF
59191 cat confdefs.h >>conftest.$ac_ext
59192 cat >>conftest.$ac_ext <<_ACEOF
59193 /* end confdefs.h. */
59194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59196 #define $ac_func innocuous_$ac_func
59198 /* System header to define __stub macros and hopefully few prototypes,
59199 which can conflict with char $ac_func (); below.
59200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59201 <limits.h> exists even on freestanding compilers. */
59203 #ifdef __STDC__
59204 # include <limits.h>
59205 #else
59206 # include <assert.h>
59207 #endif
59209 #undef $ac_func
59211 /* Override any gcc2 internal prototype to avoid an error. */
59212 #ifdef __cplusplus
59213 extern "C"
59215 #endif
59216 /* We use char because int might match the return type of a gcc2
59217 builtin and then its argument prototype would still apply. */
59218 char $ac_func ();
59219 /* The GNU C library defines this for functions which it implements
59220 to always fail with ENOSYS. Some functions are actually named
59221 something starting with __ and the normal name is an alias. */
59222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59223 choke me
59224 #else
59225 char (*f) () = $ac_func;
59226 #endif
59227 #ifdef __cplusplus
59229 #endif
59232 main ()
59234 return f != $ac_func;
59236 return 0;
59238 _ACEOF
59239 rm -f conftest.$ac_objext conftest$ac_exeext
59240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59241 (eval $ac_link) 2>conftest.er1
59242 ac_status=$?
59243 grep -v '^ *+' conftest.er1 >conftest.err
59244 rm -f conftest.er1
59245 cat conftest.err >&5
59246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59247 (exit $ac_status); } &&
59248 { ac_try='test -z "$ac_c_werror_flag"
59249 || test ! -s conftest.err'
59250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59251 (eval $ac_try) 2>&5
59252 ac_status=$?
59253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59254 (exit $ac_status); }; } &&
59255 { ac_try='test -s conftest$ac_exeext'
59256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59257 (eval $ac_try) 2>&5
59258 ac_status=$?
59259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59260 (exit $ac_status); }; }; then
59261 eval "$as_ac_var=yes"
59262 else
59263 echo "$as_me: failed program was:" >&5
59264 sed 's/^/| /' conftest.$ac_ext >&5
59266 eval "$as_ac_var=no"
59268 rm -f conftest.err conftest.$ac_objext \
59269 conftest$ac_exeext conftest.$ac_ext
59271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59273 if test `eval echo '${'$as_ac_var'}'` = yes; then
59274 cat >>confdefs.h <<_ACEOF
59275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59276 _ACEOF
59279 done
59281 else
59283 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59284 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59285 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59286 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59287 echo $ECHO_N "(cached) $ECHO_C" >&6
59288 else
59292 ac_ext=cc
59293 ac_cpp='$CXXCPP $CPPFLAGS'
59294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59298 cat >conftest.$ac_ext <<_ACEOF
59299 /* confdefs.h. */
59300 _ACEOF
59301 cat confdefs.h >>conftest.$ac_ext
59302 cat >>conftest.$ac_ext <<_ACEOF
59303 /* end confdefs.h. */
59304 #include <math.h>
59306 main ()
59308 _frexpf(0, 0);
59310 return 0;
59312 _ACEOF
59313 rm -f conftest.$ac_objext
59314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59315 (eval $ac_compile) 2>conftest.er1
59316 ac_status=$?
59317 grep -v '^ *+' conftest.er1 >conftest.err
59318 rm -f conftest.er1
59319 cat conftest.err >&5
59320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321 (exit $ac_status); } &&
59322 { ac_try='test -z "$ac_cxx_werror_flag"
59323 || test ! -s conftest.err'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; } &&
59329 { ac_try='test -s conftest.$ac_objext'
59330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59331 (eval $ac_try) 2>&5
59332 ac_status=$?
59333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59334 (exit $ac_status); }; }; then
59335 glibcxx_cv_func__frexpf_use=yes
59336 else
59337 echo "$as_me: failed program was:" >&5
59338 sed 's/^/| /' conftest.$ac_ext >&5
59340 glibcxx_cv_func__frexpf_use=no
59342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59343 ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59354 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59356 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59358 for ac_func in _frexpf
59360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59361 echo "$as_me:$LINENO: checking for $ac_func" >&5
59362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59363 if eval "test \"\${$as_ac_var+set}\" = set"; then
59364 echo $ECHO_N "(cached) $ECHO_C" >&6
59365 else
59366 if test x$gcc_no_link = xyes; then
59367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59369 { (exit 1); exit 1; }; }
59371 cat >conftest.$ac_ext <<_ACEOF
59372 /* confdefs.h. */
59373 _ACEOF
59374 cat confdefs.h >>conftest.$ac_ext
59375 cat >>conftest.$ac_ext <<_ACEOF
59376 /* end confdefs.h. */
59377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59379 #define $ac_func innocuous_$ac_func
59381 /* System header to define __stub macros and hopefully few prototypes,
59382 which can conflict with char $ac_func (); below.
59383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59384 <limits.h> exists even on freestanding compilers. */
59386 #ifdef __STDC__
59387 # include <limits.h>
59388 #else
59389 # include <assert.h>
59390 #endif
59392 #undef $ac_func
59394 /* Override any gcc2 internal prototype to avoid an error. */
59395 #ifdef __cplusplus
59396 extern "C"
59398 #endif
59399 /* We use char because int might match the return type of a gcc2
59400 builtin and then its argument prototype would still apply. */
59401 char $ac_func ();
59402 /* The GNU C library defines this for functions which it implements
59403 to always fail with ENOSYS. Some functions are actually named
59404 something starting with __ and the normal name is an alias. */
59405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59406 choke me
59407 #else
59408 char (*f) () = $ac_func;
59409 #endif
59410 #ifdef __cplusplus
59412 #endif
59415 main ()
59417 return f != $ac_func;
59419 return 0;
59421 _ACEOF
59422 rm -f conftest.$ac_objext conftest$ac_exeext
59423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59424 (eval $ac_link) 2>conftest.er1
59425 ac_status=$?
59426 grep -v '^ *+' conftest.er1 >conftest.err
59427 rm -f conftest.er1
59428 cat conftest.err >&5
59429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59430 (exit $ac_status); } &&
59431 { ac_try='test -z "$ac_c_werror_flag"
59432 || test ! -s conftest.err'
59433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59434 (eval $ac_try) 2>&5
59435 ac_status=$?
59436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59437 (exit $ac_status); }; } &&
59438 { ac_try='test -s conftest$ac_exeext'
59439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59440 (eval $ac_try) 2>&5
59441 ac_status=$?
59442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59443 (exit $ac_status); }; }; then
59444 eval "$as_ac_var=yes"
59445 else
59446 echo "$as_me: failed program was:" >&5
59447 sed 's/^/| /' conftest.$ac_ext >&5
59449 eval "$as_ac_var=no"
59451 rm -f conftest.err conftest.$ac_objext \
59452 conftest$ac_exeext conftest.$ac_ext
59454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59456 if test `eval echo '${'$as_ac_var'}'` = yes; then
59457 cat >>confdefs.h <<_ACEOF
59458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59459 _ACEOF
59462 done
59472 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59473 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59474 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59475 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59476 echo $ECHO_N "(cached) $ECHO_C" >&6
59477 else
59481 ac_ext=cc
59482 ac_cpp='$CXXCPP $CPPFLAGS'
59483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59487 cat >conftest.$ac_ext <<_ACEOF
59488 /* confdefs.h. */
59489 _ACEOF
59490 cat confdefs.h >>conftest.$ac_ext
59491 cat >>conftest.$ac_ext <<_ACEOF
59492 /* end confdefs.h. */
59493 #include <math.h>
59495 main ()
59497 hypotf(0, 0);
59499 return 0;
59501 _ACEOF
59502 rm -f conftest.$ac_objext
59503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59504 (eval $ac_compile) 2>conftest.er1
59505 ac_status=$?
59506 grep -v '^ *+' conftest.er1 >conftest.err
59507 rm -f conftest.er1
59508 cat conftest.err >&5
59509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59510 (exit $ac_status); } &&
59511 { ac_try='test -z "$ac_cxx_werror_flag"
59512 || test ! -s conftest.err'
59513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59514 (eval $ac_try) 2>&5
59515 ac_status=$?
59516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59517 (exit $ac_status); }; } &&
59518 { ac_try='test -s conftest.$ac_objext'
59519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59520 (eval $ac_try) 2>&5
59521 ac_status=$?
59522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59523 (exit $ac_status); }; }; then
59524 glibcxx_cv_func_hypotf_use=yes
59525 else
59526 echo "$as_me: failed program was:" >&5
59527 sed 's/^/| /' conftest.$ac_ext >&5
59529 glibcxx_cv_func_hypotf_use=no
59531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59532 ac_ext=c
59533 ac_cpp='$CPP $CPPFLAGS'
59534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59543 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59545 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59547 for ac_func in hypotf
59549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59550 echo "$as_me:$LINENO: checking for $ac_func" >&5
59551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59552 if eval "test \"\${$as_ac_var+set}\" = set"; then
59553 echo $ECHO_N "(cached) $ECHO_C" >&6
59554 else
59555 if test x$gcc_no_link = xyes; then
59556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59558 { (exit 1); exit 1; }; }
59560 cat >conftest.$ac_ext <<_ACEOF
59561 /* confdefs.h. */
59562 _ACEOF
59563 cat confdefs.h >>conftest.$ac_ext
59564 cat >>conftest.$ac_ext <<_ACEOF
59565 /* end confdefs.h. */
59566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59568 #define $ac_func innocuous_$ac_func
59570 /* System header to define __stub macros and hopefully few prototypes,
59571 which can conflict with char $ac_func (); below.
59572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59573 <limits.h> exists even on freestanding compilers. */
59575 #ifdef __STDC__
59576 # include <limits.h>
59577 #else
59578 # include <assert.h>
59579 #endif
59581 #undef $ac_func
59583 /* Override any gcc2 internal prototype to avoid an error. */
59584 #ifdef __cplusplus
59585 extern "C"
59587 #endif
59588 /* We use char because int might match the return type of a gcc2
59589 builtin and then its argument prototype would still apply. */
59590 char $ac_func ();
59591 /* The GNU C library defines this for functions which it implements
59592 to always fail with ENOSYS. Some functions are actually named
59593 something starting with __ and the normal name is an alias. */
59594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59595 choke me
59596 #else
59597 char (*f) () = $ac_func;
59598 #endif
59599 #ifdef __cplusplus
59601 #endif
59604 main ()
59606 return f != $ac_func;
59608 return 0;
59610 _ACEOF
59611 rm -f conftest.$ac_objext conftest$ac_exeext
59612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59613 (eval $ac_link) 2>conftest.er1
59614 ac_status=$?
59615 grep -v '^ *+' conftest.er1 >conftest.err
59616 rm -f conftest.er1
59617 cat conftest.err >&5
59618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59619 (exit $ac_status); } &&
59620 { ac_try='test -z "$ac_c_werror_flag"
59621 || test ! -s conftest.err'
59622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59623 (eval $ac_try) 2>&5
59624 ac_status=$?
59625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59626 (exit $ac_status); }; } &&
59627 { ac_try='test -s conftest$ac_exeext'
59628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59629 (eval $ac_try) 2>&5
59630 ac_status=$?
59631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59632 (exit $ac_status); }; }; then
59633 eval "$as_ac_var=yes"
59634 else
59635 echo "$as_me: failed program was:" >&5
59636 sed 's/^/| /' conftest.$ac_ext >&5
59638 eval "$as_ac_var=no"
59640 rm -f conftest.err conftest.$ac_objext \
59641 conftest$ac_exeext conftest.$ac_ext
59643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59645 if test `eval echo '${'$as_ac_var'}'` = yes; then
59646 cat >>confdefs.h <<_ACEOF
59647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59648 _ACEOF
59651 done
59653 else
59655 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59656 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59657 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59658 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59659 echo $ECHO_N "(cached) $ECHO_C" >&6
59660 else
59664 ac_ext=cc
59665 ac_cpp='$CXXCPP $CPPFLAGS'
59666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59670 cat >conftest.$ac_ext <<_ACEOF
59671 /* confdefs.h. */
59672 _ACEOF
59673 cat confdefs.h >>conftest.$ac_ext
59674 cat >>conftest.$ac_ext <<_ACEOF
59675 /* end confdefs.h. */
59676 #include <math.h>
59678 main ()
59680 _hypotf(0, 0);
59682 return 0;
59684 _ACEOF
59685 rm -f conftest.$ac_objext
59686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59687 (eval $ac_compile) 2>conftest.er1
59688 ac_status=$?
59689 grep -v '^ *+' conftest.er1 >conftest.err
59690 rm -f conftest.er1
59691 cat conftest.err >&5
59692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59693 (exit $ac_status); } &&
59694 { ac_try='test -z "$ac_cxx_werror_flag"
59695 || test ! -s conftest.err'
59696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59697 (eval $ac_try) 2>&5
59698 ac_status=$?
59699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59700 (exit $ac_status); }; } &&
59701 { ac_try='test -s conftest.$ac_objext'
59702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59703 (eval $ac_try) 2>&5
59704 ac_status=$?
59705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59706 (exit $ac_status); }; }; then
59707 glibcxx_cv_func__hypotf_use=yes
59708 else
59709 echo "$as_me: failed program was:" >&5
59710 sed 's/^/| /' conftest.$ac_ext >&5
59712 glibcxx_cv_func__hypotf_use=no
59714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59715 ac_ext=c
59716 ac_cpp='$CPP $CPPFLAGS'
59717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59726 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59728 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59730 for ac_func in _hypotf
59732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59733 echo "$as_me:$LINENO: checking for $ac_func" >&5
59734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59735 if eval "test \"\${$as_ac_var+set}\" = set"; then
59736 echo $ECHO_N "(cached) $ECHO_C" >&6
59737 else
59738 if test x$gcc_no_link = xyes; then
59739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59741 { (exit 1); exit 1; }; }
59743 cat >conftest.$ac_ext <<_ACEOF
59744 /* confdefs.h. */
59745 _ACEOF
59746 cat confdefs.h >>conftest.$ac_ext
59747 cat >>conftest.$ac_ext <<_ACEOF
59748 /* end confdefs.h. */
59749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59751 #define $ac_func innocuous_$ac_func
59753 /* System header to define __stub macros and hopefully few prototypes,
59754 which can conflict with char $ac_func (); below.
59755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59756 <limits.h> exists even on freestanding compilers. */
59758 #ifdef __STDC__
59759 # include <limits.h>
59760 #else
59761 # include <assert.h>
59762 #endif
59764 #undef $ac_func
59766 /* Override any gcc2 internal prototype to avoid an error. */
59767 #ifdef __cplusplus
59768 extern "C"
59770 #endif
59771 /* We use char because int might match the return type of a gcc2
59772 builtin and then its argument prototype would still apply. */
59773 char $ac_func ();
59774 /* The GNU C library defines this for functions which it implements
59775 to always fail with ENOSYS. Some functions are actually named
59776 something starting with __ and the normal name is an alias. */
59777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59778 choke me
59779 #else
59780 char (*f) () = $ac_func;
59781 #endif
59782 #ifdef __cplusplus
59784 #endif
59787 main ()
59789 return f != $ac_func;
59791 return 0;
59793 _ACEOF
59794 rm -f conftest.$ac_objext conftest$ac_exeext
59795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59796 (eval $ac_link) 2>conftest.er1
59797 ac_status=$?
59798 grep -v '^ *+' conftest.er1 >conftest.err
59799 rm -f conftest.er1
59800 cat conftest.err >&5
59801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59802 (exit $ac_status); } &&
59803 { ac_try='test -z "$ac_c_werror_flag"
59804 || test ! -s conftest.err'
59805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59806 (eval $ac_try) 2>&5
59807 ac_status=$?
59808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59809 (exit $ac_status); }; } &&
59810 { ac_try='test -s conftest$ac_exeext'
59811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59812 (eval $ac_try) 2>&5
59813 ac_status=$?
59814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59815 (exit $ac_status); }; }; then
59816 eval "$as_ac_var=yes"
59817 else
59818 echo "$as_me: failed program was:" >&5
59819 sed 's/^/| /' conftest.$ac_ext >&5
59821 eval "$as_ac_var=no"
59823 rm -f conftest.err conftest.$ac_objext \
59824 conftest$ac_exeext conftest.$ac_ext
59826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59828 if test `eval echo '${'$as_ac_var'}'` = yes; then
59829 cat >>confdefs.h <<_ACEOF
59830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59831 _ACEOF
59834 done
59844 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59845 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59846 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59847 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59848 echo $ECHO_N "(cached) $ECHO_C" >&6
59849 else
59853 ac_ext=cc
59854 ac_cpp='$CXXCPP $CPPFLAGS'
59855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59859 cat >conftest.$ac_ext <<_ACEOF
59860 /* confdefs.h. */
59861 _ACEOF
59862 cat confdefs.h >>conftest.$ac_ext
59863 cat >>conftest.$ac_ext <<_ACEOF
59864 /* end confdefs.h. */
59865 #include <math.h>
59867 main ()
59869 ldexpf(0, 0);
59871 return 0;
59873 _ACEOF
59874 rm -f conftest.$ac_objext
59875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59876 (eval $ac_compile) 2>conftest.er1
59877 ac_status=$?
59878 grep -v '^ *+' conftest.er1 >conftest.err
59879 rm -f conftest.er1
59880 cat conftest.err >&5
59881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59882 (exit $ac_status); } &&
59883 { ac_try='test -z "$ac_cxx_werror_flag"
59884 || test ! -s conftest.err'
59885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59886 (eval $ac_try) 2>&5
59887 ac_status=$?
59888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59889 (exit $ac_status); }; } &&
59890 { ac_try='test -s conftest.$ac_objext'
59891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59892 (eval $ac_try) 2>&5
59893 ac_status=$?
59894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59895 (exit $ac_status); }; }; then
59896 glibcxx_cv_func_ldexpf_use=yes
59897 else
59898 echo "$as_me: failed program was:" >&5
59899 sed 's/^/| /' conftest.$ac_ext >&5
59901 glibcxx_cv_func_ldexpf_use=no
59903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59904 ac_ext=c
59905 ac_cpp='$CPP $CPPFLAGS'
59906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59915 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59917 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59919 for ac_func in ldexpf
59921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59922 echo "$as_me:$LINENO: checking for $ac_func" >&5
59923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59924 if eval "test \"\${$as_ac_var+set}\" = set"; then
59925 echo $ECHO_N "(cached) $ECHO_C" >&6
59926 else
59927 if test x$gcc_no_link = xyes; then
59928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59930 { (exit 1); exit 1; }; }
59932 cat >conftest.$ac_ext <<_ACEOF
59933 /* confdefs.h. */
59934 _ACEOF
59935 cat confdefs.h >>conftest.$ac_ext
59936 cat >>conftest.$ac_ext <<_ACEOF
59937 /* end confdefs.h. */
59938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59940 #define $ac_func innocuous_$ac_func
59942 /* System header to define __stub macros and hopefully few prototypes,
59943 which can conflict with char $ac_func (); below.
59944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59945 <limits.h> exists even on freestanding compilers. */
59947 #ifdef __STDC__
59948 # include <limits.h>
59949 #else
59950 # include <assert.h>
59951 #endif
59953 #undef $ac_func
59955 /* Override any gcc2 internal prototype to avoid an error. */
59956 #ifdef __cplusplus
59957 extern "C"
59959 #endif
59960 /* We use char because int might match the return type of a gcc2
59961 builtin and then its argument prototype would still apply. */
59962 char $ac_func ();
59963 /* The GNU C library defines this for functions which it implements
59964 to always fail with ENOSYS. Some functions are actually named
59965 something starting with __ and the normal name is an alias. */
59966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59967 choke me
59968 #else
59969 char (*f) () = $ac_func;
59970 #endif
59971 #ifdef __cplusplus
59973 #endif
59976 main ()
59978 return f != $ac_func;
59980 return 0;
59982 _ACEOF
59983 rm -f conftest.$ac_objext conftest$ac_exeext
59984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59985 (eval $ac_link) 2>conftest.er1
59986 ac_status=$?
59987 grep -v '^ *+' conftest.er1 >conftest.err
59988 rm -f conftest.er1
59989 cat conftest.err >&5
59990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59991 (exit $ac_status); } &&
59992 { ac_try='test -z "$ac_c_werror_flag"
59993 || test ! -s conftest.err'
59994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59995 (eval $ac_try) 2>&5
59996 ac_status=$?
59997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59998 (exit $ac_status); }; } &&
59999 { ac_try='test -s conftest$ac_exeext'
60000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60001 (eval $ac_try) 2>&5
60002 ac_status=$?
60003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60004 (exit $ac_status); }; }; then
60005 eval "$as_ac_var=yes"
60006 else
60007 echo "$as_me: failed program was:" >&5
60008 sed 's/^/| /' conftest.$ac_ext >&5
60010 eval "$as_ac_var=no"
60012 rm -f conftest.err conftest.$ac_objext \
60013 conftest$ac_exeext conftest.$ac_ext
60015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60017 if test `eval echo '${'$as_ac_var'}'` = yes; then
60018 cat >>confdefs.h <<_ACEOF
60019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60020 _ACEOF
60023 done
60025 else
60027 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60028 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60029 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60030 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60031 echo $ECHO_N "(cached) $ECHO_C" >&6
60032 else
60036 ac_ext=cc
60037 ac_cpp='$CXXCPP $CPPFLAGS'
60038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60042 cat >conftest.$ac_ext <<_ACEOF
60043 /* confdefs.h. */
60044 _ACEOF
60045 cat confdefs.h >>conftest.$ac_ext
60046 cat >>conftest.$ac_ext <<_ACEOF
60047 /* end confdefs.h. */
60048 #include <math.h>
60050 main ()
60052 _ldexpf(0, 0);
60054 return 0;
60056 _ACEOF
60057 rm -f conftest.$ac_objext
60058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60059 (eval $ac_compile) 2>conftest.er1
60060 ac_status=$?
60061 grep -v '^ *+' conftest.er1 >conftest.err
60062 rm -f conftest.er1
60063 cat conftest.err >&5
60064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60065 (exit $ac_status); } &&
60066 { ac_try='test -z "$ac_cxx_werror_flag"
60067 || test ! -s conftest.err'
60068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60069 (eval $ac_try) 2>&5
60070 ac_status=$?
60071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60072 (exit $ac_status); }; } &&
60073 { ac_try='test -s conftest.$ac_objext'
60074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60075 (eval $ac_try) 2>&5
60076 ac_status=$?
60077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60078 (exit $ac_status); }; }; then
60079 glibcxx_cv_func__ldexpf_use=yes
60080 else
60081 echo "$as_me: failed program was:" >&5
60082 sed 's/^/| /' conftest.$ac_ext >&5
60084 glibcxx_cv_func__ldexpf_use=no
60086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60087 ac_ext=c
60088 ac_cpp='$CPP $CPPFLAGS'
60089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60098 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60100 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60102 for ac_func in _ldexpf
60104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60105 echo "$as_me:$LINENO: checking for $ac_func" >&5
60106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60107 if eval "test \"\${$as_ac_var+set}\" = set"; then
60108 echo $ECHO_N "(cached) $ECHO_C" >&6
60109 else
60110 if test x$gcc_no_link = xyes; then
60111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60113 { (exit 1); exit 1; }; }
60115 cat >conftest.$ac_ext <<_ACEOF
60116 /* confdefs.h. */
60117 _ACEOF
60118 cat confdefs.h >>conftest.$ac_ext
60119 cat >>conftest.$ac_ext <<_ACEOF
60120 /* end confdefs.h. */
60121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60123 #define $ac_func innocuous_$ac_func
60125 /* System header to define __stub macros and hopefully few prototypes,
60126 which can conflict with char $ac_func (); below.
60127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60128 <limits.h> exists even on freestanding compilers. */
60130 #ifdef __STDC__
60131 # include <limits.h>
60132 #else
60133 # include <assert.h>
60134 #endif
60136 #undef $ac_func
60138 /* Override any gcc2 internal prototype to avoid an error. */
60139 #ifdef __cplusplus
60140 extern "C"
60142 #endif
60143 /* We use char because int might match the return type of a gcc2
60144 builtin and then its argument prototype would still apply. */
60145 char $ac_func ();
60146 /* The GNU C library defines this for functions which it implements
60147 to always fail with ENOSYS. Some functions are actually named
60148 something starting with __ and the normal name is an alias. */
60149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60150 choke me
60151 #else
60152 char (*f) () = $ac_func;
60153 #endif
60154 #ifdef __cplusplus
60156 #endif
60159 main ()
60161 return f != $ac_func;
60163 return 0;
60165 _ACEOF
60166 rm -f conftest.$ac_objext conftest$ac_exeext
60167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60168 (eval $ac_link) 2>conftest.er1
60169 ac_status=$?
60170 grep -v '^ *+' conftest.er1 >conftest.err
60171 rm -f conftest.er1
60172 cat conftest.err >&5
60173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60174 (exit $ac_status); } &&
60175 { ac_try='test -z "$ac_c_werror_flag"
60176 || test ! -s conftest.err'
60177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60178 (eval $ac_try) 2>&5
60179 ac_status=$?
60180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181 (exit $ac_status); }; } &&
60182 { ac_try='test -s conftest$ac_exeext'
60183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60184 (eval $ac_try) 2>&5
60185 ac_status=$?
60186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60187 (exit $ac_status); }; }; then
60188 eval "$as_ac_var=yes"
60189 else
60190 echo "$as_me: failed program was:" >&5
60191 sed 's/^/| /' conftest.$ac_ext >&5
60193 eval "$as_ac_var=no"
60195 rm -f conftest.err conftest.$ac_objext \
60196 conftest$ac_exeext conftest.$ac_ext
60198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60200 if test `eval echo '${'$as_ac_var'}'` = yes; then
60201 cat >>confdefs.h <<_ACEOF
60202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60203 _ACEOF
60206 done
60216 echo "$as_me:$LINENO: checking for logf declaration" >&5
60217 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60218 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60219 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60220 echo $ECHO_N "(cached) $ECHO_C" >&6
60221 else
60225 ac_ext=cc
60226 ac_cpp='$CXXCPP $CPPFLAGS'
60227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60231 cat >conftest.$ac_ext <<_ACEOF
60232 /* confdefs.h. */
60233 _ACEOF
60234 cat confdefs.h >>conftest.$ac_ext
60235 cat >>conftest.$ac_ext <<_ACEOF
60236 /* end confdefs.h. */
60237 #include <math.h>
60238 #ifdef HAVE_IEEEFP_H
60239 #include <ieeefp.h>
60240 #endif
60243 main ()
60245 logf(0);
60247 return 0;
60249 _ACEOF
60250 rm -f conftest.$ac_objext
60251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60252 (eval $ac_compile) 2>conftest.er1
60253 ac_status=$?
60254 grep -v '^ *+' conftest.er1 >conftest.err
60255 rm -f conftest.er1
60256 cat conftest.err >&5
60257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258 (exit $ac_status); } &&
60259 { ac_try='test -z "$ac_cxx_werror_flag"
60260 || test ! -s conftest.err'
60261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60262 (eval $ac_try) 2>&5
60263 ac_status=$?
60264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60265 (exit $ac_status); }; } &&
60266 { ac_try='test -s conftest.$ac_objext'
60267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60268 (eval $ac_try) 2>&5
60269 ac_status=$?
60270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60271 (exit $ac_status); }; }; then
60272 glibcxx_cv_func_logf_use=yes
60273 else
60274 echo "$as_me: failed program was:" >&5
60275 sed 's/^/| /' conftest.$ac_ext >&5
60277 glibcxx_cv_func_logf_use=no
60279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60280 ac_ext=c
60281 ac_cpp='$CPP $CPPFLAGS'
60282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60291 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60293 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60295 for ac_func in logf
60297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60298 echo "$as_me:$LINENO: checking for $ac_func" >&5
60299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60300 if eval "test \"\${$as_ac_var+set}\" = set"; then
60301 echo $ECHO_N "(cached) $ECHO_C" >&6
60302 else
60303 if test x$gcc_no_link = xyes; then
60304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60306 { (exit 1); exit 1; }; }
60308 cat >conftest.$ac_ext <<_ACEOF
60309 /* confdefs.h. */
60310 _ACEOF
60311 cat confdefs.h >>conftest.$ac_ext
60312 cat >>conftest.$ac_ext <<_ACEOF
60313 /* end confdefs.h. */
60314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60316 #define $ac_func innocuous_$ac_func
60318 /* System header to define __stub macros and hopefully few prototypes,
60319 which can conflict with char $ac_func (); below.
60320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60321 <limits.h> exists even on freestanding compilers. */
60323 #ifdef __STDC__
60324 # include <limits.h>
60325 #else
60326 # include <assert.h>
60327 #endif
60329 #undef $ac_func
60331 /* Override any gcc2 internal prototype to avoid an error. */
60332 #ifdef __cplusplus
60333 extern "C"
60335 #endif
60336 /* We use char because int might match the return type of a gcc2
60337 builtin and then its argument prototype would still apply. */
60338 char $ac_func ();
60339 /* The GNU C library defines this for functions which it implements
60340 to always fail with ENOSYS. Some functions are actually named
60341 something starting with __ and the normal name is an alias. */
60342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60343 choke me
60344 #else
60345 char (*f) () = $ac_func;
60346 #endif
60347 #ifdef __cplusplus
60349 #endif
60352 main ()
60354 return f != $ac_func;
60356 return 0;
60358 _ACEOF
60359 rm -f conftest.$ac_objext conftest$ac_exeext
60360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60361 (eval $ac_link) 2>conftest.er1
60362 ac_status=$?
60363 grep -v '^ *+' conftest.er1 >conftest.err
60364 rm -f conftest.er1
60365 cat conftest.err >&5
60366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60367 (exit $ac_status); } &&
60368 { ac_try='test -z "$ac_c_werror_flag"
60369 || test ! -s conftest.err'
60370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60371 (eval $ac_try) 2>&5
60372 ac_status=$?
60373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60374 (exit $ac_status); }; } &&
60375 { ac_try='test -s conftest$ac_exeext'
60376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60377 (eval $ac_try) 2>&5
60378 ac_status=$?
60379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60380 (exit $ac_status); }; }; then
60381 eval "$as_ac_var=yes"
60382 else
60383 echo "$as_me: failed program was:" >&5
60384 sed 's/^/| /' conftest.$ac_ext >&5
60386 eval "$as_ac_var=no"
60388 rm -f conftest.err conftest.$ac_objext \
60389 conftest$ac_exeext conftest.$ac_ext
60391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60393 if test `eval echo '${'$as_ac_var'}'` = yes; then
60394 cat >>confdefs.h <<_ACEOF
60395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60396 _ACEOF
60399 done
60401 else
60403 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60404 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60405 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60406 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60407 echo $ECHO_N "(cached) $ECHO_C" >&6
60408 else
60412 ac_ext=cc
60413 ac_cpp='$CXXCPP $CPPFLAGS'
60414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60418 cat >conftest.$ac_ext <<_ACEOF
60419 /* confdefs.h. */
60420 _ACEOF
60421 cat confdefs.h >>conftest.$ac_ext
60422 cat >>conftest.$ac_ext <<_ACEOF
60423 /* end confdefs.h. */
60424 #include <math.h>
60425 #ifdef HAVE_IEEEFP_H
60426 #include <ieeefp.h>
60427 #endif
60430 main ()
60432 _logf(0);
60434 return 0;
60436 _ACEOF
60437 rm -f conftest.$ac_objext
60438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60439 (eval $ac_compile) 2>conftest.er1
60440 ac_status=$?
60441 grep -v '^ *+' conftest.er1 >conftest.err
60442 rm -f conftest.er1
60443 cat conftest.err >&5
60444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60445 (exit $ac_status); } &&
60446 { ac_try='test -z "$ac_cxx_werror_flag"
60447 || test ! -s conftest.err'
60448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60449 (eval $ac_try) 2>&5
60450 ac_status=$?
60451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60452 (exit $ac_status); }; } &&
60453 { ac_try='test -s conftest.$ac_objext'
60454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60455 (eval $ac_try) 2>&5
60456 ac_status=$?
60457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60458 (exit $ac_status); }; }; then
60459 glibcxx_cv_func__logf_use=yes
60460 else
60461 echo "$as_me: failed program was:" >&5
60462 sed 's/^/| /' conftest.$ac_ext >&5
60464 glibcxx_cv_func__logf_use=no
60466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60467 ac_ext=c
60468 ac_cpp='$CPP $CPPFLAGS'
60469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60478 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60480 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60482 for ac_func in _logf
60484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60485 echo "$as_me:$LINENO: checking for $ac_func" >&5
60486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60487 if eval "test \"\${$as_ac_var+set}\" = set"; then
60488 echo $ECHO_N "(cached) $ECHO_C" >&6
60489 else
60490 if test x$gcc_no_link = xyes; then
60491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60493 { (exit 1); exit 1; }; }
60495 cat >conftest.$ac_ext <<_ACEOF
60496 /* confdefs.h. */
60497 _ACEOF
60498 cat confdefs.h >>conftest.$ac_ext
60499 cat >>conftest.$ac_ext <<_ACEOF
60500 /* end confdefs.h. */
60501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60503 #define $ac_func innocuous_$ac_func
60505 /* System header to define __stub macros and hopefully few prototypes,
60506 which can conflict with char $ac_func (); below.
60507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60508 <limits.h> exists even on freestanding compilers. */
60510 #ifdef __STDC__
60511 # include <limits.h>
60512 #else
60513 # include <assert.h>
60514 #endif
60516 #undef $ac_func
60518 /* Override any gcc2 internal prototype to avoid an error. */
60519 #ifdef __cplusplus
60520 extern "C"
60522 #endif
60523 /* We use char because int might match the return type of a gcc2
60524 builtin and then its argument prototype would still apply. */
60525 char $ac_func ();
60526 /* The GNU C library defines this for functions which it implements
60527 to always fail with ENOSYS. Some functions are actually named
60528 something starting with __ and the normal name is an alias. */
60529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60530 choke me
60531 #else
60532 char (*f) () = $ac_func;
60533 #endif
60534 #ifdef __cplusplus
60536 #endif
60539 main ()
60541 return f != $ac_func;
60543 return 0;
60545 _ACEOF
60546 rm -f conftest.$ac_objext conftest$ac_exeext
60547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60548 (eval $ac_link) 2>conftest.er1
60549 ac_status=$?
60550 grep -v '^ *+' conftest.er1 >conftest.err
60551 rm -f conftest.er1
60552 cat conftest.err >&5
60553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60554 (exit $ac_status); } &&
60555 { ac_try='test -z "$ac_c_werror_flag"
60556 || test ! -s conftest.err'
60557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60558 (eval $ac_try) 2>&5
60559 ac_status=$?
60560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60561 (exit $ac_status); }; } &&
60562 { ac_try='test -s conftest$ac_exeext'
60563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60564 (eval $ac_try) 2>&5
60565 ac_status=$?
60566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60567 (exit $ac_status); }; }; then
60568 eval "$as_ac_var=yes"
60569 else
60570 echo "$as_me: failed program was:" >&5
60571 sed 's/^/| /' conftest.$ac_ext >&5
60573 eval "$as_ac_var=no"
60575 rm -f conftest.err conftest.$ac_objext \
60576 conftest$ac_exeext conftest.$ac_ext
60578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60580 if test `eval echo '${'$as_ac_var'}'` = yes; then
60581 cat >>confdefs.h <<_ACEOF
60582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60583 _ACEOF
60586 done
60596 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60597 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60598 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60599 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60600 echo $ECHO_N "(cached) $ECHO_C" >&6
60601 else
60605 ac_ext=cc
60606 ac_cpp='$CXXCPP $CPPFLAGS'
60607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60611 cat >conftest.$ac_ext <<_ACEOF
60612 /* confdefs.h. */
60613 _ACEOF
60614 cat confdefs.h >>conftest.$ac_ext
60615 cat >>conftest.$ac_ext <<_ACEOF
60616 /* end confdefs.h. */
60617 #include <math.h>
60618 #ifdef HAVE_IEEEFP_H
60619 #include <ieeefp.h>
60620 #endif
60623 main ()
60625 log10f(0);
60627 return 0;
60629 _ACEOF
60630 rm -f conftest.$ac_objext
60631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60632 (eval $ac_compile) 2>conftest.er1
60633 ac_status=$?
60634 grep -v '^ *+' conftest.er1 >conftest.err
60635 rm -f conftest.er1
60636 cat conftest.err >&5
60637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60638 (exit $ac_status); } &&
60639 { ac_try='test -z "$ac_cxx_werror_flag"
60640 || test ! -s conftest.err'
60641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642 (eval $ac_try) 2>&5
60643 ac_status=$?
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); }; } &&
60646 { ac_try='test -s conftest.$ac_objext'
60647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60648 (eval $ac_try) 2>&5
60649 ac_status=$?
60650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60651 (exit $ac_status); }; }; then
60652 glibcxx_cv_func_log10f_use=yes
60653 else
60654 echo "$as_me: failed program was:" >&5
60655 sed 's/^/| /' conftest.$ac_ext >&5
60657 glibcxx_cv_func_log10f_use=no
60659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60671 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60673 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60675 for ac_func in log10f
60677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60678 echo "$as_me:$LINENO: checking for $ac_func" >&5
60679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60680 if eval "test \"\${$as_ac_var+set}\" = set"; then
60681 echo $ECHO_N "(cached) $ECHO_C" >&6
60682 else
60683 if test x$gcc_no_link = xyes; then
60684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60686 { (exit 1); exit 1; }; }
60688 cat >conftest.$ac_ext <<_ACEOF
60689 /* confdefs.h. */
60690 _ACEOF
60691 cat confdefs.h >>conftest.$ac_ext
60692 cat >>conftest.$ac_ext <<_ACEOF
60693 /* end confdefs.h. */
60694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60696 #define $ac_func innocuous_$ac_func
60698 /* System header to define __stub macros and hopefully few prototypes,
60699 which can conflict with char $ac_func (); below.
60700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60701 <limits.h> exists even on freestanding compilers. */
60703 #ifdef __STDC__
60704 # include <limits.h>
60705 #else
60706 # include <assert.h>
60707 #endif
60709 #undef $ac_func
60711 /* Override any gcc2 internal prototype to avoid an error. */
60712 #ifdef __cplusplus
60713 extern "C"
60715 #endif
60716 /* We use char because int might match the return type of a gcc2
60717 builtin and then its argument prototype would still apply. */
60718 char $ac_func ();
60719 /* The GNU C library defines this for functions which it implements
60720 to always fail with ENOSYS. Some functions are actually named
60721 something starting with __ and the normal name is an alias. */
60722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60723 choke me
60724 #else
60725 char (*f) () = $ac_func;
60726 #endif
60727 #ifdef __cplusplus
60729 #endif
60732 main ()
60734 return f != $ac_func;
60736 return 0;
60738 _ACEOF
60739 rm -f conftest.$ac_objext conftest$ac_exeext
60740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60741 (eval $ac_link) 2>conftest.er1
60742 ac_status=$?
60743 grep -v '^ *+' conftest.er1 >conftest.err
60744 rm -f conftest.er1
60745 cat conftest.err >&5
60746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60747 (exit $ac_status); } &&
60748 { ac_try='test -z "$ac_c_werror_flag"
60749 || test ! -s conftest.err'
60750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60751 (eval $ac_try) 2>&5
60752 ac_status=$?
60753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60754 (exit $ac_status); }; } &&
60755 { ac_try='test -s conftest$ac_exeext'
60756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60757 (eval $ac_try) 2>&5
60758 ac_status=$?
60759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60760 (exit $ac_status); }; }; then
60761 eval "$as_ac_var=yes"
60762 else
60763 echo "$as_me: failed program was:" >&5
60764 sed 's/^/| /' conftest.$ac_ext >&5
60766 eval "$as_ac_var=no"
60768 rm -f conftest.err conftest.$ac_objext \
60769 conftest$ac_exeext conftest.$ac_ext
60771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60773 if test `eval echo '${'$as_ac_var'}'` = yes; then
60774 cat >>confdefs.h <<_ACEOF
60775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60776 _ACEOF
60779 done
60781 else
60783 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60784 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60785 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60786 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60787 echo $ECHO_N "(cached) $ECHO_C" >&6
60788 else
60792 ac_ext=cc
60793 ac_cpp='$CXXCPP $CPPFLAGS'
60794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60798 cat >conftest.$ac_ext <<_ACEOF
60799 /* confdefs.h. */
60800 _ACEOF
60801 cat confdefs.h >>conftest.$ac_ext
60802 cat >>conftest.$ac_ext <<_ACEOF
60803 /* end confdefs.h. */
60804 #include <math.h>
60805 #ifdef HAVE_IEEEFP_H
60806 #include <ieeefp.h>
60807 #endif
60810 main ()
60812 _log10f(0);
60814 return 0;
60816 _ACEOF
60817 rm -f conftest.$ac_objext
60818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60819 (eval $ac_compile) 2>conftest.er1
60820 ac_status=$?
60821 grep -v '^ *+' conftest.er1 >conftest.err
60822 rm -f conftest.er1
60823 cat conftest.err >&5
60824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60825 (exit $ac_status); } &&
60826 { ac_try='test -z "$ac_cxx_werror_flag"
60827 || test ! -s conftest.err'
60828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60829 (eval $ac_try) 2>&5
60830 ac_status=$?
60831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60832 (exit $ac_status); }; } &&
60833 { ac_try='test -s conftest.$ac_objext'
60834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60835 (eval $ac_try) 2>&5
60836 ac_status=$?
60837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60838 (exit $ac_status); }; }; then
60839 glibcxx_cv_func__log10f_use=yes
60840 else
60841 echo "$as_me: failed program was:" >&5
60842 sed 's/^/| /' conftest.$ac_ext >&5
60844 glibcxx_cv_func__log10f_use=no
60846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60847 ac_ext=c
60848 ac_cpp='$CPP $CPPFLAGS'
60849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60858 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60860 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60862 for ac_func in _log10f
60864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60865 echo "$as_me:$LINENO: checking for $ac_func" >&5
60866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60867 if eval "test \"\${$as_ac_var+set}\" = set"; then
60868 echo $ECHO_N "(cached) $ECHO_C" >&6
60869 else
60870 if test x$gcc_no_link = xyes; then
60871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60873 { (exit 1); exit 1; }; }
60875 cat >conftest.$ac_ext <<_ACEOF
60876 /* confdefs.h. */
60877 _ACEOF
60878 cat confdefs.h >>conftest.$ac_ext
60879 cat >>conftest.$ac_ext <<_ACEOF
60880 /* end confdefs.h. */
60881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60883 #define $ac_func innocuous_$ac_func
60885 /* System header to define __stub macros and hopefully few prototypes,
60886 which can conflict with char $ac_func (); below.
60887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60888 <limits.h> exists even on freestanding compilers. */
60890 #ifdef __STDC__
60891 # include <limits.h>
60892 #else
60893 # include <assert.h>
60894 #endif
60896 #undef $ac_func
60898 /* Override any gcc2 internal prototype to avoid an error. */
60899 #ifdef __cplusplus
60900 extern "C"
60902 #endif
60903 /* We use char because int might match the return type of a gcc2
60904 builtin and then its argument prototype would still apply. */
60905 char $ac_func ();
60906 /* The GNU C library defines this for functions which it implements
60907 to always fail with ENOSYS. Some functions are actually named
60908 something starting with __ and the normal name is an alias. */
60909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60910 choke me
60911 #else
60912 char (*f) () = $ac_func;
60913 #endif
60914 #ifdef __cplusplus
60916 #endif
60919 main ()
60921 return f != $ac_func;
60923 return 0;
60925 _ACEOF
60926 rm -f conftest.$ac_objext conftest$ac_exeext
60927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60928 (eval $ac_link) 2>conftest.er1
60929 ac_status=$?
60930 grep -v '^ *+' conftest.er1 >conftest.err
60931 rm -f conftest.er1
60932 cat conftest.err >&5
60933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60934 (exit $ac_status); } &&
60935 { ac_try='test -z "$ac_c_werror_flag"
60936 || test ! -s conftest.err'
60937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60938 (eval $ac_try) 2>&5
60939 ac_status=$?
60940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60941 (exit $ac_status); }; } &&
60942 { ac_try='test -s conftest$ac_exeext'
60943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60944 (eval $ac_try) 2>&5
60945 ac_status=$?
60946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60947 (exit $ac_status); }; }; then
60948 eval "$as_ac_var=yes"
60949 else
60950 echo "$as_me: failed program was:" >&5
60951 sed 's/^/| /' conftest.$ac_ext >&5
60953 eval "$as_ac_var=no"
60955 rm -f conftest.err conftest.$ac_objext \
60956 conftest$ac_exeext conftest.$ac_ext
60958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60960 if test `eval echo '${'$as_ac_var'}'` = yes; then
60961 cat >>confdefs.h <<_ACEOF
60962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60963 _ACEOF
60966 done
60976 echo "$as_me:$LINENO: checking for modff declaration" >&5
60977 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60978 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60979 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60980 echo $ECHO_N "(cached) $ECHO_C" >&6
60981 else
60985 ac_ext=cc
60986 ac_cpp='$CXXCPP $CPPFLAGS'
60987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60991 cat >conftest.$ac_ext <<_ACEOF
60992 /* confdefs.h. */
60993 _ACEOF
60994 cat confdefs.h >>conftest.$ac_ext
60995 cat >>conftest.$ac_ext <<_ACEOF
60996 /* end confdefs.h. */
60997 #include <math.h>
60999 main ()
61001 modff(0, 0);
61003 return 0;
61005 _ACEOF
61006 rm -f conftest.$ac_objext
61007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61008 (eval $ac_compile) 2>conftest.er1
61009 ac_status=$?
61010 grep -v '^ *+' conftest.er1 >conftest.err
61011 rm -f conftest.er1
61012 cat conftest.err >&5
61013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61014 (exit $ac_status); } &&
61015 { ac_try='test -z "$ac_cxx_werror_flag"
61016 || test ! -s conftest.err'
61017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61018 (eval $ac_try) 2>&5
61019 ac_status=$?
61020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61021 (exit $ac_status); }; } &&
61022 { ac_try='test -s conftest.$ac_objext'
61023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61024 (eval $ac_try) 2>&5
61025 ac_status=$?
61026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027 (exit $ac_status); }; }; then
61028 glibcxx_cv_func_modff_use=yes
61029 else
61030 echo "$as_me: failed program was:" >&5
61031 sed 's/^/| /' conftest.$ac_ext >&5
61033 glibcxx_cv_func_modff_use=no
61035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61036 ac_ext=c
61037 ac_cpp='$CPP $CPPFLAGS'
61038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61047 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61049 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61051 for ac_func in modff
61053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61054 echo "$as_me:$LINENO: checking for $ac_func" >&5
61055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61056 if eval "test \"\${$as_ac_var+set}\" = set"; then
61057 echo $ECHO_N "(cached) $ECHO_C" >&6
61058 else
61059 if test x$gcc_no_link = xyes; then
61060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61062 { (exit 1); exit 1; }; }
61064 cat >conftest.$ac_ext <<_ACEOF
61065 /* confdefs.h. */
61066 _ACEOF
61067 cat confdefs.h >>conftest.$ac_ext
61068 cat >>conftest.$ac_ext <<_ACEOF
61069 /* end confdefs.h. */
61070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61072 #define $ac_func innocuous_$ac_func
61074 /* System header to define __stub macros and hopefully few prototypes,
61075 which can conflict with char $ac_func (); below.
61076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61077 <limits.h> exists even on freestanding compilers. */
61079 #ifdef __STDC__
61080 # include <limits.h>
61081 #else
61082 # include <assert.h>
61083 #endif
61085 #undef $ac_func
61087 /* Override any gcc2 internal prototype to avoid an error. */
61088 #ifdef __cplusplus
61089 extern "C"
61091 #endif
61092 /* We use char because int might match the return type of a gcc2
61093 builtin and then its argument prototype would still apply. */
61094 char $ac_func ();
61095 /* The GNU C library defines this for functions which it implements
61096 to always fail with ENOSYS. Some functions are actually named
61097 something starting with __ and the normal name is an alias. */
61098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61099 choke me
61100 #else
61101 char (*f) () = $ac_func;
61102 #endif
61103 #ifdef __cplusplus
61105 #endif
61108 main ()
61110 return f != $ac_func;
61112 return 0;
61114 _ACEOF
61115 rm -f conftest.$ac_objext conftest$ac_exeext
61116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61117 (eval $ac_link) 2>conftest.er1
61118 ac_status=$?
61119 grep -v '^ *+' conftest.er1 >conftest.err
61120 rm -f conftest.er1
61121 cat conftest.err >&5
61122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61123 (exit $ac_status); } &&
61124 { ac_try='test -z "$ac_c_werror_flag"
61125 || test ! -s conftest.err'
61126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61127 (eval $ac_try) 2>&5
61128 ac_status=$?
61129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61130 (exit $ac_status); }; } &&
61131 { ac_try='test -s conftest$ac_exeext'
61132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61133 (eval $ac_try) 2>&5
61134 ac_status=$?
61135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61136 (exit $ac_status); }; }; then
61137 eval "$as_ac_var=yes"
61138 else
61139 echo "$as_me: failed program was:" >&5
61140 sed 's/^/| /' conftest.$ac_ext >&5
61142 eval "$as_ac_var=no"
61144 rm -f conftest.err conftest.$ac_objext \
61145 conftest$ac_exeext conftest.$ac_ext
61147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61149 if test `eval echo '${'$as_ac_var'}'` = yes; then
61150 cat >>confdefs.h <<_ACEOF
61151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61152 _ACEOF
61155 done
61157 else
61159 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61160 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61161 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61162 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61163 echo $ECHO_N "(cached) $ECHO_C" >&6
61164 else
61168 ac_ext=cc
61169 ac_cpp='$CXXCPP $CPPFLAGS'
61170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61174 cat >conftest.$ac_ext <<_ACEOF
61175 /* confdefs.h. */
61176 _ACEOF
61177 cat confdefs.h >>conftest.$ac_ext
61178 cat >>conftest.$ac_ext <<_ACEOF
61179 /* end confdefs.h. */
61180 #include <math.h>
61182 main ()
61184 _modff(0, 0);
61186 return 0;
61188 _ACEOF
61189 rm -f conftest.$ac_objext
61190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61191 (eval $ac_compile) 2>conftest.er1
61192 ac_status=$?
61193 grep -v '^ *+' conftest.er1 >conftest.err
61194 rm -f conftest.er1
61195 cat conftest.err >&5
61196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61197 (exit $ac_status); } &&
61198 { ac_try='test -z "$ac_cxx_werror_flag"
61199 || test ! -s conftest.err'
61200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61201 (eval $ac_try) 2>&5
61202 ac_status=$?
61203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61204 (exit $ac_status); }; } &&
61205 { ac_try='test -s conftest.$ac_objext'
61206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61207 (eval $ac_try) 2>&5
61208 ac_status=$?
61209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61210 (exit $ac_status); }; }; then
61211 glibcxx_cv_func__modff_use=yes
61212 else
61213 echo "$as_me: failed program was:" >&5
61214 sed 's/^/| /' conftest.$ac_ext >&5
61216 glibcxx_cv_func__modff_use=no
61218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61219 ac_ext=c
61220 ac_cpp='$CPP $CPPFLAGS'
61221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61230 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61232 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61234 for ac_func in _modff
61236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61237 echo "$as_me:$LINENO: checking for $ac_func" >&5
61238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61239 if eval "test \"\${$as_ac_var+set}\" = set"; then
61240 echo $ECHO_N "(cached) $ECHO_C" >&6
61241 else
61242 if test x$gcc_no_link = xyes; then
61243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61245 { (exit 1); exit 1; }; }
61247 cat >conftest.$ac_ext <<_ACEOF
61248 /* confdefs.h. */
61249 _ACEOF
61250 cat confdefs.h >>conftest.$ac_ext
61251 cat >>conftest.$ac_ext <<_ACEOF
61252 /* end confdefs.h. */
61253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61255 #define $ac_func innocuous_$ac_func
61257 /* System header to define __stub macros and hopefully few prototypes,
61258 which can conflict with char $ac_func (); below.
61259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61260 <limits.h> exists even on freestanding compilers. */
61262 #ifdef __STDC__
61263 # include <limits.h>
61264 #else
61265 # include <assert.h>
61266 #endif
61268 #undef $ac_func
61270 /* Override any gcc2 internal prototype to avoid an error. */
61271 #ifdef __cplusplus
61272 extern "C"
61274 #endif
61275 /* We use char because int might match the return type of a gcc2
61276 builtin and then its argument prototype would still apply. */
61277 char $ac_func ();
61278 /* The GNU C library defines this for functions which it implements
61279 to always fail with ENOSYS. Some functions are actually named
61280 something starting with __ and the normal name is an alias. */
61281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61282 choke me
61283 #else
61284 char (*f) () = $ac_func;
61285 #endif
61286 #ifdef __cplusplus
61288 #endif
61291 main ()
61293 return f != $ac_func;
61295 return 0;
61297 _ACEOF
61298 rm -f conftest.$ac_objext conftest$ac_exeext
61299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61300 (eval $ac_link) 2>conftest.er1
61301 ac_status=$?
61302 grep -v '^ *+' conftest.er1 >conftest.err
61303 rm -f conftest.er1
61304 cat conftest.err >&5
61305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61306 (exit $ac_status); } &&
61307 { ac_try='test -z "$ac_c_werror_flag"
61308 || test ! -s conftest.err'
61309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61310 (eval $ac_try) 2>&5
61311 ac_status=$?
61312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61313 (exit $ac_status); }; } &&
61314 { ac_try='test -s conftest$ac_exeext'
61315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61316 (eval $ac_try) 2>&5
61317 ac_status=$?
61318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61319 (exit $ac_status); }; }; then
61320 eval "$as_ac_var=yes"
61321 else
61322 echo "$as_me: failed program was:" >&5
61323 sed 's/^/| /' conftest.$ac_ext >&5
61325 eval "$as_ac_var=no"
61327 rm -f conftest.err conftest.$ac_objext \
61328 conftest$ac_exeext conftest.$ac_ext
61330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61332 if test `eval echo '${'$as_ac_var'}'` = yes; then
61333 cat >>confdefs.h <<_ACEOF
61334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61335 _ACEOF
61338 done
61348 echo "$as_me:$LINENO: checking for modf declaration" >&5
61349 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61350 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61351 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61352 echo $ECHO_N "(cached) $ECHO_C" >&6
61353 else
61357 ac_ext=cc
61358 ac_cpp='$CXXCPP $CPPFLAGS'
61359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61363 cat >conftest.$ac_ext <<_ACEOF
61364 /* confdefs.h. */
61365 _ACEOF
61366 cat confdefs.h >>conftest.$ac_ext
61367 cat >>conftest.$ac_ext <<_ACEOF
61368 /* end confdefs.h. */
61369 #include <math.h>
61371 main ()
61373 modf(0, 0);
61375 return 0;
61377 _ACEOF
61378 rm -f conftest.$ac_objext
61379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61380 (eval $ac_compile) 2>conftest.er1
61381 ac_status=$?
61382 grep -v '^ *+' conftest.er1 >conftest.err
61383 rm -f conftest.er1
61384 cat conftest.err >&5
61385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61386 (exit $ac_status); } &&
61387 { ac_try='test -z "$ac_cxx_werror_flag"
61388 || test ! -s conftest.err'
61389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61390 (eval $ac_try) 2>&5
61391 ac_status=$?
61392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61393 (exit $ac_status); }; } &&
61394 { ac_try='test -s conftest.$ac_objext'
61395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61396 (eval $ac_try) 2>&5
61397 ac_status=$?
61398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399 (exit $ac_status); }; }; then
61400 glibcxx_cv_func_modf_use=yes
61401 else
61402 echo "$as_me: failed program was:" >&5
61403 sed 's/^/| /' conftest.$ac_ext >&5
61405 glibcxx_cv_func_modf_use=no
61407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61408 ac_ext=c
61409 ac_cpp='$CPP $CPPFLAGS'
61410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61419 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61421 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61423 for ac_func in modf
61425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61426 echo "$as_me:$LINENO: checking for $ac_func" >&5
61427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61428 if eval "test \"\${$as_ac_var+set}\" = set"; then
61429 echo $ECHO_N "(cached) $ECHO_C" >&6
61430 else
61431 if test x$gcc_no_link = xyes; then
61432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61434 { (exit 1); exit 1; }; }
61436 cat >conftest.$ac_ext <<_ACEOF
61437 /* confdefs.h. */
61438 _ACEOF
61439 cat confdefs.h >>conftest.$ac_ext
61440 cat >>conftest.$ac_ext <<_ACEOF
61441 /* end confdefs.h. */
61442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61444 #define $ac_func innocuous_$ac_func
61446 /* System header to define __stub macros and hopefully few prototypes,
61447 which can conflict with char $ac_func (); below.
61448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61449 <limits.h> exists even on freestanding compilers. */
61451 #ifdef __STDC__
61452 # include <limits.h>
61453 #else
61454 # include <assert.h>
61455 #endif
61457 #undef $ac_func
61459 /* Override any gcc2 internal prototype to avoid an error. */
61460 #ifdef __cplusplus
61461 extern "C"
61463 #endif
61464 /* We use char because int might match the return type of a gcc2
61465 builtin and then its argument prototype would still apply. */
61466 char $ac_func ();
61467 /* The GNU C library defines this for functions which it implements
61468 to always fail with ENOSYS. Some functions are actually named
61469 something starting with __ and the normal name is an alias. */
61470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61471 choke me
61472 #else
61473 char (*f) () = $ac_func;
61474 #endif
61475 #ifdef __cplusplus
61477 #endif
61480 main ()
61482 return f != $ac_func;
61484 return 0;
61486 _ACEOF
61487 rm -f conftest.$ac_objext conftest$ac_exeext
61488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61489 (eval $ac_link) 2>conftest.er1
61490 ac_status=$?
61491 grep -v '^ *+' conftest.er1 >conftest.err
61492 rm -f conftest.er1
61493 cat conftest.err >&5
61494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61495 (exit $ac_status); } &&
61496 { ac_try='test -z "$ac_c_werror_flag"
61497 || test ! -s conftest.err'
61498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61499 (eval $ac_try) 2>&5
61500 ac_status=$?
61501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61502 (exit $ac_status); }; } &&
61503 { ac_try='test -s conftest$ac_exeext'
61504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61505 (eval $ac_try) 2>&5
61506 ac_status=$?
61507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61508 (exit $ac_status); }; }; then
61509 eval "$as_ac_var=yes"
61510 else
61511 echo "$as_me: failed program was:" >&5
61512 sed 's/^/| /' conftest.$ac_ext >&5
61514 eval "$as_ac_var=no"
61516 rm -f conftest.err conftest.$ac_objext \
61517 conftest$ac_exeext conftest.$ac_ext
61519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61521 if test `eval echo '${'$as_ac_var'}'` = yes; then
61522 cat >>confdefs.h <<_ACEOF
61523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61524 _ACEOF
61527 done
61529 else
61531 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61532 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61533 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61534 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61535 echo $ECHO_N "(cached) $ECHO_C" >&6
61536 else
61540 ac_ext=cc
61541 ac_cpp='$CXXCPP $CPPFLAGS'
61542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61546 cat >conftest.$ac_ext <<_ACEOF
61547 /* confdefs.h. */
61548 _ACEOF
61549 cat confdefs.h >>conftest.$ac_ext
61550 cat >>conftest.$ac_ext <<_ACEOF
61551 /* end confdefs.h. */
61552 #include <math.h>
61554 main ()
61556 _modf(0, 0);
61558 return 0;
61560 _ACEOF
61561 rm -f conftest.$ac_objext
61562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61563 (eval $ac_compile) 2>conftest.er1
61564 ac_status=$?
61565 grep -v '^ *+' conftest.er1 >conftest.err
61566 rm -f conftest.er1
61567 cat conftest.err >&5
61568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61569 (exit $ac_status); } &&
61570 { ac_try='test -z "$ac_cxx_werror_flag"
61571 || test ! -s conftest.err'
61572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61573 (eval $ac_try) 2>&5
61574 ac_status=$?
61575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576 (exit $ac_status); }; } &&
61577 { ac_try='test -s conftest.$ac_objext'
61578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579 (eval $ac_try) 2>&5
61580 ac_status=$?
61581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582 (exit $ac_status); }; }; then
61583 glibcxx_cv_func__modf_use=yes
61584 else
61585 echo "$as_me: failed program was:" >&5
61586 sed 's/^/| /' conftest.$ac_ext >&5
61588 glibcxx_cv_func__modf_use=no
61590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61602 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61604 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61606 for ac_func in _modf
61608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61609 echo "$as_me:$LINENO: checking for $ac_func" >&5
61610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61611 if eval "test \"\${$as_ac_var+set}\" = set"; then
61612 echo $ECHO_N "(cached) $ECHO_C" >&6
61613 else
61614 if test x$gcc_no_link = xyes; then
61615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61617 { (exit 1); exit 1; }; }
61619 cat >conftest.$ac_ext <<_ACEOF
61620 /* confdefs.h. */
61621 _ACEOF
61622 cat confdefs.h >>conftest.$ac_ext
61623 cat >>conftest.$ac_ext <<_ACEOF
61624 /* end confdefs.h. */
61625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61627 #define $ac_func innocuous_$ac_func
61629 /* System header to define __stub macros and hopefully few prototypes,
61630 which can conflict with char $ac_func (); below.
61631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61632 <limits.h> exists even on freestanding compilers. */
61634 #ifdef __STDC__
61635 # include <limits.h>
61636 #else
61637 # include <assert.h>
61638 #endif
61640 #undef $ac_func
61642 /* Override any gcc2 internal prototype to avoid an error. */
61643 #ifdef __cplusplus
61644 extern "C"
61646 #endif
61647 /* We use char because int might match the return type of a gcc2
61648 builtin and then its argument prototype would still apply. */
61649 char $ac_func ();
61650 /* The GNU C library defines this for functions which it implements
61651 to always fail with ENOSYS. Some functions are actually named
61652 something starting with __ and the normal name is an alias. */
61653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61654 choke me
61655 #else
61656 char (*f) () = $ac_func;
61657 #endif
61658 #ifdef __cplusplus
61660 #endif
61663 main ()
61665 return f != $ac_func;
61667 return 0;
61669 _ACEOF
61670 rm -f conftest.$ac_objext conftest$ac_exeext
61671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61672 (eval $ac_link) 2>conftest.er1
61673 ac_status=$?
61674 grep -v '^ *+' conftest.er1 >conftest.err
61675 rm -f conftest.er1
61676 cat conftest.err >&5
61677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61678 (exit $ac_status); } &&
61679 { ac_try='test -z "$ac_c_werror_flag"
61680 || test ! -s conftest.err'
61681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61682 (eval $ac_try) 2>&5
61683 ac_status=$?
61684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61685 (exit $ac_status); }; } &&
61686 { ac_try='test -s conftest$ac_exeext'
61687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61688 (eval $ac_try) 2>&5
61689 ac_status=$?
61690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61691 (exit $ac_status); }; }; then
61692 eval "$as_ac_var=yes"
61693 else
61694 echo "$as_me: failed program was:" >&5
61695 sed 's/^/| /' conftest.$ac_ext >&5
61697 eval "$as_ac_var=no"
61699 rm -f conftest.err conftest.$ac_objext \
61700 conftest$ac_exeext conftest.$ac_ext
61702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61704 if test `eval echo '${'$as_ac_var'}'` = yes; then
61705 cat >>confdefs.h <<_ACEOF
61706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61707 _ACEOF
61710 done
61720 echo "$as_me:$LINENO: checking for powf declaration" >&5
61721 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61722 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61723 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61724 echo $ECHO_N "(cached) $ECHO_C" >&6
61725 else
61729 ac_ext=cc
61730 ac_cpp='$CXXCPP $CPPFLAGS'
61731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61735 cat >conftest.$ac_ext <<_ACEOF
61736 /* confdefs.h. */
61737 _ACEOF
61738 cat confdefs.h >>conftest.$ac_ext
61739 cat >>conftest.$ac_ext <<_ACEOF
61740 /* end confdefs.h. */
61741 #include <math.h>
61743 main ()
61745 powf(0, 0);
61747 return 0;
61749 _ACEOF
61750 rm -f conftest.$ac_objext
61751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61752 (eval $ac_compile) 2>conftest.er1
61753 ac_status=$?
61754 grep -v '^ *+' conftest.er1 >conftest.err
61755 rm -f conftest.er1
61756 cat conftest.err >&5
61757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61758 (exit $ac_status); } &&
61759 { ac_try='test -z "$ac_cxx_werror_flag"
61760 || test ! -s conftest.err'
61761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61762 (eval $ac_try) 2>&5
61763 ac_status=$?
61764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61765 (exit $ac_status); }; } &&
61766 { ac_try='test -s conftest.$ac_objext'
61767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61768 (eval $ac_try) 2>&5
61769 ac_status=$?
61770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771 (exit $ac_status); }; }; then
61772 glibcxx_cv_func_powf_use=yes
61773 else
61774 echo "$as_me: failed program was:" >&5
61775 sed 's/^/| /' conftest.$ac_ext >&5
61777 glibcxx_cv_func_powf_use=no
61779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61780 ac_ext=c
61781 ac_cpp='$CPP $CPPFLAGS'
61782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61791 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61793 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61795 for ac_func in powf
61797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61798 echo "$as_me:$LINENO: checking for $ac_func" >&5
61799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61800 if eval "test \"\${$as_ac_var+set}\" = set"; then
61801 echo $ECHO_N "(cached) $ECHO_C" >&6
61802 else
61803 if test x$gcc_no_link = xyes; then
61804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61806 { (exit 1); exit 1; }; }
61808 cat >conftest.$ac_ext <<_ACEOF
61809 /* confdefs.h. */
61810 _ACEOF
61811 cat confdefs.h >>conftest.$ac_ext
61812 cat >>conftest.$ac_ext <<_ACEOF
61813 /* end confdefs.h. */
61814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61816 #define $ac_func innocuous_$ac_func
61818 /* System header to define __stub macros and hopefully few prototypes,
61819 which can conflict with char $ac_func (); below.
61820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61821 <limits.h> exists even on freestanding compilers. */
61823 #ifdef __STDC__
61824 # include <limits.h>
61825 #else
61826 # include <assert.h>
61827 #endif
61829 #undef $ac_func
61831 /* Override any gcc2 internal prototype to avoid an error. */
61832 #ifdef __cplusplus
61833 extern "C"
61835 #endif
61836 /* We use char because int might match the return type of a gcc2
61837 builtin and then its argument prototype would still apply. */
61838 char $ac_func ();
61839 /* The GNU C library defines this for functions which it implements
61840 to always fail with ENOSYS. Some functions are actually named
61841 something starting with __ and the normal name is an alias. */
61842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61843 choke me
61844 #else
61845 char (*f) () = $ac_func;
61846 #endif
61847 #ifdef __cplusplus
61849 #endif
61852 main ()
61854 return f != $ac_func;
61856 return 0;
61858 _ACEOF
61859 rm -f conftest.$ac_objext conftest$ac_exeext
61860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61861 (eval $ac_link) 2>conftest.er1
61862 ac_status=$?
61863 grep -v '^ *+' conftest.er1 >conftest.err
61864 rm -f conftest.er1
61865 cat conftest.err >&5
61866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61867 (exit $ac_status); } &&
61868 { ac_try='test -z "$ac_c_werror_flag"
61869 || test ! -s conftest.err'
61870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61871 (eval $ac_try) 2>&5
61872 ac_status=$?
61873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61874 (exit $ac_status); }; } &&
61875 { ac_try='test -s conftest$ac_exeext'
61876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61877 (eval $ac_try) 2>&5
61878 ac_status=$?
61879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61880 (exit $ac_status); }; }; then
61881 eval "$as_ac_var=yes"
61882 else
61883 echo "$as_me: failed program was:" >&5
61884 sed 's/^/| /' conftest.$ac_ext >&5
61886 eval "$as_ac_var=no"
61888 rm -f conftest.err conftest.$ac_objext \
61889 conftest$ac_exeext conftest.$ac_ext
61891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61893 if test `eval echo '${'$as_ac_var'}'` = yes; then
61894 cat >>confdefs.h <<_ACEOF
61895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61896 _ACEOF
61899 done
61901 else
61903 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61904 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61905 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61906 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61907 echo $ECHO_N "(cached) $ECHO_C" >&6
61908 else
61912 ac_ext=cc
61913 ac_cpp='$CXXCPP $CPPFLAGS'
61914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61918 cat >conftest.$ac_ext <<_ACEOF
61919 /* confdefs.h. */
61920 _ACEOF
61921 cat confdefs.h >>conftest.$ac_ext
61922 cat >>conftest.$ac_ext <<_ACEOF
61923 /* end confdefs.h. */
61924 #include <math.h>
61926 main ()
61928 _powf(0, 0);
61930 return 0;
61932 _ACEOF
61933 rm -f conftest.$ac_objext
61934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61935 (eval $ac_compile) 2>conftest.er1
61936 ac_status=$?
61937 grep -v '^ *+' conftest.er1 >conftest.err
61938 rm -f conftest.er1
61939 cat conftest.err >&5
61940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61941 (exit $ac_status); } &&
61942 { ac_try='test -z "$ac_cxx_werror_flag"
61943 || test ! -s conftest.err'
61944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61945 (eval $ac_try) 2>&5
61946 ac_status=$?
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); }; } &&
61949 { ac_try='test -s conftest.$ac_objext'
61950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61951 (eval $ac_try) 2>&5
61952 ac_status=$?
61953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61954 (exit $ac_status); }; }; then
61955 glibcxx_cv_func__powf_use=yes
61956 else
61957 echo "$as_me: failed program was:" >&5
61958 sed 's/^/| /' conftest.$ac_ext >&5
61960 glibcxx_cv_func__powf_use=no
61962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61963 ac_ext=c
61964 ac_cpp='$CPP $CPPFLAGS'
61965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61974 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61976 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61978 for ac_func in _powf
61980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61981 echo "$as_me:$LINENO: checking for $ac_func" >&5
61982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61983 if eval "test \"\${$as_ac_var+set}\" = set"; then
61984 echo $ECHO_N "(cached) $ECHO_C" >&6
61985 else
61986 if test x$gcc_no_link = xyes; then
61987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61989 { (exit 1); exit 1; }; }
61991 cat >conftest.$ac_ext <<_ACEOF
61992 /* confdefs.h. */
61993 _ACEOF
61994 cat confdefs.h >>conftest.$ac_ext
61995 cat >>conftest.$ac_ext <<_ACEOF
61996 /* end confdefs.h. */
61997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61999 #define $ac_func innocuous_$ac_func
62001 /* System header to define __stub macros and hopefully few prototypes,
62002 which can conflict with char $ac_func (); below.
62003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62004 <limits.h> exists even on freestanding compilers. */
62006 #ifdef __STDC__
62007 # include <limits.h>
62008 #else
62009 # include <assert.h>
62010 #endif
62012 #undef $ac_func
62014 /* Override any gcc2 internal prototype to avoid an error. */
62015 #ifdef __cplusplus
62016 extern "C"
62018 #endif
62019 /* We use char because int might match the return type of a gcc2
62020 builtin and then its argument prototype would still apply. */
62021 char $ac_func ();
62022 /* The GNU C library defines this for functions which it implements
62023 to always fail with ENOSYS. Some functions are actually named
62024 something starting with __ and the normal name is an alias. */
62025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62026 choke me
62027 #else
62028 char (*f) () = $ac_func;
62029 #endif
62030 #ifdef __cplusplus
62032 #endif
62035 main ()
62037 return f != $ac_func;
62039 return 0;
62041 _ACEOF
62042 rm -f conftest.$ac_objext conftest$ac_exeext
62043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62044 (eval $ac_link) 2>conftest.er1
62045 ac_status=$?
62046 grep -v '^ *+' conftest.er1 >conftest.err
62047 rm -f conftest.er1
62048 cat conftest.err >&5
62049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62050 (exit $ac_status); } &&
62051 { ac_try='test -z "$ac_c_werror_flag"
62052 || test ! -s conftest.err'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; } &&
62058 { ac_try='test -s conftest$ac_exeext'
62059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62060 (eval $ac_try) 2>&5
62061 ac_status=$?
62062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62063 (exit $ac_status); }; }; then
62064 eval "$as_ac_var=yes"
62065 else
62066 echo "$as_me: failed program was:" >&5
62067 sed 's/^/| /' conftest.$ac_ext >&5
62069 eval "$as_ac_var=no"
62071 rm -f conftest.err conftest.$ac_objext \
62072 conftest$ac_exeext conftest.$ac_ext
62074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62076 if test `eval echo '${'$as_ac_var'}'` = yes; then
62077 cat >>confdefs.h <<_ACEOF
62078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62079 _ACEOF
62082 done
62092 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62093 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62094 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62095 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62096 echo $ECHO_N "(cached) $ECHO_C" >&6
62097 else
62101 ac_ext=cc
62102 ac_cpp='$CXXCPP $CPPFLAGS'
62103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62107 cat >conftest.$ac_ext <<_ACEOF
62108 /* confdefs.h. */
62109 _ACEOF
62110 cat confdefs.h >>conftest.$ac_ext
62111 cat >>conftest.$ac_ext <<_ACEOF
62112 /* end confdefs.h. */
62113 #include <math.h>
62114 #ifdef HAVE_IEEEFP_H
62115 #include <ieeefp.h>
62116 #endif
62119 main ()
62121 sqrtf(0);
62123 return 0;
62125 _ACEOF
62126 rm -f conftest.$ac_objext
62127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62128 (eval $ac_compile) 2>conftest.er1
62129 ac_status=$?
62130 grep -v '^ *+' conftest.er1 >conftest.err
62131 rm -f conftest.er1
62132 cat conftest.err >&5
62133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62134 (exit $ac_status); } &&
62135 { ac_try='test -z "$ac_cxx_werror_flag"
62136 || test ! -s conftest.err'
62137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62138 (eval $ac_try) 2>&5
62139 ac_status=$?
62140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62141 (exit $ac_status); }; } &&
62142 { ac_try='test -s conftest.$ac_objext'
62143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62144 (eval $ac_try) 2>&5
62145 ac_status=$?
62146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62147 (exit $ac_status); }; }; then
62148 glibcxx_cv_func_sqrtf_use=yes
62149 else
62150 echo "$as_me: failed program was:" >&5
62151 sed 's/^/| /' conftest.$ac_ext >&5
62153 glibcxx_cv_func_sqrtf_use=no
62155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62156 ac_ext=c
62157 ac_cpp='$CPP $CPPFLAGS'
62158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62167 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62169 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62171 for ac_func in sqrtf
62173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62174 echo "$as_me:$LINENO: checking for $ac_func" >&5
62175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62176 if eval "test \"\${$as_ac_var+set}\" = set"; then
62177 echo $ECHO_N "(cached) $ECHO_C" >&6
62178 else
62179 if test x$gcc_no_link = xyes; then
62180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62182 { (exit 1); exit 1; }; }
62184 cat >conftest.$ac_ext <<_ACEOF
62185 /* confdefs.h. */
62186 _ACEOF
62187 cat confdefs.h >>conftest.$ac_ext
62188 cat >>conftest.$ac_ext <<_ACEOF
62189 /* end confdefs.h. */
62190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62192 #define $ac_func innocuous_$ac_func
62194 /* System header to define __stub macros and hopefully few prototypes,
62195 which can conflict with char $ac_func (); below.
62196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62197 <limits.h> exists even on freestanding compilers. */
62199 #ifdef __STDC__
62200 # include <limits.h>
62201 #else
62202 # include <assert.h>
62203 #endif
62205 #undef $ac_func
62207 /* Override any gcc2 internal prototype to avoid an error. */
62208 #ifdef __cplusplus
62209 extern "C"
62211 #endif
62212 /* We use char because int might match the return type of a gcc2
62213 builtin and then its argument prototype would still apply. */
62214 char $ac_func ();
62215 /* The GNU C library defines this for functions which it implements
62216 to always fail with ENOSYS. Some functions are actually named
62217 something starting with __ and the normal name is an alias. */
62218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62219 choke me
62220 #else
62221 char (*f) () = $ac_func;
62222 #endif
62223 #ifdef __cplusplus
62225 #endif
62228 main ()
62230 return f != $ac_func;
62232 return 0;
62234 _ACEOF
62235 rm -f conftest.$ac_objext conftest$ac_exeext
62236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62237 (eval $ac_link) 2>conftest.er1
62238 ac_status=$?
62239 grep -v '^ *+' conftest.er1 >conftest.err
62240 rm -f conftest.er1
62241 cat conftest.err >&5
62242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62243 (exit $ac_status); } &&
62244 { ac_try='test -z "$ac_c_werror_flag"
62245 || test ! -s conftest.err'
62246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62247 (eval $ac_try) 2>&5
62248 ac_status=$?
62249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62250 (exit $ac_status); }; } &&
62251 { ac_try='test -s conftest$ac_exeext'
62252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62253 (eval $ac_try) 2>&5
62254 ac_status=$?
62255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62256 (exit $ac_status); }; }; then
62257 eval "$as_ac_var=yes"
62258 else
62259 echo "$as_me: failed program was:" >&5
62260 sed 's/^/| /' conftest.$ac_ext >&5
62262 eval "$as_ac_var=no"
62264 rm -f conftest.err conftest.$ac_objext \
62265 conftest$ac_exeext conftest.$ac_ext
62267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62269 if test `eval echo '${'$as_ac_var'}'` = yes; then
62270 cat >>confdefs.h <<_ACEOF
62271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62272 _ACEOF
62275 done
62277 else
62279 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62280 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62281 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62282 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62283 echo $ECHO_N "(cached) $ECHO_C" >&6
62284 else
62288 ac_ext=cc
62289 ac_cpp='$CXXCPP $CPPFLAGS'
62290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62294 cat >conftest.$ac_ext <<_ACEOF
62295 /* confdefs.h. */
62296 _ACEOF
62297 cat confdefs.h >>conftest.$ac_ext
62298 cat >>conftest.$ac_ext <<_ACEOF
62299 /* end confdefs.h. */
62300 #include <math.h>
62301 #ifdef HAVE_IEEEFP_H
62302 #include <ieeefp.h>
62303 #endif
62306 main ()
62308 _sqrtf(0);
62310 return 0;
62312 _ACEOF
62313 rm -f conftest.$ac_objext
62314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62315 (eval $ac_compile) 2>conftest.er1
62316 ac_status=$?
62317 grep -v '^ *+' conftest.er1 >conftest.err
62318 rm -f conftest.er1
62319 cat conftest.err >&5
62320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62321 (exit $ac_status); } &&
62322 { ac_try='test -z "$ac_cxx_werror_flag"
62323 || test ! -s conftest.err'
62324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62325 (eval $ac_try) 2>&5
62326 ac_status=$?
62327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62328 (exit $ac_status); }; } &&
62329 { ac_try='test -s conftest.$ac_objext'
62330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62331 (eval $ac_try) 2>&5
62332 ac_status=$?
62333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334 (exit $ac_status); }; }; then
62335 glibcxx_cv_func__sqrtf_use=yes
62336 else
62337 echo "$as_me: failed program was:" >&5
62338 sed 's/^/| /' conftest.$ac_ext >&5
62340 glibcxx_cv_func__sqrtf_use=no
62342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62343 ac_ext=c
62344 ac_cpp='$CPP $CPPFLAGS'
62345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62354 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62356 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62358 for ac_func in _sqrtf
62360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62361 echo "$as_me:$LINENO: checking for $ac_func" >&5
62362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62363 if eval "test \"\${$as_ac_var+set}\" = set"; then
62364 echo $ECHO_N "(cached) $ECHO_C" >&6
62365 else
62366 if test x$gcc_no_link = xyes; then
62367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62369 { (exit 1); exit 1; }; }
62371 cat >conftest.$ac_ext <<_ACEOF
62372 /* confdefs.h. */
62373 _ACEOF
62374 cat confdefs.h >>conftest.$ac_ext
62375 cat >>conftest.$ac_ext <<_ACEOF
62376 /* end confdefs.h. */
62377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62379 #define $ac_func innocuous_$ac_func
62381 /* System header to define __stub macros and hopefully few prototypes,
62382 which can conflict with char $ac_func (); below.
62383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62384 <limits.h> exists even on freestanding compilers. */
62386 #ifdef __STDC__
62387 # include <limits.h>
62388 #else
62389 # include <assert.h>
62390 #endif
62392 #undef $ac_func
62394 /* Override any gcc2 internal prototype to avoid an error. */
62395 #ifdef __cplusplus
62396 extern "C"
62398 #endif
62399 /* We use char because int might match the return type of a gcc2
62400 builtin and then its argument prototype would still apply. */
62401 char $ac_func ();
62402 /* The GNU C library defines this for functions which it implements
62403 to always fail with ENOSYS. Some functions are actually named
62404 something starting with __ and the normal name is an alias. */
62405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62406 choke me
62407 #else
62408 char (*f) () = $ac_func;
62409 #endif
62410 #ifdef __cplusplus
62412 #endif
62415 main ()
62417 return f != $ac_func;
62419 return 0;
62421 _ACEOF
62422 rm -f conftest.$ac_objext conftest$ac_exeext
62423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62424 (eval $ac_link) 2>conftest.er1
62425 ac_status=$?
62426 grep -v '^ *+' conftest.er1 >conftest.err
62427 rm -f conftest.er1
62428 cat conftest.err >&5
62429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62430 (exit $ac_status); } &&
62431 { ac_try='test -z "$ac_c_werror_flag"
62432 || test ! -s conftest.err'
62433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62434 (eval $ac_try) 2>&5
62435 ac_status=$?
62436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62437 (exit $ac_status); }; } &&
62438 { ac_try='test -s conftest$ac_exeext'
62439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62440 (eval $ac_try) 2>&5
62441 ac_status=$?
62442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62443 (exit $ac_status); }; }; then
62444 eval "$as_ac_var=yes"
62445 else
62446 echo "$as_me: failed program was:" >&5
62447 sed 's/^/| /' conftest.$ac_ext >&5
62449 eval "$as_ac_var=no"
62451 rm -f conftest.err conftest.$ac_objext \
62452 conftest$ac_exeext conftest.$ac_ext
62454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62456 if test `eval echo '${'$as_ac_var'}'` = yes; then
62457 cat >>confdefs.h <<_ACEOF
62458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62459 _ACEOF
62462 done
62472 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62473 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62474 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62475 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62476 echo $ECHO_N "(cached) $ECHO_C" >&6
62477 else
62481 ac_ext=cc
62482 ac_cpp='$CXXCPP $CPPFLAGS'
62483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62487 cat >conftest.$ac_ext <<_ACEOF
62488 /* confdefs.h. */
62489 _ACEOF
62490 cat confdefs.h >>conftest.$ac_ext
62491 cat >>conftest.$ac_ext <<_ACEOF
62492 /* end confdefs.h. */
62493 #include <math.h>
62495 main ()
62497 sincosf(0, 0, 0);
62499 return 0;
62501 _ACEOF
62502 rm -f conftest.$ac_objext
62503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62504 (eval $ac_compile) 2>conftest.er1
62505 ac_status=$?
62506 grep -v '^ *+' conftest.er1 >conftest.err
62507 rm -f conftest.er1
62508 cat conftest.err >&5
62509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62510 (exit $ac_status); } &&
62511 { ac_try='test -z "$ac_cxx_werror_flag"
62512 || test ! -s conftest.err'
62513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62514 (eval $ac_try) 2>&5
62515 ac_status=$?
62516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62517 (exit $ac_status); }; } &&
62518 { ac_try='test -s conftest.$ac_objext'
62519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62520 (eval $ac_try) 2>&5
62521 ac_status=$?
62522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62523 (exit $ac_status); }; }; then
62524 glibcxx_cv_func_sincosf_use=yes
62525 else
62526 echo "$as_me: failed program was:" >&5
62527 sed 's/^/| /' conftest.$ac_ext >&5
62529 glibcxx_cv_func_sincosf_use=no
62531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62532 ac_ext=c
62533 ac_cpp='$CPP $CPPFLAGS'
62534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62543 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62545 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62547 for ac_func in sincosf
62549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62550 echo "$as_me:$LINENO: checking for $ac_func" >&5
62551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62552 if eval "test \"\${$as_ac_var+set}\" = set"; then
62553 echo $ECHO_N "(cached) $ECHO_C" >&6
62554 else
62555 if test x$gcc_no_link = xyes; then
62556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62558 { (exit 1); exit 1; }; }
62560 cat >conftest.$ac_ext <<_ACEOF
62561 /* confdefs.h. */
62562 _ACEOF
62563 cat confdefs.h >>conftest.$ac_ext
62564 cat >>conftest.$ac_ext <<_ACEOF
62565 /* end confdefs.h. */
62566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62568 #define $ac_func innocuous_$ac_func
62570 /* System header to define __stub macros and hopefully few prototypes,
62571 which can conflict with char $ac_func (); below.
62572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62573 <limits.h> exists even on freestanding compilers. */
62575 #ifdef __STDC__
62576 # include <limits.h>
62577 #else
62578 # include <assert.h>
62579 #endif
62581 #undef $ac_func
62583 /* Override any gcc2 internal prototype to avoid an error. */
62584 #ifdef __cplusplus
62585 extern "C"
62587 #endif
62588 /* We use char because int might match the return type of a gcc2
62589 builtin and then its argument prototype would still apply. */
62590 char $ac_func ();
62591 /* The GNU C library defines this for functions which it implements
62592 to always fail with ENOSYS. Some functions are actually named
62593 something starting with __ and the normal name is an alias. */
62594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62595 choke me
62596 #else
62597 char (*f) () = $ac_func;
62598 #endif
62599 #ifdef __cplusplus
62601 #endif
62604 main ()
62606 return f != $ac_func;
62608 return 0;
62610 _ACEOF
62611 rm -f conftest.$ac_objext conftest$ac_exeext
62612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62613 (eval $ac_link) 2>conftest.er1
62614 ac_status=$?
62615 grep -v '^ *+' conftest.er1 >conftest.err
62616 rm -f conftest.er1
62617 cat conftest.err >&5
62618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62619 (exit $ac_status); } &&
62620 { ac_try='test -z "$ac_c_werror_flag"
62621 || test ! -s conftest.err'
62622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62623 (eval $ac_try) 2>&5
62624 ac_status=$?
62625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62626 (exit $ac_status); }; } &&
62627 { ac_try='test -s conftest$ac_exeext'
62628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62629 (eval $ac_try) 2>&5
62630 ac_status=$?
62631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62632 (exit $ac_status); }; }; then
62633 eval "$as_ac_var=yes"
62634 else
62635 echo "$as_me: failed program was:" >&5
62636 sed 's/^/| /' conftest.$ac_ext >&5
62638 eval "$as_ac_var=no"
62640 rm -f conftest.err conftest.$ac_objext \
62641 conftest$ac_exeext conftest.$ac_ext
62643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62645 if test `eval echo '${'$as_ac_var'}'` = yes; then
62646 cat >>confdefs.h <<_ACEOF
62647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62648 _ACEOF
62651 done
62653 else
62655 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62656 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62657 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62658 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62659 echo $ECHO_N "(cached) $ECHO_C" >&6
62660 else
62664 ac_ext=cc
62665 ac_cpp='$CXXCPP $CPPFLAGS'
62666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62670 cat >conftest.$ac_ext <<_ACEOF
62671 /* confdefs.h. */
62672 _ACEOF
62673 cat confdefs.h >>conftest.$ac_ext
62674 cat >>conftest.$ac_ext <<_ACEOF
62675 /* end confdefs.h. */
62676 #include <math.h>
62678 main ()
62680 _sincosf(0, 0, 0);
62682 return 0;
62684 _ACEOF
62685 rm -f conftest.$ac_objext
62686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62687 (eval $ac_compile) 2>conftest.er1
62688 ac_status=$?
62689 grep -v '^ *+' conftest.er1 >conftest.err
62690 rm -f conftest.er1
62691 cat conftest.err >&5
62692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62693 (exit $ac_status); } &&
62694 { ac_try='test -z "$ac_cxx_werror_flag"
62695 || test ! -s conftest.err'
62696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62697 (eval $ac_try) 2>&5
62698 ac_status=$?
62699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62700 (exit $ac_status); }; } &&
62701 { ac_try='test -s conftest.$ac_objext'
62702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62703 (eval $ac_try) 2>&5
62704 ac_status=$?
62705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62706 (exit $ac_status); }; }; then
62707 glibcxx_cv_func__sincosf_use=yes
62708 else
62709 echo "$as_me: failed program was:" >&5
62710 sed 's/^/| /' conftest.$ac_ext >&5
62712 glibcxx_cv_func__sincosf_use=no
62714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62715 ac_ext=c
62716 ac_cpp='$CPP $CPPFLAGS'
62717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62726 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62728 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62730 for ac_func in _sincosf
62732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62733 echo "$as_me:$LINENO: checking for $ac_func" >&5
62734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62735 if eval "test \"\${$as_ac_var+set}\" = set"; then
62736 echo $ECHO_N "(cached) $ECHO_C" >&6
62737 else
62738 if test x$gcc_no_link = xyes; then
62739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62741 { (exit 1); exit 1; }; }
62743 cat >conftest.$ac_ext <<_ACEOF
62744 /* confdefs.h. */
62745 _ACEOF
62746 cat confdefs.h >>conftest.$ac_ext
62747 cat >>conftest.$ac_ext <<_ACEOF
62748 /* end confdefs.h. */
62749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62751 #define $ac_func innocuous_$ac_func
62753 /* System header to define __stub macros and hopefully few prototypes,
62754 which can conflict with char $ac_func (); below.
62755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62756 <limits.h> exists even on freestanding compilers. */
62758 #ifdef __STDC__
62759 # include <limits.h>
62760 #else
62761 # include <assert.h>
62762 #endif
62764 #undef $ac_func
62766 /* Override any gcc2 internal prototype to avoid an error. */
62767 #ifdef __cplusplus
62768 extern "C"
62770 #endif
62771 /* We use char because int might match the return type of a gcc2
62772 builtin and then its argument prototype would still apply. */
62773 char $ac_func ();
62774 /* The GNU C library defines this for functions which it implements
62775 to always fail with ENOSYS. Some functions are actually named
62776 something starting with __ and the normal name is an alias. */
62777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62778 choke me
62779 #else
62780 char (*f) () = $ac_func;
62781 #endif
62782 #ifdef __cplusplus
62784 #endif
62787 main ()
62789 return f != $ac_func;
62791 return 0;
62793 _ACEOF
62794 rm -f conftest.$ac_objext conftest$ac_exeext
62795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62796 (eval $ac_link) 2>conftest.er1
62797 ac_status=$?
62798 grep -v '^ *+' conftest.er1 >conftest.err
62799 rm -f conftest.er1
62800 cat conftest.err >&5
62801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62802 (exit $ac_status); } &&
62803 { ac_try='test -z "$ac_c_werror_flag"
62804 || test ! -s conftest.err'
62805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62806 (eval $ac_try) 2>&5
62807 ac_status=$?
62808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62809 (exit $ac_status); }; } &&
62810 { ac_try='test -s conftest$ac_exeext'
62811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62812 (eval $ac_try) 2>&5
62813 ac_status=$?
62814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62815 (exit $ac_status); }; }; then
62816 eval "$as_ac_var=yes"
62817 else
62818 echo "$as_me: failed program was:" >&5
62819 sed 's/^/| /' conftest.$ac_ext >&5
62821 eval "$as_ac_var=no"
62823 rm -f conftest.err conftest.$ac_objext \
62824 conftest$ac_exeext conftest.$ac_ext
62826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62828 if test `eval echo '${'$as_ac_var'}'` = yes; then
62829 cat >>confdefs.h <<_ACEOF
62830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62831 _ACEOF
62834 done
62844 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62845 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62846 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62847 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62848 echo $ECHO_N "(cached) $ECHO_C" >&6
62849 else
62853 ac_ext=cc
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62859 cat >conftest.$ac_ext <<_ACEOF
62860 /* confdefs.h. */
62861 _ACEOF
62862 cat confdefs.h >>conftest.$ac_ext
62863 cat >>conftest.$ac_ext <<_ACEOF
62864 /* end confdefs.h. */
62865 #include <math.h>
62866 #ifdef HAVE_IEEEFP_H
62867 #include <ieeefp.h>
62868 #endif
62871 main ()
62873 finitef(0);
62875 return 0;
62877 _ACEOF
62878 rm -f conftest.$ac_objext
62879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62880 (eval $ac_compile) 2>conftest.er1
62881 ac_status=$?
62882 grep -v '^ *+' conftest.er1 >conftest.err
62883 rm -f conftest.er1
62884 cat conftest.err >&5
62885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62886 (exit $ac_status); } &&
62887 { ac_try='test -z "$ac_cxx_werror_flag"
62888 || test ! -s conftest.err'
62889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62890 (eval $ac_try) 2>&5
62891 ac_status=$?
62892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62893 (exit $ac_status); }; } &&
62894 { ac_try='test -s conftest.$ac_objext'
62895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62896 (eval $ac_try) 2>&5
62897 ac_status=$?
62898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62899 (exit $ac_status); }; }; then
62900 glibcxx_cv_func_finitef_use=yes
62901 else
62902 echo "$as_me: failed program was:" >&5
62903 sed 's/^/| /' conftest.$ac_ext >&5
62905 glibcxx_cv_func_finitef_use=no
62907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62908 ac_ext=c
62909 ac_cpp='$CPP $CPPFLAGS'
62910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62919 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62921 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62923 for ac_func in finitef
62925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62926 echo "$as_me:$LINENO: checking for $ac_func" >&5
62927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62928 if eval "test \"\${$as_ac_var+set}\" = set"; then
62929 echo $ECHO_N "(cached) $ECHO_C" >&6
62930 else
62931 if test x$gcc_no_link = xyes; then
62932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62934 { (exit 1); exit 1; }; }
62936 cat >conftest.$ac_ext <<_ACEOF
62937 /* confdefs.h. */
62938 _ACEOF
62939 cat confdefs.h >>conftest.$ac_ext
62940 cat >>conftest.$ac_ext <<_ACEOF
62941 /* end confdefs.h. */
62942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62944 #define $ac_func innocuous_$ac_func
62946 /* System header to define __stub macros and hopefully few prototypes,
62947 which can conflict with char $ac_func (); below.
62948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62949 <limits.h> exists even on freestanding compilers. */
62951 #ifdef __STDC__
62952 # include <limits.h>
62953 #else
62954 # include <assert.h>
62955 #endif
62957 #undef $ac_func
62959 /* Override any gcc2 internal prototype to avoid an error. */
62960 #ifdef __cplusplus
62961 extern "C"
62963 #endif
62964 /* We use char because int might match the return type of a gcc2
62965 builtin and then its argument prototype would still apply. */
62966 char $ac_func ();
62967 /* The GNU C library defines this for functions which it implements
62968 to always fail with ENOSYS. Some functions are actually named
62969 something starting with __ and the normal name is an alias. */
62970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62971 choke me
62972 #else
62973 char (*f) () = $ac_func;
62974 #endif
62975 #ifdef __cplusplus
62977 #endif
62980 main ()
62982 return f != $ac_func;
62984 return 0;
62986 _ACEOF
62987 rm -f conftest.$ac_objext conftest$ac_exeext
62988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62989 (eval $ac_link) 2>conftest.er1
62990 ac_status=$?
62991 grep -v '^ *+' conftest.er1 >conftest.err
62992 rm -f conftest.er1
62993 cat conftest.err >&5
62994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62995 (exit $ac_status); } &&
62996 { ac_try='test -z "$ac_c_werror_flag"
62997 || test ! -s conftest.err'
62998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62999 (eval $ac_try) 2>&5
63000 ac_status=$?
63001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63002 (exit $ac_status); }; } &&
63003 { ac_try='test -s conftest$ac_exeext'
63004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63005 (eval $ac_try) 2>&5
63006 ac_status=$?
63007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63008 (exit $ac_status); }; }; then
63009 eval "$as_ac_var=yes"
63010 else
63011 echo "$as_me: failed program was:" >&5
63012 sed 's/^/| /' conftest.$ac_ext >&5
63014 eval "$as_ac_var=no"
63016 rm -f conftest.err conftest.$ac_objext \
63017 conftest$ac_exeext conftest.$ac_ext
63019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63021 if test `eval echo '${'$as_ac_var'}'` = yes; then
63022 cat >>confdefs.h <<_ACEOF
63023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63024 _ACEOF
63027 done
63029 else
63031 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63032 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63033 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63034 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63035 echo $ECHO_N "(cached) $ECHO_C" >&6
63036 else
63040 ac_ext=cc
63041 ac_cpp='$CXXCPP $CPPFLAGS'
63042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63046 cat >conftest.$ac_ext <<_ACEOF
63047 /* confdefs.h. */
63048 _ACEOF
63049 cat confdefs.h >>conftest.$ac_ext
63050 cat >>conftest.$ac_ext <<_ACEOF
63051 /* end confdefs.h. */
63052 #include <math.h>
63053 #ifdef HAVE_IEEEFP_H
63054 #include <ieeefp.h>
63055 #endif
63058 main ()
63060 _finitef(0);
63062 return 0;
63064 _ACEOF
63065 rm -f conftest.$ac_objext
63066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63067 (eval $ac_compile) 2>conftest.er1
63068 ac_status=$?
63069 grep -v '^ *+' conftest.er1 >conftest.err
63070 rm -f conftest.er1
63071 cat conftest.err >&5
63072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63073 (exit $ac_status); } &&
63074 { ac_try='test -z "$ac_cxx_werror_flag"
63075 || test ! -s conftest.err'
63076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63077 (eval $ac_try) 2>&5
63078 ac_status=$?
63079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63080 (exit $ac_status); }; } &&
63081 { ac_try='test -s conftest.$ac_objext'
63082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63083 (eval $ac_try) 2>&5
63084 ac_status=$?
63085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63086 (exit $ac_status); }; }; then
63087 glibcxx_cv_func__finitef_use=yes
63088 else
63089 echo "$as_me: failed program was:" >&5
63090 sed 's/^/| /' conftest.$ac_ext >&5
63092 glibcxx_cv_func__finitef_use=no
63094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63095 ac_ext=c
63096 ac_cpp='$CPP $CPPFLAGS'
63097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63106 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63108 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63110 for ac_func in _finitef
63112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63113 echo "$as_me:$LINENO: checking for $ac_func" >&5
63114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63115 if eval "test \"\${$as_ac_var+set}\" = set"; then
63116 echo $ECHO_N "(cached) $ECHO_C" >&6
63117 else
63118 if test x$gcc_no_link = xyes; then
63119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63121 { (exit 1); exit 1; }; }
63123 cat >conftest.$ac_ext <<_ACEOF
63124 /* confdefs.h. */
63125 _ACEOF
63126 cat confdefs.h >>conftest.$ac_ext
63127 cat >>conftest.$ac_ext <<_ACEOF
63128 /* end confdefs.h. */
63129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63131 #define $ac_func innocuous_$ac_func
63133 /* System header to define __stub macros and hopefully few prototypes,
63134 which can conflict with char $ac_func (); below.
63135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63136 <limits.h> exists even on freestanding compilers. */
63138 #ifdef __STDC__
63139 # include <limits.h>
63140 #else
63141 # include <assert.h>
63142 #endif
63144 #undef $ac_func
63146 /* Override any gcc2 internal prototype to avoid an error. */
63147 #ifdef __cplusplus
63148 extern "C"
63150 #endif
63151 /* We use char because int might match the return type of a gcc2
63152 builtin and then its argument prototype would still apply. */
63153 char $ac_func ();
63154 /* The GNU C library defines this for functions which it implements
63155 to always fail with ENOSYS. Some functions are actually named
63156 something starting with __ and the normal name is an alias. */
63157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63158 choke me
63159 #else
63160 char (*f) () = $ac_func;
63161 #endif
63162 #ifdef __cplusplus
63164 #endif
63167 main ()
63169 return f != $ac_func;
63171 return 0;
63173 _ACEOF
63174 rm -f conftest.$ac_objext conftest$ac_exeext
63175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63176 (eval $ac_link) 2>conftest.er1
63177 ac_status=$?
63178 grep -v '^ *+' conftest.er1 >conftest.err
63179 rm -f conftest.er1
63180 cat conftest.err >&5
63181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63182 (exit $ac_status); } &&
63183 { ac_try='test -z "$ac_c_werror_flag"
63184 || test ! -s conftest.err'
63185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63186 (eval $ac_try) 2>&5
63187 ac_status=$?
63188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63189 (exit $ac_status); }; } &&
63190 { ac_try='test -s conftest$ac_exeext'
63191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63192 (eval $ac_try) 2>&5
63193 ac_status=$?
63194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63195 (exit $ac_status); }; }; then
63196 eval "$as_ac_var=yes"
63197 else
63198 echo "$as_me: failed program was:" >&5
63199 sed 's/^/| /' conftest.$ac_ext >&5
63201 eval "$as_ac_var=no"
63203 rm -f conftest.err conftest.$ac_objext \
63204 conftest$ac_exeext conftest.$ac_ext
63206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63208 if test `eval echo '${'$as_ac_var'}'` = yes; then
63209 cat >>confdefs.h <<_ACEOF
63210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63211 _ACEOF
63214 done
63224 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63225 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63226 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63227 echo $ECHO_N "(cached) $ECHO_C" >&6
63228 else
63232 ac_ext=cc
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63238 cat >conftest.$ac_ext <<_ACEOF
63239 /* confdefs.h. */
63240 _ACEOF
63241 cat confdefs.h >>conftest.$ac_ext
63242 cat >>conftest.$ac_ext <<_ACEOF
63243 /* end confdefs.h. */
63244 #include <math.h>
63246 main ()
63248 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63250 return 0;
63252 _ACEOF
63253 rm -f conftest.$ac_objext
63254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63255 (eval $ac_compile) 2>conftest.er1
63256 ac_status=$?
63257 grep -v '^ *+' conftest.er1 >conftest.err
63258 rm -f conftest.er1
63259 cat conftest.err >&5
63260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63261 (exit $ac_status); } &&
63262 { ac_try='test -z "$ac_cxx_werror_flag"
63263 || test ! -s conftest.err'
63264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63265 (eval $ac_try) 2>&5
63266 ac_status=$?
63267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63268 (exit $ac_status); }; } &&
63269 { ac_try='test -s conftest.$ac_objext'
63270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63271 (eval $ac_try) 2>&5
63272 ac_status=$?
63273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63274 (exit $ac_status); }; }; then
63275 glibcxx_cv_func_long_double_trig_use=yes
63276 else
63277 echo "$as_me: failed program was:" >&5
63278 sed 's/^/| /' conftest.$ac_ext >&5
63280 glibcxx_cv_func_long_double_trig_use=no
63282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63283 ac_ext=c
63284 ac_cpp='$CPP $CPPFLAGS'
63285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63292 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63293 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63303 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63306 echo "$as_me:$LINENO: checking for $ac_func" >&5
63307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63308 if eval "test \"\${$as_ac_var+set}\" = set"; then
63309 echo $ECHO_N "(cached) $ECHO_C" >&6
63310 else
63311 if test x$gcc_no_link = xyes; then
63312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63314 { (exit 1); exit 1; }; }
63316 cat >conftest.$ac_ext <<_ACEOF
63317 /* confdefs.h. */
63318 _ACEOF
63319 cat confdefs.h >>conftest.$ac_ext
63320 cat >>conftest.$ac_ext <<_ACEOF
63321 /* end confdefs.h. */
63322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63324 #define $ac_func innocuous_$ac_func
63326 /* System header to define __stub macros and hopefully few prototypes,
63327 which can conflict with char $ac_func (); below.
63328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63329 <limits.h> exists even on freestanding compilers. */
63331 #ifdef __STDC__
63332 # include <limits.h>
63333 #else
63334 # include <assert.h>
63335 #endif
63337 #undef $ac_func
63339 /* Override any gcc2 internal prototype to avoid an error. */
63340 #ifdef __cplusplus
63341 extern "C"
63343 #endif
63344 /* We use char because int might match the return type of a gcc2
63345 builtin and then its argument prototype would still apply. */
63346 char $ac_func ();
63347 /* The GNU C library defines this for functions which it implements
63348 to always fail with ENOSYS. Some functions are actually named
63349 something starting with __ and the normal name is an alias. */
63350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63351 choke me
63352 #else
63353 char (*f) () = $ac_func;
63354 #endif
63355 #ifdef __cplusplus
63357 #endif
63360 main ()
63362 return f != $ac_func;
63364 return 0;
63366 _ACEOF
63367 rm -f conftest.$ac_objext conftest$ac_exeext
63368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63369 (eval $ac_link) 2>conftest.er1
63370 ac_status=$?
63371 grep -v '^ *+' conftest.er1 >conftest.err
63372 rm -f conftest.er1
63373 cat conftest.err >&5
63374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63375 (exit $ac_status); } &&
63376 { ac_try='test -z "$ac_c_werror_flag"
63377 || test ! -s conftest.err'
63378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63379 (eval $ac_try) 2>&5
63380 ac_status=$?
63381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63382 (exit $ac_status); }; } &&
63383 { ac_try='test -s conftest$ac_exeext'
63384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63385 (eval $ac_try) 2>&5
63386 ac_status=$?
63387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63388 (exit $ac_status); }; }; then
63389 eval "$as_ac_var=yes"
63390 else
63391 echo "$as_me: failed program was:" >&5
63392 sed 's/^/| /' conftest.$ac_ext >&5
63394 eval "$as_ac_var=no"
63396 rm -f conftest.err conftest.$ac_objext \
63397 conftest$ac_exeext conftest.$ac_ext
63399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63401 if test `eval echo '${'$as_ac_var'}'` = yes; then
63402 cat >>confdefs.h <<_ACEOF
63403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63404 _ACEOF
63407 done
63409 else
63410 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63411 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63412 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63413 echo $ECHO_N "(cached) $ECHO_C" >&6
63414 else
63418 ac_ext=cc
63419 ac_cpp='$CXXCPP $CPPFLAGS'
63420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63424 cat >conftest.$ac_ext <<_ACEOF
63425 /* confdefs.h. */
63426 _ACEOF
63427 cat confdefs.h >>conftest.$ac_ext
63428 cat >>conftest.$ac_ext <<_ACEOF
63429 /* end confdefs.h. */
63430 #include <math.h>
63432 main ()
63434 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63436 return 0;
63438 _ACEOF
63439 rm -f conftest.$ac_objext
63440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63441 (eval $ac_compile) 2>conftest.er1
63442 ac_status=$?
63443 grep -v '^ *+' conftest.er1 >conftest.err
63444 rm -f conftest.er1
63445 cat conftest.err >&5
63446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63447 (exit $ac_status); } &&
63448 { ac_try='test -z "$ac_cxx_werror_flag"
63449 || test ! -s conftest.err'
63450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63451 (eval $ac_try) 2>&5
63452 ac_status=$?
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 (exit $ac_status); }; } &&
63455 { ac_try='test -s conftest.$ac_objext'
63456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63457 (eval $ac_try) 2>&5
63458 ac_status=$?
63459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63460 (exit $ac_status); }; }; then
63461 glibcxx_cv_func__long_double_trig_use=yes
63462 else
63463 echo "$as_me: failed program was:" >&5
63464 sed 's/^/| /' conftest.$ac_ext >&5
63466 glibcxx_cv_func__long_double_trig_use=no
63468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63469 ac_ext=c
63470 ac_cpp='$CPP $CPPFLAGS'
63471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63478 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63489 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63492 echo "$as_me:$LINENO: checking for $ac_func" >&5
63493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63494 if eval "test \"\${$as_ac_var+set}\" = set"; then
63495 echo $ECHO_N "(cached) $ECHO_C" >&6
63496 else
63497 if test x$gcc_no_link = xyes; then
63498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63500 { (exit 1); exit 1; }; }
63502 cat >conftest.$ac_ext <<_ACEOF
63503 /* confdefs.h. */
63504 _ACEOF
63505 cat confdefs.h >>conftest.$ac_ext
63506 cat >>conftest.$ac_ext <<_ACEOF
63507 /* end confdefs.h. */
63508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63510 #define $ac_func innocuous_$ac_func
63512 /* System header to define __stub macros and hopefully few prototypes,
63513 which can conflict with char $ac_func (); below.
63514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63515 <limits.h> exists even on freestanding compilers. */
63517 #ifdef __STDC__
63518 # include <limits.h>
63519 #else
63520 # include <assert.h>
63521 #endif
63523 #undef $ac_func
63525 /* Override any gcc2 internal prototype to avoid an error. */
63526 #ifdef __cplusplus
63527 extern "C"
63529 #endif
63530 /* We use char because int might match the return type of a gcc2
63531 builtin and then its argument prototype would still apply. */
63532 char $ac_func ();
63533 /* The GNU C library defines this for functions which it implements
63534 to always fail with ENOSYS. Some functions are actually named
63535 something starting with __ and the normal name is an alias. */
63536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63537 choke me
63538 #else
63539 char (*f) () = $ac_func;
63540 #endif
63541 #ifdef __cplusplus
63543 #endif
63546 main ()
63548 return f != $ac_func;
63550 return 0;
63552 _ACEOF
63553 rm -f conftest.$ac_objext conftest$ac_exeext
63554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63555 (eval $ac_link) 2>conftest.er1
63556 ac_status=$?
63557 grep -v '^ *+' conftest.er1 >conftest.err
63558 rm -f conftest.er1
63559 cat conftest.err >&5
63560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63561 (exit $ac_status); } &&
63562 { ac_try='test -z "$ac_c_werror_flag"
63563 || test ! -s conftest.err'
63564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63565 (eval $ac_try) 2>&5
63566 ac_status=$?
63567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63568 (exit $ac_status); }; } &&
63569 { ac_try='test -s conftest$ac_exeext'
63570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63571 (eval $ac_try) 2>&5
63572 ac_status=$?
63573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63574 (exit $ac_status); }; }; then
63575 eval "$as_ac_var=yes"
63576 else
63577 echo "$as_me: failed program was:" >&5
63578 sed 's/^/| /' conftest.$ac_ext >&5
63580 eval "$as_ac_var=no"
63582 rm -f conftest.err conftest.$ac_objext \
63583 conftest$ac_exeext conftest.$ac_ext
63585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63587 if test `eval echo '${'$as_ac_var'}'` = yes; then
63588 cat >>confdefs.h <<_ACEOF
63589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63590 _ACEOF
63593 done
63611 echo "$as_me:$LINENO: checking for long double round functions" >&5
63612 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63613 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63614 echo $ECHO_N "(cached) $ECHO_C" >&6
63615 else
63619 ac_ext=cc
63620 ac_cpp='$CXXCPP $CPPFLAGS'
63621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63625 cat >conftest.$ac_ext <<_ACEOF
63626 /* confdefs.h. */
63627 _ACEOF
63628 cat confdefs.h >>conftest.$ac_ext
63629 cat >>conftest.$ac_ext <<_ACEOF
63630 /* end confdefs.h. */
63631 #include <math.h>
63633 main ()
63635 ceill (0); floorl (0);
63637 return 0;
63639 _ACEOF
63640 rm -f conftest.$ac_objext
63641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63642 (eval $ac_compile) 2>conftest.er1
63643 ac_status=$?
63644 grep -v '^ *+' conftest.er1 >conftest.err
63645 rm -f conftest.er1
63646 cat conftest.err >&5
63647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63648 (exit $ac_status); } &&
63649 { ac_try='test -z "$ac_cxx_werror_flag"
63650 || test ! -s conftest.err'
63651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63652 (eval $ac_try) 2>&5
63653 ac_status=$?
63654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63655 (exit $ac_status); }; } &&
63656 { ac_try='test -s conftest.$ac_objext'
63657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658 (eval $ac_try) 2>&5
63659 ac_status=$?
63660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661 (exit $ac_status); }; }; then
63662 glibcxx_cv_func_long_double_round_use=yes
63663 else
63664 echo "$as_me: failed program was:" >&5
63665 sed 's/^/| /' conftest.$ac_ext >&5
63667 glibcxx_cv_func_long_double_round_use=no
63669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63670 ac_ext=c
63671 ac_cpp='$CPP $CPPFLAGS'
63672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63679 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63680 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63683 for ac_func in ceill floorl
63685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63686 echo "$as_me:$LINENO: checking for $ac_func" >&5
63687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63688 if eval "test \"\${$as_ac_var+set}\" = set"; then
63689 echo $ECHO_N "(cached) $ECHO_C" >&6
63690 else
63691 if test x$gcc_no_link = xyes; then
63692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63694 { (exit 1); exit 1; }; }
63696 cat >conftest.$ac_ext <<_ACEOF
63697 /* confdefs.h. */
63698 _ACEOF
63699 cat confdefs.h >>conftest.$ac_ext
63700 cat >>conftest.$ac_ext <<_ACEOF
63701 /* end confdefs.h. */
63702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63704 #define $ac_func innocuous_$ac_func
63706 /* System header to define __stub macros and hopefully few prototypes,
63707 which can conflict with char $ac_func (); below.
63708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63709 <limits.h> exists even on freestanding compilers. */
63711 #ifdef __STDC__
63712 # include <limits.h>
63713 #else
63714 # include <assert.h>
63715 #endif
63717 #undef $ac_func
63719 /* Override any gcc2 internal prototype to avoid an error. */
63720 #ifdef __cplusplus
63721 extern "C"
63723 #endif
63724 /* We use char because int might match the return type of a gcc2
63725 builtin and then its argument prototype would still apply. */
63726 char $ac_func ();
63727 /* The GNU C library defines this for functions which it implements
63728 to always fail with ENOSYS. Some functions are actually named
63729 something starting with __ and the normal name is an alias. */
63730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63731 choke me
63732 #else
63733 char (*f) () = $ac_func;
63734 #endif
63735 #ifdef __cplusplus
63737 #endif
63740 main ()
63742 return f != $ac_func;
63744 return 0;
63746 _ACEOF
63747 rm -f conftest.$ac_objext conftest$ac_exeext
63748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63749 (eval $ac_link) 2>conftest.er1
63750 ac_status=$?
63751 grep -v '^ *+' conftest.er1 >conftest.err
63752 rm -f conftest.er1
63753 cat conftest.err >&5
63754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63755 (exit $ac_status); } &&
63756 { ac_try='test -z "$ac_c_werror_flag"
63757 || test ! -s conftest.err'
63758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63759 (eval $ac_try) 2>&5
63760 ac_status=$?
63761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63762 (exit $ac_status); }; } &&
63763 { ac_try='test -s conftest$ac_exeext'
63764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63765 (eval $ac_try) 2>&5
63766 ac_status=$?
63767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63768 (exit $ac_status); }; }; then
63769 eval "$as_ac_var=yes"
63770 else
63771 echo "$as_me: failed program was:" >&5
63772 sed 's/^/| /' conftest.$ac_ext >&5
63774 eval "$as_ac_var=no"
63776 rm -f conftest.err conftest.$ac_objext \
63777 conftest$ac_exeext conftest.$ac_ext
63779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63781 if test `eval echo '${'$as_ac_var'}'` = yes; then
63782 cat >>confdefs.h <<_ACEOF
63783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63784 _ACEOF
63787 done
63789 else
63790 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63791 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63793 echo $ECHO_N "(cached) $ECHO_C" >&6
63794 else
63798 ac_ext=cc
63799 ac_cpp='$CXXCPP $CPPFLAGS'
63800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63804 cat >conftest.$ac_ext <<_ACEOF
63805 /* confdefs.h. */
63806 _ACEOF
63807 cat confdefs.h >>conftest.$ac_ext
63808 cat >>conftest.$ac_ext <<_ACEOF
63809 /* end confdefs.h. */
63810 #include <math.h>
63812 main ()
63814 _ceill (0); _floorl (0);
63816 return 0;
63818 _ACEOF
63819 rm -f conftest.$ac_objext
63820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63821 (eval $ac_compile) 2>conftest.er1
63822 ac_status=$?
63823 grep -v '^ *+' conftest.er1 >conftest.err
63824 rm -f conftest.er1
63825 cat conftest.err >&5
63826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63827 (exit $ac_status); } &&
63828 { ac_try='test -z "$ac_cxx_werror_flag"
63829 || test ! -s conftest.err'
63830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63831 (eval $ac_try) 2>&5
63832 ac_status=$?
63833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63834 (exit $ac_status); }; } &&
63835 { ac_try='test -s conftest.$ac_objext'
63836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63837 (eval $ac_try) 2>&5
63838 ac_status=$?
63839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840 (exit $ac_status); }; }; then
63841 glibcxx_cv_func__long_double_round_use=yes
63842 else
63843 echo "$as_me: failed program was:" >&5
63844 sed 's/^/| /' conftest.$ac_ext >&5
63846 glibcxx_cv_func__long_double_round_use=no
63848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63849 ac_ext=c
63850 ac_cpp='$CPP $CPPFLAGS'
63851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63858 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63859 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63862 for ac_func in _ceill _floorl
63864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63865 echo "$as_me:$LINENO: checking for $ac_func" >&5
63866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63867 if eval "test \"\${$as_ac_var+set}\" = set"; then
63868 echo $ECHO_N "(cached) $ECHO_C" >&6
63869 else
63870 if test x$gcc_no_link = xyes; then
63871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63873 { (exit 1); exit 1; }; }
63875 cat >conftest.$ac_ext <<_ACEOF
63876 /* confdefs.h. */
63877 _ACEOF
63878 cat confdefs.h >>conftest.$ac_ext
63879 cat >>conftest.$ac_ext <<_ACEOF
63880 /* end confdefs.h. */
63881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63883 #define $ac_func innocuous_$ac_func
63885 /* System header to define __stub macros and hopefully few prototypes,
63886 which can conflict with char $ac_func (); below.
63887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63888 <limits.h> exists even on freestanding compilers. */
63890 #ifdef __STDC__
63891 # include <limits.h>
63892 #else
63893 # include <assert.h>
63894 #endif
63896 #undef $ac_func
63898 /* Override any gcc2 internal prototype to avoid an error. */
63899 #ifdef __cplusplus
63900 extern "C"
63902 #endif
63903 /* We use char because int might match the return type of a gcc2
63904 builtin and then its argument prototype would still apply. */
63905 char $ac_func ();
63906 /* The GNU C library defines this for functions which it implements
63907 to always fail with ENOSYS. Some functions are actually named
63908 something starting with __ and the normal name is an alias. */
63909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63910 choke me
63911 #else
63912 char (*f) () = $ac_func;
63913 #endif
63914 #ifdef __cplusplus
63916 #endif
63919 main ()
63921 return f != $ac_func;
63923 return 0;
63925 _ACEOF
63926 rm -f conftest.$ac_objext conftest$ac_exeext
63927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63928 (eval $ac_link) 2>conftest.er1
63929 ac_status=$?
63930 grep -v '^ *+' conftest.er1 >conftest.err
63931 rm -f conftest.er1
63932 cat conftest.err >&5
63933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63934 (exit $ac_status); } &&
63935 { ac_try='test -z "$ac_c_werror_flag"
63936 || test ! -s conftest.err'
63937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63938 (eval $ac_try) 2>&5
63939 ac_status=$?
63940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63941 (exit $ac_status); }; } &&
63942 { ac_try='test -s conftest$ac_exeext'
63943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63944 (eval $ac_try) 2>&5
63945 ac_status=$?
63946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63947 (exit $ac_status); }; }; then
63948 eval "$as_ac_var=yes"
63949 else
63950 echo "$as_me: failed program was:" >&5
63951 sed 's/^/| /' conftest.$ac_ext >&5
63953 eval "$as_ac_var=no"
63955 rm -f conftest.err conftest.$ac_objext \
63956 conftest$ac_exeext conftest.$ac_ext
63958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63960 if test `eval echo '${'$as_ac_var'}'` = yes; then
63961 cat >>confdefs.h <<_ACEOF
63962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63963 _ACEOF
63966 done
63978 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63979 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63980 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63981 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63982 echo $ECHO_N "(cached) $ECHO_C" >&6
63983 else
63987 ac_ext=cc
63988 ac_cpp='$CXXCPP $CPPFLAGS'
63989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63993 cat >conftest.$ac_ext <<_ACEOF
63994 /* confdefs.h. */
63995 _ACEOF
63996 cat confdefs.h >>conftest.$ac_ext
63997 cat >>conftest.$ac_ext <<_ACEOF
63998 /* end confdefs.h. */
63999 #include <math.h>
64000 #ifdef HAVE_IEEEFP_H
64001 #include <ieeefp.h>
64002 #endif
64005 main ()
64007 isnanl(0);
64009 return 0;
64011 _ACEOF
64012 rm -f conftest.$ac_objext
64013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64014 (eval $ac_compile) 2>conftest.er1
64015 ac_status=$?
64016 grep -v '^ *+' conftest.er1 >conftest.err
64017 rm -f conftest.er1
64018 cat conftest.err >&5
64019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64020 (exit $ac_status); } &&
64021 { ac_try='test -z "$ac_cxx_werror_flag"
64022 || test ! -s conftest.err'
64023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64024 (eval $ac_try) 2>&5
64025 ac_status=$?
64026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027 (exit $ac_status); }; } &&
64028 { ac_try='test -s conftest.$ac_objext'
64029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64030 (eval $ac_try) 2>&5
64031 ac_status=$?
64032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64033 (exit $ac_status); }; }; then
64034 glibcxx_cv_func_isnanl_use=yes
64035 else
64036 echo "$as_me: failed program was:" >&5
64037 sed 's/^/| /' conftest.$ac_ext >&5
64039 glibcxx_cv_func_isnanl_use=no
64041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64042 ac_ext=c
64043 ac_cpp='$CPP $CPPFLAGS'
64044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64053 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64055 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64057 for ac_func in isnanl
64059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64060 echo "$as_me:$LINENO: checking for $ac_func" >&5
64061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64062 if eval "test \"\${$as_ac_var+set}\" = set"; then
64063 echo $ECHO_N "(cached) $ECHO_C" >&6
64064 else
64065 if test x$gcc_no_link = xyes; then
64066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64068 { (exit 1); exit 1; }; }
64070 cat >conftest.$ac_ext <<_ACEOF
64071 /* confdefs.h. */
64072 _ACEOF
64073 cat confdefs.h >>conftest.$ac_ext
64074 cat >>conftest.$ac_ext <<_ACEOF
64075 /* end confdefs.h. */
64076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64078 #define $ac_func innocuous_$ac_func
64080 /* System header to define __stub macros and hopefully few prototypes,
64081 which can conflict with char $ac_func (); below.
64082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64083 <limits.h> exists even on freestanding compilers. */
64085 #ifdef __STDC__
64086 # include <limits.h>
64087 #else
64088 # include <assert.h>
64089 #endif
64091 #undef $ac_func
64093 /* Override any gcc2 internal prototype to avoid an error. */
64094 #ifdef __cplusplus
64095 extern "C"
64097 #endif
64098 /* We use char because int might match the return type of a gcc2
64099 builtin and then its argument prototype would still apply. */
64100 char $ac_func ();
64101 /* The GNU C library defines this for functions which it implements
64102 to always fail with ENOSYS. Some functions are actually named
64103 something starting with __ and the normal name is an alias. */
64104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64105 choke me
64106 #else
64107 char (*f) () = $ac_func;
64108 #endif
64109 #ifdef __cplusplus
64111 #endif
64114 main ()
64116 return f != $ac_func;
64118 return 0;
64120 _ACEOF
64121 rm -f conftest.$ac_objext conftest$ac_exeext
64122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64123 (eval $ac_link) 2>conftest.er1
64124 ac_status=$?
64125 grep -v '^ *+' conftest.er1 >conftest.err
64126 rm -f conftest.er1
64127 cat conftest.err >&5
64128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64129 (exit $ac_status); } &&
64130 { ac_try='test -z "$ac_c_werror_flag"
64131 || test ! -s conftest.err'
64132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64133 (eval $ac_try) 2>&5
64134 ac_status=$?
64135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64136 (exit $ac_status); }; } &&
64137 { ac_try='test -s conftest$ac_exeext'
64138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64139 (eval $ac_try) 2>&5
64140 ac_status=$?
64141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64142 (exit $ac_status); }; }; then
64143 eval "$as_ac_var=yes"
64144 else
64145 echo "$as_me: failed program was:" >&5
64146 sed 's/^/| /' conftest.$ac_ext >&5
64148 eval "$as_ac_var=no"
64150 rm -f conftest.err conftest.$ac_objext \
64151 conftest$ac_exeext conftest.$ac_ext
64153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64155 if test `eval echo '${'$as_ac_var'}'` = yes; then
64156 cat >>confdefs.h <<_ACEOF
64157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64158 _ACEOF
64161 done
64163 else
64165 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64166 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64167 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64168 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64169 echo $ECHO_N "(cached) $ECHO_C" >&6
64170 else
64174 ac_ext=cc
64175 ac_cpp='$CXXCPP $CPPFLAGS'
64176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64180 cat >conftest.$ac_ext <<_ACEOF
64181 /* confdefs.h. */
64182 _ACEOF
64183 cat confdefs.h >>conftest.$ac_ext
64184 cat >>conftest.$ac_ext <<_ACEOF
64185 /* end confdefs.h. */
64186 #include <math.h>
64187 #ifdef HAVE_IEEEFP_H
64188 #include <ieeefp.h>
64189 #endif
64192 main ()
64194 _isnanl(0);
64196 return 0;
64198 _ACEOF
64199 rm -f conftest.$ac_objext
64200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64201 (eval $ac_compile) 2>conftest.er1
64202 ac_status=$?
64203 grep -v '^ *+' conftest.er1 >conftest.err
64204 rm -f conftest.er1
64205 cat conftest.err >&5
64206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64207 (exit $ac_status); } &&
64208 { ac_try='test -z "$ac_cxx_werror_flag"
64209 || test ! -s conftest.err'
64210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64211 (eval $ac_try) 2>&5
64212 ac_status=$?
64213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64214 (exit $ac_status); }; } &&
64215 { ac_try='test -s conftest.$ac_objext'
64216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64217 (eval $ac_try) 2>&5
64218 ac_status=$?
64219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64220 (exit $ac_status); }; }; then
64221 glibcxx_cv_func__isnanl_use=yes
64222 else
64223 echo "$as_me: failed program was:" >&5
64224 sed 's/^/| /' conftest.$ac_ext >&5
64226 glibcxx_cv_func__isnanl_use=no
64228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64229 ac_ext=c
64230 ac_cpp='$CPP $CPPFLAGS'
64231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64240 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64242 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64244 for ac_func in _isnanl
64246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64247 echo "$as_me:$LINENO: checking for $ac_func" >&5
64248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64249 if eval "test \"\${$as_ac_var+set}\" = set"; then
64250 echo $ECHO_N "(cached) $ECHO_C" >&6
64251 else
64252 if test x$gcc_no_link = xyes; then
64253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64255 { (exit 1); exit 1; }; }
64257 cat >conftest.$ac_ext <<_ACEOF
64258 /* confdefs.h. */
64259 _ACEOF
64260 cat confdefs.h >>conftest.$ac_ext
64261 cat >>conftest.$ac_ext <<_ACEOF
64262 /* end confdefs.h. */
64263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64265 #define $ac_func innocuous_$ac_func
64267 /* System header to define __stub macros and hopefully few prototypes,
64268 which can conflict with char $ac_func (); below.
64269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64270 <limits.h> exists even on freestanding compilers. */
64272 #ifdef __STDC__
64273 # include <limits.h>
64274 #else
64275 # include <assert.h>
64276 #endif
64278 #undef $ac_func
64280 /* Override any gcc2 internal prototype to avoid an error. */
64281 #ifdef __cplusplus
64282 extern "C"
64284 #endif
64285 /* We use char because int might match the return type of a gcc2
64286 builtin and then its argument prototype would still apply. */
64287 char $ac_func ();
64288 /* The GNU C library defines this for functions which it implements
64289 to always fail with ENOSYS. Some functions are actually named
64290 something starting with __ and the normal name is an alias. */
64291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64292 choke me
64293 #else
64294 char (*f) () = $ac_func;
64295 #endif
64296 #ifdef __cplusplus
64298 #endif
64301 main ()
64303 return f != $ac_func;
64305 return 0;
64307 _ACEOF
64308 rm -f conftest.$ac_objext conftest$ac_exeext
64309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64310 (eval $ac_link) 2>conftest.er1
64311 ac_status=$?
64312 grep -v '^ *+' conftest.er1 >conftest.err
64313 rm -f conftest.er1
64314 cat conftest.err >&5
64315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64316 (exit $ac_status); } &&
64317 { ac_try='test -z "$ac_c_werror_flag"
64318 || test ! -s conftest.err'
64319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64320 (eval $ac_try) 2>&5
64321 ac_status=$?
64322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64323 (exit $ac_status); }; } &&
64324 { ac_try='test -s conftest$ac_exeext'
64325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64326 (eval $ac_try) 2>&5
64327 ac_status=$?
64328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64329 (exit $ac_status); }; }; then
64330 eval "$as_ac_var=yes"
64331 else
64332 echo "$as_me: failed program was:" >&5
64333 sed 's/^/| /' conftest.$ac_ext >&5
64335 eval "$as_ac_var=no"
64337 rm -f conftest.err conftest.$ac_objext \
64338 conftest$ac_exeext conftest.$ac_ext
64340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64342 if test `eval echo '${'$as_ac_var'}'` = yes; then
64343 cat >>confdefs.h <<_ACEOF
64344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64345 _ACEOF
64348 done
64358 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64359 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64360 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64361 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64362 echo $ECHO_N "(cached) $ECHO_C" >&6
64363 else
64367 ac_ext=cc
64368 ac_cpp='$CXXCPP $CPPFLAGS'
64369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64373 cat >conftest.$ac_ext <<_ACEOF
64374 /* confdefs.h. */
64375 _ACEOF
64376 cat confdefs.h >>conftest.$ac_ext
64377 cat >>conftest.$ac_ext <<_ACEOF
64378 /* end confdefs.h. */
64379 #include <math.h>
64380 #ifdef HAVE_IEEEFP_H
64381 #include <ieeefp.h>
64382 #endif
64385 main ()
64387 isinfl(0);
64389 return 0;
64391 _ACEOF
64392 rm -f conftest.$ac_objext
64393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64394 (eval $ac_compile) 2>conftest.er1
64395 ac_status=$?
64396 grep -v '^ *+' conftest.er1 >conftest.err
64397 rm -f conftest.er1
64398 cat conftest.err >&5
64399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64400 (exit $ac_status); } &&
64401 { ac_try='test -z "$ac_cxx_werror_flag"
64402 || test ! -s conftest.err'
64403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64404 (eval $ac_try) 2>&5
64405 ac_status=$?
64406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64407 (exit $ac_status); }; } &&
64408 { ac_try='test -s conftest.$ac_objext'
64409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64410 (eval $ac_try) 2>&5
64411 ac_status=$?
64412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64413 (exit $ac_status); }; }; then
64414 glibcxx_cv_func_isinfl_use=yes
64415 else
64416 echo "$as_me: failed program was:" >&5
64417 sed 's/^/| /' conftest.$ac_ext >&5
64419 glibcxx_cv_func_isinfl_use=no
64421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64422 ac_ext=c
64423 ac_cpp='$CPP $CPPFLAGS'
64424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64433 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64435 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64437 for ac_func in isinfl
64439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64440 echo "$as_me:$LINENO: checking for $ac_func" >&5
64441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64442 if eval "test \"\${$as_ac_var+set}\" = set"; then
64443 echo $ECHO_N "(cached) $ECHO_C" >&6
64444 else
64445 if test x$gcc_no_link = xyes; then
64446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64448 { (exit 1); exit 1; }; }
64450 cat >conftest.$ac_ext <<_ACEOF
64451 /* confdefs.h. */
64452 _ACEOF
64453 cat confdefs.h >>conftest.$ac_ext
64454 cat >>conftest.$ac_ext <<_ACEOF
64455 /* end confdefs.h. */
64456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64458 #define $ac_func innocuous_$ac_func
64460 /* System header to define __stub macros and hopefully few prototypes,
64461 which can conflict with char $ac_func (); below.
64462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64463 <limits.h> exists even on freestanding compilers. */
64465 #ifdef __STDC__
64466 # include <limits.h>
64467 #else
64468 # include <assert.h>
64469 #endif
64471 #undef $ac_func
64473 /* Override any gcc2 internal prototype to avoid an error. */
64474 #ifdef __cplusplus
64475 extern "C"
64477 #endif
64478 /* We use char because int might match the return type of a gcc2
64479 builtin and then its argument prototype would still apply. */
64480 char $ac_func ();
64481 /* The GNU C library defines this for functions which it implements
64482 to always fail with ENOSYS. Some functions are actually named
64483 something starting with __ and the normal name is an alias. */
64484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64485 choke me
64486 #else
64487 char (*f) () = $ac_func;
64488 #endif
64489 #ifdef __cplusplus
64491 #endif
64494 main ()
64496 return f != $ac_func;
64498 return 0;
64500 _ACEOF
64501 rm -f conftest.$ac_objext conftest$ac_exeext
64502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64503 (eval $ac_link) 2>conftest.er1
64504 ac_status=$?
64505 grep -v '^ *+' conftest.er1 >conftest.err
64506 rm -f conftest.er1
64507 cat conftest.err >&5
64508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64509 (exit $ac_status); } &&
64510 { ac_try='test -z "$ac_c_werror_flag"
64511 || test ! -s conftest.err'
64512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64513 (eval $ac_try) 2>&5
64514 ac_status=$?
64515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64516 (exit $ac_status); }; } &&
64517 { ac_try='test -s conftest$ac_exeext'
64518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64519 (eval $ac_try) 2>&5
64520 ac_status=$?
64521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64522 (exit $ac_status); }; }; then
64523 eval "$as_ac_var=yes"
64524 else
64525 echo "$as_me: failed program was:" >&5
64526 sed 's/^/| /' conftest.$ac_ext >&5
64528 eval "$as_ac_var=no"
64530 rm -f conftest.err conftest.$ac_objext \
64531 conftest$ac_exeext conftest.$ac_ext
64533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64535 if test `eval echo '${'$as_ac_var'}'` = yes; then
64536 cat >>confdefs.h <<_ACEOF
64537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64538 _ACEOF
64541 done
64543 else
64545 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64546 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64547 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64548 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64549 echo $ECHO_N "(cached) $ECHO_C" >&6
64550 else
64554 ac_ext=cc
64555 ac_cpp='$CXXCPP $CPPFLAGS'
64556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64560 cat >conftest.$ac_ext <<_ACEOF
64561 /* confdefs.h. */
64562 _ACEOF
64563 cat confdefs.h >>conftest.$ac_ext
64564 cat >>conftest.$ac_ext <<_ACEOF
64565 /* end confdefs.h. */
64566 #include <math.h>
64567 #ifdef HAVE_IEEEFP_H
64568 #include <ieeefp.h>
64569 #endif
64572 main ()
64574 _isinfl(0);
64576 return 0;
64578 _ACEOF
64579 rm -f conftest.$ac_objext
64580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64581 (eval $ac_compile) 2>conftest.er1
64582 ac_status=$?
64583 grep -v '^ *+' conftest.er1 >conftest.err
64584 rm -f conftest.er1
64585 cat conftest.err >&5
64586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64587 (exit $ac_status); } &&
64588 { ac_try='test -z "$ac_cxx_werror_flag"
64589 || test ! -s conftest.err'
64590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64591 (eval $ac_try) 2>&5
64592 ac_status=$?
64593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64594 (exit $ac_status); }; } &&
64595 { ac_try='test -s conftest.$ac_objext'
64596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597 (eval $ac_try) 2>&5
64598 ac_status=$?
64599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600 (exit $ac_status); }; }; then
64601 glibcxx_cv_func__isinfl_use=yes
64602 else
64603 echo "$as_me: failed program was:" >&5
64604 sed 's/^/| /' conftest.$ac_ext >&5
64606 glibcxx_cv_func__isinfl_use=no
64608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64609 ac_ext=c
64610 ac_cpp='$CPP $CPPFLAGS'
64611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64620 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64622 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64624 for ac_func in _isinfl
64626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64627 echo "$as_me:$LINENO: checking for $ac_func" >&5
64628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64629 if eval "test \"\${$as_ac_var+set}\" = set"; then
64630 echo $ECHO_N "(cached) $ECHO_C" >&6
64631 else
64632 if test x$gcc_no_link = xyes; then
64633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64635 { (exit 1); exit 1; }; }
64637 cat >conftest.$ac_ext <<_ACEOF
64638 /* confdefs.h. */
64639 _ACEOF
64640 cat confdefs.h >>conftest.$ac_ext
64641 cat >>conftest.$ac_ext <<_ACEOF
64642 /* end confdefs.h. */
64643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64645 #define $ac_func innocuous_$ac_func
64647 /* System header to define __stub macros and hopefully few prototypes,
64648 which can conflict with char $ac_func (); below.
64649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64650 <limits.h> exists even on freestanding compilers. */
64652 #ifdef __STDC__
64653 # include <limits.h>
64654 #else
64655 # include <assert.h>
64656 #endif
64658 #undef $ac_func
64660 /* Override any gcc2 internal prototype to avoid an error. */
64661 #ifdef __cplusplus
64662 extern "C"
64664 #endif
64665 /* We use char because int might match the return type of a gcc2
64666 builtin and then its argument prototype would still apply. */
64667 char $ac_func ();
64668 /* The GNU C library defines this for functions which it implements
64669 to always fail with ENOSYS. Some functions are actually named
64670 something starting with __ and the normal name is an alias. */
64671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64672 choke me
64673 #else
64674 char (*f) () = $ac_func;
64675 #endif
64676 #ifdef __cplusplus
64678 #endif
64681 main ()
64683 return f != $ac_func;
64685 return 0;
64687 _ACEOF
64688 rm -f conftest.$ac_objext conftest$ac_exeext
64689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64690 (eval $ac_link) 2>conftest.er1
64691 ac_status=$?
64692 grep -v '^ *+' conftest.er1 >conftest.err
64693 rm -f conftest.er1
64694 cat conftest.err >&5
64695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64696 (exit $ac_status); } &&
64697 { ac_try='test -z "$ac_c_werror_flag"
64698 || test ! -s conftest.err'
64699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64700 (eval $ac_try) 2>&5
64701 ac_status=$?
64702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64703 (exit $ac_status); }; } &&
64704 { ac_try='test -s conftest$ac_exeext'
64705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64706 (eval $ac_try) 2>&5
64707 ac_status=$?
64708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64709 (exit $ac_status); }; }; then
64710 eval "$as_ac_var=yes"
64711 else
64712 echo "$as_me: failed program was:" >&5
64713 sed 's/^/| /' conftest.$ac_ext >&5
64715 eval "$as_ac_var=no"
64717 rm -f conftest.err conftest.$ac_objext \
64718 conftest$ac_exeext conftest.$ac_ext
64720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64722 if test `eval echo '${'$as_ac_var'}'` = yes; then
64723 cat >>confdefs.h <<_ACEOF
64724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64725 _ACEOF
64728 done
64738 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64739 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64740 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64741 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64742 echo $ECHO_N "(cached) $ECHO_C" >&6
64743 else
64747 ac_ext=cc
64748 ac_cpp='$CXXCPP $CPPFLAGS'
64749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64753 cat >conftest.$ac_ext <<_ACEOF
64754 /* confdefs.h. */
64755 _ACEOF
64756 cat confdefs.h >>conftest.$ac_ext
64757 cat >>conftest.$ac_ext <<_ACEOF
64758 /* end confdefs.h. */
64759 #include <math.h>
64761 main ()
64763 copysignl(0, 0);
64765 return 0;
64767 _ACEOF
64768 rm -f conftest.$ac_objext
64769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64770 (eval $ac_compile) 2>conftest.er1
64771 ac_status=$?
64772 grep -v '^ *+' conftest.er1 >conftest.err
64773 rm -f conftest.er1
64774 cat conftest.err >&5
64775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64776 (exit $ac_status); } &&
64777 { ac_try='test -z "$ac_cxx_werror_flag"
64778 || test ! -s conftest.err'
64779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64780 (eval $ac_try) 2>&5
64781 ac_status=$?
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); }; } &&
64784 { ac_try='test -s conftest.$ac_objext'
64785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64786 (eval $ac_try) 2>&5
64787 ac_status=$?
64788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789 (exit $ac_status); }; }; then
64790 glibcxx_cv_func_copysignl_use=yes
64791 else
64792 echo "$as_me: failed program was:" >&5
64793 sed 's/^/| /' conftest.$ac_ext >&5
64795 glibcxx_cv_func_copysignl_use=no
64797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64798 ac_ext=c
64799 ac_cpp='$CPP $CPPFLAGS'
64800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64809 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64811 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64813 for ac_func in copysignl
64815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64816 echo "$as_me:$LINENO: checking for $ac_func" >&5
64817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64818 if eval "test \"\${$as_ac_var+set}\" = set"; then
64819 echo $ECHO_N "(cached) $ECHO_C" >&6
64820 else
64821 if test x$gcc_no_link = xyes; then
64822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64824 { (exit 1); exit 1; }; }
64826 cat >conftest.$ac_ext <<_ACEOF
64827 /* confdefs.h. */
64828 _ACEOF
64829 cat confdefs.h >>conftest.$ac_ext
64830 cat >>conftest.$ac_ext <<_ACEOF
64831 /* end confdefs.h. */
64832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64834 #define $ac_func innocuous_$ac_func
64836 /* System header to define __stub macros and hopefully few prototypes,
64837 which can conflict with char $ac_func (); below.
64838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64839 <limits.h> exists even on freestanding compilers. */
64841 #ifdef __STDC__
64842 # include <limits.h>
64843 #else
64844 # include <assert.h>
64845 #endif
64847 #undef $ac_func
64849 /* Override any gcc2 internal prototype to avoid an error. */
64850 #ifdef __cplusplus
64851 extern "C"
64853 #endif
64854 /* We use char because int might match the return type of a gcc2
64855 builtin and then its argument prototype would still apply. */
64856 char $ac_func ();
64857 /* The GNU C library defines this for functions which it implements
64858 to always fail with ENOSYS. Some functions are actually named
64859 something starting with __ and the normal name is an alias. */
64860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64861 choke me
64862 #else
64863 char (*f) () = $ac_func;
64864 #endif
64865 #ifdef __cplusplus
64867 #endif
64870 main ()
64872 return f != $ac_func;
64874 return 0;
64876 _ACEOF
64877 rm -f conftest.$ac_objext conftest$ac_exeext
64878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64879 (eval $ac_link) 2>conftest.er1
64880 ac_status=$?
64881 grep -v '^ *+' conftest.er1 >conftest.err
64882 rm -f conftest.er1
64883 cat conftest.err >&5
64884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64885 (exit $ac_status); } &&
64886 { ac_try='test -z "$ac_c_werror_flag"
64887 || test ! -s conftest.err'
64888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64889 (eval $ac_try) 2>&5
64890 ac_status=$?
64891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64892 (exit $ac_status); }; } &&
64893 { ac_try='test -s conftest$ac_exeext'
64894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64895 (eval $ac_try) 2>&5
64896 ac_status=$?
64897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64898 (exit $ac_status); }; }; then
64899 eval "$as_ac_var=yes"
64900 else
64901 echo "$as_me: failed program was:" >&5
64902 sed 's/^/| /' conftest.$ac_ext >&5
64904 eval "$as_ac_var=no"
64906 rm -f conftest.err conftest.$ac_objext \
64907 conftest$ac_exeext conftest.$ac_ext
64909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64911 if test `eval echo '${'$as_ac_var'}'` = yes; then
64912 cat >>confdefs.h <<_ACEOF
64913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64914 _ACEOF
64917 done
64919 else
64921 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64922 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64923 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64924 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64925 echo $ECHO_N "(cached) $ECHO_C" >&6
64926 else
64930 ac_ext=cc
64931 ac_cpp='$CXXCPP $CPPFLAGS'
64932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64936 cat >conftest.$ac_ext <<_ACEOF
64937 /* confdefs.h. */
64938 _ACEOF
64939 cat confdefs.h >>conftest.$ac_ext
64940 cat >>conftest.$ac_ext <<_ACEOF
64941 /* end confdefs.h. */
64942 #include <math.h>
64944 main ()
64946 _copysignl(0, 0);
64948 return 0;
64950 _ACEOF
64951 rm -f conftest.$ac_objext
64952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64953 (eval $ac_compile) 2>conftest.er1
64954 ac_status=$?
64955 grep -v '^ *+' conftest.er1 >conftest.err
64956 rm -f conftest.er1
64957 cat conftest.err >&5
64958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64959 (exit $ac_status); } &&
64960 { ac_try='test -z "$ac_cxx_werror_flag"
64961 || test ! -s conftest.err'
64962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64963 (eval $ac_try) 2>&5
64964 ac_status=$?
64965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64966 (exit $ac_status); }; } &&
64967 { ac_try='test -s conftest.$ac_objext'
64968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64969 (eval $ac_try) 2>&5
64970 ac_status=$?
64971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64972 (exit $ac_status); }; }; then
64973 glibcxx_cv_func__copysignl_use=yes
64974 else
64975 echo "$as_me: failed program was:" >&5
64976 sed 's/^/| /' conftest.$ac_ext >&5
64978 glibcxx_cv_func__copysignl_use=no
64980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64981 ac_ext=c
64982 ac_cpp='$CPP $CPPFLAGS'
64983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64992 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64994 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64996 for ac_func in _copysignl
64998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64999 echo "$as_me:$LINENO: checking for $ac_func" >&5
65000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65001 if eval "test \"\${$as_ac_var+set}\" = set"; then
65002 echo $ECHO_N "(cached) $ECHO_C" >&6
65003 else
65004 if test x$gcc_no_link = xyes; then
65005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65007 { (exit 1); exit 1; }; }
65009 cat >conftest.$ac_ext <<_ACEOF
65010 /* confdefs.h. */
65011 _ACEOF
65012 cat confdefs.h >>conftest.$ac_ext
65013 cat >>conftest.$ac_ext <<_ACEOF
65014 /* end confdefs.h. */
65015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65017 #define $ac_func innocuous_$ac_func
65019 /* System header to define __stub macros and hopefully few prototypes,
65020 which can conflict with char $ac_func (); below.
65021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65022 <limits.h> exists even on freestanding compilers. */
65024 #ifdef __STDC__
65025 # include <limits.h>
65026 #else
65027 # include <assert.h>
65028 #endif
65030 #undef $ac_func
65032 /* Override any gcc2 internal prototype to avoid an error. */
65033 #ifdef __cplusplus
65034 extern "C"
65036 #endif
65037 /* We use char because int might match the return type of a gcc2
65038 builtin and then its argument prototype would still apply. */
65039 char $ac_func ();
65040 /* The GNU C library defines this for functions which it implements
65041 to always fail with ENOSYS. Some functions are actually named
65042 something starting with __ and the normal name is an alias. */
65043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65044 choke me
65045 #else
65046 char (*f) () = $ac_func;
65047 #endif
65048 #ifdef __cplusplus
65050 #endif
65053 main ()
65055 return f != $ac_func;
65057 return 0;
65059 _ACEOF
65060 rm -f conftest.$ac_objext conftest$ac_exeext
65061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65062 (eval $ac_link) 2>conftest.er1
65063 ac_status=$?
65064 grep -v '^ *+' conftest.er1 >conftest.err
65065 rm -f conftest.er1
65066 cat conftest.err >&5
65067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65068 (exit $ac_status); } &&
65069 { ac_try='test -z "$ac_c_werror_flag"
65070 || test ! -s conftest.err'
65071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65072 (eval $ac_try) 2>&5
65073 ac_status=$?
65074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65075 (exit $ac_status); }; } &&
65076 { ac_try='test -s conftest$ac_exeext'
65077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65078 (eval $ac_try) 2>&5
65079 ac_status=$?
65080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65081 (exit $ac_status); }; }; then
65082 eval "$as_ac_var=yes"
65083 else
65084 echo "$as_me: failed program was:" >&5
65085 sed 's/^/| /' conftest.$ac_ext >&5
65087 eval "$as_ac_var=no"
65089 rm -f conftest.err conftest.$ac_objext \
65090 conftest$ac_exeext conftest.$ac_ext
65092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65094 if test `eval echo '${'$as_ac_var'}'` = yes; then
65095 cat >>confdefs.h <<_ACEOF
65096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65097 _ACEOF
65100 done
65110 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65111 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65114 echo $ECHO_N "(cached) $ECHO_C" >&6
65115 else
65119 ac_ext=cc
65120 ac_cpp='$CXXCPP $CPPFLAGS'
65121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65125 cat >conftest.$ac_ext <<_ACEOF
65126 /* confdefs.h. */
65127 _ACEOF
65128 cat confdefs.h >>conftest.$ac_ext
65129 cat >>conftest.$ac_ext <<_ACEOF
65130 /* end confdefs.h. */
65131 #include <math.h>
65133 main ()
65135 atan2l(0, 0);
65137 return 0;
65139 _ACEOF
65140 rm -f conftest.$ac_objext
65141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65142 (eval $ac_compile) 2>conftest.er1
65143 ac_status=$?
65144 grep -v '^ *+' conftest.er1 >conftest.err
65145 rm -f conftest.er1
65146 cat conftest.err >&5
65147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65148 (exit $ac_status); } &&
65149 { ac_try='test -z "$ac_cxx_werror_flag"
65150 || test ! -s conftest.err'
65151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65152 (eval $ac_try) 2>&5
65153 ac_status=$?
65154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65155 (exit $ac_status); }; } &&
65156 { ac_try='test -s conftest.$ac_objext'
65157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65158 (eval $ac_try) 2>&5
65159 ac_status=$?
65160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65161 (exit $ac_status); }; }; then
65162 glibcxx_cv_func_atan2l_use=yes
65163 else
65164 echo "$as_me: failed program was:" >&5
65165 sed 's/^/| /' conftest.$ac_ext >&5
65167 glibcxx_cv_func_atan2l_use=no
65169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65170 ac_ext=c
65171 ac_cpp='$CPP $CPPFLAGS'
65172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65181 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65183 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65185 for ac_func in atan2l
65187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65188 echo "$as_me:$LINENO: checking for $ac_func" >&5
65189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65190 if eval "test \"\${$as_ac_var+set}\" = set"; then
65191 echo $ECHO_N "(cached) $ECHO_C" >&6
65192 else
65193 if test x$gcc_no_link = xyes; then
65194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65196 { (exit 1); exit 1; }; }
65198 cat >conftest.$ac_ext <<_ACEOF
65199 /* confdefs.h. */
65200 _ACEOF
65201 cat confdefs.h >>conftest.$ac_ext
65202 cat >>conftest.$ac_ext <<_ACEOF
65203 /* end confdefs.h. */
65204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65206 #define $ac_func innocuous_$ac_func
65208 /* System header to define __stub macros and hopefully few prototypes,
65209 which can conflict with char $ac_func (); below.
65210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65211 <limits.h> exists even on freestanding compilers. */
65213 #ifdef __STDC__
65214 # include <limits.h>
65215 #else
65216 # include <assert.h>
65217 #endif
65219 #undef $ac_func
65221 /* Override any gcc2 internal prototype to avoid an error. */
65222 #ifdef __cplusplus
65223 extern "C"
65225 #endif
65226 /* We use char because int might match the return type of a gcc2
65227 builtin and then its argument prototype would still apply. */
65228 char $ac_func ();
65229 /* The GNU C library defines this for functions which it implements
65230 to always fail with ENOSYS. Some functions are actually named
65231 something starting with __ and the normal name is an alias. */
65232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65233 choke me
65234 #else
65235 char (*f) () = $ac_func;
65236 #endif
65237 #ifdef __cplusplus
65239 #endif
65242 main ()
65244 return f != $ac_func;
65246 return 0;
65248 _ACEOF
65249 rm -f conftest.$ac_objext conftest$ac_exeext
65250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65251 (eval $ac_link) 2>conftest.er1
65252 ac_status=$?
65253 grep -v '^ *+' conftest.er1 >conftest.err
65254 rm -f conftest.er1
65255 cat conftest.err >&5
65256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65257 (exit $ac_status); } &&
65258 { ac_try='test -z "$ac_c_werror_flag"
65259 || test ! -s conftest.err'
65260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65261 (eval $ac_try) 2>&5
65262 ac_status=$?
65263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65264 (exit $ac_status); }; } &&
65265 { ac_try='test -s conftest$ac_exeext'
65266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65267 (eval $ac_try) 2>&5
65268 ac_status=$?
65269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65270 (exit $ac_status); }; }; then
65271 eval "$as_ac_var=yes"
65272 else
65273 echo "$as_me: failed program was:" >&5
65274 sed 's/^/| /' conftest.$ac_ext >&5
65276 eval "$as_ac_var=no"
65278 rm -f conftest.err conftest.$ac_objext \
65279 conftest$ac_exeext conftest.$ac_ext
65281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65283 if test `eval echo '${'$as_ac_var'}'` = yes; then
65284 cat >>confdefs.h <<_ACEOF
65285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65286 _ACEOF
65289 done
65291 else
65293 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65294 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65295 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65296 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65297 echo $ECHO_N "(cached) $ECHO_C" >&6
65298 else
65302 ac_ext=cc
65303 ac_cpp='$CXXCPP $CPPFLAGS'
65304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65308 cat >conftest.$ac_ext <<_ACEOF
65309 /* confdefs.h. */
65310 _ACEOF
65311 cat confdefs.h >>conftest.$ac_ext
65312 cat >>conftest.$ac_ext <<_ACEOF
65313 /* end confdefs.h. */
65314 #include <math.h>
65316 main ()
65318 _atan2l(0, 0);
65320 return 0;
65322 _ACEOF
65323 rm -f conftest.$ac_objext
65324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65325 (eval $ac_compile) 2>conftest.er1
65326 ac_status=$?
65327 grep -v '^ *+' conftest.er1 >conftest.err
65328 rm -f conftest.er1
65329 cat conftest.err >&5
65330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65331 (exit $ac_status); } &&
65332 { ac_try='test -z "$ac_cxx_werror_flag"
65333 || test ! -s conftest.err'
65334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65335 (eval $ac_try) 2>&5
65336 ac_status=$?
65337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65338 (exit $ac_status); }; } &&
65339 { ac_try='test -s conftest.$ac_objext'
65340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65341 (eval $ac_try) 2>&5
65342 ac_status=$?
65343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65344 (exit $ac_status); }; }; then
65345 glibcxx_cv_func__atan2l_use=yes
65346 else
65347 echo "$as_me: failed program was:" >&5
65348 sed 's/^/| /' conftest.$ac_ext >&5
65350 glibcxx_cv_func__atan2l_use=no
65352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65353 ac_ext=c
65354 ac_cpp='$CPP $CPPFLAGS'
65355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65364 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65368 for ac_func in _atan2l
65370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65371 echo "$as_me:$LINENO: checking for $ac_func" >&5
65372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65373 if eval "test \"\${$as_ac_var+set}\" = set"; then
65374 echo $ECHO_N "(cached) $ECHO_C" >&6
65375 else
65376 if test x$gcc_no_link = xyes; then
65377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65379 { (exit 1); exit 1; }; }
65381 cat >conftest.$ac_ext <<_ACEOF
65382 /* confdefs.h. */
65383 _ACEOF
65384 cat confdefs.h >>conftest.$ac_ext
65385 cat >>conftest.$ac_ext <<_ACEOF
65386 /* end confdefs.h. */
65387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65389 #define $ac_func innocuous_$ac_func
65391 /* System header to define __stub macros and hopefully few prototypes,
65392 which can conflict with char $ac_func (); below.
65393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65394 <limits.h> exists even on freestanding compilers. */
65396 #ifdef __STDC__
65397 # include <limits.h>
65398 #else
65399 # include <assert.h>
65400 #endif
65402 #undef $ac_func
65404 /* Override any gcc2 internal prototype to avoid an error. */
65405 #ifdef __cplusplus
65406 extern "C"
65408 #endif
65409 /* We use char because int might match the return type of a gcc2
65410 builtin and then its argument prototype would still apply. */
65411 char $ac_func ();
65412 /* The GNU C library defines this for functions which it implements
65413 to always fail with ENOSYS. Some functions are actually named
65414 something starting with __ and the normal name is an alias. */
65415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65416 choke me
65417 #else
65418 char (*f) () = $ac_func;
65419 #endif
65420 #ifdef __cplusplus
65422 #endif
65425 main ()
65427 return f != $ac_func;
65429 return 0;
65431 _ACEOF
65432 rm -f conftest.$ac_objext conftest$ac_exeext
65433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65434 (eval $ac_link) 2>conftest.er1
65435 ac_status=$?
65436 grep -v '^ *+' conftest.er1 >conftest.err
65437 rm -f conftest.er1
65438 cat conftest.err >&5
65439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65440 (exit $ac_status); } &&
65441 { ac_try='test -z "$ac_c_werror_flag"
65442 || test ! -s conftest.err'
65443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65444 (eval $ac_try) 2>&5
65445 ac_status=$?
65446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65447 (exit $ac_status); }; } &&
65448 { ac_try='test -s conftest$ac_exeext'
65449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65450 (eval $ac_try) 2>&5
65451 ac_status=$?
65452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65453 (exit $ac_status); }; }; then
65454 eval "$as_ac_var=yes"
65455 else
65456 echo "$as_me: failed program was:" >&5
65457 sed 's/^/| /' conftest.$ac_ext >&5
65459 eval "$as_ac_var=no"
65461 rm -f conftest.err conftest.$ac_objext \
65462 conftest$ac_exeext conftest.$ac_ext
65464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65466 if test `eval echo '${'$as_ac_var'}'` = yes; then
65467 cat >>confdefs.h <<_ACEOF
65468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65469 _ACEOF
65472 done
65482 echo "$as_me:$LINENO: checking for expl declaration" >&5
65483 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65484 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65485 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65486 echo $ECHO_N "(cached) $ECHO_C" >&6
65487 else
65491 ac_ext=cc
65492 ac_cpp='$CXXCPP $CPPFLAGS'
65493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65497 cat >conftest.$ac_ext <<_ACEOF
65498 /* confdefs.h. */
65499 _ACEOF
65500 cat confdefs.h >>conftest.$ac_ext
65501 cat >>conftest.$ac_ext <<_ACEOF
65502 /* end confdefs.h. */
65503 #include <math.h>
65504 #ifdef HAVE_IEEEFP_H
65505 #include <ieeefp.h>
65506 #endif
65509 main ()
65511 expl(0);
65513 return 0;
65515 _ACEOF
65516 rm -f conftest.$ac_objext
65517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65518 (eval $ac_compile) 2>conftest.er1
65519 ac_status=$?
65520 grep -v '^ *+' conftest.er1 >conftest.err
65521 rm -f conftest.er1
65522 cat conftest.err >&5
65523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65524 (exit $ac_status); } &&
65525 { ac_try='test -z "$ac_cxx_werror_flag"
65526 || test ! -s conftest.err'
65527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65528 (eval $ac_try) 2>&5
65529 ac_status=$?
65530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531 (exit $ac_status); }; } &&
65532 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
65538 glibcxx_cv_func_expl_use=yes
65539 else
65540 echo "$as_me: failed program was:" >&5
65541 sed 's/^/| /' conftest.$ac_ext >&5
65543 glibcxx_cv_func_expl_use=no
65545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65546 ac_ext=c
65547 ac_cpp='$CPP $CPPFLAGS'
65548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65557 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65559 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65561 for ac_func in expl
65563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65564 echo "$as_me:$LINENO: checking for $ac_func" >&5
65565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65566 if eval "test \"\${$as_ac_var+set}\" = set"; then
65567 echo $ECHO_N "(cached) $ECHO_C" >&6
65568 else
65569 if test x$gcc_no_link = xyes; then
65570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65572 { (exit 1); exit 1; }; }
65574 cat >conftest.$ac_ext <<_ACEOF
65575 /* confdefs.h. */
65576 _ACEOF
65577 cat confdefs.h >>conftest.$ac_ext
65578 cat >>conftest.$ac_ext <<_ACEOF
65579 /* end confdefs.h. */
65580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65582 #define $ac_func innocuous_$ac_func
65584 /* System header to define __stub macros and hopefully few prototypes,
65585 which can conflict with char $ac_func (); below.
65586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65587 <limits.h> exists even on freestanding compilers. */
65589 #ifdef __STDC__
65590 # include <limits.h>
65591 #else
65592 # include <assert.h>
65593 #endif
65595 #undef $ac_func
65597 /* Override any gcc2 internal prototype to avoid an error. */
65598 #ifdef __cplusplus
65599 extern "C"
65601 #endif
65602 /* We use char because int might match the return type of a gcc2
65603 builtin and then its argument prototype would still apply. */
65604 char $ac_func ();
65605 /* The GNU C library defines this for functions which it implements
65606 to always fail with ENOSYS. Some functions are actually named
65607 something starting with __ and the normal name is an alias. */
65608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65609 choke me
65610 #else
65611 char (*f) () = $ac_func;
65612 #endif
65613 #ifdef __cplusplus
65615 #endif
65618 main ()
65620 return f != $ac_func;
65622 return 0;
65624 _ACEOF
65625 rm -f conftest.$ac_objext conftest$ac_exeext
65626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65627 (eval $ac_link) 2>conftest.er1
65628 ac_status=$?
65629 grep -v '^ *+' conftest.er1 >conftest.err
65630 rm -f conftest.er1
65631 cat conftest.err >&5
65632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65633 (exit $ac_status); } &&
65634 { ac_try='test -z "$ac_c_werror_flag"
65635 || test ! -s conftest.err'
65636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65637 (eval $ac_try) 2>&5
65638 ac_status=$?
65639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65640 (exit $ac_status); }; } &&
65641 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
65647 eval "$as_ac_var=yes"
65648 else
65649 echo "$as_me: failed program was:" >&5
65650 sed 's/^/| /' conftest.$ac_ext >&5
65652 eval "$as_ac_var=no"
65654 rm -f conftest.err conftest.$ac_objext \
65655 conftest$ac_exeext conftest.$ac_ext
65657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65659 if test `eval echo '${'$as_ac_var'}'` = yes; then
65660 cat >>confdefs.h <<_ACEOF
65661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65662 _ACEOF
65665 done
65667 else
65669 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65670 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65672 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65673 echo $ECHO_N "(cached) $ECHO_C" >&6
65674 else
65678 ac_ext=cc
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65684 cat >conftest.$ac_ext <<_ACEOF
65685 /* confdefs.h. */
65686 _ACEOF
65687 cat confdefs.h >>conftest.$ac_ext
65688 cat >>conftest.$ac_ext <<_ACEOF
65689 /* end confdefs.h. */
65690 #include <math.h>
65691 #ifdef HAVE_IEEEFP_H
65692 #include <ieeefp.h>
65693 #endif
65696 main ()
65698 _expl(0);
65700 return 0;
65702 _ACEOF
65703 rm -f conftest.$ac_objext
65704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65705 (eval $ac_compile) 2>conftest.er1
65706 ac_status=$?
65707 grep -v '^ *+' conftest.er1 >conftest.err
65708 rm -f conftest.er1
65709 cat conftest.err >&5
65710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65711 (exit $ac_status); } &&
65712 { ac_try='test -z "$ac_cxx_werror_flag"
65713 || test ! -s conftest.err'
65714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65715 (eval $ac_try) 2>&5
65716 ac_status=$?
65717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65718 (exit $ac_status); }; } &&
65719 { ac_try='test -s conftest.$ac_objext'
65720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65721 (eval $ac_try) 2>&5
65722 ac_status=$?
65723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65724 (exit $ac_status); }; }; then
65725 glibcxx_cv_func__expl_use=yes
65726 else
65727 echo "$as_me: failed program was:" >&5
65728 sed 's/^/| /' conftest.$ac_ext >&5
65730 glibcxx_cv_func__expl_use=no
65732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65733 ac_ext=c
65734 ac_cpp='$CPP $CPPFLAGS'
65735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65744 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65746 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65748 for ac_func in _expl
65750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65751 echo "$as_me:$LINENO: checking for $ac_func" >&5
65752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65753 if eval "test \"\${$as_ac_var+set}\" = set"; then
65754 echo $ECHO_N "(cached) $ECHO_C" >&6
65755 else
65756 if test x$gcc_no_link = xyes; then
65757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65759 { (exit 1); exit 1; }; }
65761 cat >conftest.$ac_ext <<_ACEOF
65762 /* confdefs.h. */
65763 _ACEOF
65764 cat confdefs.h >>conftest.$ac_ext
65765 cat >>conftest.$ac_ext <<_ACEOF
65766 /* end confdefs.h. */
65767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65769 #define $ac_func innocuous_$ac_func
65771 /* System header to define __stub macros and hopefully few prototypes,
65772 which can conflict with char $ac_func (); below.
65773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65774 <limits.h> exists even on freestanding compilers. */
65776 #ifdef __STDC__
65777 # include <limits.h>
65778 #else
65779 # include <assert.h>
65780 #endif
65782 #undef $ac_func
65784 /* Override any gcc2 internal prototype to avoid an error. */
65785 #ifdef __cplusplus
65786 extern "C"
65788 #endif
65789 /* We use char because int might match the return type of a gcc2
65790 builtin and then its argument prototype would still apply. */
65791 char $ac_func ();
65792 /* The GNU C library defines this for functions which it implements
65793 to always fail with ENOSYS. Some functions are actually named
65794 something starting with __ and the normal name is an alias. */
65795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65796 choke me
65797 #else
65798 char (*f) () = $ac_func;
65799 #endif
65800 #ifdef __cplusplus
65802 #endif
65805 main ()
65807 return f != $ac_func;
65809 return 0;
65811 _ACEOF
65812 rm -f conftest.$ac_objext conftest$ac_exeext
65813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65814 (eval $ac_link) 2>conftest.er1
65815 ac_status=$?
65816 grep -v '^ *+' conftest.er1 >conftest.err
65817 rm -f conftest.er1
65818 cat conftest.err >&5
65819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65820 (exit $ac_status); } &&
65821 { ac_try='test -z "$ac_c_werror_flag"
65822 || test ! -s conftest.err'
65823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65824 (eval $ac_try) 2>&5
65825 ac_status=$?
65826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65827 (exit $ac_status); }; } &&
65828 { ac_try='test -s conftest$ac_exeext'
65829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65830 (eval $ac_try) 2>&5
65831 ac_status=$?
65832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65833 (exit $ac_status); }; }; then
65834 eval "$as_ac_var=yes"
65835 else
65836 echo "$as_me: failed program was:" >&5
65837 sed 's/^/| /' conftest.$ac_ext >&5
65839 eval "$as_ac_var=no"
65841 rm -f conftest.err conftest.$ac_objext \
65842 conftest$ac_exeext conftest.$ac_ext
65844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65846 if test `eval echo '${'$as_ac_var'}'` = yes; then
65847 cat >>confdefs.h <<_ACEOF
65848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65849 _ACEOF
65852 done
65862 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65863 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65864 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65865 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65866 echo $ECHO_N "(cached) $ECHO_C" >&6
65867 else
65871 ac_ext=cc
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877 cat >conftest.$ac_ext <<_ACEOF
65878 /* confdefs.h. */
65879 _ACEOF
65880 cat confdefs.h >>conftest.$ac_ext
65881 cat >>conftest.$ac_ext <<_ACEOF
65882 /* end confdefs.h. */
65883 #include <math.h>
65884 #ifdef HAVE_IEEEFP_H
65885 #include <ieeefp.h>
65886 #endif
65889 main ()
65891 fabsl(0);
65893 return 0;
65895 _ACEOF
65896 rm -f conftest.$ac_objext
65897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65898 (eval $ac_compile) 2>conftest.er1
65899 ac_status=$?
65900 grep -v '^ *+' conftest.er1 >conftest.err
65901 rm -f conftest.er1
65902 cat conftest.err >&5
65903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65904 (exit $ac_status); } &&
65905 { ac_try='test -z "$ac_cxx_werror_flag"
65906 || test ! -s conftest.err'
65907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65908 (eval $ac_try) 2>&5
65909 ac_status=$?
65910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65911 (exit $ac_status); }; } &&
65912 { ac_try='test -s conftest.$ac_objext'
65913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65914 (eval $ac_try) 2>&5
65915 ac_status=$?
65916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917 (exit $ac_status); }; }; then
65918 glibcxx_cv_func_fabsl_use=yes
65919 else
65920 echo "$as_me: failed program was:" >&5
65921 sed 's/^/| /' conftest.$ac_ext >&5
65923 glibcxx_cv_func_fabsl_use=no
65925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65926 ac_ext=c
65927 ac_cpp='$CPP $CPPFLAGS'
65928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65937 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65939 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65941 for ac_func in fabsl
65943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 echo "$as_me:$LINENO: checking for $ac_func" >&5
65945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65946 if eval "test \"\${$as_ac_var+set}\" = set"; then
65947 echo $ECHO_N "(cached) $ECHO_C" >&6
65948 else
65949 if test x$gcc_no_link = xyes; then
65950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65952 { (exit 1); exit 1; }; }
65954 cat >conftest.$ac_ext <<_ACEOF
65955 /* confdefs.h. */
65956 _ACEOF
65957 cat confdefs.h >>conftest.$ac_ext
65958 cat >>conftest.$ac_ext <<_ACEOF
65959 /* end confdefs.h. */
65960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65962 #define $ac_func innocuous_$ac_func
65964 /* System header to define __stub macros and hopefully few prototypes,
65965 which can conflict with char $ac_func (); below.
65966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65967 <limits.h> exists even on freestanding compilers. */
65969 #ifdef __STDC__
65970 # include <limits.h>
65971 #else
65972 # include <assert.h>
65973 #endif
65975 #undef $ac_func
65977 /* Override any gcc2 internal prototype to avoid an error. */
65978 #ifdef __cplusplus
65979 extern "C"
65981 #endif
65982 /* We use char because int might match the return type of a gcc2
65983 builtin and then its argument prototype would still apply. */
65984 char $ac_func ();
65985 /* The GNU C library defines this for functions which it implements
65986 to always fail with ENOSYS. Some functions are actually named
65987 something starting with __ and the normal name is an alias. */
65988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65989 choke me
65990 #else
65991 char (*f) () = $ac_func;
65992 #endif
65993 #ifdef __cplusplus
65995 #endif
65998 main ()
66000 return f != $ac_func;
66002 return 0;
66004 _ACEOF
66005 rm -f conftest.$ac_objext conftest$ac_exeext
66006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66007 (eval $ac_link) 2>conftest.er1
66008 ac_status=$?
66009 grep -v '^ *+' conftest.er1 >conftest.err
66010 rm -f conftest.er1
66011 cat conftest.err >&5
66012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66013 (exit $ac_status); } &&
66014 { ac_try='test -z "$ac_c_werror_flag"
66015 || test ! -s conftest.err'
66016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66017 (eval $ac_try) 2>&5
66018 ac_status=$?
66019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020 (exit $ac_status); }; } &&
66021 { ac_try='test -s conftest$ac_exeext'
66022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66023 (eval $ac_try) 2>&5
66024 ac_status=$?
66025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026 (exit $ac_status); }; }; then
66027 eval "$as_ac_var=yes"
66028 else
66029 echo "$as_me: failed program was:" >&5
66030 sed 's/^/| /' conftest.$ac_ext >&5
66032 eval "$as_ac_var=no"
66034 rm -f conftest.err conftest.$ac_objext \
66035 conftest$ac_exeext conftest.$ac_ext
66037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66039 if test `eval echo '${'$as_ac_var'}'` = yes; then
66040 cat >>confdefs.h <<_ACEOF
66041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66042 _ACEOF
66045 done
66047 else
66049 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66050 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66051 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66052 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66053 echo $ECHO_N "(cached) $ECHO_C" >&6
66054 else
66058 ac_ext=cc
66059 ac_cpp='$CXXCPP $CPPFLAGS'
66060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66064 cat >conftest.$ac_ext <<_ACEOF
66065 /* confdefs.h. */
66066 _ACEOF
66067 cat confdefs.h >>conftest.$ac_ext
66068 cat >>conftest.$ac_ext <<_ACEOF
66069 /* end confdefs.h. */
66070 #include <math.h>
66071 #ifdef HAVE_IEEEFP_H
66072 #include <ieeefp.h>
66073 #endif
66076 main ()
66078 _fabsl(0);
66080 return 0;
66082 _ACEOF
66083 rm -f conftest.$ac_objext
66084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66085 (eval $ac_compile) 2>conftest.er1
66086 ac_status=$?
66087 grep -v '^ *+' conftest.er1 >conftest.err
66088 rm -f conftest.er1
66089 cat conftest.err >&5
66090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66091 (exit $ac_status); } &&
66092 { ac_try='test -z "$ac_cxx_werror_flag"
66093 || test ! -s conftest.err'
66094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66095 (eval $ac_try) 2>&5
66096 ac_status=$?
66097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66098 (exit $ac_status); }; } &&
66099 { ac_try='test -s conftest.$ac_objext'
66100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66101 (eval $ac_try) 2>&5
66102 ac_status=$?
66103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66104 (exit $ac_status); }; }; then
66105 glibcxx_cv_func__fabsl_use=yes
66106 else
66107 echo "$as_me: failed program was:" >&5
66108 sed 's/^/| /' conftest.$ac_ext >&5
66110 glibcxx_cv_func__fabsl_use=no
66112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66113 ac_ext=c
66114 ac_cpp='$CPP $CPPFLAGS'
66115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66124 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66126 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66128 for ac_func in _fabsl
66130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66131 echo "$as_me:$LINENO: checking for $ac_func" >&5
66132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66133 if eval "test \"\${$as_ac_var+set}\" = set"; then
66134 echo $ECHO_N "(cached) $ECHO_C" >&6
66135 else
66136 if test x$gcc_no_link = xyes; then
66137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66139 { (exit 1); exit 1; }; }
66141 cat >conftest.$ac_ext <<_ACEOF
66142 /* confdefs.h. */
66143 _ACEOF
66144 cat confdefs.h >>conftest.$ac_ext
66145 cat >>conftest.$ac_ext <<_ACEOF
66146 /* end confdefs.h. */
66147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66149 #define $ac_func innocuous_$ac_func
66151 /* System header to define __stub macros and hopefully few prototypes,
66152 which can conflict with char $ac_func (); below.
66153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66154 <limits.h> exists even on freestanding compilers. */
66156 #ifdef __STDC__
66157 # include <limits.h>
66158 #else
66159 # include <assert.h>
66160 #endif
66162 #undef $ac_func
66164 /* Override any gcc2 internal prototype to avoid an error. */
66165 #ifdef __cplusplus
66166 extern "C"
66168 #endif
66169 /* We use char because int might match the return type of a gcc2
66170 builtin and then its argument prototype would still apply. */
66171 char $ac_func ();
66172 /* The GNU C library defines this for functions which it implements
66173 to always fail with ENOSYS. Some functions are actually named
66174 something starting with __ and the normal name is an alias. */
66175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66176 choke me
66177 #else
66178 char (*f) () = $ac_func;
66179 #endif
66180 #ifdef __cplusplus
66182 #endif
66185 main ()
66187 return f != $ac_func;
66189 return 0;
66191 _ACEOF
66192 rm -f conftest.$ac_objext conftest$ac_exeext
66193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66194 (eval $ac_link) 2>conftest.er1
66195 ac_status=$?
66196 grep -v '^ *+' conftest.er1 >conftest.err
66197 rm -f conftest.er1
66198 cat conftest.err >&5
66199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66200 (exit $ac_status); } &&
66201 { ac_try='test -z "$ac_c_werror_flag"
66202 || test ! -s conftest.err'
66203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66204 (eval $ac_try) 2>&5
66205 ac_status=$?
66206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66207 (exit $ac_status); }; } &&
66208 { ac_try='test -s conftest$ac_exeext'
66209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66210 (eval $ac_try) 2>&5
66211 ac_status=$?
66212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66213 (exit $ac_status); }; }; then
66214 eval "$as_ac_var=yes"
66215 else
66216 echo "$as_me: failed program was:" >&5
66217 sed 's/^/| /' conftest.$ac_ext >&5
66219 eval "$as_ac_var=no"
66221 rm -f conftest.err conftest.$ac_objext \
66222 conftest$ac_exeext conftest.$ac_ext
66224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66226 if test `eval echo '${'$as_ac_var'}'` = yes; then
66227 cat >>confdefs.h <<_ACEOF
66228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66229 _ACEOF
66232 done
66242 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66243 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66244 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66245 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66246 echo $ECHO_N "(cached) $ECHO_C" >&6
66247 else
66251 ac_ext=cc
66252 ac_cpp='$CXXCPP $CPPFLAGS'
66253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66257 cat >conftest.$ac_ext <<_ACEOF
66258 /* confdefs.h. */
66259 _ACEOF
66260 cat confdefs.h >>conftest.$ac_ext
66261 cat >>conftest.$ac_ext <<_ACEOF
66262 /* end confdefs.h. */
66263 #include <math.h>
66265 main ()
66267 fmodl(0, 0);
66269 return 0;
66271 _ACEOF
66272 rm -f conftest.$ac_objext
66273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66274 (eval $ac_compile) 2>conftest.er1
66275 ac_status=$?
66276 grep -v '^ *+' conftest.er1 >conftest.err
66277 rm -f conftest.er1
66278 cat conftest.err >&5
66279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66280 (exit $ac_status); } &&
66281 { ac_try='test -z "$ac_cxx_werror_flag"
66282 || test ! -s conftest.err'
66283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66284 (eval $ac_try) 2>&5
66285 ac_status=$?
66286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66287 (exit $ac_status); }; } &&
66288 { ac_try='test -s conftest.$ac_objext'
66289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290 (eval $ac_try) 2>&5
66291 ac_status=$?
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); }; }; then
66294 glibcxx_cv_func_fmodl_use=yes
66295 else
66296 echo "$as_me: failed program was:" >&5
66297 sed 's/^/| /' conftest.$ac_ext >&5
66299 glibcxx_cv_func_fmodl_use=no
66301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66302 ac_ext=c
66303 ac_cpp='$CPP $CPPFLAGS'
66304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66313 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66315 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66317 for ac_func in fmodl
66319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66320 echo "$as_me:$LINENO: checking for $ac_func" >&5
66321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66322 if eval "test \"\${$as_ac_var+set}\" = set"; then
66323 echo $ECHO_N "(cached) $ECHO_C" >&6
66324 else
66325 if test x$gcc_no_link = xyes; then
66326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66328 { (exit 1); exit 1; }; }
66330 cat >conftest.$ac_ext <<_ACEOF
66331 /* confdefs.h. */
66332 _ACEOF
66333 cat confdefs.h >>conftest.$ac_ext
66334 cat >>conftest.$ac_ext <<_ACEOF
66335 /* end confdefs.h. */
66336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66338 #define $ac_func innocuous_$ac_func
66340 /* System header to define __stub macros and hopefully few prototypes,
66341 which can conflict with char $ac_func (); below.
66342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66343 <limits.h> exists even on freestanding compilers. */
66345 #ifdef __STDC__
66346 # include <limits.h>
66347 #else
66348 # include <assert.h>
66349 #endif
66351 #undef $ac_func
66353 /* Override any gcc2 internal prototype to avoid an error. */
66354 #ifdef __cplusplus
66355 extern "C"
66357 #endif
66358 /* We use char because int might match the return type of a gcc2
66359 builtin and then its argument prototype would still apply. */
66360 char $ac_func ();
66361 /* The GNU C library defines this for functions which it implements
66362 to always fail with ENOSYS. Some functions are actually named
66363 something starting with __ and the normal name is an alias. */
66364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66365 choke me
66366 #else
66367 char (*f) () = $ac_func;
66368 #endif
66369 #ifdef __cplusplus
66371 #endif
66374 main ()
66376 return f != $ac_func;
66378 return 0;
66380 _ACEOF
66381 rm -f conftest.$ac_objext conftest$ac_exeext
66382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66383 (eval $ac_link) 2>conftest.er1
66384 ac_status=$?
66385 grep -v '^ *+' conftest.er1 >conftest.err
66386 rm -f conftest.er1
66387 cat conftest.err >&5
66388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66389 (exit $ac_status); } &&
66390 { ac_try='test -z "$ac_c_werror_flag"
66391 || test ! -s conftest.err'
66392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66393 (eval $ac_try) 2>&5
66394 ac_status=$?
66395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66396 (exit $ac_status); }; } &&
66397 { ac_try='test -s conftest$ac_exeext'
66398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66399 (eval $ac_try) 2>&5
66400 ac_status=$?
66401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402 (exit $ac_status); }; }; then
66403 eval "$as_ac_var=yes"
66404 else
66405 echo "$as_me: failed program was:" >&5
66406 sed 's/^/| /' conftest.$ac_ext >&5
66408 eval "$as_ac_var=no"
66410 rm -f conftest.err conftest.$ac_objext \
66411 conftest$ac_exeext conftest.$ac_ext
66413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66415 if test `eval echo '${'$as_ac_var'}'` = yes; then
66416 cat >>confdefs.h <<_ACEOF
66417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66418 _ACEOF
66421 done
66423 else
66425 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66426 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66427 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66428 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66429 echo $ECHO_N "(cached) $ECHO_C" >&6
66430 else
66434 ac_ext=cc
66435 ac_cpp='$CXXCPP $CPPFLAGS'
66436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66440 cat >conftest.$ac_ext <<_ACEOF
66441 /* confdefs.h. */
66442 _ACEOF
66443 cat confdefs.h >>conftest.$ac_ext
66444 cat >>conftest.$ac_ext <<_ACEOF
66445 /* end confdefs.h. */
66446 #include <math.h>
66448 main ()
66450 _fmodl(0, 0);
66452 return 0;
66454 _ACEOF
66455 rm -f conftest.$ac_objext
66456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66457 (eval $ac_compile) 2>conftest.er1
66458 ac_status=$?
66459 grep -v '^ *+' conftest.er1 >conftest.err
66460 rm -f conftest.er1
66461 cat conftest.err >&5
66462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66463 (exit $ac_status); } &&
66464 { ac_try='test -z "$ac_cxx_werror_flag"
66465 || test ! -s conftest.err'
66466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66467 (eval $ac_try) 2>&5
66468 ac_status=$?
66469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66470 (exit $ac_status); }; } &&
66471 { ac_try='test -s conftest.$ac_objext'
66472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66473 (eval $ac_try) 2>&5
66474 ac_status=$?
66475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476 (exit $ac_status); }; }; then
66477 glibcxx_cv_func__fmodl_use=yes
66478 else
66479 echo "$as_me: failed program was:" >&5
66480 sed 's/^/| /' conftest.$ac_ext >&5
66482 glibcxx_cv_func__fmodl_use=no
66484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66485 ac_ext=c
66486 ac_cpp='$CPP $CPPFLAGS'
66487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66496 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66498 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66500 for ac_func in _fmodl
66502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66503 echo "$as_me:$LINENO: checking for $ac_func" >&5
66504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66505 if eval "test \"\${$as_ac_var+set}\" = set"; then
66506 echo $ECHO_N "(cached) $ECHO_C" >&6
66507 else
66508 if test x$gcc_no_link = xyes; then
66509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66511 { (exit 1); exit 1; }; }
66513 cat >conftest.$ac_ext <<_ACEOF
66514 /* confdefs.h. */
66515 _ACEOF
66516 cat confdefs.h >>conftest.$ac_ext
66517 cat >>conftest.$ac_ext <<_ACEOF
66518 /* end confdefs.h. */
66519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66521 #define $ac_func innocuous_$ac_func
66523 /* System header to define __stub macros and hopefully few prototypes,
66524 which can conflict with char $ac_func (); below.
66525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66526 <limits.h> exists even on freestanding compilers. */
66528 #ifdef __STDC__
66529 # include <limits.h>
66530 #else
66531 # include <assert.h>
66532 #endif
66534 #undef $ac_func
66536 /* Override any gcc2 internal prototype to avoid an error. */
66537 #ifdef __cplusplus
66538 extern "C"
66540 #endif
66541 /* We use char because int might match the return type of a gcc2
66542 builtin and then its argument prototype would still apply. */
66543 char $ac_func ();
66544 /* The GNU C library defines this for functions which it implements
66545 to always fail with ENOSYS. Some functions are actually named
66546 something starting with __ and the normal name is an alias. */
66547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66548 choke me
66549 #else
66550 char (*f) () = $ac_func;
66551 #endif
66552 #ifdef __cplusplus
66554 #endif
66557 main ()
66559 return f != $ac_func;
66561 return 0;
66563 _ACEOF
66564 rm -f conftest.$ac_objext conftest$ac_exeext
66565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66566 (eval $ac_link) 2>conftest.er1
66567 ac_status=$?
66568 grep -v '^ *+' conftest.er1 >conftest.err
66569 rm -f conftest.er1
66570 cat conftest.err >&5
66571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66572 (exit $ac_status); } &&
66573 { ac_try='test -z "$ac_c_werror_flag"
66574 || test ! -s conftest.err'
66575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66576 (eval $ac_try) 2>&5
66577 ac_status=$?
66578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66579 (exit $ac_status); }; } &&
66580 { ac_try='test -s conftest$ac_exeext'
66581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66582 (eval $ac_try) 2>&5
66583 ac_status=$?
66584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66585 (exit $ac_status); }; }; then
66586 eval "$as_ac_var=yes"
66587 else
66588 echo "$as_me: failed program was:" >&5
66589 sed 's/^/| /' conftest.$ac_ext >&5
66591 eval "$as_ac_var=no"
66593 rm -f conftest.err conftest.$ac_objext \
66594 conftest$ac_exeext conftest.$ac_ext
66596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66598 if test `eval echo '${'$as_ac_var'}'` = yes; then
66599 cat >>confdefs.h <<_ACEOF
66600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66601 _ACEOF
66604 done
66614 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66615 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66616 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66617 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66618 echo $ECHO_N "(cached) $ECHO_C" >&6
66619 else
66623 ac_ext=cc
66624 ac_cpp='$CXXCPP $CPPFLAGS'
66625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66629 cat >conftest.$ac_ext <<_ACEOF
66630 /* confdefs.h. */
66631 _ACEOF
66632 cat confdefs.h >>conftest.$ac_ext
66633 cat >>conftest.$ac_ext <<_ACEOF
66634 /* end confdefs.h. */
66635 #include <math.h>
66637 main ()
66639 frexpl(0, 0);
66641 return 0;
66643 _ACEOF
66644 rm -f conftest.$ac_objext
66645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66646 (eval $ac_compile) 2>conftest.er1
66647 ac_status=$?
66648 grep -v '^ *+' conftest.er1 >conftest.err
66649 rm -f conftest.er1
66650 cat conftest.err >&5
66651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66652 (exit $ac_status); } &&
66653 { ac_try='test -z "$ac_cxx_werror_flag"
66654 || test ! -s conftest.err'
66655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66656 (eval $ac_try) 2>&5
66657 ac_status=$?
66658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66659 (exit $ac_status); }; } &&
66660 { ac_try='test -s conftest.$ac_objext'
66661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66662 (eval $ac_try) 2>&5
66663 ac_status=$?
66664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665 (exit $ac_status); }; }; then
66666 glibcxx_cv_func_frexpl_use=yes
66667 else
66668 echo "$as_me: failed program was:" >&5
66669 sed 's/^/| /' conftest.$ac_ext >&5
66671 glibcxx_cv_func_frexpl_use=no
66673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66674 ac_ext=c
66675 ac_cpp='$CPP $CPPFLAGS'
66676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66685 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66687 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66689 for ac_func in frexpl
66691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66692 echo "$as_me:$LINENO: checking for $ac_func" >&5
66693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66694 if eval "test \"\${$as_ac_var+set}\" = set"; then
66695 echo $ECHO_N "(cached) $ECHO_C" >&6
66696 else
66697 if test x$gcc_no_link = xyes; then
66698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66700 { (exit 1); exit 1; }; }
66702 cat >conftest.$ac_ext <<_ACEOF
66703 /* confdefs.h. */
66704 _ACEOF
66705 cat confdefs.h >>conftest.$ac_ext
66706 cat >>conftest.$ac_ext <<_ACEOF
66707 /* end confdefs.h. */
66708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66710 #define $ac_func innocuous_$ac_func
66712 /* System header to define __stub macros and hopefully few prototypes,
66713 which can conflict with char $ac_func (); below.
66714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66715 <limits.h> exists even on freestanding compilers. */
66717 #ifdef __STDC__
66718 # include <limits.h>
66719 #else
66720 # include <assert.h>
66721 #endif
66723 #undef $ac_func
66725 /* Override any gcc2 internal prototype to avoid an error. */
66726 #ifdef __cplusplus
66727 extern "C"
66729 #endif
66730 /* We use char because int might match the return type of a gcc2
66731 builtin and then its argument prototype would still apply. */
66732 char $ac_func ();
66733 /* The GNU C library defines this for functions which it implements
66734 to always fail with ENOSYS. Some functions are actually named
66735 something starting with __ and the normal name is an alias. */
66736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66737 choke me
66738 #else
66739 char (*f) () = $ac_func;
66740 #endif
66741 #ifdef __cplusplus
66743 #endif
66746 main ()
66748 return f != $ac_func;
66750 return 0;
66752 _ACEOF
66753 rm -f conftest.$ac_objext conftest$ac_exeext
66754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66755 (eval $ac_link) 2>conftest.er1
66756 ac_status=$?
66757 grep -v '^ *+' conftest.er1 >conftest.err
66758 rm -f conftest.er1
66759 cat conftest.err >&5
66760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761 (exit $ac_status); } &&
66762 { ac_try='test -z "$ac_c_werror_flag"
66763 || test ! -s conftest.err'
66764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66765 (eval $ac_try) 2>&5
66766 ac_status=$?
66767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768 (exit $ac_status); }; } &&
66769 { ac_try='test -s conftest$ac_exeext'
66770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66771 (eval $ac_try) 2>&5
66772 ac_status=$?
66773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66774 (exit $ac_status); }; }; then
66775 eval "$as_ac_var=yes"
66776 else
66777 echo "$as_me: failed program was:" >&5
66778 sed 's/^/| /' conftest.$ac_ext >&5
66780 eval "$as_ac_var=no"
66782 rm -f conftest.err conftest.$ac_objext \
66783 conftest$ac_exeext conftest.$ac_ext
66785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66787 if test `eval echo '${'$as_ac_var'}'` = yes; then
66788 cat >>confdefs.h <<_ACEOF
66789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66790 _ACEOF
66793 done
66795 else
66797 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66798 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66799 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66800 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66801 echo $ECHO_N "(cached) $ECHO_C" >&6
66802 else
66806 ac_ext=cc
66807 ac_cpp='$CXXCPP $CPPFLAGS'
66808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66812 cat >conftest.$ac_ext <<_ACEOF
66813 /* confdefs.h. */
66814 _ACEOF
66815 cat confdefs.h >>conftest.$ac_ext
66816 cat >>conftest.$ac_ext <<_ACEOF
66817 /* end confdefs.h. */
66818 #include <math.h>
66820 main ()
66822 _frexpl(0, 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__frexpl_use=yes
66850 else
66851 echo "$as_me: failed program was:" >&5
66852 sed 's/^/| /' conftest.$ac_ext >&5
66854 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
66868 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66870 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66872 for ac_func in _frexpl
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
66986 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66987 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66988 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66989 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66990 echo $ECHO_N "(cached) $ECHO_C" >&6
66991 else
66995 ac_ext=cc
66996 ac_cpp='$CXXCPP $CPPFLAGS'
66997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67001 cat >conftest.$ac_ext <<_ACEOF
67002 /* confdefs.h. */
67003 _ACEOF
67004 cat confdefs.h >>conftest.$ac_ext
67005 cat >>conftest.$ac_ext <<_ACEOF
67006 /* end confdefs.h. */
67007 #include <math.h>
67009 main ()
67011 hypotl(0, 0);
67013 return 0;
67015 _ACEOF
67016 rm -f conftest.$ac_objext
67017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67018 (eval $ac_compile) 2>conftest.er1
67019 ac_status=$?
67020 grep -v '^ *+' conftest.er1 >conftest.err
67021 rm -f conftest.er1
67022 cat conftest.err >&5
67023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67024 (exit $ac_status); } &&
67025 { ac_try='test -z "$ac_cxx_werror_flag"
67026 || test ! -s conftest.err'
67027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67028 (eval $ac_try) 2>&5
67029 ac_status=$?
67030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67031 (exit $ac_status); }; } &&
67032 { ac_try='test -s conftest.$ac_objext'
67033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67034 (eval $ac_try) 2>&5
67035 ac_status=$?
67036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67037 (exit $ac_status); }; }; then
67038 glibcxx_cv_func_hypotl_use=yes
67039 else
67040 echo "$as_me: failed program was:" >&5
67041 sed 's/^/| /' conftest.$ac_ext >&5
67043 glibcxx_cv_func_hypotl_use=no
67045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67046 ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67056 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67057 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67059 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67061 for ac_func in hypotl
67063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67064 echo "$as_me:$LINENO: checking for $ac_func" >&5
67065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67066 if eval "test \"\${$as_ac_var+set}\" = set"; then
67067 echo $ECHO_N "(cached) $ECHO_C" >&6
67068 else
67069 if test x$gcc_no_link = xyes; then
67070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67072 { (exit 1); exit 1; }; }
67074 cat >conftest.$ac_ext <<_ACEOF
67075 /* confdefs.h. */
67076 _ACEOF
67077 cat confdefs.h >>conftest.$ac_ext
67078 cat >>conftest.$ac_ext <<_ACEOF
67079 /* end confdefs.h. */
67080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67082 #define $ac_func innocuous_$ac_func
67084 /* System header to define __stub macros and hopefully few prototypes,
67085 which can conflict with char $ac_func (); below.
67086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67087 <limits.h> exists even on freestanding compilers. */
67089 #ifdef __STDC__
67090 # include <limits.h>
67091 #else
67092 # include <assert.h>
67093 #endif
67095 #undef $ac_func
67097 /* Override any gcc2 internal prototype to avoid an error. */
67098 #ifdef __cplusplus
67099 extern "C"
67101 #endif
67102 /* We use char because int might match the return type of a gcc2
67103 builtin and then its argument prototype would still apply. */
67104 char $ac_func ();
67105 /* The GNU C library defines this for functions which it implements
67106 to always fail with ENOSYS. Some functions are actually named
67107 something starting with __ and the normal name is an alias. */
67108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67109 choke me
67110 #else
67111 char (*f) () = $ac_func;
67112 #endif
67113 #ifdef __cplusplus
67115 #endif
67118 main ()
67120 return f != $ac_func;
67122 return 0;
67124 _ACEOF
67125 rm -f conftest.$ac_objext conftest$ac_exeext
67126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67127 (eval $ac_link) 2>conftest.er1
67128 ac_status=$?
67129 grep -v '^ *+' conftest.er1 >conftest.err
67130 rm -f conftest.er1
67131 cat conftest.err >&5
67132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67133 (exit $ac_status); } &&
67134 { ac_try='test -z "$ac_c_werror_flag"
67135 || test ! -s conftest.err'
67136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67137 (eval $ac_try) 2>&5
67138 ac_status=$?
67139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67140 (exit $ac_status); }; } &&
67141 { ac_try='test -s conftest$ac_exeext'
67142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67143 (eval $ac_try) 2>&5
67144 ac_status=$?
67145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67146 (exit $ac_status); }; }; then
67147 eval "$as_ac_var=yes"
67148 else
67149 echo "$as_me: failed program was:" >&5
67150 sed 's/^/| /' conftest.$ac_ext >&5
67152 eval "$as_ac_var=no"
67154 rm -f conftest.err conftest.$ac_objext \
67155 conftest$ac_exeext conftest.$ac_ext
67157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67159 if test `eval echo '${'$as_ac_var'}'` = yes; then
67160 cat >>confdefs.h <<_ACEOF
67161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67162 _ACEOF
67165 done
67167 else
67169 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67170 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67171 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67172 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67173 echo $ECHO_N "(cached) $ECHO_C" >&6
67174 else
67178 ac_ext=cc
67179 ac_cpp='$CXXCPP $CPPFLAGS'
67180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67184 cat >conftest.$ac_ext <<_ACEOF
67185 /* confdefs.h. */
67186 _ACEOF
67187 cat confdefs.h >>conftest.$ac_ext
67188 cat >>conftest.$ac_ext <<_ACEOF
67189 /* end confdefs.h. */
67190 #include <math.h>
67192 main ()
67194 _hypotl(0, 0);
67196 return 0;
67198 _ACEOF
67199 rm -f conftest.$ac_objext
67200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67201 (eval $ac_compile) 2>conftest.er1
67202 ac_status=$?
67203 grep -v '^ *+' conftest.er1 >conftest.err
67204 rm -f conftest.er1
67205 cat conftest.err >&5
67206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67207 (exit $ac_status); } &&
67208 { ac_try='test -z "$ac_cxx_werror_flag"
67209 || test ! -s conftest.err'
67210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67211 (eval $ac_try) 2>&5
67212 ac_status=$?
67213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67214 (exit $ac_status); }; } &&
67215 { ac_try='test -s conftest.$ac_objext'
67216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67217 (eval $ac_try) 2>&5
67218 ac_status=$?
67219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67220 (exit $ac_status); }; }; then
67221 glibcxx_cv_func__hypotl_use=yes
67222 else
67223 echo "$as_me: failed program was:" >&5
67224 sed 's/^/| /' conftest.$ac_ext >&5
67226 glibcxx_cv_func__hypotl_use=no
67228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67229 ac_ext=c
67230 ac_cpp='$CPP $CPPFLAGS'
67231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67240 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67242 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67244 for ac_func in _hypotl
67246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67247 echo "$as_me:$LINENO: checking for $ac_func" >&5
67248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67249 if eval "test \"\${$as_ac_var+set}\" = set"; then
67250 echo $ECHO_N "(cached) $ECHO_C" >&6
67251 else
67252 if test x$gcc_no_link = xyes; then
67253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67255 { (exit 1); exit 1; }; }
67257 cat >conftest.$ac_ext <<_ACEOF
67258 /* confdefs.h. */
67259 _ACEOF
67260 cat confdefs.h >>conftest.$ac_ext
67261 cat >>conftest.$ac_ext <<_ACEOF
67262 /* end confdefs.h. */
67263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67265 #define $ac_func innocuous_$ac_func
67267 /* System header to define __stub macros and hopefully few prototypes,
67268 which can conflict with char $ac_func (); below.
67269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67270 <limits.h> exists even on freestanding compilers. */
67272 #ifdef __STDC__
67273 # include <limits.h>
67274 #else
67275 # include <assert.h>
67276 #endif
67278 #undef $ac_func
67280 /* Override any gcc2 internal prototype to avoid an error. */
67281 #ifdef __cplusplus
67282 extern "C"
67284 #endif
67285 /* We use char because int might match the return type of a gcc2
67286 builtin and then its argument prototype would still apply. */
67287 char $ac_func ();
67288 /* The GNU C library defines this for functions which it implements
67289 to always fail with ENOSYS. Some functions are actually named
67290 something starting with __ and the normal name is an alias. */
67291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67292 choke me
67293 #else
67294 char (*f) () = $ac_func;
67295 #endif
67296 #ifdef __cplusplus
67298 #endif
67301 main ()
67303 return f != $ac_func;
67305 return 0;
67307 _ACEOF
67308 rm -f conftest.$ac_objext conftest$ac_exeext
67309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67310 (eval $ac_link) 2>conftest.er1
67311 ac_status=$?
67312 grep -v '^ *+' conftest.er1 >conftest.err
67313 rm -f conftest.er1
67314 cat conftest.err >&5
67315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67316 (exit $ac_status); } &&
67317 { ac_try='test -z "$ac_c_werror_flag"
67318 || test ! -s conftest.err'
67319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67320 (eval $ac_try) 2>&5
67321 ac_status=$?
67322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67323 (exit $ac_status); }; } &&
67324 { ac_try='test -s conftest$ac_exeext'
67325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67326 (eval $ac_try) 2>&5
67327 ac_status=$?
67328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67329 (exit $ac_status); }; }; then
67330 eval "$as_ac_var=yes"
67331 else
67332 echo "$as_me: failed program was:" >&5
67333 sed 's/^/| /' conftest.$ac_ext >&5
67335 eval "$as_ac_var=no"
67337 rm -f conftest.err conftest.$ac_objext \
67338 conftest$ac_exeext conftest.$ac_ext
67340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67342 if test `eval echo '${'$as_ac_var'}'` = yes; then
67343 cat >>confdefs.h <<_ACEOF
67344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67345 _ACEOF
67348 done
67358 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67359 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67360 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67361 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67362 echo $ECHO_N "(cached) $ECHO_C" >&6
67363 else
67367 ac_ext=cc
67368 ac_cpp='$CXXCPP $CPPFLAGS'
67369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67373 cat >conftest.$ac_ext <<_ACEOF
67374 /* confdefs.h. */
67375 _ACEOF
67376 cat confdefs.h >>conftest.$ac_ext
67377 cat >>conftest.$ac_ext <<_ACEOF
67378 /* end confdefs.h. */
67379 #include <math.h>
67381 main ()
67383 ldexpl(0, 0);
67385 return 0;
67387 _ACEOF
67388 rm -f conftest.$ac_objext
67389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67390 (eval $ac_compile) 2>conftest.er1
67391 ac_status=$?
67392 grep -v '^ *+' conftest.er1 >conftest.err
67393 rm -f conftest.er1
67394 cat conftest.err >&5
67395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67396 (exit $ac_status); } &&
67397 { ac_try='test -z "$ac_cxx_werror_flag"
67398 || test ! -s conftest.err'
67399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67400 (eval $ac_try) 2>&5
67401 ac_status=$?
67402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67403 (exit $ac_status); }; } &&
67404 { ac_try='test -s conftest.$ac_objext'
67405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67406 (eval $ac_try) 2>&5
67407 ac_status=$?
67408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67409 (exit $ac_status); }; }; then
67410 glibcxx_cv_func_ldexpl_use=yes
67411 else
67412 echo "$as_me: failed program was:" >&5
67413 sed 's/^/| /' conftest.$ac_ext >&5
67415 glibcxx_cv_func_ldexpl_use=no
67417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67418 ac_ext=c
67419 ac_cpp='$CPP $CPPFLAGS'
67420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67429 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67431 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67433 for ac_func in ldexpl
67435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67436 echo "$as_me:$LINENO: checking for $ac_func" >&5
67437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67438 if eval "test \"\${$as_ac_var+set}\" = set"; then
67439 echo $ECHO_N "(cached) $ECHO_C" >&6
67440 else
67441 if test x$gcc_no_link = xyes; then
67442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67444 { (exit 1); exit 1; }; }
67446 cat >conftest.$ac_ext <<_ACEOF
67447 /* confdefs.h. */
67448 _ACEOF
67449 cat confdefs.h >>conftest.$ac_ext
67450 cat >>conftest.$ac_ext <<_ACEOF
67451 /* end confdefs.h. */
67452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67454 #define $ac_func innocuous_$ac_func
67456 /* System header to define __stub macros and hopefully few prototypes,
67457 which can conflict with char $ac_func (); below.
67458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67459 <limits.h> exists even on freestanding compilers. */
67461 #ifdef __STDC__
67462 # include <limits.h>
67463 #else
67464 # include <assert.h>
67465 #endif
67467 #undef $ac_func
67469 /* Override any gcc2 internal prototype to avoid an error. */
67470 #ifdef __cplusplus
67471 extern "C"
67473 #endif
67474 /* We use char because int might match the return type of a gcc2
67475 builtin and then its argument prototype would still apply. */
67476 char $ac_func ();
67477 /* The GNU C library defines this for functions which it implements
67478 to always fail with ENOSYS. Some functions are actually named
67479 something starting with __ and the normal name is an alias. */
67480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67481 choke me
67482 #else
67483 char (*f) () = $ac_func;
67484 #endif
67485 #ifdef __cplusplus
67487 #endif
67490 main ()
67492 return f != $ac_func;
67494 return 0;
67496 _ACEOF
67497 rm -f conftest.$ac_objext conftest$ac_exeext
67498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67499 (eval $ac_link) 2>conftest.er1
67500 ac_status=$?
67501 grep -v '^ *+' conftest.er1 >conftest.err
67502 rm -f conftest.er1
67503 cat conftest.err >&5
67504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67505 (exit $ac_status); } &&
67506 { ac_try='test -z "$ac_c_werror_flag"
67507 || test ! -s conftest.err'
67508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67509 (eval $ac_try) 2>&5
67510 ac_status=$?
67511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67512 (exit $ac_status); }; } &&
67513 { ac_try='test -s conftest$ac_exeext'
67514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67515 (eval $ac_try) 2>&5
67516 ac_status=$?
67517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67518 (exit $ac_status); }; }; then
67519 eval "$as_ac_var=yes"
67520 else
67521 echo "$as_me: failed program was:" >&5
67522 sed 's/^/| /' conftest.$ac_ext >&5
67524 eval "$as_ac_var=no"
67526 rm -f conftest.err conftest.$ac_objext \
67527 conftest$ac_exeext conftest.$ac_ext
67529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67531 if test `eval echo '${'$as_ac_var'}'` = yes; then
67532 cat >>confdefs.h <<_ACEOF
67533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67534 _ACEOF
67537 done
67539 else
67541 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67542 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67543 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67544 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67545 echo $ECHO_N "(cached) $ECHO_C" >&6
67546 else
67550 ac_ext=cc
67551 ac_cpp='$CXXCPP $CPPFLAGS'
67552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67556 cat >conftest.$ac_ext <<_ACEOF
67557 /* confdefs.h. */
67558 _ACEOF
67559 cat confdefs.h >>conftest.$ac_ext
67560 cat >>conftest.$ac_ext <<_ACEOF
67561 /* end confdefs.h. */
67562 #include <math.h>
67564 main ()
67566 _ldexpl(0, 0);
67568 return 0;
67570 _ACEOF
67571 rm -f conftest.$ac_objext
67572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67573 (eval $ac_compile) 2>conftest.er1
67574 ac_status=$?
67575 grep -v '^ *+' conftest.er1 >conftest.err
67576 rm -f conftest.er1
67577 cat conftest.err >&5
67578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67579 (exit $ac_status); } &&
67580 { ac_try='test -z "$ac_cxx_werror_flag"
67581 || test ! -s conftest.err'
67582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67583 (eval $ac_try) 2>&5
67584 ac_status=$?
67585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586 (exit $ac_status); }; } &&
67587 { ac_try='test -s conftest.$ac_objext'
67588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67589 (eval $ac_try) 2>&5
67590 ac_status=$?
67591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67592 (exit $ac_status); }; }; then
67593 glibcxx_cv_func__ldexpl_use=yes
67594 else
67595 echo "$as_me: failed program was:" >&5
67596 sed 's/^/| /' conftest.$ac_ext >&5
67598 glibcxx_cv_func__ldexpl_use=no
67600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67601 ac_ext=c
67602 ac_cpp='$CPP $CPPFLAGS'
67603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67612 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67614 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67616 for ac_func in _ldexpl
67618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67619 echo "$as_me:$LINENO: checking for $ac_func" >&5
67620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67621 if eval "test \"\${$as_ac_var+set}\" = set"; then
67622 echo $ECHO_N "(cached) $ECHO_C" >&6
67623 else
67624 if test x$gcc_no_link = xyes; then
67625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67627 { (exit 1); exit 1; }; }
67629 cat >conftest.$ac_ext <<_ACEOF
67630 /* confdefs.h. */
67631 _ACEOF
67632 cat confdefs.h >>conftest.$ac_ext
67633 cat >>conftest.$ac_ext <<_ACEOF
67634 /* end confdefs.h. */
67635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67637 #define $ac_func innocuous_$ac_func
67639 /* System header to define __stub macros and hopefully few prototypes,
67640 which can conflict with char $ac_func (); below.
67641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67642 <limits.h> exists even on freestanding compilers. */
67644 #ifdef __STDC__
67645 # include <limits.h>
67646 #else
67647 # include <assert.h>
67648 #endif
67650 #undef $ac_func
67652 /* Override any gcc2 internal prototype to avoid an error. */
67653 #ifdef __cplusplus
67654 extern "C"
67656 #endif
67657 /* We use char because int might match the return type of a gcc2
67658 builtin and then its argument prototype would still apply. */
67659 char $ac_func ();
67660 /* The GNU C library defines this for functions which it implements
67661 to always fail with ENOSYS. Some functions are actually named
67662 something starting with __ and the normal name is an alias. */
67663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67664 choke me
67665 #else
67666 char (*f) () = $ac_func;
67667 #endif
67668 #ifdef __cplusplus
67670 #endif
67673 main ()
67675 return f != $ac_func;
67677 return 0;
67679 _ACEOF
67680 rm -f conftest.$ac_objext conftest$ac_exeext
67681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67682 (eval $ac_link) 2>conftest.er1
67683 ac_status=$?
67684 grep -v '^ *+' conftest.er1 >conftest.err
67685 rm -f conftest.er1
67686 cat conftest.err >&5
67687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688 (exit $ac_status); } &&
67689 { ac_try='test -z "$ac_c_werror_flag"
67690 || test ! -s conftest.err'
67691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67692 (eval $ac_try) 2>&5
67693 ac_status=$?
67694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67695 (exit $ac_status); }; } &&
67696 { ac_try='test -s conftest$ac_exeext'
67697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67698 (eval $ac_try) 2>&5
67699 ac_status=$?
67700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67701 (exit $ac_status); }; }; then
67702 eval "$as_ac_var=yes"
67703 else
67704 echo "$as_me: failed program was:" >&5
67705 sed 's/^/| /' conftest.$ac_ext >&5
67707 eval "$as_ac_var=no"
67709 rm -f conftest.err conftest.$ac_objext \
67710 conftest$ac_exeext conftest.$ac_ext
67712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67714 if test `eval echo '${'$as_ac_var'}'` = yes; then
67715 cat >>confdefs.h <<_ACEOF
67716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67717 _ACEOF
67720 done
67730 echo "$as_me:$LINENO: checking for logl declaration" >&5
67731 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67732 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67733 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67734 echo $ECHO_N "(cached) $ECHO_C" >&6
67735 else
67739 ac_ext=cc
67740 ac_cpp='$CXXCPP $CPPFLAGS'
67741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67745 cat >conftest.$ac_ext <<_ACEOF
67746 /* confdefs.h. */
67747 _ACEOF
67748 cat confdefs.h >>conftest.$ac_ext
67749 cat >>conftest.$ac_ext <<_ACEOF
67750 /* end confdefs.h. */
67751 #include <math.h>
67752 #ifdef HAVE_IEEEFP_H
67753 #include <ieeefp.h>
67754 #endif
67757 main ()
67759 logl(0);
67761 return 0;
67763 _ACEOF
67764 rm -f conftest.$ac_objext
67765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67766 (eval $ac_compile) 2>conftest.er1
67767 ac_status=$?
67768 grep -v '^ *+' conftest.er1 >conftest.err
67769 rm -f conftest.er1
67770 cat conftest.err >&5
67771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67772 (exit $ac_status); } &&
67773 { ac_try='test -z "$ac_cxx_werror_flag"
67774 || test ! -s conftest.err'
67775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67776 (eval $ac_try) 2>&5
67777 ac_status=$?
67778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67779 (exit $ac_status); }; } &&
67780 { ac_try='test -s conftest.$ac_objext'
67781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67782 (eval $ac_try) 2>&5
67783 ac_status=$?
67784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785 (exit $ac_status); }; }; then
67786 glibcxx_cv_func_logl_use=yes
67787 else
67788 echo "$as_me: failed program was:" >&5
67789 sed 's/^/| /' conftest.$ac_ext >&5
67791 glibcxx_cv_func_logl_use=no
67793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67794 ac_ext=c
67795 ac_cpp='$CPP $CPPFLAGS'
67796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67804 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67805 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67807 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67809 for ac_func in logl
67811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67812 echo "$as_me:$LINENO: checking for $ac_func" >&5
67813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67814 if eval "test \"\${$as_ac_var+set}\" = set"; then
67815 echo $ECHO_N "(cached) $ECHO_C" >&6
67816 else
67817 if test x$gcc_no_link = xyes; then
67818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67820 { (exit 1); exit 1; }; }
67822 cat >conftest.$ac_ext <<_ACEOF
67823 /* confdefs.h. */
67824 _ACEOF
67825 cat confdefs.h >>conftest.$ac_ext
67826 cat >>conftest.$ac_ext <<_ACEOF
67827 /* end confdefs.h. */
67828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67830 #define $ac_func innocuous_$ac_func
67832 /* System header to define __stub macros and hopefully few prototypes,
67833 which can conflict with char $ac_func (); below.
67834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67835 <limits.h> exists even on freestanding compilers. */
67837 #ifdef __STDC__
67838 # include <limits.h>
67839 #else
67840 # include <assert.h>
67841 #endif
67843 #undef $ac_func
67845 /* Override any gcc2 internal prototype to avoid an error. */
67846 #ifdef __cplusplus
67847 extern "C"
67849 #endif
67850 /* We use char because int might match the return type of a gcc2
67851 builtin and then its argument prototype would still apply. */
67852 char $ac_func ();
67853 /* The GNU C library defines this for functions which it implements
67854 to always fail with ENOSYS. Some functions are actually named
67855 something starting with __ and the normal name is an alias. */
67856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67857 choke me
67858 #else
67859 char (*f) () = $ac_func;
67860 #endif
67861 #ifdef __cplusplus
67863 #endif
67866 main ()
67868 return f != $ac_func;
67870 return 0;
67872 _ACEOF
67873 rm -f conftest.$ac_objext conftest$ac_exeext
67874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67875 (eval $ac_link) 2>conftest.er1
67876 ac_status=$?
67877 grep -v '^ *+' conftest.er1 >conftest.err
67878 rm -f conftest.er1
67879 cat conftest.err >&5
67880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881 (exit $ac_status); } &&
67882 { ac_try='test -z "$ac_c_werror_flag"
67883 || test ! -s conftest.err'
67884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67885 (eval $ac_try) 2>&5
67886 ac_status=$?
67887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67888 (exit $ac_status); }; } &&
67889 { ac_try='test -s conftest$ac_exeext'
67890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67891 (eval $ac_try) 2>&5
67892 ac_status=$?
67893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894 (exit $ac_status); }; }; then
67895 eval "$as_ac_var=yes"
67896 else
67897 echo "$as_me: failed program was:" >&5
67898 sed 's/^/| /' conftest.$ac_ext >&5
67900 eval "$as_ac_var=no"
67902 rm -f conftest.err conftest.$ac_objext \
67903 conftest$ac_exeext conftest.$ac_ext
67905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67907 if test `eval echo '${'$as_ac_var'}'` = yes; then
67908 cat >>confdefs.h <<_ACEOF
67909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67910 _ACEOF
67913 done
67915 else
67917 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67918 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67919 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67920 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67921 echo $ECHO_N "(cached) $ECHO_C" >&6
67922 else
67926 ac_ext=cc
67927 ac_cpp='$CXXCPP $CPPFLAGS'
67928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67932 cat >conftest.$ac_ext <<_ACEOF
67933 /* confdefs.h. */
67934 _ACEOF
67935 cat confdefs.h >>conftest.$ac_ext
67936 cat >>conftest.$ac_ext <<_ACEOF
67937 /* end confdefs.h. */
67938 #include <math.h>
67939 #ifdef HAVE_IEEEFP_H
67940 #include <ieeefp.h>
67941 #endif
67944 main ()
67946 _logl(0);
67948 return 0;
67950 _ACEOF
67951 rm -f conftest.$ac_objext
67952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67953 (eval $ac_compile) 2>conftest.er1
67954 ac_status=$?
67955 grep -v '^ *+' conftest.er1 >conftest.err
67956 rm -f conftest.er1
67957 cat conftest.err >&5
67958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67959 (exit $ac_status); } &&
67960 { ac_try='test -z "$ac_cxx_werror_flag"
67961 || test ! -s conftest.err'
67962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67963 (eval $ac_try) 2>&5
67964 ac_status=$?
67965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67966 (exit $ac_status); }; } &&
67967 { ac_try='test -s conftest.$ac_objext'
67968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67969 (eval $ac_try) 2>&5
67970 ac_status=$?
67971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67972 (exit $ac_status); }; }; then
67973 glibcxx_cv_func__logl_use=yes
67974 else
67975 echo "$as_me: failed program was:" >&5
67976 sed 's/^/| /' conftest.$ac_ext >&5
67978 glibcxx_cv_func__logl_use=no
67980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67981 ac_ext=c
67982 ac_cpp='$CPP $CPPFLAGS'
67983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67992 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67996 for ac_func in _logl
67998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67999 echo "$as_me:$LINENO: checking for $ac_func" >&5
68000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68001 if eval "test \"\${$as_ac_var+set}\" = set"; then
68002 echo $ECHO_N "(cached) $ECHO_C" >&6
68003 else
68004 if test x$gcc_no_link = xyes; then
68005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68007 { (exit 1); exit 1; }; }
68009 cat >conftest.$ac_ext <<_ACEOF
68010 /* confdefs.h. */
68011 _ACEOF
68012 cat confdefs.h >>conftest.$ac_ext
68013 cat >>conftest.$ac_ext <<_ACEOF
68014 /* end confdefs.h. */
68015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68017 #define $ac_func innocuous_$ac_func
68019 /* System header to define __stub macros and hopefully few prototypes,
68020 which can conflict with char $ac_func (); below.
68021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68022 <limits.h> exists even on freestanding compilers. */
68024 #ifdef __STDC__
68025 # include <limits.h>
68026 #else
68027 # include <assert.h>
68028 #endif
68030 #undef $ac_func
68032 /* Override any gcc2 internal prototype to avoid an error. */
68033 #ifdef __cplusplus
68034 extern "C"
68036 #endif
68037 /* We use char because int might match the return type of a gcc2
68038 builtin and then its argument prototype would still apply. */
68039 char $ac_func ();
68040 /* The GNU C library defines this for functions which it implements
68041 to always fail with ENOSYS. Some functions are actually named
68042 something starting with __ and the normal name is an alias. */
68043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68044 choke me
68045 #else
68046 char (*f) () = $ac_func;
68047 #endif
68048 #ifdef __cplusplus
68050 #endif
68053 main ()
68055 return f != $ac_func;
68057 return 0;
68059 _ACEOF
68060 rm -f conftest.$ac_objext conftest$ac_exeext
68061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68062 (eval $ac_link) 2>conftest.er1
68063 ac_status=$?
68064 grep -v '^ *+' conftest.er1 >conftest.err
68065 rm -f conftest.er1
68066 cat conftest.err >&5
68067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68068 (exit $ac_status); } &&
68069 { ac_try='test -z "$ac_c_werror_flag"
68070 || test ! -s conftest.err'
68071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68072 (eval $ac_try) 2>&5
68073 ac_status=$?
68074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68075 (exit $ac_status); }; } &&
68076 { ac_try='test -s conftest$ac_exeext'
68077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68078 (eval $ac_try) 2>&5
68079 ac_status=$?
68080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081 (exit $ac_status); }; }; then
68082 eval "$as_ac_var=yes"
68083 else
68084 echo "$as_me: failed program was:" >&5
68085 sed 's/^/| /' conftest.$ac_ext >&5
68087 eval "$as_ac_var=no"
68089 rm -f conftest.err conftest.$ac_objext \
68090 conftest$ac_exeext conftest.$ac_ext
68092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68094 if test `eval echo '${'$as_ac_var'}'` = yes; then
68095 cat >>confdefs.h <<_ACEOF
68096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68097 _ACEOF
68100 done
68110 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68111 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68112 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68113 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68114 echo $ECHO_N "(cached) $ECHO_C" >&6
68115 else
68119 ac_ext=cc
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68125 cat >conftest.$ac_ext <<_ACEOF
68126 /* confdefs.h. */
68127 _ACEOF
68128 cat confdefs.h >>conftest.$ac_ext
68129 cat >>conftest.$ac_ext <<_ACEOF
68130 /* end confdefs.h. */
68131 #include <math.h>
68132 #ifdef HAVE_IEEEFP_H
68133 #include <ieeefp.h>
68134 #endif
68137 main ()
68139 log10l(0);
68141 return 0;
68143 _ACEOF
68144 rm -f conftest.$ac_objext
68145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68146 (eval $ac_compile) 2>conftest.er1
68147 ac_status=$?
68148 grep -v '^ *+' conftest.er1 >conftest.err
68149 rm -f conftest.er1
68150 cat conftest.err >&5
68151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68152 (exit $ac_status); } &&
68153 { ac_try='test -z "$ac_cxx_werror_flag"
68154 || test ! -s conftest.err'
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); }; } &&
68160 { ac_try='test -s conftest.$ac_objext'
68161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68162 (eval $ac_try) 2>&5
68163 ac_status=$?
68164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68165 (exit $ac_status); }; }; then
68166 glibcxx_cv_func_log10l_use=yes
68167 else
68168 echo "$as_me: failed program was:" >&5
68169 sed 's/^/| /' conftest.$ac_ext >&5
68171 glibcxx_cv_func_log10l_use=no
68173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68174 ac_ext=c
68175 ac_cpp='$CPP $CPPFLAGS'
68176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68185 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68187 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68189 for ac_func in log10l
68191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68192 echo "$as_me:$LINENO: checking for $ac_func" >&5
68193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68194 if eval "test \"\${$as_ac_var+set}\" = set"; then
68195 echo $ECHO_N "(cached) $ECHO_C" >&6
68196 else
68197 if test x$gcc_no_link = xyes; then
68198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68200 { (exit 1); exit 1; }; }
68202 cat >conftest.$ac_ext <<_ACEOF
68203 /* confdefs.h. */
68204 _ACEOF
68205 cat confdefs.h >>conftest.$ac_ext
68206 cat >>conftest.$ac_ext <<_ACEOF
68207 /* end confdefs.h. */
68208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68210 #define $ac_func innocuous_$ac_func
68212 /* System header to define __stub macros and hopefully few prototypes,
68213 which can conflict with char $ac_func (); below.
68214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68215 <limits.h> exists even on freestanding compilers. */
68217 #ifdef __STDC__
68218 # include <limits.h>
68219 #else
68220 # include <assert.h>
68221 #endif
68223 #undef $ac_func
68225 /* Override any gcc2 internal prototype to avoid an error. */
68226 #ifdef __cplusplus
68227 extern "C"
68229 #endif
68230 /* We use char because int might match the return type of a gcc2
68231 builtin and then its argument prototype would still apply. */
68232 char $ac_func ();
68233 /* The GNU C library defines this for functions which it implements
68234 to always fail with ENOSYS. Some functions are actually named
68235 something starting with __ and the normal name is an alias. */
68236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68237 choke me
68238 #else
68239 char (*f) () = $ac_func;
68240 #endif
68241 #ifdef __cplusplus
68243 #endif
68246 main ()
68248 return f != $ac_func;
68250 return 0;
68252 _ACEOF
68253 rm -f conftest.$ac_objext conftest$ac_exeext
68254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68255 (eval $ac_link) 2>conftest.er1
68256 ac_status=$?
68257 grep -v '^ *+' conftest.er1 >conftest.err
68258 rm -f conftest.er1
68259 cat conftest.err >&5
68260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68261 (exit $ac_status); } &&
68262 { ac_try='test -z "$ac_c_werror_flag"
68263 || test ! -s conftest.err'
68264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68265 (eval $ac_try) 2>&5
68266 ac_status=$?
68267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68268 (exit $ac_status); }; } &&
68269 { ac_try='test -s conftest$ac_exeext'
68270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68271 (eval $ac_try) 2>&5
68272 ac_status=$?
68273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68274 (exit $ac_status); }; }; then
68275 eval "$as_ac_var=yes"
68276 else
68277 echo "$as_me: failed program was:" >&5
68278 sed 's/^/| /' conftest.$ac_ext >&5
68280 eval "$as_ac_var=no"
68282 rm -f conftest.err conftest.$ac_objext \
68283 conftest$ac_exeext conftest.$ac_ext
68285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68287 if test `eval echo '${'$as_ac_var'}'` = yes; then
68288 cat >>confdefs.h <<_ACEOF
68289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68290 _ACEOF
68293 done
68295 else
68297 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68298 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68299 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68300 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68301 echo $ECHO_N "(cached) $ECHO_C" >&6
68302 else
68306 ac_ext=cc
68307 ac_cpp='$CXXCPP $CPPFLAGS'
68308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68312 cat >conftest.$ac_ext <<_ACEOF
68313 /* confdefs.h. */
68314 _ACEOF
68315 cat confdefs.h >>conftest.$ac_ext
68316 cat >>conftest.$ac_ext <<_ACEOF
68317 /* end confdefs.h. */
68318 #include <math.h>
68319 #ifdef HAVE_IEEEFP_H
68320 #include <ieeefp.h>
68321 #endif
68324 main ()
68326 _log10l(0);
68328 return 0;
68330 _ACEOF
68331 rm -f conftest.$ac_objext
68332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68333 (eval $ac_compile) 2>conftest.er1
68334 ac_status=$?
68335 grep -v '^ *+' conftest.er1 >conftest.err
68336 rm -f conftest.er1
68337 cat conftest.err >&5
68338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68339 (exit $ac_status); } &&
68340 { ac_try='test -z "$ac_cxx_werror_flag"
68341 || test ! -s conftest.err'
68342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68343 (eval $ac_try) 2>&5
68344 ac_status=$?
68345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68346 (exit $ac_status); }; } &&
68347 { ac_try='test -s conftest.$ac_objext'
68348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68349 (eval $ac_try) 2>&5
68350 ac_status=$?
68351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68352 (exit $ac_status); }; }; then
68353 glibcxx_cv_func__log10l_use=yes
68354 else
68355 echo "$as_me: failed program was:" >&5
68356 sed 's/^/| /' conftest.$ac_ext >&5
68358 glibcxx_cv_func__log10l_use=no
68360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68361 ac_ext=c
68362 ac_cpp='$CPP $CPPFLAGS'
68363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68372 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68374 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68376 for ac_func in _log10l
68378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68379 echo "$as_me:$LINENO: checking for $ac_func" >&5
68380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68381 if eval "test \"\${$as_ac_var+set}\" = set"; then
68382 echo $ECHO_N "(cached) $ECHO_C" >&6
68383 else
68384 if test x$gcc_no_link = xyes; then
68385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68387 { (exit 1); exit 1; }; }
68389 cat >conftest.$ac_ext <<_ACEOF
68390 /* confdefs.h. */
68391 _ACEOF
68392 cat confdefs.h >>conftest.$ac_ext
68393 cat >>conftest.$ac_ext <<_ACEOF
68394 /* end confdefs.h. */
68395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68397 #define $ac_func innocuous_$ac_func
68399 /* System header to define __stub macros and hopefully few prototypes,
68400 which can conflict with char $ac_func (); below.
68401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68402 <limits.h> exists even on freestanding compilers. */
68404 #ifdef __STDC__
68405 # include <limits.h>
68406 #else
68407 # include <assert.h>
68408 #endif
68410 #undef $ac_func
68412 /* Override any gcc2 internal prototype to avoid an error. */
68413 #ifdef __cplusplus
68414 extern "C"
68416 #endif
68417 /* We use char because int might match the return type of a gcc2
68418 builtin and then its argument prototype would still apply. */
68419 char $ac_func ();
68420 /* The GNU C library defines this for functions which it implements
68421 to always fail with ENOSYS. Some functions are actually named
68422 something starting with __ and the normal name is an alias. */
68423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68424 choke me
68425 #else
68426 char (*f) () = $ac_func;
68427 #endif
68428 #ifdef __cplusplus
68430 #endif
68433 main ()
68435 return f != $ac_func;
68437 return 0;
68439 _ACEOF
68440 rm -f conftest.$ac_objext conftest$ac_exeext
68441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68442 (eval $ac_link) 2>conftest.er1
68443 ac_status=$?
68444 grep -v '^ *+' conftest.er1 >conftest.err
68445 rm -f conftest.er1
68446 cat conftest.err >&5
68447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68448 (exit $ac_status); } &&
68449 { ac_try='test -z "$ac_c_werror_flag"
68450 || test ! -s conftest.err'
68451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68452 (eval $ac_try) 2>&5
68453 ac_status=$?
68454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68455 (exit $ac_status); }; } &&
68456 { ac_try='test -s conftest$ac_exeext'
68457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68458 (eval $ac_try) 2>&5
68459 ac_status=$?
68460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68461 (exit $ac_status); }; }; then
68462 eval "$as_ac_var=yes"
68463 else
68464 echo "$as_me: failed program was:" >&5
68465 sed 's/^/| /' conftest.$ac_ext >&5
68467 eval "$as_ac_var=no"
68469 rm -f conftest.err conftest.$ac_objext \
68470 conftest$ac_exeext conftest.$ac_ext
68472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68474 if test `eval echo '${'$as_ac_var'}'` = yes; then
68475 cat >>confdefs.h <<_ACEOF
68476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68477 _ACEOF
68480 done
68490 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68491 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68492 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68493 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68494 echo $ECHO_N "(cached) $ECHO_C" >&6
68495 else
68499 ac_ext=cc
68500 ac_cpp='$CXXCPP $CPPFLAGS'
68501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68505 cat >conftest.$ac_ext <<_ACEOF
68506 /* confdefs.h. */
68507 _ACEOF
68508 cat confdefs.h >>conftest.$ac_ext
68509 cat >>conftest.$ac_ext <<_ACEOF
68510 /* end confdefs.h. */
68511 #include <math.h>
68513 main ()
68515 modfl(0, 0);
68517 return 0;
68519 _ACEOF
68520 rm -f conftest.$ac_objext
68521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68522 (eval $ac_compile) 2>conftest.er1
68523 ac_status=$?
68524 grep -v '^ *+' conftest.er1 >conftest.err
68525 rm -f conftest.er1
68526 cat conftest.err >&5
68527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68528 (exit $ac_status); } &&
68529 { ac_try='test -z "$ac_cxx_werror_flag"
68530 || test ! -s conftest.err'
68531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68532 (eval $ac_try) 2>&5
68533 ac_status=$?
68534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68535 (exit $ac_status); }; } &&
68536 { ac_try='test -s conftest.$ac_objext'
68537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68538 (eval $ac_try) 2>&5
68539 ac_status=$?
68540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541 (exit $ac_status); }; }; then
68542 glibcxx_cv_func_modfl_use=yes
68543 else
68544 echo "$as_me: failed program was:" >&5
68545 sed 's/^/| /' conftest.$ac_ext >&5
68547 glibcxx_cv_func_modfl_use=no
68549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68550 ac_ext=c
68551 ac_cpp='$CPP $CPPFLAGS'
68552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68561 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68563 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68565 for ac_func in modfl
68567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68568 echo "$as_me:$LINENO: checking for $ac_func" >&5
68569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68570 if eval "test \"\${$as_ac_var+set}\" = set"; then
68571 echo $ECHO_N "(cached) $ECHO_C" >&6
68572 else
68573 if test x$gcc_no_link = xyes; then
68574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68576 { (exit 1); exit 1; }; }
68578 cat >conftest.$ac_ext <<_ACEOF
68579 /* confdefs.h. */
68580 _ACEOF
68581 cat confdefs.h >>conftest.$ac_ext
68582 cat >>conftest.$ac_ext <<_ACEOF
68583 /* end confdefs.h. */
68584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68586 #define $ac_func innocuous_$ac_func
68588 /* System header to define __stub macros and hopefully few prototypes,
68589 which can conflict with char $ac_func (); below.
68590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68591 <limits.h> exists even on freestanding compilers. */
68593 #ifdef __STDC__
68594 # include <limits.h>
68595 #else
68596 # include <assert.h>
68597 #endif
68599 #undef $ac_func
68601 /* Override any gcc2 internal prototype to avoid an error. */
68602 #ifdef __cplusplus
68603 extern "C"
68605 #endif
68606 /* We use char because int might match the return type of a gcc2
68607 builtin and then its argument prototype would still apply. */
68608 char $ac_func ();
68609 /* The GNU C library defines this for functions which it implements
68610 to always fail with ENOSYS. Some functions are actually named
68611 something starting with __ and the normal name is an alias. */
68612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68613 choke me
68614 #else
68615 char (*f) () = $ac_func;
68616 #endif
68617 #ifdef __cplusplus
68619 #endif
68622 main ()
68624 return f != $ac_func;
68626 return 0;
68628 _ACEOF
68629 rm -f conftest.$ac_objext conftest$ac_exeext
68630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68631 (eval $ac_link) 2>conftest.er1
68632 ac_status=$?
68633 grep -v '^ *+' conftest.er1 >conftest.err
68634 rm -f conftest.er1
68635 cat conftest.err >&5
68636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68637 (exit $ac_status); } &&
68638 { ac_try='test -z "$ac_c_werror_flag"
68639 || test ! -s conftest.err'
68640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68641 (eval $ac_try) 2>&5
68642 ac_status=$?
68643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68644 (exit $ac_status); }; } &&
68645 { ac_try='test -s conftest$ac_exeext'
68646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68647 (eval $ac_try) 2>&5
68648 ac_status=$?
68649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68650 (exit $ac_status); }; }; then
68651 eval "$as_ac_var=yes"
68652 else
68653 echo "$as_me: failed program was:" >&5
68654 sed 's/^/| /' conftest.$ac_ext >&5
68656 eval "$as_ac_var=no"
68658 rm -f conftest.err conftest.$ac_objext \
68659 conftest$ac_exeext conftest.$ac_ext
68661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68663 if test `eval echo '${'$as_ac_var'}'` = yes; then
68664 cat >>confdefs.h <<_ACEOF
68665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68666 _ACEOF
68669 done
68671 else
68673 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68674 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68675 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68676 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68677 echo $ECHO_N "(cached) $ECHO_C" >&6
68678 else
68682 ac_ext=cc
68683 ac_cpp='$CXXCPP $CPPFLAGS'
68684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68688 cat >conftest.$ac_ext <<_ACEOF
68689 /* confdefs.h. */
68690 _ACEOF
68691 cat confdefs.h >>conftest.$ac_ext
68692 cat >>conftest.$ac_ext <<_ACEOF
68693 /* end confdefs.h. */
68694 #include <math.h>
68696 main ()
68698 _modfl(0, 0);
68700 return 0;
68702 _ACEOF
68703 rm -f conftest.$ac_objext
68704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68705 (eval $ac_compile) 2>conftest.er1
68706 ac_status=$?
68707 grep -v '^ *+' conftest.er1 >conftest.err
68708 rm -f conftest.er1
68709 cat conftest.err >&5
68710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68711 (exit $ac_status); } &&
68712 { ac_try='test -z "$ac_cxx_werror_flag"
68713 || test ! -s conftest.err'
68714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68715 (eval $ac_try) 2>&5
68716 ac_status=$?
68717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718 (exit $ac_status); }; } &&
68719 { ac_try='test -s conftest.$ac_objext'
68720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68721 (eval $ac_try) 2>&5
68722 ac_status=$?
68723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68724 (exit $ac_status); }; }; then
68725 glibcxx_cv_func__modfl_use=yes
68726 else
68727 echo "$as_me: failed program was:" >&5
68728 sed 's/^/| /' conftest.$ac_ext >&5
68730 glibcxx_cv_func__modfl_use=no
68732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68733 ac_ext=c
68734 ac_cpp='$CPP $CPPFLAGS'
68735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68744 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68746 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68748 for ac_func in _modfl
68750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68751 echo "$as_me:$LINENO: checking for $ac_func" >&5
68752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68753 if eval "test \"\${$as_ac_var+set}\" = set"; then
68754 echo $ECHO_N "(cached) $ECHO_C" >&6
68755 else
68756 if test x$gcc_no_link = xyes; then
68757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68759 { (exit 1); exit 1; }; }
68761 cat >conftest.$ac_ext <<_ACEOF
68762 /* confdefs.h. */
68763 _ACEOF
68764 cat confdefs.h >>conftest.$ac_ext
68765 cat >>conftest.$ac_ext <<_ACEOF
68766 /* end confdefs.h. */
68767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68769 #define $ac_func innocuous_$ac_func
68771 /* System header to define __stub macros and hopefully few prototypes,
68772 which can conflict with char $ac_func (); below.
68773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68774 <limits.h> exists even on freestanding compilers. */
68776 #ifdef __STDC__
68777 # include <limits.h>
68778 #else
68779 # include <assert.h>
68780 #endif
68782 #undef $ac_func
68784 /* Override any gcc2 internal prototype to avoid an error. */
68785 #ifdef __cplusplus
68786 extern "C"
68788 #endif
68789 /* We use char because int might match the return type of a gcc2
68790 builtin and then its argument prototype would still apply. */
68791 char $ac_func ();
68792 /* The GNU C library defines this for functions which it implements
68793 to always fail with ENOSYS. Some functions are actually named
68794 something starting with __ and the normal name is an alias. */
68795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68796 choke me
68797 #else
68798 char (*f) () = $ac_func;
68799 #endif
68800 #ifdef __cplusplus
68802 #endif
68805 main ()
68807 return f != $ac_func;
68809 return 0;
68811 _ACEOF
68812 rm -f conftest.$ac_objext conftest$ac_exeext
68813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68814 (eval $ac_link) 2>conftest.er1
68815 ac_status=$?
68816 grep -v '^ *+' conftest.er1 >conftest.err
68817 rm -f conftest.er1
68818 cat conftest.err >&5
68819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68820 (exit $ac_status); } &&
68821 { ac_try='test -z "$ac_c_werror_flag"
68822 || test ! -s conftest.err'
68823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68824 (eval $ac_try) 2>&5
68825 ac_status=$?
68826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68827 (exit $ac_status); }; } &&
68828 { ac_try='test -s conftest$ac_exeext'
68829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68830 (eval $ac_try) 2>&5
68831 ac_status=$?
68832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68833 (exit $ac_status); }; }; then
68834 eval "$as_ac_var=yes"
68835 else
68836 echo "$as_me: failed program was:" >&5
68837 sed 's/^/| /' conftest.$ac_ext >&5
68839 eval "$as_ac_var=no"
68841 rm -f conftest.err conftest.$ac_objext \
68842 conftest$ac_exeext conftest.$ac_ext
68844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68846 if test `eval echo '${'$as_ac_var'}'` = yes; then
68847 cat >>confdefs.h <<_ACEOF
68848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68849 _ACEOF
68852 done
68862 echo "$as_me:$LINENO: checking for powl declaration" >&5
68863 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68864 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68865 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68866 echo $ECHO_N "(cached) $ECHO_C" >&6
68867 else
68871 ac_ext=cc
68872 ac_cpp='$CXXCPP $CPPFLAGS'
68873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68877 cat >conftest.$ac_ext <<_ACEOF
68878 /* confdefs.h. */
68879 _ACEOF
68880 cat confdefs.h >>conftest.$ac_ext
68881 cat >>conftest.$ac_ext <<_ACEOF
68882 /* end confdefs.h. */
68883 #include <math.h>
68885 main ()
68887 powl(0, 0);
68889 return 0;
68891 _ACEOF
68892 rm -f conftest.$ac_objext
68893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68894 (eval $ac_compile) 2>conftest.er1
68895 ac_status=$?
68896 grep -v '^ *+' conftest.er1 >conftest.err
68897 rm -f conftest.er1
68898 cat conftest.err >&5
68899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900 (exit $ac_status); } &&
68901 { ac_try='test -z "$ac_cxx_werror_flag"
68902 || test ! -s conftest.err'
68903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68904 (eval $ac_try) 2>&5
68905 ac_status=$?
68906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68907 (exit $ac_status); }; } &&
68908 { ac_try='test -s conftest.$ac_objext'
68909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68910 (eval $ac_try) 2>&5
68911 ac_status=$?
68912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913 (exit $ac_status); }; }; then
68914 glibcxx_cv_func_powl_use=yes
68915 else
68916 echo "$as_me: failed program was:" >&5
68917 sed 's/^/| /' conftest.$ac_ext >&5
68919 glibcxx_cv_func_powl_use=no
68921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68922 ac_ext=c
68923 ac_cpp='$CPP $CPPFLAGS'
68924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68933 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68935 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68937 for ac_func in powl
68939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68940 echo "$as_me:$LINENO: checking for $ac_func" >&5
68941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68942 if eval "test \"\${$as_ac_var+set}\" = set"; then
68943 echo $ECHO_N "(cached) $ECHO_C" >&6
68944 else
68945 if test x$gcc_no_link = xyes; then
68946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68948 { (exit 1); exit 1; }; }
68950 cat >conftest.$ac_ext <<_ACEOF
68951 /* confdefs.h. */
68952 _ACEOF
68953 cat confdefs.h >>conftest.$ac_ext
68954 cat >>conftest.$ac_ext <<_ACEOF
68955 /* end confdefs.h. */
68956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68958 #define $ac_func innocuous_$ac_func
68960 /* System header to define __stub macros and hopefully few prototypes,
68961 which can conflict with char $ac_func (); below.
68962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68963 <limits.h> exists even on freestanding compilers. */
68965 #ifdef __STDC__
68966 # include <limits.h>
68967 #else
68968 # include <assert.h>
68969 #endif
68971 #undef $ac_func
68973 /* Override any gcc2 internal prototype to avoid an error. */
68974 #ifdef __cplusplus
68975 extern "C"
68977 #endif
68978 /* We use char because int might match the return type of a gcc2
68979 builtin and then its argument prototype would still apply. */
68980 char $ac_func ();
68981 /* The GNU C library defines this for functions which it implements
68982 to always fail with ENOSYS. Some functions are actually named
68983 something starting with __ and the normal name is an alias. */
68984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68985 choke me
68986 #else
68987 char (*f) () = $ac_func;
68988 #endif
68989 #ifdef __cplusplus
68991 #endif
68994 main ()
68996 return f != $ac_func;
68998 return 0;
69000 _ACEOF
69001 rm -f conftest.$ac_objext conftest$ac_exeext
69002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69003 (eval $ac_link) 2>conftest.er1
69004 ac_status=$?
69005 grep -v '^ *+' conftest.er1 >conftest.err
69006 rm -f conftest.er1
69007 cat conftest.err >&5
69008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009 (exit $ac_status); } &&
69010 { ac_try='test -z "$ac_c_werror_flag"
69011 || test ! -s conftest.err'
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); }; } &&
69017 { ac_try='test -s conftest$ac_exeext'
69018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69019 (eval $ac_try) 2>&5
69020 ac_status=$?
69021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69022 (exit $ac_status); }; }; then
69023 eval "$as_ac_var=yes"
69024 else
69025 echo "$as_me: failed program was:" >&5
69026 sed 's/^/| /' conftest.$ac_ext >&5
69028 eval "$as_ac_var=no"
69030 rm -f conftest.err conftest.$ac_objext \
69031 conftest$ac_exeext conftest.$ac_ext
69033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69035 if test `eval echo '${'$as_ac_var'}'` = yes; then
69036 cat >>confdefs.h <<_ACEOF
69037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69038 _ACEOF
69041 done
69043 else
69045 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69046 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69047 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69048 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69049 echo $ECHO_N "(cached) $ECHO_C" >&6
69050 else
69054 ac_ext=cc
69055 ac_cpp='$CXXCPP $CPPFLAGS'
69056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69060 cat >conftest.$ac_ext <<_ACEOF
69061 /* confdefs.h. */
69062 _ACEOF
69063 cat confdefs.h >>conftest.$ac_ext
69064 cat >>conftest.$ac_ext <<_ACEOF
69065 /* end confdefs.h. */
69066 #include <math.h>
69068 main ()
69070 _powl(0, 0);
69072 return 0;
69074 _ACEOF
69075 rm -f conftest.$ac_objext
69076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69077 (eval $ac_compile) 2>conftest.er1
69078 ac_status=$?
69079 grep -v '^ *+' conftest.er1 >conftest.err
69080 rm -f conftest.er1
69081 cat conftest.err >&5
69082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083 (exit $ac_status); } &&
69084 { ac_try='test -z "$ac_cxx_werror_flag"
69085 || test ! -s conftest.err'
69086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69087 (eval $ac_try) 2>&5
69088 ac_status=$?
69089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090 (exit $ac_status); }; } &&
69091 { ac_try='test -s conftest.$ac_objext'
69092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69093 (eval $ac_try) 2>&5
69094 ac_status=$?
69095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096 (exit $ac_status); }; }; then
69097 glibcxx_cv_func__powl_use=yes
69098 else
69099 echo "$as_me: failed program was:" >&5
69100 sed 's/^/| /' conftest.$ac_ext >&5
69102 glibcxx_cv_func__powl_use=no
69104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69116 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69118 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69120 for ac_func in _powl
69122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69123 echo "$as_me:$LINENO: checking for $ac_func" >&5
69124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69125 if eval "test \"\${$as_ac_var+set}\" = set"; then
69126 echo $ECHO_N "(cached) $ECHO_C" >&6
69127 else
69128 if test x$gcc_no_link = xyes; then
69129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69131 { (exit 1); exit 1; }; }
69133 cat >conftest.$ac_ext <<_ACEOF
69134 /* confdefs.h. */
69135 _ACEOF
69136 cat confdefs.h >>conftest.$ac_ext
69137 cat >>conftest.$ac_ext <<_ACEOF
69138 /* end confdefs.h. */
69139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69141 #define $ac_func innocuous_$ac_func
69143 /* System header to define __stub macros and hopefully few prototypes,
69144 which can conflict with char $ac_func (); below.
69145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69146 <limits.h> exists even on freestanding compilers. */
69148 #ifdef __STDC__
69149 # include <limits.h>
69150 #else
69151 # include <assert.h>
69152 #endif
69154 #undef $ac_func
69156 /* Override any gcc2 internal prototype to avoid an error. */
69157 #ifdef __cplusplus
69158 extern "C"
69160 #endif
69161 /* We use char because int might match the return type of a gcc2
69162 builtin and then its argument prototype would still apply. */
69163 char $ac_func ();
69164 /* The GNU C library defines this for functions which it implements
69165 to always fail with ENOSYS. Some functions are actually named
69166 something starting with __ and the normal name is an alias. */
69167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69168 choke me
69169 #else
69170 char (*f) () = $ac_func;
69171 #endif
69172 #ifdef __cplusplus
69174 #endif
69177 main ()
69179 return f != $ac_func;
69181 return 0;
69183 _ACEOF
69184 rm -f conftest.$ac_objext conftest$ac_exeext
69185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69186 (eval $ac_link) 2>conftest.er1
69187 ac_status=$?
69188 grep -v '^ *+' conftest.er1 >conftest.err
69189 rm -f conftest.er1
69190 cat conftest.err >&5
69191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192 (exit $ac_status); } &&
69193 { ac_try='test -z "$ac_c_werror_flag"
69194 || test ! -s conftest.err'
69195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69196 (eval $ac_try) 2>&5
69197 ac_status=$?
69198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69199 (exit $ac_status); }; } &&
69200 { ac_try='test -s conftest$ac_exeext'
69201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69202 (eval $ac_try) 2>&5
69203 ac_status=$?
69204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69205 (exit $ac_status); }; }; then
69206 eval "$as_ac_var=yes"
69207 else
69208 echo "$as_me: failed program was:" >&5
69209 sed 's/^/| /' conftest.$ac_ext >&5
69211 eval "$as_ac_var=no"
69213 rm -f conftest.err conftest.$ac_objext \
69214 conftest$ac_exeext conftest.$ac_ext
69216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69218 if test `eval echo '${'$as_ac_var'}'` = yes; then
69219 cat >>confdefs.h <<_ACEOF
69220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69221 _ACEOF
69224 done
69234 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69235 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69236 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69237 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69238 echo $ECHO_N "(cached) $ECHO_C" >&6
69239 else
69243 ac_ext=cc
69244 ac_cpp='$CXXCPP $CPPFLAGS'
69245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69249 cat >conftest.$ac_ext <<_ACEOF
69250 /* confdefs.h. */
69251 _ACEOF
69252 cat confdefs.h >>conftest.$ac_ext
69253 cat >>conftest.$ac_ext <<_ACEOF
69254 /* end confdefs.h. */
69255 #include <math.h>
69256 #ifdef HAVE_IEEEFP_H
69257 #include <ieeefp.h>
69258 #endif
69261 main ()
69263 sqrtl(0);
69265 return 0;
69267 _ACEOF
69268 rm -f conftest.$ac_objext
69269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69270 (eval $ac_compile) 2>conftest.er1
69271 ac_status=$?
69272 grep -v '^ *+' conftest.er1 >conftest.err
69273 rm -f conftest.er1
69274 cat conftest.err >&5
69275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276 (exit $ac_status); } &&
69277 { ac_try='test -z "$ac_cxx_werror_flag"
69278 || test ! -s conftest.err'
69279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69280 (eval $ac_try) 2>&5
69281 ac_status=$?
69282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69283 (exit $ac_status); }; } &&
69284 { ac_try='test -s conftest.$ac_objext'
69285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69286 (eval $ac_try) 2>&5
69287 ac_status=$?
69288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69289 (exit $ac_status); }; }; then
69290 glibcxx_cv_func_sqrtl_use=yes
69291 else
69292 echo "$as_me: failed program was:" >&5
69293 sed 's/^/| /' conftest.$ac_ext >&5
69295 glibcxx_cv_func_sqrtl_use=no
69297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69298 ac_ext=c
69299 ac_cpp='$CPP $CPPFLAGS'
69300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69309 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69311 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69313 for ac_func in sqrtl
69315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69316 echo "$as_me:$LINENO: checking for $ac_func" >&5
69317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69318 if eval "test \"\${$as_ac_var+set}\" = set"; then
69319 echo $ECHO_N "(cached) $ECHO_C" >&6
69320 else
69321 if test x$gcc_no_link = xyes; then
69322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69324 { (exit 1); exit 1; }; }
69326 cat >conftest.$ac_ext <<_ACEOF
69327 /* confdefs.h. */
69328 _ACEOF
69329 cat confdefs.h >>conftest.$ac_ext
69330 cat >>conftest.$ac_ext <<_ACEOF
69331 /* end confdefs.h. */
69332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69334 #define $ac_func innocuous_$ac_func
69336 /* System header to define __stub macros and hopefully few prototypes,
69337 which can conflict with char $ac_func (); below.
69338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69339 <limits.h> exists even on freestanding compilers. */
69341 #ifdef __STDC__
69342 # include <limits.h>
69343 #else
69344 # include <assert.h>
69345 #endif
69347 #undef $ac_func
69349 /* Override any gcc2 internal prototype to avoid an error. */
69350 #ifdef __cplusplus
69351 extern "C"
69353 #endif
69354 /* We use char because int might match the return type of a gcc2
69355 builtin and then its argument prototype would still apply. */
69356 char $ac_func ();
69357 /* The GNU C library defines this for functions which it implements
69358 to always fail with ENOSYS. Some functions are actually named
69359 something starting with __ and the normal name is an alias. */
69360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69361 choke me
69362 #else
69363 char (*f) () = $ac_func;
69364 #endif
69365 #ifdef __cplusplus
69367 #endif
69370 main ()
69372 return f != $ac_func;
69374 return 0;
69376 _ACEOF
69377 rm -f conftest.$ac_objext conftest$ac_exeext
69378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69379 (eval $ac_link) 2>conftest.er1
69380 ac_status=$?
69381 grep -v '^ *+' conftest.er1 >conftest.err
69382 rm -f conftest.er1
69383 cat conftest.err >&5
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); } &&
69386 { ac_try='test -z "$ac_c_werror_flag"
69387 || test ! -s conftest.err'
69388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69389 (eval $ac_try) 2>&5
69390 ac_status=$?
69391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69392 (exit $ac_status); }; } &&
69393 { ac_try='test -s conftest$ac_exeext'
69394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69395 (eval $ac_try) 2>&5
69396 ac_status=$?
69397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69398 (exit $ac_status); }; }; then
69399 eval "$as_ac_var=yes"
69400 else
69401 echo "$as_me: failed program was:" >&5
69402 sed 's/^/| /' conftest.$ac_ext >&5
69404 eval "$as_ac_var=no"
69406 rm -f conftest.err conftest.$ac_objext \
69407 conftest$ac_exeext conftest.$ac_ext
69409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69411 if test `eval echo '${'$as_ac_var'}'` = yes; then
69412 cat >>confdefs.h <<_ACEOF
69413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69414 _ACEOF
69417 done
69419 else
69421 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69422 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69423 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69424 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69425 echo $ECHO_N "(cached) $ECHO_C" >&6
69426 else
69430 ac_ext=cc
69431 ac_cpp='$CXXCPP $CPPFLAGS'
69432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69436 cat >conftest.$ac_ext <<_ACEOF
69437 /* confdefs.h. */
69438 _ACEOF
69439 cat confdefs.h >>conftest.$ac_ext
69440 cat >>conftest.$ac_ext <<_ACEOF
69441 /* end confdefs.h. */
69442 #include <math.h>
69443 #ifdef HAVE_IEEEFP_H
69444 #include <ieeefp.h>
69445 #endif
69448 main ()
69450 _sqrtl(0);
69452 return 0;
69454 _ACEOF
69455 rm -f conftest.$ac_objext
69456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69457 (eval $ac_compile) 2>conftest.er1
69458 ac_status=$?
69459 grep -v '^ *+' conftest.er1 >conftest.err
69460 rm -f conftest.er1
69461 cat conftest.err >&5
69462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69463 (exit $ac_status); } &&
69464 { ac_try='test -z "$ac_cxx_werror_flag"
69465 || test ! -s conftest.err'
69466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69467 (eval $ac_try) 2>&5
69468 ac_status=$?
69469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69470 (exit $ac_status); }; } &&
69471 { ac_try='test -s conftest.$ac_objext'
69472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69473 (eval $ac_try) 2>&5
69474 ac_status=$?
69475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69476 (exit $ac_status); }; }; then
69477 glibcxx_cv_func__sqrtl_use=yes
69478 else
69479 echo "$as_me: failed program was:" >&5
69480 sed 's/^/| /' conftest.$ac_ext >&5
69482 glibcxx_cv_func__sqrtl_use=no
69484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69485 ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69496 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69498 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69500 for ac_func in _sqrtl
69502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69503 echo "$as_me:$LINENO: checking for $ac_func" >&5
69504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69505 if eval "test \"\${$as_ac_var+set}\" = set"; then
69506 echo $ECHO_N "(cached) $ECHO_C" >&6
69507 else
69508 if test x$gcc_no_link = xyes; then
69509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69511 { (exit 1); exit 1; }; }
69513 cat >conftest.$ac_ext <<_ACEOF
69514 /* confdefs.h. */
69515 _ACEOF
69516 cat confdefs.h >>conftest.$ac_ext
69517 cat >>conftest.$ac_ext <<_ACEOF
69518 /* end confdefs.h. */
69519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69521 #define $ac_func innocuous_$ac_func
69523 /* System header to define __stub macros and hopefully few prototypes,
69524 which can conflict with char $ac_func (); below.
69525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69526 <limits.h> exists even on freestanding compilers. */
69528 #ifdef __STDC__
69529 # include <limits.h>
69530 #else
69531 # include <assert.h>
69532 #endif
69534 #undef $ac_func
69536 /* Override any gcc2 internal prototype to avoid an error. */
69537 #ifdef __cplusplus
69538 extern "C"
69540 #endif
69541 /* We use char because int might match the return type of a gcc2
69542 builtin and then its argument prototype would still apply. */
69543 char $ac_func ();
69544 /* The GNU C library defines this for functions which it implements
69545 to always fail with ENOSYS. Some functions are actually named
69546 something starting with __ and the normal name is an alias. */
69547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69548 choke me
69549 #else
69550 char (*f) () = $ac_func;
69551 #endif
69552 #ifdef __cplusplus
69554 #endif
69557 main ()
69559 return f != $ac_func;
69561 return 0;
69563 _ACEOF
69564 rm -f conftest.$ac_objext conftest$ac_exeext
69565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69566 (eval $ac_link) 2>conftest.er1
69567 ac_status=$?
69568 grep -v '^ *+' conftest.er1 >conftest.err
69569 rm -f conftest.er1
69570 cat conftest.err >&5
69571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69572 (exit $ac_status); } &&
69573 { ac_try='test -z "$ac_c_werror_flag"
69574 || test ! -s conftest.err'
69575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69576 (eval $ac_try) 2>&5
69577 ac_status=$?
69578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69579 (exit $ac_status); }; } &&
69580 { ac_try='test -s conftest$ac_exeext'
69581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69582 (eval $ac_try) 2>&5
69583 ac_status=$?
69584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69585 (exit $ac_status); }; }; then
69586 eval "$as_ac_var=yes"
69587 else
69588 echo "$as_me: failed program was:" >&5
69589 sed 's/^/| /' conftest.$ac_ext >&5
69591 eval "$as_ac_var=no"
69593 rm -f conftest.err conftest.$ac_objext \
69594 conftest$ac_exeext conftest.$ac_ext
69596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69598 if test `eval echo '${'$as_ac_var'}'` = yes; then
69599 cat >>confdefs.h <<_ACEOF
69600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69601 _ACEOF
69604 done
69614 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69615 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69616 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69617 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69618 echo $ECHO_N "(cached) $ECHO_C" >&6
69619 else
69623 ac_ext=cc
69624 ac_cpp='$CXXCPP $CPPFLAGS'
69625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69629 cat >conftest.$ac_ext <<_ACEOF
69630 /* confdefs.h. */
69631 _ACEOF
69632 cat confdefs.h >>conftest.$ac_ext
69633 cat >>conftest.$ac_ext <<_ACEOF
69634 /* end confdefs.h. */
69635 #include <math.h>
69637 main ()
69639 sincosl(0, 0, 0);
69641 return 0;
69643 _ACEOF
69644 rm -f conftest.$ac_objext
69645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69646 (eval $ac_compile) 2>conftest.er1
69647 ac_status=$?
69648 grep -v '^ *+' conftest.er1 >conftest.err
69649 rm -f conftest.er1
69650 cat conftest.err >&5
69651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69652 (exit $ac_status); } &&
69653 { ac_try='test -z "$ac_cxx_werror_flag"
69654 || test ! -s conftest.err'
69655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69656 (eval $ac_try) 2>&5
69657 ac_status=$?
69658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69659 (exit $ac_status); }; } &&
69660 { ac_try='test -s conftest.$ac_objext'
69661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69662 (eval $ac_try) 2>&5
69663 ac_status=$?
69664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665 (exit $ac_status); }; }; then
69666 glibcxx_cv_func_sincosl_use=yes
69667 else
69668 echo "$as_me: failed program was:" >&5
69669 sed 's/^/| /' conftest.$ac_ext >&5
69671 glibcxx_cv_func_sincosl_use=no
69673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69674 ac_ext=c
69675 ac_cpp='$CPP $CPPFLAGS'
69676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69685 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69687 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69689 for ac_func in sincosl
69691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69692 echo "$as_me:$LINENO: checking for $ac_func" >&5
69693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69694 if eval "test \"\${$as_ac_var+set}\" = set"; then
69695 echo $ECHO_N "(cached) $ECHO_C" >&6
69696 else
69697 if test x$gcc_no_link = xyes; then
69698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69700 { (exit 1); exit 1; }; }
69702 cat >conftest.$ac_ext <<_ACEOF
69703 /* confdefs.h. */
69704 _ACEOF
69705 cat confdefs.h >>conftest.$ac_ext
69706 cat >>conftest.$ac_ext <<_ACEOF
69707 /* end confdefs.h. */
69708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69710 #define $ac_func innocuous_$ac_func
69712 /* System header to define __stub macros and hopefully few prototypes,
69713 which can conflict with char $ac_func (); below.
69714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69715 <limits.h> exists even on freestanding compilers. */
69717 #ifdef __STDC__
69718 # include <limits.h>
69719 #else
69720 # include <assert.h>
69721 #endif
69723 #undef $ac_func
69725 /* Override any gcc2 internal prototype to avoid an error. */
69726 #ifdef __cplusplus
69727 extern "C"
69729 #endif
69730 /* We use char because int might match the return type of a gcc2
69731 builtin and then its argument prototype would still apply. */
69732 char $ac_func ();
69733 /* The GNU C library defines this for functions which it implements
69734 to always fail with ENOSYS. Some functions are actually named
69735 something starting with __ and the normal name is an alias. */
69736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69737 choke me
69738 #else
69739 char (*f) () = $ac_func;
69740 #endif
69741 #ifdef __cplusplus
69743 #endif
69746 main ()
69748 return f != $ac_func;
69750 return 0;
69752 _ACEOF
69753 rm -f conftest.$ac_objext conftest$ac_exeext
69754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69755 (eval $ac_link) 2>conftest.er1
69756 ac_status=$?
69757 grep -v '^ *+' conftest.er1 >conftest.err
69758 rm -f conftest.er1
69759 cat conftest.err >&5
69760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69761 (exit $ac_status); } &&
69762 { ac_try='test -z "$ac_c_werror_flag"
69763 || test ! -s conftest.err'
69764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69765 (eval $ac_try) 2>&5
69766 ac_status=$?
69767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69768 (exit $ac_status); }; } &&
69769 { ac_try='test -s conftest$ac_exeext'
69770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69771 (eval $ac_try) 2>&5
69772 ac_status=$?
69773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69774 (exit $ac_status); }; }; then
69775 eval "$as_ac_var=yes"
69776 else
69777 echo "$as_me: failed program was:" >&5
69778 sed 's/^/| /' conftest.$ac_ext >&5
69780 eval "$as_ac_var=no"
69782 rm -f conftest.err conftest.$ac_objext \
69783 conftest$ac_exeext conftest.$ac_ext
69785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69787 if test `eval echo '${'$as_ac_var'}'` = yes; then
69788 cat >>confdefs.h <<_ACEOF
69789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69790 _ACEOF
69793 done
69795 else
69797 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69798 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69799 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69800 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69801 echo $ECHO_N "(cached) $ECHO_C" >&6
69802 else
69806 ac_ext=cc
69807 ac_cpp='$CXXCPP $CPPFLAGS'
69808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69812 cat >conftest.$ac_ext <<_ACEOF
69813 /* confdefs.h. */
69814 _ACEOF
69815 cat confdefs.h >>conftest.$ac_ext
69816 cat >>conftest.$ac_ext <<_ACEOF
69817 /* end confdefs.h. */
69818 #include <math.h>
69820 main ()
69822 _sincosl(0, 0, 0);
69824 return 0;
69826 _ACEOF
69827 rm -f conftest.$ac_objext
69828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69829 (eval $ac_compile) 2>conftest.er1
69830 ac_status=$?
69831 grep -v '^ *+' conftest.er1 >conftest.err
69832 rm -f conftest.er1
69833 cat conftest.err >&5
69834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69835 (exit $ac_status); } &&
69836 { ac_try='test -z "$ac_cxx_werror_flag"
69837 || test ! -s conftest.err'
69838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69839 (eval $ac_try) 2>&5
69840 ac_status=$?
69841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69842 (exit $ac_status); }; } &&
69843 { ac_try='test -s conftest.$ac_objext'
69844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69845 (eval $ac_try) 2>&5
69846 ac_status=$?
69847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69848 (exit $ac_status); }; }; then
69849 glibcxx_cv_func__sincosl_use=yes
69850 else
69851 echo "$as_me: failed program was:" >&5
69852 sed 's/^/| /' conftest.$ac_ext >&5
69854 glibcxx_cv_func__sincosl_use=no
69856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69857 ac_ext=c
69858 ac_cpp='$CPP $CPPFLAGS'
69859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69868 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69870 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69872 for ac_func in _sincosl
69874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69875 echo "$as_me:$LINENO: checking for $ac_func" >&5
69876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69877 if eval "test \"\${$as_ac_var+set}\" = set"; then
69878 echo $ECHO_N "(cached) $ECHO_C" >&6
69879 else
69880 if test x$gcc_no_link = xyes; then
69881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69883 { (exit 1); exit 1; }; }
69885 cat >conftest.$ac_ext <<_ACEOF
69886 /* confdefs.h. */
69887 _ACEOF
69888 cat confdefs.h >>conftest.$ac_ext
69889 cat >>conftest.$ac_ext <<_ACEOF
69890 /* end confdefs.h. */
69891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69893 #define $ac_func innocuous_$ac_func
69895 /* System header to define __stub macros and hopefully few prototypes,
69896 which can conflict with char $ac_func (); below.
69897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69898 <limits.h> exists even on freestanding compilers. */
69900 #ifdef __STDC__
69901 # include <limits.h>
69902 #else
69903 # include <assert.h>
69904 #endif
69906 #undef $ac_func
69908 /* Override any gcc2 internal prototype to avoid an error. */
69909 #ifdef __cplusplus
69910 extern "C"
69912 #endif
69913 /* We use char because int might match the return type of a gcc2
69914 builtin and then its argument prototype would still apply. */
69915 char $ac_func ();
69916 /* The GNU C library defines this for functions which it implements
69917 to always fail with ENOSYS. Some functions are actually named
69918 something starting with __ and the normal name is an alias. */
69919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69920 choke me
69921 #else
69922 char (*f) () = $ac_func;
69923 #endif
69924 #ifdef __cplusplus
69926 #endif
69929 main ()
69931 return f != $ac_func;
69933 return 0;
69935 _ACEOF
69936 rm -f conftest.$ac_objext conftest$ac_exeext
69937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69938 (eval $ac_link) 2>conftest.er1
69939 ac_status=$?
69940 grep -v '^ *+' conftest.er1 >conftest.err
69941 rm -f conftest.er1
69942 cat conftest.err >&5
69943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944 (exit $ac_status); } &&
69945 { ac_try='test -z "$ac_c_werror_flag"
69946 || test ! -s conftest.err'
69947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69948 (eval $ac_try) 2>&5
69949 ac_status=$?
69950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69951 (exit $ac_status); }; } &&
69952 { ac_try='test -s conftest$ac_exeext'
69953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69954 (eval $ac_try) 2>&5
69955 ac_status=$?
69956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69957 (exit $ac_status); }; }; then
69958 eval "$as_ac_var=yes"
69959 else
69960 echo "$as_me: failed program was:" >&5
69961 sed 's/^/| /' conftest.$ac_ext >&5
69963 eval "$as_ac_var=no"
69965 rm -f conftest.err conftest.$ac_objext \
69966 conftest$ac_exeext conftest.$ac_ext
69968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69970 if test `eval echo '${'$as_ac_var'}'` = yes; then
69971 cat >>confdefs.h <<_ACEOF
69972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69973 _ACEOF
69976 done
69986 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69987 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69988 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69989 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69990 echo $ECHO_N "(cached) $ECHO_C" >&6
69991 else
69995 ac_ext=cc
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70001 cat >conftest.$ac_ext <<_ACEOF
70002 /* confdefs.h. */
70003 _ACEOF
70004 cat confdefs.h >>conftest.$ac_ext
70005 cat >>conftest.$ac_ext <<_ACEOF
70006 /* end confdefs.h. */
70007 #include <math.h>
70008 #ifdef HAVE_IEEEFP_H
70009 #include <ieeefp.h>
70010 #endif
70013 main ()
70015 finitel(0);
70017 return 0;
70019 _ACEOF
70020 rm -f conftest.$ac_objext
70021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70022 (eval $ac_compile) 2>conftest.er1
70023 ac_status=$?
70024 grep -v '^ *+' conftest.er1 >conftest.err
70025 rm -f conftest.er1
70026 cat conftest.err >&5
70027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70028 (exit $ac_status); } &&
70029 { ac_try='test -z "$ac_cxx_werror_flag"
70030 || test ! -s conftest.err'
70031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70032 (eval $ac_try) 2>&5
70033 ac_status=$?
70034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70035 (exit $ac_status); }; } &&
70036 { ac_try='test -s conftest.$ac_objext'
70037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70038 (eval $ac_try) 2>&5
70039 ac_status=$?
70040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70041 (exit $ac_status); }; }; then
70042 glibcxx_cv_func_finitel_use=yes
70043 else
70044 echo "$as_me: failed program was:" >&5
70045 sed 's/^/| /' conftest.$ac_ext >&5
70047 glibcxx_cv_func_finitel_use=no
70049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70050 ac_ext=c
70051 ac_cpp='$CPP $CPPFLAGS'
70052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70061 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70063 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70065 for ac_func in finitel
70067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70068 echo "$as_me:$LINENO: checking for $ac_func" >&5
70069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70070 if eval "test \"\${$as_ac_var+set}\" = set"; then
70071 echo $ECHO_N "(cached) $ECHO_C" >&6
70072 else
70073 if test x$gcc_no_link = xyes; then
70074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70076 { (exit 1); exit 1; }; }
70078 cat >conftest.$ac_ext <<_ACEOF
70079 /* confdefs.h. */
70080 _ACEOF
70081 cat confdefs.h >>conftest.$ac_ext
70082 cat >>conftest.$ac_ext <<_ACEOF
70083 /* end confdefs.h. */
70084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70086 #define $ac_func innocuous_$ac_func
70088 /* System header to define __stub macros and hopefully few prototypes,
70089 which can conflict with char $ac_func (); below.
70090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70091 <limits.h> exists even on freestanding compilers. */
70093 #ifdef __STDC__
70094 # include <limits.h>
70095 #else
70096 # include <assert.h>
70097 #endif
70099 #undef $ac_func
70101 /* Override any gcc2 internal prototype to avoid an error. */
70102 #ifdef __cplusplus
70103 extern "C"
70105 #endif
70106 /* We use char because int might match the return type of a gcc2
70107 builtin and then its argument prototype would still apply. */
70108 char $ac_func ();
70109 /* The GNU C library defines this for functions which it implements
70110 to always fail with ENOSYS. Some functions are actually named
70111 something starting with __ and the normal name is an alias. */
70112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70113 choke me
70114 #else
70115 char (*f) () = $ac_func;
70116 #endif
70117 #ifdef __cplusplus
70119 #endif
70122 main ()
70124 return f != $ac_func;
70126 return 0;
70128 _ACEOF
70129 rm -f conftest.$ac_objext conftest$ac_exeext
70130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70131 (eval $ac_link) 2>conftest.er1
70132 ac_status=$?
70133 grep -v '^ *+' conftest.er1 >conftest.err
70134 rm -f conftest.er1
70135 cat conftest.err >&5
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); } &&
70138 { ac_try='test -z "$ac_c_werror_flag"
70139 || test ! -s conftest.err'
70140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70141 (eval $ac_try) 2>&5
70142 ac_status=$?
70143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70144 (exit $ac_status); }; } &&
70145 { ac_try='test -s conftest$ac_exeext'
70146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70147 (eval $ac_try) 2>&5
70148 ac_status=$?
70149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70150 (exit $ac_status); }; }; then
70151 eval "$as_ac_var=yes"
70152 else
70153 echo "$as_me: failed program was:" >&5
70154 sed 's/^/| /' conftest.$ac_ext >&5
70156 eval "$as_ac_var=no"
70158 rm -f conftest.err conftest.$ac_objext \
70159 conftest$ac_exeext conftest.$ac_ext
70161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70163 if test `eval echo '${'$as_ac_var'}'` = yes; then
70164 cat >>confdefs.h <<_ACEOF
70165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70166 _ACEOF
70169 done
70171 else
70173 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70174 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70175 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70176 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70177 echo $ECHO_N "(cached) $ECHO_C" >&6
70178 else
70182 ac_ext=cc
70183 ac_cpp='$CXXCPP $CPPFLAGS'
70184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70188 cat >conftest.$ac_ext <<_ACEOF
70189 /* confdefs.h. */
70190 _ACEOF
70191 cat confdefs.h >>conftest.$ac_ext
70192 cat >>conftest.$ac_ext <<_ACEOF
70193 /* end confdefs.h. */
70194 #include <math.h>
70195 #ifdef HAVE_IEEEFP_H
70196 #include <ieeefp.h>
70197 #endif
70200 main ()
70202 _finitel(0);
70204 return 0;
70206 _ACEOF
70207 rm -f conftest.$ac_objext
70208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70209 (eval $ac_compile) 2>conftest.er1
70210 ac_status=$?
70211 grep -v '^ *+' conftest.er1 >conftest.err
70212 rm -f conftest.er1
70213 cat conftest.err >&5
70214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70215 (exit $ac_status); } &&
70216 { ac_try='test -z "$ac_cxx_werror_flag"
70217 || test ! -s conftest.err'
70218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70219 (eval $ac_try) 2>&5
70220 ac_status=$?
70221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70222 (exit $ac_status); }; } &&
70223 { ac_try='test -s conftest.$ac_objext'
70224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70225 (eval $ac_try) 2>&5
70226 ac_status=$?
70227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70228 (exit $ac_status); }; }; then
70229 glibcxx_cv_func__finitel_use=yes
70230 else
70231 echo "$as_me: failed program was:" >&5
70232 sed 's/^/| /' conftest.$ac_ext >&5
70234 glibcxx_cv_func__finitel_use=no
70236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70237 ac_ext=c
70238 ac_cpp='$CPP $CPPFLAGS'
70239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70248 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70250 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70252 for ac_func in _finitel
70254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70255 echo "$as_me:$LINENO: checking for $ac_func" >&5
70256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70257 if eval "test \"\${$as_ac_var+set}\" = set"; then
70258 echo $ECHO_N "(cached) $ECHO_C" >&6
70259 else
70260 if test x$gcc_no_link = xyes; then
70261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70263 { (exit 1); exit 1; }; }
70265 cat >conftest.$ac_ext <<_ACEOF
70266 /* confdefs.h. */
70267 _ACEOF
70268 cat confdefs.h >>conftest.$ac_ext
70269 cat >>conftest.$ac_ext <<_ACEOF
70270 /* end confdefs.h. */
70271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70273 #define $ac_func innocuous_$ac_func
70275 /* System header to define __stub macros and hopefully few prototypes,
70276 which can conflict with char $ac_func (); below.
70277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70278 <limits.h> exists even on freestanding compilers. */
70280 #ifdef __STDC__
70281 # include <limits.h>
70282 #else
70283 # include <assert.h>
70284 #endif
70286 #undef $ac_func
70288 /* Override any gcc2 internal prototype to avoid an error. */
70289 #ifdef __cplusplus
70290 extern "C"
70292 #endif
70293 /* We use char because int might match the return type of a gcc2
70294 builtin and then its argument prototype would still apply. */
70295 char $ac_func ();
70296 /* The GNU C library defines this for functions which it implements
70297 to always fail with ENOSYS. Some functions are actually named
70298 something starting with __ and the normal name is an alias. */
70299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70300 choke me
70301 #else
70302 char (*f) () = $ac_func;
70303 #endif
70304 #ifdef __cplusplus
70306 #endif
70309 main ()
70311 return f != $ac_func;
70313 return 0;
70315 _ACEOF
70316 rm -f conftest.$ac_objext conftest$ac_exeext
70317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70318 (eval $ac_link) 2>conftest.er1
70319 ac_status=$?
70320 grep -v '^ *+' conftest.er1 >conftest.err
70321 rm -f conftest.er1
70322 cat conftest.err >&5
70323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324 (exit $ac_status); } &&
70325 { ac_try='test -z "$ac_c_werror_flag"
70326 || test ! -s conftest.err'
70327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70328 (eval $ac_try) 2>&5
70329 ac_status=$?
70330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70331 (exit $ac_status); }; } &&
70332 { ac_try='test -s conftest$ac_exeext'
70333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70334 (eval $ac_try) 2>&5
70335 ac_status=$?
70336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337 (exit $ac_status); }; }; then
70338 eval "$as_ac_var=yes"
70339 else
70340 echo "$as_me: failed program was:" >&5
70341 sed 's/^/| /' conftest.$ac_ext >&5
70343 eval "$as_ac_var=no"
70345 rm -f conftest.err conftest.$ac_objext \
70346 conftest$ac_exeext conftest.$ac_ext
70348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70350 if test `eval echo '${'$as_ac_var'}'` = yes; then
70351 cat >>confdefs.h <<_ACEOF
70352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70353 _ACEOF
70356 done
70365 LIBS="$ac_save_LIBS"
70366 CXXFLAGS="$ac_save_CXXFLAGS"
70370 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70371 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70372 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70373 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70374 echo $ECHO_N "(cached) $ECHO_C" >&6
70375 else
70379 ac_ext=cc
70380 ac_cpp='$CXXCPP $CPPFLAGS'
70381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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_abs(0);
70397 return 0;
70399 _ACEOF
70400 rm -f conftest.$ac_objext
70401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70402 (eval $ac_compile) 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_cxx_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_objext'
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_abs_use=yes
70423 else
70424 echo "$as_me: failed program was:" >&5
70425 sed 's/^/| /' conftest.$ac_ext >&5
70427 glibcxx_cv_func___builtin_abs_use=no
70429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70430 ac_ext=c
70431 ac_cpp='$CPP $CPPFLAGS'
70432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70441 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70442 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70443 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70444 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70445 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70446 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70447 echo $ECHO_N "(cached) $ECHO_C" >&6
70448 else
70450 if test x$gcc_no_link = xyes; then
70451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70453 { (exit 1); exit 1; }; }
70455 cat >conftest.$ac_ext <<_ACEOF
70456 /* confdefs.h. */
70457 _ACEOF
70458 cat confdefs.h >>conftest.$ac_ext
70459 cat >>conftest.$ac_ext <<_ACEOF
70460 /* end confdefs.h. */
70461 #include <math.h>
70463 main ()
70465 __builtin_abs(0);
70467 return 0;
70469 _ACEOF
70470 rm -f conftest.$ac_objext conftest$ac_exeext
70471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70472 (eval $ac_link) 2>conftest.er1
70473 ac_status=$?
70474 grep -v '^ *+' conftest.er1 >conftest.err
70475 rm -f conftest.er1
70476 cat conftest.err >&5
70477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70478 (exit $ac_status); } &&
70479 { ac_try='test -z "$ac_c_werror_flag"
70480 || test ! -s conftest.err'
70481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70482 (eval $ac_try) 2>&5
70483 ac_status=$?
70484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70485 (exit $ac_status); }; } &&
70486 { ac_try='test -s conftest$ac_exeext'
70487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70488 (eval $ac_try) 2>&5
70489 ac_status=$?
70490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70491 (exit $ac_status); }; }; then
70492 glibcxx_cv_func___builtin_abs_link=yes
70493 else
70494 echo "$as_me: failed program was:" >&5
70495 sed 's/^/| /' conftest.$ac_ext >&5
70497 glibcxx_cv_func___builtin_abs_link=no
70499 rm -f conftest.err conftest.$ac_objext \
70500 conftest$ac_exeext conftest.$ac_ext
70505 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70506 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70508 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70510 cat >>confdefs.h <<\_ACEOF
70511 #define HAVE___BUILTIN_ABS 1
70512 _ACEOF
70519 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70520 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70521 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70522 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70523 echo $ECHO_N "(cached) $ECHO_C" >&6
70524 else
70528 ac_ext=cc
70529 ac_cpp='$CXXCPP $CPPFLAGS'
70530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70534 cat >conftest.$ac_ext <<_ACEOF
70535 /* confdefs.h. */
70536 _ACEOF
70537 cat confdefs.h >>conftest.$ac_ext
70538 cat >>conftest.$ac_ext <<_ACEOF
70539 /* end confdefs.h. */
70540 #include <math.h>
70542 main ()
70544 __builtin_fabsf(0);
70546 return 0;
70548 _ACEOF
70549 rm -f conftest.$ac_objext
70550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70551 (eval $ac_compile) 2>conftest.er1
70552 ac_status=$?
70553 grep -v '^ *+' conftest.er1 >conftest.err
70554 rm -f conftest.er1
70555 cat conftest.err >&5
70556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70557 (exit $ac_status); } &&
70558 { ac_try='test -z "$ac_cxx_werror_flag"
70559 || test ! -s conftest.err'
70560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70561 (eval $ac_try) 2>&5
70562 ac_status=$?
70563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70564 (exit $ac_status); }; } &&
70565 { ac_try='test -s conftest.$ac_objext'
70566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70567 (eval $ac_try) 2>&5
70568 ac_status=$?
70569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570 (exit $ac_status); }; }; then
70571 glibcxx_cv_func___builtin_fabsf_use=yes
70572 else
70573 echo "$as_me: failed program was:" >&5
70574 sed 's/^/| /' conftest.$ac_ext >&5
70576 glibcxx_cv_func___builtin_fabsf_use=no
70578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70579 ac_ext=c
70580 ac_cpp='$CPP $CPPFLAGS'
70581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70590 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70591 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70592 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70593 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70594 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70595 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70596 echo $ECHO_N "(cached) $ECHO_C" >&6
70597 else
70599 if test x$gcc_no_link = xyes; then
70600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70602 { (exit 1); exit 1; }; }
70604 cat >conftest.$ac_ext <<_ACEOF
70605 /* confdefs.h. */
70606 _ACEOF
70607 cat confdefs.h >>conftest.$ac_ext
70608 cat >>conftest.$ac_ext <<_ACEOF
70609 /* end confdefs.h. */
70610 #include <math.h>
70612 main ()
70614 __builtin_fabsf(0);
70616 return 0;
70618 _ACEOF
70619 rm -f conftest.$ac_objext conftest$ac_exeext
70620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70621 (eval $ac_link) 2>conftest.er1
70622 ac_status=$?
70623 grep -v '^ *+' conftest.er1 >conftest.err
70624 rm -f conftest.er1
70625 cat conftest.err >&5
70626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70627 (exit $ac_status); } &&
70628 { ac_try='test -z "$ac_c_werror_flag"
70629 || test ! -s conftest.err'
70630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70631 (eval $ac_try) 2>&5
70632 ac_status=$?
70633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70634 (exit $ac_status); }; } &&
70635 { ac_try='test -s conftest$ac_exeext'
70636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70637 (eval $ac_try) 2>&5
70638 ac_status=$?
70639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70640 (exit $ac_status); }; }; then
70641 glibcxx_cv_func___builtin_fabsf_link=yes
70642 else
70643 echo "$as_me: failed program was:" >&5
70644 sed 's/^/| /' conftest.$ac_ext >&5
70646 glibcxx_cv_func___builtin_fabsf_link=no
70648 rm -f conftest.err conftest.$ac_objext \
70649 conftest$ac_exeext conftest.$ac_ext
70654 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70655 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70657 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70659 cat >>confdefs.h <<\_ACEOF
70660 #define HAVE___BUILTIN_FABSF 1
70661 _ACEOF
70668 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70669 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70670 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70671 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70672 echo $ECHO_N "(cached) $ECHO_C" >&6
70673 else
70677 ac_ext=cc
70678 ac_cpp='$CXXCPP $CPPFLAGS'
70679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70683 cat >conftest.$ac_ext <<_ACEOF
70684 /* confdefs.h. */
70685 _ACEOF
70686 cat confdefs.h >>conftest.$ac_ext
70687 cat >>conftest.$ac_ext <<_ACEOF
70688 /* end confdefs.h. */
70689 #include <math.h>
70691 main ()
70693 __builtin_fabs(0);
70695 return 0;
70697 _ACEOF
70698 rm -f conftest.$ac_objext
70699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70700 (eval $ac_compile) 2>conftest.er1
70701 ac_status=$?
70702 grep -v '^ *+' conftest.er1 >conftest.err
70703 rm -f conftest.er1
70704 cat conftest.err >&5
70705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70706 (exit $ac_status); } &&
70707 { ac_try='test -z "$ac_cxx_werror_flag"
70708 || test ! -s conftest.err'
70709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70710 (eval $ac_try) 2>&5
70711 ac_status=$?
70712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70713 (exit $ac_status); }; } &&
70714 { ac_try='test -s conftest.$ac_objext'
70715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70716 (eval $ac_try) 2>&5
70717 ac_status=$?
70718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70719 (exit $ac_status); }; }; then
70720 glibcxx_cv_func___builtin_fabs_use=yes
70721 else
70722 echo "$as_me: failed program was:" >&5
70723 sed 's/^/| /' conftest.$ac_ext >&5
70725 glibcxx_cv_func___builtin_fabs_use=no
70727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70728 ac_ext=c
70729 ac_cpp='$CPP $CPPFLAGS'
70730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70739 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70740 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70741 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70742 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70743 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70744 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70745 echo $ECHO_N "(cached) $ECHO_C" >&6
70746 else
70748 if test x$gcc_no_link = xyes; then
70749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70751 { (exit 1); exit 1; }; }
70753 cat >conftest.$ac_ext <<_ACEOF
70754 /* confdefs.h. */
70755 _ACEOF
70756 cat confdefs.h >>conftest.$ac_ext
70757 cat >>conftest.$ac_ext <<_ACEOF
70758 /* end confdefs.h. */
70759 #include <math.h>
70761 main ()
70763 __builtin_fabs(0);
70765 return 0;
70767 _ACEOF
70768 rm -f conftest.$ac_objext conftest$ac_exeext
70769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70770 (eval $ac_link) 2>conftest.er1
70771 ac_status=$?
70772 grep -v '^ *+' conftest.er1 >conftest.err
70773 rm -f conftest.er1
70774 cat conftest.err >&5
70775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70776 (exit $ac_status); } &&
70777 { ac_try='test -z "$ac_c_werror_flag"
70778 || test ! -s conftest.err'
70779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70780 (eval $ac_try) 2>&5
70781 ac_status=$?
70782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70783 (exit $ac_status); }; } &&
70784 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
70790 glibcxx_cv_func___builtin_fabs_link=yes
70791 else
70792 echo "$as_me: failed program was:" >&5
70793 sed 's/^/| /' conftest.$ac_ext >&5
70795 glibcxx_cv_func___builtin_fabs_link=no
70797 rm -f conftest.err conftest.$ac_objext \
70798 conftest$ac_exeext conftest.$ac_ext
70803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70804 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70806 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70808 cat >>confdefs.h <<\_ACEOF
70809 #define HAVE___BUILTIN_FABS 1
70810 _ACEOF
70817 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70818 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70819 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70820 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70821 echo $ECHO_N "(cached) $ECHO_C" >&6
70822 else
70826 ac_ext=cc
70827 ac_cpp='$CXXCPP $CPPFLAGS'
70828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
70840 main ()
70842 __builtin_fabsl(0);
70844 return 0;
70846 _ACEOF
70847 rm -f conftest.$ac_objext
70848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70849 (eval $ac_compile) 2>conftest.er1
70850 ac_status=$?
70851 grep -v '^ *+' conftest.er1 >conftest.err
70852 rm -f conftest.er1
70853 cat conftest.err >&5
70854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70855 (exit $ac_status); } &&
70856 { ac_try='test -z "$ac_cxx_werror_flag"
70857 || test ! -s conftest.err'
70858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70859 (eval $ac_try) 2>&5
70860 ac_status=$?
70861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70862 (exit $ac_status); }; } &&
70863 { ac_try='test -s conftest.$ac_objext'
70864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70865 (eval $ac_try) 2>&5
70866 ac_status=$?
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); }; }; then
70869 glibcxx_cv_func___builtin_fabsl_use=yes
70870 else
70871 echo "$as_me: failed program was:" >&5
70872 sed 's/^/| /' conftest.$ac_ext >&5
70874 glibcxx_cv_func___builtin_fabsl_use=no
70876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70877 ac_ext=c
70878 ac_cpp='$CPP $CPPFLAGS'
70879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70889 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70890 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70891 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70892 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70893 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70894 echo $ECHO_N "(cached) $ECHO_C" >&6
70895 else
70897 if test x$gcc_no_link = xyes; then
70898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70900 { (exit 1); exit 1; }; }
70902 cat >conftest.$ac_ext <<_ACEOF
70903 /* confdefs.h. */
70904 _ACEOF
70905 cat confdefs.h >>conftest.$ac_ext
70906 cat >>conftest.$ac_ext <<_ACEOF
70907 /* end confdefs.h. */
70908 #include <math.h>
70910 main ()
70912 __builtin_fabsl(0);
70914 return 0;
70916 _ACEOF
70917 rm -f conftest.$ac_objext conftest$ac_exeext
70918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70919 (eval $ac_link) 2>conftest.er1
70920 ac_status=$?
70921 grep -v '^ *+' conftest.er1 >conftest.err
70922 rm -f conftest.er1
70923 cat conftest.err >&5
70924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70925 (exit $ac_status); } &&
70926 { ac_try='test -z "$ac_c_werror_flag"
70927 || test ! -s conftest.err'
70928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70929 (eval $ac_try) 2>&5
70930 ac_status=$?
70931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70932 (exit $ac_status); }; } &&
70933 { ac_try='test -s conftest$ac_exeext'
70934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70935 (eval $ac_try) 2>&5
70936 ac_status=$?
70937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70938 (exit $ac_status); }; }; then
70939 glibcxx_cv_func___builtin_fabsl_link=yes
70940 else
70941 echo "$as_me: failed program was:" >&5
70942 sed 's/^/| /' conftest.$ac_ext >&5
70944 glibcxx_cv_func___builtin_fabsl_link=no
70946 rm -f conftest.err conftest.$ac_objext \
70947 conftest$ac_exeext conftest.$ac_ext
70952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70955 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70957 cat >>confdefs.h <<\_ACEOF
70958 #define HAVE___BUILTIN_FABSL 1
70959 _ACEOF
70966 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70967 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70968 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70969 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70970 echo $ECHO_N "(cached) $ECHO_C" >&6
70971 else
70975 ac_ext=cc
70976 ac_cpp='$CXXCPP $CPPFLAGS'
70977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70981 cat >conftest.$ac_ext <<_ACEOF
70982 /* confdefs.h. */
70983 _ACEOF
70984 cat confdefs.h >>conftest.$ac_ext
70985 cat >>conftest.$ac_ext <<_ACEOF
70986 /* end confdefs.h. */
70987 #include <math.h>
70989 main ()
70991 __builtin_labs(0);
70993 return 0;
70995 _ACEOF
70996 rm -f conftest.$ac_objext
70997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70998 (eval $ac_compile) 2>conftest.er1
70999 ac_status=$?
71000 grep -v '^ *+' conftest.er1 >conftest.err
71001 rm -f conftest.er1
71002 cat conftest.err >&5
71003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71004 (exit $ac_status); } &&
71005 { ac_try='test -z "$ac_cxx_werror_flag"
71006 || test ! -s conftest.err'
71007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71008 (eval $ac_try) 2>&5
71009 ac_status=$?
71010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71011 (exit $ac_status); }; } &&
71012 { ac_try='test -s conftest.$ac_objext'
71013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71014 (eval $ac_try) 2>&5
71015 ac_status=$?
71016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71017 (exit $ac_status); }; }; then
71018 glibcxx_cv_func___builtin_labs_use=yes
71019 else
71020 echo "$as_me: failed program was:" >&5
71021 sed 's/^/| /' conftest.$ac_ext >&5
71023 glibcxx_cv_func___builtin_labs_use=no
71025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71026 ac_ext=c
71027 ac_cpp='$CPP $CPPFLAGS'
71028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71037 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71038 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71039 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71040 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71041 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71042 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71043 echo $ECHO_N "(cached) $ECHO_C" >&6
71044 else
71046 if test x$gcc_no_link = xyes; then
71047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71049 { (exit 1); exit 1; }; }
71051 cat >conftest.$ac_ext <<_ACEOF
71052 /* confdefs.h. */
71053 _ACEOF
71054 cat confdefs.h >>conftest.$ac_ext
71055 cat >>conftest.$ac_ext <<_ACEOF
71056 /* end confdefs.h. */
71057 #include <math.h>
71059 main ()
71061 __builtin_labs(0);
71063 return 0;
71065 _ACEOF
71066 rm -f conftest.$ac_objext conftest$ac_exeext
71067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71068 (eval $ac_link) 2>conftest.er1
71069 ac_status=$?
71070 grep -v '^ *+' conftest.er1 >conftest.err
71071 rm -f conftest.er1
71072 cat conftest.err >&5
71073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71074 (exit $ac_status); } &&
71075 { ac_try='test -z "$ac_c_werror_flag"
71076 || test ! -s conftest.err'
71077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71078 (eval $ac_try) 2>&5
71079 ac_status=$?
71080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71081 (exit $ac_status); }; } &&
71082 { ac_try='test -s conftest$ac_exeext'
71083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71084 (eval $ac_try) 2>&5
71085 ac_status=$?
71086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71087 (exit $ac_status); }; }; then
71088 glibcxx_cv_func___builtin_labs_link=yes
71089 else
71090 echo "$as_me: failed program was:" >&5
71091 sed 's/^/| /' conftest.$ac_ext >&5
71093 glibcxx_cv_func___builtin_labs_link=no
71095 rm -f conftest.err conftest.$ac_objext \
71096 conftest$ac_exeext conftest.$ac_ext
71101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71102 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71104 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71106 cat >>confdefs.h <<\_ACEOF
71107 #define HAVE___BUILTIN_LABS 1
71108 _ACEOF
71116 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71117 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71118 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71119 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71120 echo $ECHO_N "(cached) $ECHO_C" >&6
71121 else
71125 ac_ext=cc
71126 ac_cpp='$CXXCPP $CPPFLAGS'
71127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71131 cat >conftest.$ac_ext <<_ACEOF
71132 /* confdefs.h. */
71133 _ACEOF
71134 cat confdefs.h >>conftest.$ac_ext
71135 cat >>conftest.$ac_ext <<_ACEOF
71136 /* end confdefs.h. */
71137 #include <math.h>
71139 main ()
71141 __builtin_sqrtf(0);
71143 return 0;
71145 _ACEOF
71146 rm -f conftest.$ac_objext
71147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71148 (eval $ac_compile) 2>conftest.er1
71149 ac_status=$?
71150 grep -v '^ *+' conftest.er1 >conftest.err
71151 rm -f conftest.er1
71152 cat conftest.err >&5
71153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71154 (exit $ac_status); } &&
71155 { ac_try='test -z "$ac_cxx_werror_flag"
71156 || test ! -s conftest.err'
71157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71158 (eval $ac_try) 2>&5
71159 ac_status=$?
71160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71161 (exit $ac_status); }; } &&
71162 { ac_try='test -s conftest.$ac_objext'
71163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71164 (eval $ac_try) 2>&5
71165 ac_status=$?
71166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71167 (exit $ac_status); }; }; then
71168 glibcxx_cv_func___builtin_sqrtf_use=yes
71169 else
71170 echo "$as_me: failed program was:" >&5
71171 sed 's/^/| /' conftest.$ac_ext >&5
71173 glibcxx_cv_func___builtin_sqrtf_use=no
71175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71176 ac_ext=c
71177 ac_cpp='$CPP $CPPFLAGS'
71178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71187 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71188 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71189 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71190 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71191 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71192 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71193 echo $ECHO_N "(cached) $ECHO_C" >&6
71194 else
71196 if test x$gcc_no_link = xyes; then
71197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71199 { (exit 1); exit 1; }; }
71201 cat >conftest.$ac_ext <<_ACEOF
71202 /* confdefs.h. */
71203 _ACEOF
71204 cat confdefs.h >>conftest.$ac_ext
71205 cat >>conftest.$ac_ext <<_ACEOF
71206 /* end confdefs.h. */
71207 #include <math.h>
71209 main ()
71211 __builtin_sqrtf(0);
71213 return 0;
71215 _ACEOF
71216 rm -f conftest.$ac_objext conftest$ac_exeext
71217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71218 (eval $ac_link) 2>conftest.er1
71219 ac_status=$?
71220 grep -v '^ *+' conftest.er1 >conftest.err
71221 rm -f conftest.er1
71222 cat conftest.err >&5
71223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71224 (exit $ac_status); } &&
71225 { ac_try='test -z "$ac_c_werror_flag"
71226 || test ! -s conftest.err'
71227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71228 (eval $ac_try) 2>&5
71229 ac_status=$?
71230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71231 (exit $ac_status); }; } &&
71232 { ac_try='test -s conftest$ac_exeext'
71233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71234 (eval $ac_try) 2>&5
71235 ac_status=$?
71236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237 (exit $ac_status); }; }; then
71238 glibcxx_cv_func___builtin_sqrtf_link=yes
71239 else
71240 echo "$as_me: failed program was:" >&5
71241 sed 's/^/| /' conftest.$ac_ext >&5
71243 glibcxx_cv_func___builtin_sqrtf_link=no
71245 rm -f conftest.err conftest.$ac_objext \
71246 conftest$ac_exeext conftest.$ac_ext
71251 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71252 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71254 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71256 cat >>confdefs.h <<\_ACEOF
71257 #define HAVE___BUILTIN_SQRTF 1
71258 _ACEOF
71265 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71266 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71267 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71268 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71269 echo $ECHO_N "(cached) $ECHO_C" >&6
71270 else
71274 ac_ext=cc
71275 ac_cpp='$CXXCPP $CPPFLAGS'
71276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71280 cat >conftest.$ac_ext <<_ACEOF
71281 /* confdefs.h. */
71282 _ACEOF
71283 cat confdefs.h >>conftest.$ac_ext
71284 cat >>conftest.$ac_ext <<_ACEOF
71285 /* end confdefs.h. */
71286 #include <math.h>
71288 main ()
71290 __builtin_sqrt(0);
71292 return 0;
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_cxx_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 glibcxx_cv_func___builtin_sqrt_use=yes
71318 else
71319 echo "$as_me: failed program was:" >&5
71320 sed 's/^/| /' conftest.$ac_ext >&5
71322 glibcxx_cv_func___builtin_sqrt_use=no
71324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71325 ac_ext=c
71326 ac_cpp='$CPP $CPPFLAGS'
71327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71336 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71337 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71338 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71339 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71340 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71341 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71342 echo $ECHO_N "(cached) $ECHO_C" >&6
71343 else
71345 if test x$gcc_no_link = xyes; then
71346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71348 { (exit 1); exit 1; }; }
71350 cat >conftest.$ac_ext <<_ACEOF
71351 /* confdefs.h. */
71352 _ACEOF
71353 cat confdefs.h >>conftest.$ac_ext
71354 cat >>conftest.$ac_ext <<_ACEOF
71355 /* end confdefs.h. */
71356 #include <math.h>
71358 main ()
71360 __builtin_sqrt(0);
71362 return 0;
71364 _ACEOF
71365 rm -f conftest.$ac_objext conftest$ac_exeext
71366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71367 (eval $ac_link) 2>conftest.er1
71368 ac_status=$?
71369 grep -v '^ *+' conftest.er1 >conftest.err
71370 rm -f conftest.er1
71371 cat conftest.err >&5
71372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71373 (exit $ac_status); } &&
71374 { ac_try='test -z "$ac_c_werror_flag"
71375 || test ! -s conftest.err'
71376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71377 (eval $ac_try) 2>&5
71378 ac_status=$?
71379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71380 (exit $ac_status); }; } &&
71381 { ac_try='test -s conftest$ac_exeext'
71382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71383 (eval $ac_try) 2>&5
71384 ac_status=$?
71385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71386 (exit $ac_status); }; }; then
71387 glibcxx_cv_func___builtin_sqrt_link=yes
71388 else
71389 echo "$as_me: failed program was:" >&5
71390 sed 's/^/| /' conftest.$ac_ext >&5
71392 glibcxx_cv_func___builtin_sqrt_link=no
71394 rm -f conftest.err conftest.$ac_objext \
71395 conftest$ac_exeext conftest.$ac_ext
71400 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71401 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71403 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71405 cat >>confdefs.h <<\_ACEOF
71406 #define HAVE___BUILTIN_SQRT 1
71407 _ACEOF
71414 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71415 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71416 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71417 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71418 echo $ECHO_N "(cached) $ECHO_C" >&6
71419 else
71423 ac_ext=cc
71424 ac_cpp='$CXXCPP $CPPFLAGS'
71425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71429 cat >conftest.$ac_ext <<_ACEOF
71430 /* confdefs.h. */
71431 _ACEOF
71432 cat confdefs.h >>conftest.$ac_ext
71433 cat >>conftest.$ac_ext <<_ACEOF
71434 /* end confdefs.h. */
71435 #include <math.h>
71437 main ()
71439 __builtin_sqrtl(0);
71441 return 0;
71443 _ACEOF
71444 rm -f conftest.$ac_objext
71445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71446 (eval $ac_compile) 2>conftest.er1
71447 ac_status=$?
71448 grep -v '^ *+' conftest.er1 >conftest.err
71449 rm -f conftest.er1
71450 cat conftest.err >&5
71451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71452 (exit $ac_status); } &&
71453 { ac_try='test -z "$ac_cxx_werror_flag"
71454 || test ! -s conftest.err'
71455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71456 (eval $ac_try) 2>&5
71457 ac_status=$?
71458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71459 (exit $ac_status); }; } &&
71460 { ac_try='test -s conftest.$ac_objext'
71461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71462 (eval $ac_try) 2>&5
71463 ac_status=$?
71464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71465 (exit $ac_status); }; }; then
71466 glibcxx_cv_func___builtin_sqrtl_use=yes
71467 else
71468 echo "$as_me: failed program was:" >&5
71469 sed 's/^/| /' conftest.$ac_ext >&5
71471 glibcxx_cv_func___builtin_sqrtl_use=no
71473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71474 ac_ext=c
71475 ac_cpp='$CPP $CPPFLAGS'
71476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71485 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71486 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71487 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71488 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71489 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71490 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71491 echo $ECHO_N "(cached) $ECHO_C" >&6
71492 else
71494 if test x$gcc_no_link = xyes; then
71495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71497 { (exit 1); exit 1; }; }
71499 cat >conftest.$ac_ext <<_ACEOF
71500 /* confdefs.h. */
71501 _ACEOF
71502 cat confdefs.h >>conftest.$ac_ext
71503 cat >>conftest.$ac_ext <<_ACEOF
71504 /* end confdefs.h. */
71505 #include <math.h>
71507 main ()
71509 __builtin_sqrtl(0);
71511 return 0;
71513 _ACEOF
71514 rm -f conftest.$ac_objext conftest$ac_exeext
71515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71516 (eval $ac_link) 2>conftest.er1
71517 ac_status=$?
71518 grep -v '^ *+' conftest.er1 >conftest.err
71519 rm -f conftest.er1
71520 cat conftest.err >&5
71521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522 (exit $ac_status); } &&
71523 { ac_try='test -z "$ac_c_werror_flag"
71524 || test ! -s conftest.err'
71525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71526 (eval $ac_try) 2>&5
71527 ac_status=$?
71528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71529 (exit $ac_status); }; } &&
71530 { ac_try='test -s conftest$ac_exeext'
71531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71532 (eval $ac_try) 2>&5
71533 ac_status=$?
71534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71535 (exit $ac_status); }; }; then
71536 glibcxx_cv_func___builtin_sqrtl_link=yes
71537 else
71538 echo "$as_me: failed program was:" >&5
71539 sed 's/^/| /' conftest.$ac_ext >&5
71541 glibcxx_cv_func___builtin_sqrtl_link=no
71543 rm -f conftest.err conftest.$ac_objext \
71544 conftest$ac_exeext conftest.$ac_ext
71549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71550 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71552 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71554 cat >>confdefs.h <<\_ACEOF
71555 #define HAVE___BUILTIN_SQRTL 1
71556 _ACEOF
71564 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71565 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71566 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71567 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71568 echo $ECHO_N "(cached) $ECHO_C" >&6
71569 else
71573 ac_ext=cc
71574 ac_cpp='$CXXCPP $CPPFLAGS'
71575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71579 cat >conftest.$ac_ext <<_ACEOF
71580 /* confdefs.h. */
71581 _ACEOF
71582 cat confdefs.h >>conftest.$ac_ext
71583 cat >>conftest.$ac_ext <<_ACEOF
71584 /* end confdefs.h. */
71585 #include <math.h>
71587 main ()
71589 __builtin_sinf(0);
71591 return 0;
71593 _ACEOF
71594 rm -f conftest.$ac_objext
71595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71596 (eval $ac_compile) 2>conftest.er1
71597 ac_status=$?
71598 grep -v '^ *+' conftest.er1 >conftest.err
71599 rm -f conftest.er1
71600 cat conftest.err >&5
71601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71602 (exit $ac_status); } &&
71603 { ac_try='test -z "$ac_cxx_werror_flag"
71604 || test ! -s conftest.err'
71605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71606 (eval $ac_try) 2>&5
71607 ac_status=$?
71608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609 (exit $ac_status); }; } &&
71610 { ac_try='test -s conftest.$ac_objext'
71611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71612 (eval $ac_try) 2>&5
71613 ac_status=$?
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); }; }; then
71616 glibcxx_cv_func___builtin_sinf_use=yes
71617 else
71618 echo "$as_me: failed program was:" >&5
71619 sed 's/^/| /' conftest.$ac_ext >&5
71621 glibcxx_cv_func___builtin_sinf_use=no
71623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71624 ac_ext=c
71625 ac_cpp='$CPP $CPPFLAGS'
71626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71635 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71636 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71637 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71638 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71639 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71640 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71641 echo $ECHO_N "(cached) $ECHO_C" >&6
71642 else
71644 if test x$gcc_no_link = xyes; then
71645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71647 { (exit 1); exit 1; }; }
71649 cat >conftest.$ac_ext <<_ACEOF
71650 /* confdefs.h. */
71651 _ACEOF
71652 cat confdefs.h >>conftest.$ac_ext
71653 cat >>conftest.$ac_ext <<_ACEOF
71654 /* end confdefs.h. */
71655 #include <math.h>
71657 main ()
71659 __builtin_sinf(0);
71661 return 0;
71663 _ACEOF
71664 rm -f conftest.$ac_objext conftest$ac_exeext
71665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71666 (eval $ac_link) 2>conftest.er1
71667 ac_status=$?
71668 grep -v '^ *+' conftest.er1 >conftest.err
71669 rm -f conftest.er1
71670 cat conftest.err >&5
71671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71672 (exit $ac_status); } &&
71673 { ac_try='test -z "$ac_c_werror_flag"
71674 || test ! -s conftest.err'
71675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71676 (eval $ac_try) 2>&5
71677 ac_status=$?
71678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71679 (exit $ac_status); }; } &&
71680 { ac_try='test -s conftest$ac_exeext'
71681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71682 (eval $ac_try) 2>&5
71683 ac_status=$?
71684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71685 (exit $ac_status); }; }; then
71686 glibcxx_cv_func___builtin_sinf_link=yes
71687 else
71688 echo "$as_me: failed program was:" >&5
71689 sed 's/^/| /' conftest.$ac_ext >&5
71691 glibcxx_cv_func___builtin_sinf_link=no
71693 rm -f conftest.err conftest.$ac_objext \
71694 conftest$ac_exeext conftest.$ac_ext
71699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71700 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71702 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71704 cat >>confdefs.h <<\_ACEOF
71705 #define HAVE___BUILTIN_SINF 1
71706 _ACEOF
71713 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71714 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71715 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71716 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71717 echo $ECHO_N "(cached) $ECHO_C" >&6
71718 else
71722 ac_ext=cc
71723 ac_cpp='$CXXCPP $CPPFLAGS'
71724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71728 cat >conftest.$ac_ext <<_ACEOF
71729 /* confdefs.h. */
71730 _ACEOF
71731 cat confdefs.h >>conftest.$ac_ext
71732 cat >>conftest.$ac_ext <<_ACEOF
71733 /* end confdefs.h. */
71734 #include <math.h>
71736 main ()
71738 __builtin_sin(0);
71740 return 0;
71742 _ACEOF
71743 rm -f conftest.$ac_objext
71744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71745 (eval $ac_compile) 2>conftest.er1
71746 ac_status=$?
71747 grep -v '^ *+' conftest.er1 >conftest.err
71748 rm -f conftest.er1
71749 cat conftest.err >&5
71750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71751 (exit $ac_status); } &&
71752 { ac_try='test -z "$ac_cxx_werror_flag"
71753 || test ! -s conftest.err'
71754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71755 (eval $ac_try) 2>&5
71756 ac_status=$?
71757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71758 (exit $ac_status); }; } &&
71759 { ac_try='test -s conftest.$ac_objext'
71760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71761 (eval $ac_try) 2>&5
71762 ac_status=$?
71763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71764 (exit $ac_status); }; }; then
71765 glibcxx_cv_func___builtin_sin_use=yes
71766 else
71767 echo "$as_me: failed program was:" >&5
71768 sed 's/^/| /' conftest.$ac_ext >&5
71770 glibcxx_cv_func___builtin_sin_use=no
71772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71773 ac_ext=c
71774 ac_cpp='$CPP $CPPFLAGS'
71775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71783 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71784 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71785 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71786 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71787 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71788 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71789 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71790 echo $ECHO_N "(cached) $ECHO_C" >&6
71791 else
71793 if test x$gcc_no_link = xyes; then
71794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71796 { (exit 1); exit 1; }; }
71798 cat >conftest.$ac_ext <<_ACEOF
71799 /* confdefs.h. */
71800 _ACEOF
71801 cat confdefs.h >>conftest.$ac_ext
71802 cat >>conftest.$ac_ext <<_ACEOF
71803 /* end confdefs.h. */
71804 #include <math.h>
71806 main ()
71808 __builtin_sin(0);
71810 return 0;
71812 _ACEOF
71813 rm -f conftest.$ac_objext conftest$ac_exeext
71814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71815 (eval $ac_link) 2>conftest.er1
71816 ac_status=$?
71817 grep -v '^ *+' conftest.er1 >conftest.err
71818 rm -f conftest.er1
71819 cat conftest.err >&5
71820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821 (exit $ac_status); } &&
71822 { ac_try='test -z "$ac_c_werror_flag"
71823 || test ! -s conftest.err'
71824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71825 (eval $ac_try) 2>&5
71826 ac_status=$?
71827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71828 (exit $ac_status); }; } &&
71829 { ac_try='test -s conftest$ac_exeext'
71830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71831 (eval $ac_try) 2>&5
71832 ac_status=$?
71833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71834 (exit $ac_status); }; }; then
71835 glibcxx_cv_func___builtin_sin_link=yes
71836 else
71837 echo "$as_me: failed program was:" >&5
71838 sed 's/^/| /' conftest.$ac_ext >&5
71840 glibcxx_cv_func___builtin_sin_link=no
71842 rm -f conftest.err conftest.$ac_objext \
71843 conftest$ac_exeext conftest.$ac_ext
71848 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71849 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71851 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71853 cat >>confdefs.h <<\_ACEOF
71854 #define HAVE___BUILTIN_SIN 1
71855 _ACEOF
71862 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71863 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71864 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71865 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71866 echo $ECHO_N "(cached) $ECHO_C" >&6
71867 else
71871 ac_ext=cc
71872 ac_cpp='$CXXCPP $CPPFLAGS'
71873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71877 cat >conftest.$ac_ext <<_ACEOF
71878 /* confdefs.h. */
71879 _ACEOF
71880 cat confdefs.h >>conftest.$ac_ext
71881 cat >>conftest.$ac_ext <<_ACEOF
71882 /* end confdefs.h. */
71883 #include <math.h>
71885 main ()
71887 __builtin_sinl(0);
71889 return 0;
71891 _ACEOF
71892 rm -f conftest.$ac_objext
71893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71894 (eval $ac_compile) 2>conftest.er1
71895 ac_status=$?
71896 grep -v '^ *+' conftest.er1 >conftest.err
71897 rm -f conftest.er1
71898 cat conftest.err >&5
71899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71900 (exit $ac_status); } &&
71901 { ac_try='test -z "$ac_cxx_werror_flag"
71902 || test ! -s conftest.err'
71903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71904 (eval $ac_try) 2>&5
71905 ac_status=$?
71906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71907 (exit $ac_status); }; } &&
71908 { ac_try='test -s conftest.$ac_objext'
71909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71910 (eval $ac_try) 2>&5
71911 ac_status=$?
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 (exit $ac_status); }; }; then
71914 glibcxx_cv_func___builtin_sinl_use=yes
71915 else
71916 echo "$as_me: failed program was:" >&5
71917 sed 's/^/| /' conftest.$ac_ext >&5
71919 glibcxx_cv_func___builtin_sinl_use=no
71921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71922 ac_ext=c
71923 ac_cpp='$CPP $CPPFLAGS'
71924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71933 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71934 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71935 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71936 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71937 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71938 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71939 echo $ECHO_N "(cached) $ECHO_C" >&6
71940 else
71942 if test x$gcc_no_link = xyes; then
71943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71945 { (exit 1); exit 1; }; }
71947 cat >conftest.$ac_ext <<_ACEOF
71948 /* confdefs.h. */
71949 _ACEOF
71950 cat confdefs.h >>conftest.$ac_ext
71951 cat >>conftest.$ac_ext <<_ACEOF
71952 /* end confdefs.h. */
71953 #include <math.h>
71955 main ()
71957 __builtin_sinl(0);
71959 return 0;
71961 _ACEOF
71962 rm -f conftest.$ac_objext conftest$ac_exeext
71963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71964 (eval $ac_link) 2>conftest.er1
71965 ac_status=$?
71966 grep -v '^ *+' conftest.er1 >conftest.err
71967 rm -f conftest.er1
71968 cat conftest.err >&5
71969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71970 (exit $ac_status); } &&
71971 { ac_try='test -z "$ac_c_werror_flag"
71972 || test ! -s conftest.err'
71973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71974 (eval $ac_try) 2>&5
71975 ac_status=$?
71976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71977 (exit $ac_status); }; } &&
71978 { ac_try='test -s conftest$ac_exeext'
71979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71980 (eval $ac_try) 2>&5
71981 ac_status=$?
71982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71983 (exit $ac_status); }; }; then
71984 glibcxx_cv_func___builtin_sinl_link=yes
71985 else
71986 echo "$as_me: failed program was:" >&5
71987 sed 's/^/| /' conftest.$ac_ext >&5
71989 glibcxx_cv_func___builtin_sinl_link=no
71991 rm -f conftest.err conftest.$ac_objext \
71992 conftest$ac_exeext conftest.$ac_ext
71997 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71998 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72000 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72002 cat >>confdefs.h <<\_ACEOF
72003 #define HAVE___BUILTIN_SINL 1
72004 _ACEOF
72012 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72013 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72014 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72015 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72016 echo $ECHO_N "(cached) $ECHO_C" >&6
72017 else
72021 ac_ext=cc
72022 ac_cpp='$CXXCPP $CPPFLAGS'
72023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72027 cat >conftest.$ac_ext <<_ACEOF
72028 /* confdefs.h. */
72029 _ACEOF
72030 cat confdefs.h >>conftest.$ac_ext
72031 cat >>conftest.$ac_ext <<_ACEOF
72032 /* end confdefs.h. */
72033 #include <math.h>
72035 main ()
72037 __builtin_cosf(0);
72039 return 0;
72041 _ACEOF
72042 rm -f conftest.$ac_objext
72043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72044 (eval $ac_compile) 2>conftest.er1
72045 ac_status=$?
72046 grep -v '^ *+' conftest.er1 >conftest.err
72047 rm -f conftest.er1
72048 cat conftest.err >&5
72049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72050 (exit $ac_status); } &&
72051 { ac_try='test -z "$ac_cxx_werror_flag"
72052 || test ! -s conftest.err'
72053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72054 (eval $ac_try) 2>&5
72055 ac_status=$?
72056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72057 (exit $ac_status); }; } &&
72058 { ac_try='test -s conftest.$ac_objext'
72059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72060 (eval $ac_try) 2>&5
72061 ac_status=$?
72062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72063 (exit $ac_status); }; }; then
72064 glibcxx_cv_func___builtin_cosf_use=yes
72065 else
72066 echo "$as_me: failed program was:" >&5
72067 sed 's/^/| /' conftest.$ac_ext >&5
72069 glibcxx_cv_func___builtin_cosf_use=no
72071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72082 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72083 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72084 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72085 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72086 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72087 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72088 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72089 echo $ECHO_N "(cached) $ECHO_C" >&6
72090 else
72092 if test x$gcc_no_link = xyes; then
72093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72095 { (exit 1); exit 1; }; }
72097 cat >conftest.$ac_ext <<_ACEOF
72098 /* confdefs.h. */
72099 _ACEOF
72100 cat confdefs.h >>conftest.$ac_ext
72101 cat >>conftest.$ac_ext <<_ACEOF
72102 /* end confdefs.h. */
72103 #include <math.h>
72105 main ()
72107 __builtin_cosf(0);
72109 return 0;
72111 _ACEOF
72112 rm -f conftest.$ac_objext conftest$ac_exeext
72113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72114 (eval $ac_link) 2>conftest.er1
72115 ac_status=$?
72116 grep -v '^ *+' conftest.er1 >conftest.err
72117 rm -f conftest.er1
72118 cat conftest.err >&5
72119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72120 (exit $ac_status); } &&
72121 { ac_try='test -z "$ac_c_werror_flag"
72122 || test ! -s conftest.err'
72123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72124 (eval $ac_try) 2>&5
72125 ac_status=$?
72126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72127 (exit $ac_status); }; } &&
72128 { ac_try='test -s conftest$ac_exeext'
72129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72130 (eval $ac_try) 2>&5
72131 ac_status=$?
72132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72133 (exit $ac_status); }; }; then
72134 glibcxx_cv_func___builtin_cosf_link=yes
72135 else
72136 echo "$as_me: failed program was:" >&5
72137 sed 's/^/| /' conftest.$ac_ext >&5
72139 glibcxx_cv_func___builtin_cosf_link=no
72141 rm -f conftest.err conftest.$ac_objext \
72142 conftest$ac_exeext conftest.$ac_ext
72147 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72148 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72150 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72152 cat >>confdefs.h <<\_ACEOF
72153 #define HAVE___BUILTIN_COSF 1
72154 _ACEOF
72161 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72162 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72163 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72164 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72165 echo $ECHO_N "(cached) $ECHO_C" >&6
72166 else
72170 ac_ext=cc
72171 ac_cpp='$CXXCPP $CPPFLAGS'
72172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72176 cat >conftest.$ac_ext <<_ACEOF
72177 /* confdefs.h. */
72178 _ACEOF
72179 cat confdefs.h >>conftest.$ac_ext
72180 cat >>conftest.$ac_ext <<_ACEOF
72181 /* end confdefs.h. */
72182 #include <math.h>
72184 main ()
72186 __builtin_cos(0);
72188 return 0;
72190 _ACEOF
72191 rm -f conftest.$ac_objext
72192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72193 (eval $ac_compile) 2>conftest.er1
72194 ac_status=$?
72195 grep -v '^ *+' conftest.er1 >conftest.err
72196 rm -f conftest.er1
72197 cat conftest.err >&5
72198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72199 (exit $ac_status); } &&
72200 { ac_try='test -z "$ac_cxx_werror_flag"
72201 || test ! -s conftest.err'
72202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72203 (eval $ac_try) 2>&5
72204 ac_status=$?
72205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72206 (exit $ac_status); }; } &&
72207 { ac_try='test -s conftest.$ac_objext'
72208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72209 (eval $ac_try) 2>&5
72210 ac_status=$?
72211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72212 (exit $ac_status); }; }; then
72213 glibcxx_cv_func___builtin_cos_use=yes
72214 else
72215 echo "$as_me: failed program was:" >&5
72216 sed 's/^/| /' conftest.$ac_ext >&5
72218 glibcxx_cv_func___builtin_cos_use=no
72220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72221 ac_ext=c
72222 ac_cpp='$CPP $CPPFLAGS'
72223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72231 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72232 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72233 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72234 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72235 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72236 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72237 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72238 echo $ECHO_N "(cached) $ECHO_C" >&6
72239 else
72241 if test x$gcc_no_link = xyes; then
72242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72244 { (exit 1); exit 1; }; }
72246 cat >conftest.$ac_ext <<_ACEOF
72247 /* confdefs.h. */
72248 _ACEOF
72249 cat confdefs.h >>conftest.$ac_ext
72250 cat >>conftest.$ac_ext <<_ACEOF
72251 /* end confdefs.h. */
72252 #include <math.h>
72254 main ()
72256 __builtin_cos(0);
72258 return 0;
72260 _ACEOF
72261 rm -f conftest.$ac_objext conftest$ac_exeext
72262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72263 (eval $ac_link) 2>conftest.er1
72264 ac_status=$?
72265 grep -v '^ *+' conftest.er1 >conftest.err
72266 rm -f conftest.er1
72267 cat conftest.err >&5
72268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72269 (exit $ac_status); } &&
72270 { ac_try='test -z "$ac_c_werror_flag"
72271 || test ! -s conftest.err'
72272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72273 (eval $ac_try) 2>&5
72274 ac_status=$?
72275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72276 (exit $ac_status); }; } &&
72277 { ac_try='test -s conftest$ac_exeext'
72278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72279 (eval $ac_try) 2>&5
72280 ac_status=$?
72281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72282 (exit $ac_status); }; }; then
72283 glibcxx_cv_func___builtin_cos_link=yes
72284 else
72285 echo "$as_me: failed program was:" >&5
72286 sed 's/^/| /' conftest.$ac_ext >&5
72288 glibcxx_cv_func___builtin_cos_link=no
72290 rm -f conftest.err conftest.$ac_objext \
72291 conftest$ac_exeext conftest.$ac_ext
72296 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72297 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72299 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72301 cat >>confdefs.h <<\_ACEOF
72302 #define HAVE___BUILTIN_COS 1
72303 _ACEOF
72310 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72311 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72312 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72313 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72314 echo $ECHO_N "(cached) $ECHO_C" >&6
72315 else
72319 ac_ext=cc
72320 ac_cpp='$CXXCPP $CPPFLAGS'
72321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72325 cat >conftest.$ac_ext <<_ACEOF
72326 /* confdefs.h. */
72327 _ACEOF
72328 cat confdefs.h >>conftest.$ac_ext
72329 cat >>conftest.$ac_ext <<_ACEOF
72330 /* end confdefs.h. */
72331 #include <math.h>
72333 main ()
72335 __builtin_cosl(0);
72337 return 0;
72339 _ACEOF
72340 rm -f conftest.$ac_objext
72341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72342 (eval $ac_compile) 2>conftest.er1
72343 ac_status=$?
72344 grep -v '^ *+' conftest.er1 >conftest.err
72345 rm -f conftest.er1
72346 cat conftest.err >&5
72347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72348 (exit $ac_status); } &&
72349 { ac_try='test -z "$ac_cxx_werror_flag"
72350 || test ! -s conftest.err'
72351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72352 (eval $ac_try) 2>&5
72353 ac_status=$?
72354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72355 (exit $ac_status); }; } &&
72356 { ac_try='test -s conftest.$ac_objext'
72357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72358 (eval $ac_try) 2>&5
72359 ac_status=$?
72360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72361 (exit $ac_status); }; }; then
72362 glibcxx_cv_func___builtin_cosl_use=yes
72363 else
72364 echo "$as_me: failed program was:" >&5
72365 sed 's/^/| /' conftest.$ac_ext >&5
72367 glibcxx_cv_func___builtin_cosl_use=no
72369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72370 ac_ext=c
72371 ac_cpp='$CPP $CPPFLAGS'
72372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72381 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72382 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72383 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72384 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72385 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72386 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72387 echo $ECHO_N "(cached) $ECHO_C" >&6
72388 else
72390 if test x$gcc_no_link = xyes; then
72391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72393 { (exit 1); exit 1; }; }
72395 cat >conftest.$ac_ext <<_ACEOF
72396 /* confdefs.h. */
72397 _ACEOF
72398 cat confdefs.h >>conftest.$ac_ext
72399 cat >>conftest.$ac_ext <<_ACEOF
72400 /* end confdefs.h. */
72401 #include <math.h>
72403 main ()
72405 __builtin_cosl(0);
72407 return 0;
72409 _ACEOF
72410 rm -f conftest.$ac_objext conftest$ac_exeext
72411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72412 (eval $ac_link) 2>conftest.er1
72413 ac_status=$?
72414 grep -v '^ *+' conftest.er1 >conftest.err
72415 rm -f conftest.er1
72416 cat conftest.err >&5
72417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72418 (exit $ac_status); } &&
72419 { ac_try='test -z "$ac_c_werror_flag"
72420 || test ! -s conftest.err'
72421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72422 (eval $ac_try) 2>&5
72423 ac_status=$?
72424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72425 (exit $ac_status); }; } &&
72426 { ac_try='test -s conftest$ac_exeext'
72427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72428 (eval $ac_try) 2>&5
72429 ac_status=$?
72430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72431 (exit $ac_status); }; }; then
72432 glibcxx_cv_func___builtin_cosl_link=yes
72433 else
72434 echo "$as_me: failed program was:" >&5
72435 sed 's/^/| /' conftest.$ac_ext >&5
72437 glibcxx_cv_func___builtin_cosl_link=no
72439 rm -f conftest.err conftest.$ac_objext \
72440 conftest$ac_exeext conftest.$ac_ext
72445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72446 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72448 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72450 cat >>confdefs.h <<\_ACEOF
72451 #define HAVE___BUILTIN_COSL 1
72452 _ACEOF
72461 echo "$as_me:$LINENO: checking for main in -lm" >&5
72462 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72463 if test "${ac_cv_lib_m_main+set}" = set; then
72464 echo $ECHO_N "(cached) $ECHO_C" >&6
72465 else
72466 ac_check_lib_save_LIBS=$LIBS
72467 LIBS="-lm $LIBS"
72468 if test x$gcc_no_link = xyes; then
72469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72471 { (exit 1); exit 1; }; }
72473 cat >conftest.$ac_ext <<_ACEOF
72474 /* confdefs.h. */
72475 _ACEOF
72476 cat confdefs.h >>conftest.$ac_ext
72477 cat >>conftest.$ac_ext <<_ACEOF
72478 /* end confdefs.h. */
72482 main ()
72484 main ();
72486 return 0;
72488 _ACEOF
72489 rm -f conftest.$ac_objext conftest$ac_exeext
72490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72491 (eval $ac_link) 2>conftest.er1
72492 ac_status=$?
72493 grep -v '^ *+' conftest.er1 >conftest.err
72494 rm -f conftest.er1
72495 cat conftest.err >&5
72496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72497 (exit $ac_status); } &&
72498 { ac_try='test -z "$ac_c_werror_flag"
72499 || test ! -s conftest.err'
72500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72501 (eval $ac_try) 2>&5
72502 ac_status=$?
72503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504 (exit $ac_status); }; } &&
72505 { ac_try='test -s conftest$ac_exeext'
72506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72507 (eval $ac_try) 2>&5
72508 ac_status=$?
72509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72510 (exit $ac_status); }; }; then
72511 ac_cv_lib_m_main=yes
72512 else
72513 echo "$as_me: failed program was:" >&5
72514 sed 's/^/| /' conftest.$ac_ext >&5
72516 ac_cv_lib_m_main=no
72518 rm -f conftest.err conftest.$ac_objext \
72519 conftest$ac_exeext conftest.$ac_ext
72520 LIBS=$ac_check_lib_save_LIBS
72522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72523 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72524 if test $ac_cv_lib_m_main = yes; then
72525 cat >>confdefs.h <<_ACEOF
72526 #define HAVE_LIBM 1
72527 _ACEOF
72529 LIBS="-lm $LIBS"
72534 for ac_func in copysignf
72536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72537 echo "$as_me:$LINENO: checking for $ac_func" >&5
72538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72539 if eval "test \"\${$as_ac_var+set}\" = set"; then
72540 echo $ECHO_N "(cached) $ECHO_C" >&6
72541 else
72542 if test x$gcc_no_link = xyes; then
72543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72545 { (exit 1); exit 1; }; }
72547 cat >conftest.$ac_ext <<_ACEOF
72548 /* confdefs.h. */
72549 _ACEOF
72550 cat confdefs.h >>conftest.$ac_ext
72551 cat >>conftest.$ac_ext <<_ACEOF
72552 /* end confdefs.h. */
72553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72555 #define $ac_func innocuous_$ac_func
72557 /* System header to define __stub macros and hopefully few prototypes,
72558 which can conflict with char $ac_func (); below.
72559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72560 <limits.h> exists even on freestanding compilers. */
72562 #ifdef __STDC__
72563 # include <limits.h>
72564 #else
72565 # include <assert.h>
72566 #endif
72568 #undef $ac_func
72570 /* Override any gcc2 internal prototype to avoid an error. */
72571 #ifdef __cplusplus
72572 extern "C"
72574 #endif
72575 /* We use char because int might match the return type of a gcc2
72576 builtin and then its argument prototype would still apply. */
72577 char $ac_func ();
72578 /* The GNU C library defines this for functions which it implements
72579 to always fail with ENOSYS. Some functions are actually named
72580 something starting with __ and the normal name is an alias. */
72581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72582 choke me
72583 #else
72584 char (*f) () = $ac_func;
72585 #endif
72586 #ifdef __cplusplus
72588 #endif
72591 main ()
72593 return f != $ac_func;
72595 return 0;
72597 _ACEOF
72598 rm -f conftest.$ac_objext conftest$ac_exeext
72599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72600 (eval $ac_link) 2>conftest.er1
72601 ac_status=$?
72602 grep -v '^ *+' conftest.er1 >conftest.err
72603 rm -f conftest.er1
72604 cat conftest.err >&5
72605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72606 (exit $ac_status); } &&
72607 { ac_try='test -z "$ac_c_werror_flag"
72608 || test ! -s conftest.err'
72609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72610 (eval $ac_try) 2>&5
72611 ac_status=$?
72612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72613 (exit $ac_status); }; } &&
72614 { ac_try='test -s conftest$ac_exeext'
72615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72616 (eval $ac_try) 2>&5
72617 ac_status=$?
72618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72619 (exit $ac_status); }; }; then
72620 eval "$as_ac_var=yes"
72621 else
72622 echo "$as_me: failed program was:" >&5
72623 sed 's/^/| /' conftest.$ac_ext >&5
72625 eval "$as_ac_var=no"
72627 rm -f conftest.err conftest.$ac_objext \
72628 conftest$ac_exeext conftest.$ac_ext
72630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72632 if test `eval echo '${'$as_ac_var'}'` = yes; then
72633 cat >>confdefs.h <<_ACEOF
72634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72635 _ACEOF
72637 else
72638 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72640 done
72644 for ac_func in __signbit
72646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72647 echo "$as_me:$LINENO: checking for $ac_func" >&5
72648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72649 if eval "test \"\${$as_ac_var+set}\" = set"; then
72650 echo $ECHO_N "(cached) $ECHO_C" >&6
72651 else
72652 if test x$gcc_no_link = xyes; then
72653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72655 { (exit 1); exit 1; }; }
72657 cat >conftest.$ac_ext <<_ACEOF
72658 /* confdefs.h. */
72659 _ACEOF
72660 cat confdefs.h >>conftest.$ac_ext
72661 cat >>conftest.$ac_ext <<_ACEOF
72662 /* end confdefs.h. */
72663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72665 #define $ac_func innocuous_$ac_func
72667 /* System header to define __stub macros and hopefully few prototypes,
72668 which can conflict with char $ac_func (); below.
72669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72670 <limits.h> exists even on freestanding compilers. */
72672 #ifdef __STDC__
72673 # include <limits.h>
72674 #else
72675 # include <assert.h>
72676 #endif
72678 #undef $ac_func
72680 /* Override any gcc2 internal prototype to avoid an error. */
72681 #ifdef __cplusplus
72682 extern "C"
72684 #endif
72685 /* We use char because int might match the return type of a gcc2
72686 builtin and then its argument prototype would still apply. */
72687 char $ac_func ();
72688 /* The GNU C library defines this for functions which it implements
72689 to always fail with ENOSYS. Some functions are actually named
72690 something starting with __ and the normal name is an alias. */
72691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72692 choke me
72693 #else
72694 char (*f) () = $ac_func;
72695 #endif
72696 #ifdef __cplusplus
72698 #endif
72701 main ()
72703 return f != $ac_func;
72705 return 0;
72707 _ACEOF
72708 rm -f conftest.$ac_objext conftest$ac_exeext
72709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72710 (eval $ac_link) 2>conftest.er1
72711 ac_status=$?
72712 grep -v '^ *+' conftest.er1 >conftest.err
72713 rm -f conftest.er1
72714 cat conftest.err >&5
72715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72716 (exit $ac_status); } &&
72717 { ac_try='test -z "$ac_c_werror_flag"
72718 || test ! -s conftest.err'
72719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72720 (eval $ac_try) 2>&5
72721 ac_status=$?
72722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723 (exit $ac_status); }; } &&
72724 { ac_try='test -s conftest$ac_exeext'
72725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72726 (eval $ac_try) 2>&5
72727 ac_status=$?
72728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72729 (exit $ac_status); }; }; then
72730 eval "$as_ac_var=yes"
72731 else
72732 echo "$as_me: failed program was:" >&5
72733 sed 's/^/| /' conftest.$ac_ext >&5
72735 eval "$as_ac_var=no"
72737 rm -f conftest.err conftest.$ac_objext \
72738 conftest$ac_exeext conftest.$ac_ext
72740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72742 if test `eval echo '${'$as_ac_var'}'` = yes; then
72743 cat >>confdefs.h <<_ACEOF
72744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72745 _ACEOF
72747 else
72748 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72750 done
72754 for ac_func in __signbitf
72756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72757 echo "$as_me:$LINENO: checking for $ac_func" >&5
72758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72759 if eval "test \"\${$as_ac_var+set}\" = set"; then
72760 echo $ECHO_N "(cached) $ECHO_C" >&6
72761 else
72762 if test x$gcc_no_link = xyes; then
72763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72765 { (exit 1); exit 1; }; }
72767 cat >conftest.$ac_ext <<_ACEOF
72768 /* confdefs.h. */
72769 _ACEOF
72770 cat confdefs.h >>conftest.$ac_ext
72771 cat >>conftest.$ac_ext <<_ACEOF
72772 /* end confdefs.h. */
72773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72775 #define $ac_func innocuous_$ac_func
72777 /* System header to define __stub macros and hopefully few prototypes,
72778 which can conflict with char $ac_func (); below.
72779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72780 <limits.h> exists even on freestanding compilers. */
72782 #ifdef __STDC__
72783 # include <limits.h>
72784 #else
72785 # include <assert.h>
72786 #endif
72788 #undef $ac_func
72790 /* Override any gcc2 internal prototype to avoid an error. */
72791 #ifdef __cplusplus
72792 extern "C"
72794 #endif
72795 /* We use char because int might match the return type of a gcc2
72796 builtin and then its argument prototype would still apply. */
72797 char $ac_func ();
72798 /* The GNU C library defines this for functions which it implements
72799 to always fail with ENOSYS. Some functions are actually named
72800 something starting with __ and the normal name is an alias. */
72801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72802 choke me
72803 #else
72804 char (*f) () = $ac_func;
72805 #endif
72806 #ifdef __cplusplus
72808 #endif
72811 main ()
72813 return f != $ac_func;
72815 return 0;
72817 _ACEOF
72818 rm -f conftest.$ac_objext conftest$ac_exeext
72819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72820 (eval $ac_link) 2>conftest.er1
72821 ac_status=$?
72822 grep -v '^ *+' conftest.er1 >conftest.err
72823 rm -f conftest.er1
72824 cat conftest.err >&5
72825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72826 (exit $ac_status); } &&
72827 { ac_try='test -z "$ac_c_werror_flag"
72828 || test ! -s conftest.err'
72829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72830 (eval $ac_try) 2>&5
72831 ac_status=$?
72832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72833 (exit $ac_status); }; } &&
72834 { ac_try='test -s conftest$ac_exeext'
72835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72836 (eval $ac_try) 2>&5
72837 ac_status=$?
72838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72839 (exit $ac_status); }; }; then
72840 eval "$as_ac_var=yes"
72841 else
72842 echo "$as_me: failed program was:" >&5
72843 sed 's/^/| /' conftest.$ac_ext >&5
72845 eval "$as_ac_var=no"
72847 rm -f conftest.err conftest.$ac_objext \
72848 conftest$ac_exeext conftest.$ac_ext
72850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72852 if test `eval echo '${'$as_ac_var'}'` = yes; then
72853 cat >>confdefs.h <<_ACEOF
72854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72855 _ACEOF
72857 else
72858 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72860 done
72863 if test x$ac_cv_func_copysignl = x"yes"; then
72865 for ac_func in __signbitl
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 signbitl.lo"
72971 done
72975 # Used in libmath/Makefile.am.
72976 if test -n "$LIBMATHOBJS"; then
72977 need_libmath=yes
72983 enable_iconv=no
72984 # Only continue checking if the ISO C99 headers exist and support is on.
72985 if test x"$enable_wchar_t" = xyes; then
72987 # Use iconv for wchar_t to char conversions. As such, check for
72988 # X/Open Portability Guide, version 2 features (XPG2).
72989 if test "${ac_cv_header_iconv_h+set}" = set; then
72990 echo "$as_me:$LINENO: checking for iconv.h" >&5
72991 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72992 if test "${ac_cv_header_iconv_h+set}" = set; then
72993 echo $ECHO_N "(cached) $ECHO_C" >&6
72995 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72996 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72997 else
72998 # Is the header compilable?
72999 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73000 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73001 cat >conftest.$ac_ext <<_ACEOF
73002 /* confdefs.h. */
73003 _ACEOF
73004 cat confdefs.h >>conftest.$ac_ext
73005 cat >>conftest.$ac_ext <<_ACEOF
73006 /* end confdefs.h. */
73007 $ac_includes_default
73008 #include <iconv.h>
73009 _ACEOF
73010 rm -f conftest.$ac_objext
73011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73012 (eval $ac_compile) 2>conftest.er1
73013 ac_status=$?
73014 grep -v '^ *+' conftest.er1 >conftest.err
73015 rm -f conftest.er1
73016 cat conftest.err >&5
73017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73018 (exit $ac_status); } &&
73019 { ac_try='test -z "$ac_c_werror_flag"
73020 || test ! -s conftest.err'
73021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73022 (eval $ac_try) 2>&5
73023 ac_status=$?
73024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73025 (exit $ac_status); }; } &&
73026 { ac_try='test -s conftest.$ac_objext'
73027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73028 (eval $ac_try) 2>&5
73029 ac_status=$?
73030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73031 (exit $ac_status); }; }; then
73032 ac_header_compiler=yes
73033 else
73034 echo "$as_me: failed program was:" >&5
73035 sed 's/^/| /' conftest.$ac_ext >&5
73037 ac_header_compiler=no
73039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73041 echo "${ECHO_T}$ac_header_compiler" >&6
73043 # Is the header present?
73044 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73045 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73046 cat >conftest.$ac_ext <<_ACEOF
73047 /* confdefs.h. */
73048 _ACEOF
73049 cat confdefs.h >>conftest.$ac_ext
73050 cat >>conftest.$ac_ext <<_ACEOF
73051 /* end confdefs.h. */
73052 #include <iconv.h>
73053 _ACEOF
73054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73056 ac_status=$?
73057 grep -v '^ *+' conftest.er1 >conftest.err
73058 rm -f conftest.er1
73059 cat conftest.err >&5
73060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061 (exit $ac_status); } >/dev/null; then
73062 if test -s conftest.err; then
73063 ac_cpp_err=$ac_c_preproc_warn_flag
73064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73065 else
73066 ac_cpp_err=
73068 else
73069 ac_cpp_err=yes
73071 if test -z "$ac_cpp_err"; then
73072 ac_header_preproc=yes
73073 else
73074 echo "$as_me: failed program was:" >&5
73075 sed 's/^/| /' conftest.$ac_ext >&5
73077 ac_header_preproc=no
73079 rm -f conftest.err conftest.$ac_ext
73080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73081 echo "${ECHO_T}$ac_header_preproc" >&6
73083 # So? What about this header?
73084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73085 yes:no: )
73086 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73087 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73088 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73089 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73090 ac_header_preproc=yes
73092 no:yes:* )
73093 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73094 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73095 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73096 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73097 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73098 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73099 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73100 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73101 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73102 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73103 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73104 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73106 cat <<\_ASBOX
73107 ## ----------------------------------------- ##
73108 ## Report this to the package-unused lists. ##
73109 ## ----------------------------------------- ##
73110 _ASBOX
73112 sed "s/^/$as_me: WARNING: /" >&2
73114 esac
73115 echo "$as_me:$LINENO: checking for iconv.h" >&5
73116 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73117 if test "${ac_cv_header_iconv_h+set}" = set; then
73118 echo $ECHO_N "(cached) $ECHO_C" >&6
73119 else
73120 ac_cv_header_iconv_h=$ac_header_preproc
73122 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73123 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73126 if test $ac_cv_header_iconv_h = yes; then
73127 ac_has_iconv_h=yes
73128 else
73129 ac_has_iconv_h=no
73133 if test "${ac_cv_header_langinfo_h+set}" = set; then
73134 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73135 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73136 if test "${ac_cv_header_langinfo_h+set}" = set; then
73137 echo $ECHO_N "(cached) $ECHO_C" >&6
73139 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73140 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73141 else
73142 # Is the header compilable?
73143 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73144 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73145 cat >conftest.$ac_ext <<_ACEOF
73146 /* confdefs.h. */
73147 _ACEOF
73148 cat confdefs.h >>conftest.$ac_ext
73149 cat >>conftest.$ac_ext <<_ACEOF
73150 /* end confdefs.h. */
73151 $ac_includes_default
73152 #include <langinfo.h>
73153 _ACEOF
73154 rm -f conftest.$ac_objext
73155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73156 (eval $ac_compile) 2>conftest.er1
73157 ac_status=$?
73158 grep -v '^ *+' conftest.er1 >conftest.err
73159 rm -f conftest.er1
73160 cat conftest.err >&5
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); } &&
73163 { ac_try='test -z "$ac_c_werror_flag"
73164 || test ! -s conftest.err'
73165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73166 (eval $ac_try) 2>&5
73167 ac_status=$?
73168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73169 (exit $ac_status); }; } &&
73170 { ac_try='test -s conftest.$ac_objext'
73171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73172 (eval $ac_try) 2>&5
73173 ac_status=$?
73174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73175 (exit $ac_status); }; }; then
73176 ac_header_compiler=yes
73177 else
73178 echo "$as_me: failed program was:" >&5
73179 sed 's/^/| /' conftest.$ac_ext >&5
73181 ac_header_compiler=no
73183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73185 echo "${ECHO_T}$ac_header_compiler" >&6
73187 # Is the header present?
73188 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73189 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73190 cat >conftest.$ac_ext <<_ACEOF
73191 /* confdefs.h. */
73192 _ACEOF
73193 cat confdefs.h >>conftest.$ac_ext
73194 cat >>conftest.$ac_ext <<_ACEOF
73195 /* end confdefs.h. */
73196 #include <langinfo.h>
73197 _ACEOF
73198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73200 ac_status=$?
73201 grep -v '^ *+' conftest.er1 >conftest.err
73202 rm -f conftest.er1
73203 cat conftest.err >&5
73204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73205 (exit $ac_status); } >/dev/null; then
73206 if test -s conftest.err; then
73207 ac_cpp_err=$ac_c_preproc_warn_flag
73208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73209 else
73210 ac_cpp_err=
73212 else
73213 ac_cpp_err=yes
73215 if test -z "$ac_cpp_err"; then
73216 ac_header_preproc=yes
73217 else
73218 echo "$as_me: failed program was:" >&5
73219 sed 's/^/| /' conftest.$ac_ext >&5
73221 ac_header_preproc=no
73223 rm -f conftest.err conftest.$ac_ext
73224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73225 echo "${ECHO_T}$ac_header_preproc" >&6
73227 # So? What about this header?
73228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73229 yes:no: )
73230 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73231 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73232 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73233 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73234 ac_header_preproc=yes
73236 no:yes:* )
73237 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73238 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73239 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73240 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73241 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73242 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73243 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73244 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73245 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73246 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73247 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73248 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73250 cat <<\_ASBOX
73251 ## ----------------------------------------- ##
73252 ## Report this to the package-unused lists. ##
73253 ## ----------------------------------------- ##
73254 _ASBOX
73256 sed "s/^/$as_me: WARNING: /" >&2
73258 esac
73259 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73260 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73261 if test "${ac_cv_header_langinfo_h+set}" = set; then
73262 echo $ECHO_N "(cached) $ECHO_C" >&6
73263 else
73264 ac_cv_header_langinfo_h=$ac_header_preproc
73266 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73267 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73270 if test $ac_cv_header_langinfo_h = yes; then
73271 ac_has_langinfo_h=yes
73272 else
73273 ac_has_langinfo_h=no
73278 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73279 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73280 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73281 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73282 echo $ECHO_N "(cached) $ECHO_C" >&6
73283 else
73284 ac_check_lib_save_LIBS=$LIBS
73285 LIBS="-liconv $LIBS"
73286 if test x$gcc_no_link = xyes; then
73287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73289 { (exit 1); exit 1; }; }
73291 cat >conftest.$ac_ext <<_ACEOF
73292 /* confdefs.h. */
73293 _ACEOF
73294 cat confdefs.h >>conftest.$ac_ext
73295 cat >>conftest.$ac_ext <<_ACEOF
73296 /* end confdefs.h. */
73298 /* Override any gcc2 internal prototype to avoid an error. */
73299 #ifdef __cplusplus
73300 extern "C"
73301 #endif
73302 /* We use char because int might match the return type of a gcc2
73303 builtin and then its argument prototype would still apply. */
73304 char iconv ();
73306 main ()
73308 iconv ();
73310 return 0;
73312 _ACEOF
73313 rm -f conftest.$ac_objext conftest$ac_exeext
73314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73315 (eval $ac_link) 2>conftest.er1
73316 ac_status=$?
73317 grep -v '^ *+' conftest.er1 >conftest.err
73318 rm -f conftest.er1
73319 cat conftest.err >&5
73320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73321 (exit $ac_status); } &&
73322 { ac_try='test -z "$ac_c_werror_flag"
73323 || test ! -s conftest.err'
73324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73325 (eval $ac_try) 2>&5
73326 ac_status=$?
73327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73328 (exit $ac_status); }; } &&
73329 { ac_try='test -s conftest$ac_exeext'
73330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73331 (eval $ac_try) 2>&5
73332 ac_status=$?
73333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73334 (exit $ac_status); }; }; then
73335 ac_cv_lib_iconv_iconv=yes
73336 else
73337 echo "$as_me: failed program was:" >&5
73338 sed 's/^/| /' conftest.$ac_ext >&5
73340 ac_cv_lib_iconv_iconv=no
73342 rm -f conftest.err conftest.$ac_objext \
73343 conftest$ac_exeext conftest.$ac_ext
73344 LIBS=$ac_check_lib_save_LIBS
73346 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73347 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73348 if test $ac_cv_lib_iconv_iconv = yes; then
73349 LIBICONV="-liconv"
73352 ac_save_LIBS="$LIBS"
73353 LIBS="$LIBS $LIBICONV"
73360 for ac_func in iconv_open iconv_close iconv nl_langinfo
73362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73363 echo "$as_me:$LINENO: checking for $ac_func" >&5
73364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73365 if eval "test \"\${$as_ac_var+set}\" = set"; then
73366 echo $ECHO_N "(cached) $ECHO_C" >&6
73367 else
73368 if test x$gcc_no_link = xyes; then
73369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73371 { (exit 1); exit 1; }; }
73373 cat >conftest.$ac_ext <<_ACEOF
73374 /* confdefs.h. */
73375 _ACEOF
73376 cat confdefs.h >>conftest.$ac_ext
73377 cat >>conftest.$ac_ext <<_ACEOF
73378 /* end confdefs.h. */
73379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73381 #define $ac_func innocuous_$ac_func
73383 /* System header to define __stub macros and hopefully few prototypes,
73384 which can conflict with char $ac_func (); below.
73385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73386 <limits.h> exists even on freestanding compilers. */
73388 #ifdef __STDC__
73389 # include <limits.h>
73390 #else
73391 # include <assert.h>
73392 #endif
73394 #undef $ac_func
73396 /* Override any gcc2 internal prototype to avoid an error. */
73397 #ifdef __cplusplus
73398 extern "C"
73400 #endif
73401 /* We use char because int might match the return type of a gcc2
73402 builtin and then its argument prototype would still apply. */
73403 char $ac_func ();
73404 /* The GNU C library defines this for functions which it implements
73405 to always fail with ENOSYS. Some functions are actually named
73406 something starting with __ and the normal name is an alias. */
73407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73408 choke me
73409 #else
73410 char (*f) () = $ac_func;
73411 #endif
73412 #ifdef __cplusplus
73414 #endif
73417 main ()
73419 return f != $ac_func;
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 eval "$as_ac_var=yes"
73447 else
73448 echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73451 eval "$as_ac_var=no"
73453 rm -f conftest.err conftest.$ac_objext \
73454 conftest$ac_exeext conftest.$ac_ext
73456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73458 if test `eval echo '${'$as_ac_var'}'` = yes; then
73459 cat >>confdefs.h <<_ACEOF
73460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73462 ac_XPG2funcs=yes
73463 else
73464 ac_XPG2funcs=no
73466 done
73469 LIBS="$ac_save_LIBS"
73471 if test x"$ac_has_iconv_h" = xyes &&
73472 test x"$ac_has_langinfo_h" = xyes &&
73473 test x"$ac_XPG2funcs" = xyes;
73474 then
73476 cat >>confdefs.h <<\_ACEOF
73477 #define _GLIBCXX_USE_ICONV 1
73478 _ACEOF
73480 enable_iconv=yes
73483 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73484 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73485 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73486 echo "${ECHO_T}$enable_iconv" >&6
73489 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73490 ac_save_CXXFLAGS="$CXXFLAGS"
73491 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73494 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73495 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73496 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73497 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73498 echo $ECHO_N "(cached) $ECHO_C" >&6
73499 else
73503 ac_ext=cc
73504 ac_cpp='$CXXCPP $CPPFLAGS'
73505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73509 cat >conftest.$ac_ext <<_ACEOF
73510 /* confdefs.h. */
73511 _ACEOF
73512 cat confdefs.h >>conftest.$ac_ext
73513 cat >>conftest.$ac_ext <<_ACEOF
73514 /* end confdefs.h. */
73515 #include <stdlib.h>
73517 main ()
73519 strtold(0, 0);
73521 return 0;
73523 _ACEOF
73524 rm -f conftest.$ac_objext
73525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73526 (eval $ac_compile) 2>conftest.er1
73527 ac_status=$?
73528 grep -v '^ *+' conftest.er1 >conftest.err
73529 rm -f conftest.er1
73530 cat conftest.err >&5
73531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73532 (exit $ac_status); } &&
73533 { ac_try='test -z "$ac_cxx_werror_flag"
73534 || test ! -s conftest.err'
73535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73536 (eval $ac_try) 2>&5
73537 ac_status=$?
73538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73539 (exit $ac_status); }; } &&
73540 { ac_try='test -s conftest.$ac_objext'
73541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73542 (eval $ac_try) 2>&5
73543 ac_status=$?
73544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73545 (exit $ac_status); }; }; then
73546 glibcxx_cv_func_strtold_use=yes
73547 else
73548 echo "$as_me: failed program was:" >&5
73549 sed 's/^/| /' conftest.$ac_ext >&5
73551 glibcxx_cv_func_strtold_use=no
73553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73554 ac_ext=c
73555 ac_cpp='$CPP $CPPFLAGS'
73556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73565 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73566 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73568 for ac_func in strtold
73570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73571 echo "$as_me:$LINENO: checking for $ac_func" >&5
73572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73573 if eval "test \"\${$as_ac_var+set}\" = set"; then
73574 echo $ECHO_N "(cached) $ECHO_C" >&6
73575 else
73576 if test x$gcc_no_link = xyes; then
73577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73579 { (exit 1); exit 1; }; }
73581 cat >conftest.$ac_ext <<_ACEOF
73582 /* confdefs.h. */
73583 _ACEOF
73584 cat confdefs.h >>conftest.$ac_ext
73585 cat >>conftest.$ac_ext <<_ACEOF
73586 /* end confdefs.h. */
73587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73589 #define $ac_func innocuous_$ac_func
73591 /* System header to define __stub macros and hopefully few prototypes,
73592 which can conflict with char $ac_func (); below.
73593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73594 <limits.h> exists even on freestanding compilers. */
73596 #ifdef __STDC__
73597 # include <limits.h>
73598 #else
73599 # include <assert.h>
73600 #endif
73602 #undef $ac_func
73604 /* Override any gcc2 internal prototype to avoid an error. */
73605 #ifdef __cplusplus
73606 extern "C"
73608 #endif
73609 /* We use char because int might match the return type of a gcc2
73610 builtin and then its argument prototype would still apply. */
73611 char $ac_func ();
73612 /* The GNU C library defines this for functions which it implements
73613 to always fail with ENOSYS. Some functions are actually named
73614 something starting with __ and the normal name is an alias. */
73615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73616 choke me
73617 #else
73618 char (*f) () = $ac_func;
73619 #endif
73620 #ifdef __cplusplus
73622 #endif
73625 main ()
73627 return f != $ac_func;
73629 return 0;
73631 _ACEOF
73632 rm -f conftest.$ac_objext conftest$ac_exeext
73633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73634 (eval $ac_link) 2>conftest.er1
73635 ac_status=$?
73636 grep -v '^ *+' conftest.er1 >conftest.err
73637 rm -f conftest.er1
73638 cat conftest.err >&5
73639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73640 (exit $ac_status); } &&
73641 { ac_try='test -z "$ac_c_werror_flag"
73642 || test ! -s conftest.err'
73643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73644 (eval $ac_try) 2>&5
73645 ac_status=$?
73646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73647 (exit $ac_status); }; } &&
73648 { ac_try='test -s conftest$ac_exeext'
73649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73650 (eval $ac_try) 2>&5
73651 ac_status=$?
73652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73653 (exit $ac_status); }; }; then
73654 eval "$as_ac_var=yes"
73655 else
73656 echo "$as_me: failed program was:" >&5
73657 sed 's/^/| /' conftest.$ac_ext >&5
73659 eval "$as_ac_var=no"
73661 rm -f conftest.err conftest.$ac_objext \
73662 conftest$ac_exeext conftest.$ac_ext
73664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73666 if test `eval echo '${'$as_ac_var'}'` = yes; then
73667 cat >>confdefs.h <<_ACEOF
73668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73669 _ACEOF
73672 done
73680 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73681 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73682 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73683 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73684 echo $ECHO_N "(cached) $ECHO_C" >&6
73685 else
73689 ac_ext=cc
73690 ac_cpp='$CXXCPP $CPPFLAGS'
73691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73695 cat >conftest.$ac_ext <<_ACEOF
73696 /* confdefs.h. */
73697 _ACEOF
73698 cat confdefs.h >>conftest.$ac_ext
73699 cat >>conftest.$ac_ext <<_ACEOF
73700 /* end confdefs.h. */
73701 #include <stdlib.h>
73703 main ()
73705 strtof(0, 0);
73707 return 0;
73709 _ACEOF
73710 rm -f conftest.$ac_objext
73711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73712 (eval $ac_compile) 2>conftest.er1
73713 ac_status=$?
73714 grep -v '^ *+' conftest.er1 >conftest.err
73715 rm -f conftest.er1
73716 cat conftest.err >&5
73717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73718 (exit $ac_status); } &&
73719 { ac_try='test -z "$ac_cxx_werror_flag"
73720 || test ! -s conftest.err'
73721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73722 (eval $ac_try) 2>&5
73723 ac_status=$?
73724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73725 (exit $ac_status); }; } &&
73726 { ac_try='test -s conftest.$ac_objext'
73727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73728 (eval $ac_try) 2>&5
73729 ac_status=$?
73730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73731 (exit $ac_status); }; }; then
73732 glibcxx_cv_func_strtof_use=yes
73733 else
73734 echo "$as_me: failed program was:" >&5
73735 sed 's/^/| /' conftest.$ac_ext >&5
73737 glibcxx_cv_func_strtof_use=no
73739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73740 ac_ext=c
73741 ac_cpp='$CPP $CPPFLAGS'
73742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73751 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73752 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73754 for ac_func in strtof
73756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73757 echo "$as_me:$LINENO: checking for $ac_func" >&5
73758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73759 if eval "test \"\${$as_ac_var+set}\" = set"; then
73760 echo $ECHO_N "(cached) $ECHO_C" >&6
73761 else
73762 if test x$gcc_no_link = xyes; then
73763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73765 { (exit 1); exit 1; }; }
73767 cat >conftest.$ac_ext <<_ACEOF
73768 /* confdefs.h. */
73769 _ACEOF
73770 cat confdefs.h >>conftest.$ac_ext
73771 cat >>conftest.$ac_ext <<_ACEOF
73772 /* end confdefs.h. */
73773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73775 #define $ac_func innocuous_$ac_func
73777 /* System header to define __stub macros and hopefully few prototypes,
73778 which can conflict with char $ac_func (); below.
73779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73780 <limits.h> exists even on freestanding compilers. */
73782 #ifdef __STDC__
73783 # include <limits.h>
73784 #else
73785 # include <assert.h>
73786 #endif
73788 #undef $ac_func
73790 /* Override any gcc2 internal prototype to avoid an error. */
73791 #ifdef __cplusplus
73792 extern "C"
73794 #endif
73795 /* We use char because int might match the return type of a gcc2
73796 builtin and then its argument prototype would still apply. */
73797 char $ac_func ();
73798 /* The GNU C library defines this for functions which it implements
73799 to always fail with ENOSYS. Some functions are actually named
73800 something starting with __ and the normal name is an alias. */
73801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73802 choke me
73803 #else
73804 char (*f) () = $ac_func;
73805 #endif
73806 #ifdef __cplusplus
73808 #endif
73811 main ()
73813 return f != $ac_func;
73815 return 0;
73817 _ACEOF
73818 rm -f conftest.$ac_objext conftest$ac_exeext
73819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73820 (eval $ac_link) 2>conftest.er1
73821 ac_status=$?
73822 grep -v '^ *+' conftest.er1 >conftest.err
73823 rm -f conftest.er1
73824 cat conftest.err >&5
73825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73826 (exit $ac_status); } &&
73827 { ac_try='test -z "$ac_c_werror_flag"
73828 || test ! -s conftest.err'
73829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73830 (eval $ac_try) 2>&5
73831 ac_status=$?
73832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73833 (exit $ac_status); }; } &&
73834 { ac_try='test -s conftest$ac_exeext'
73835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73836 (eval $ac_try) 2>&5
73837 ac_status=$?
73838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73839 (exit $ac_status); }; }; then
73840 eval "$as_ac_var=yes"
73841 else
73842 echo "$as_me: failed program was:" >&5
73843 sed 's/^/| /' conftest.$ac_ext >&5
73845 eval "$as_ac_var=no"
73847 rm -f conftest.err conftest.$ac_objext \
73848 conftest$ac_exeext conftest.$ac_ext
73850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73852 if test `eval echo '${'$as_ac_var'}'` = yes; then
73853 cat >>confdefs.h <<_ACEOF
73854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73855 _ACEOF
73858 done
73866 CXXFLAGS="$ac_save_CXXFLAGS"
73869 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
73870 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
73871 if test "${glibcxx_cv_S_ISREG+set}" = set; then
73872 echo $ECHO_N "(cached) $ECHO_C" >&6
73873 else
73875 if test x$gcc_no_link = xyes; then
73876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73878 { (exit 1); exit 1; }; }
73880 cat >conftest.$ac_ext <<_ACEOF
73881 /* confdefs.h. */
73882 _ACEOF
73883 cat confdefs.h >>conftest.$ac_ext
73884 cat >>conftest.$ac_ext <<_ACEOF
73885 /* end confdefs.h. */
73886 #include <sys/stat.h>
73888 main ()
73890 struct stat buffer;
73891 fstat(0, &buffer);
73892 S_ISREG(buffer.st_mode);
73894 return 0;
73896 _ACEOF
73897 rm -f conftest.$ac_objext conftest$ac_exeext
73898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73899 (eval $ac_link) 2>conftest.er1
73900 ac_status=$?
73901 grep -v '^ *+' conftest.er1 >conftest.err
73902 rm -f conftest.er1
73903 cat conftest.err >&5
73904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905 (exit $ac_status); } &&
73906 { ac_try='test -z "$ac_c_werror_flag"
73907 || test ! -s conftest.err'
73908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73909 (eval $ac_try) 2>&5
73910 ac_status=$?
73911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73912 (exit $ac_status); }; } &&
73913 { ac_try='test -s conftest$ac_exeext'
73914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73915 (eval $ac_try) 2>&5
73916 ac_status=$?
73917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73918 (exit $ac_status); }; }; then
73919 glibcxx_cv_S_ISREG=yes
73920 else
73921 echo "$as_me: failed program was:" >&5
73922 sed 's/^/| /' conftest.$ac_ext >&5
73924 glibcxx_cv_S_ISREG=no
73926 rm -f conftest.err conftest.$ac_objext \
73927 conftest$ac_exeext conftest.$ac_ext
73931 if test "${glibcxx_cv_S_IFREG+set}" = set; then
73932 echo $ECHO_N "(cached) $ECHO_C" >&6
73933 else
73935 if test x$gcc_no_link = xyes; then
73936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73938 { (exit 1); exit 1; }; }
73940 cat >conftest.$ac_ext <<_ACEOF
73941 /* confdefs.h. */
73942 _ACEOF
73943 cat confdefs.h >>conftest.$ac_ext
73944 cat >>conftest.$ac_ext <<_ACEOF
73945 /* end confdefs.h. */
73946 #include <sys/stat.h>
73948 main ()
73950 struct stat buffer;
73951 fstat(0, &buffer);
73952 S_IFREG & buffer.st_mode;
73954 return 0;
73956 _ACEOF
73957 rm -f conftest.$ac_objext conftest$ac_exeext
73958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73959 (eval $ac_link) 2>conftest.er1
73960 ac_status=$?
73961 grep -v '^ *+' conftest.er1 >conftest.err
73962 rm -f conftest.er1
73963 cat conftest.err >&5
73964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73965 (exit $ac_status); } &&
73966 { ac_try='test -z "$ac_c_werror_flag"
73967 || test ! -s conftest.err'
73968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73969 (eval $ac_try) 2>&5
73970 ac_status=$?
73971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73972 (exit $ac_status); }; } &&
73973 { ac_try='test -s conftest$ac_exeext'
73974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73975 (eval $ac_try) 2>&5
73976 ac_status=$?
73977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73978 (exit $ac_status); }; }; then
73979 glibcxx_cv_S_IFREG=yes
73980 else
73981 echo "$as_me: failed program was:" >&5
73982 sed 's/^/| /' conftest.$ac_ext >&5
73984 glibcxx_cv_S_IFREG=no
73986 rm -f conftest.err conftest.$ac_objext \
73987 conftest$ac_exeext conftest.$ac_ext
73991 res=no
73992 if test $glibcxx_cv_S_ISREG = yes; then
73994 cat >>confdefs.h <<\_ACEOF
73995 #define HAVE_S_ISREG 1
73996 _ACEOF
73998 res=S_ISREG
73999 elif test $glibcxx_cv_S_IFREG = yes; then
74001 cat >>confdefs.h <<\_ACEOF
74002 #define HAVE_S_IFREG 1
74003 _ACEOF
74005 res=S_IFREG
74007 echo "$as_me:$LINENO: result: $res" >&5
74008 echo "${ECHO_T}$res" >&6
74010 cat >>confdefs.h <<\_ACEOF
74011 #define HAVE_WRITEV 1
74012 _ACEOF
74016 *-freebsd*)
74033 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74034 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74035 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74036 sys/time.h unistd.h
74038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74040 echo "$as_me:$LINENO: checking for $ac_header" >&5
74041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74043 echo $ECHO_N "(cached) $ECHO_C" >&6
74045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74047 else
74048 # Is the header compilable?
74049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74051 cat >conftest.$ac_ext <<_ACEOF
74052 /* confdefs.h. */
74053 _ACEOF
74054 cat confdefs.h >>conftest.$ac_ext
74055 cat >>conftest.$ac_ext <<_ACEOF
74056 /* end confdefs.h. */
74057 $ac_includes_default
74058 #include <$ac_header>
74059 _ACEOF
74060 rm -f conftest.$ac_objext
74061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74062 (eval $ac_compile) 2>conftest.er1
74063 ac_status=$?
74064 grep -v '^ *+' conftest.er1 >conftest.err
74065 rm -f conftest.er1
74066 cat conftest.err >&5
74067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74068 (exit $ac_status); } &&
74069 { ac_try='test -z "$ac_c_werror_flag"
74070 || test ! -s conftest.err'
74071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74072 (eval $ac_try) 2>&5
74073 ac_status=$?
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 (exit $ac_status); }; } &&
74076 { ac_try='test -s conftest.$ac_objext'
74077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74078 (eval $ac_try) 2>&5
74079 ac_status=$?
74080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74081 (exit $ac_status); }; }; then
74082 ac_header_compiler=yes
74083 else
74084 echo "$as_me: failed program was:" >&5
74085 sed 's/^/| /' conftest.$ac_ext >&5
74087 ac_header_compiler=no
74089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74091 echo "${ECHO_T}$ac_header_compiler" >&6
74093 # Is the header present?
74094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74096 cat >conftest.$ac_ext <<_ACEOF
74097 /* confdefs.h. */
74098 _ACEOF
74099 cat confdefs.h >>conftest.$ac_ext
74100 cat >>conftest.$ac_ext <<_ACEOF
74101 /* end confdefs.h. */
74102 #include <$ac_header>
74103 _ACEOF
74104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74106 ac_status=$?
74107 grep -v '^ *+' conftest.er1 >conftest.err
74108 rm -f conftest.er1
74109 cat conftest.err >&5
74110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74111 (exit $ac_status); } >/dev/null; then
74112 if test -s conftest.err; then
74113 ac_cpp_err=$ac_c_preproc_warn_flag
74114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74115 else
74116 ac_cpp_err=
74118 else
74119 ac_cpp_err=yes
74121 if test -z "$ac_cpp_err"; then
74122 ac_header_preproc=yes
74123 else
74124 echo "$as_me: failed program was:" >&5
74125 sed 's/^/| /' conftest.$ac_ext >&5
74127 ac_header_preproc=no
74129 rm -f conftest.err conftest.$ac_ext
74130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74131 echo "${ECHO_T}$ac_header_preproc" >&6
74133 # So? What about this header?
74134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74135 yes:no: )
74136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74140 ac_header_preproc=yes
74142 no:yes:* )
74143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74156 cat <<\_ASBOX
74157 ## ----------------------------------------- ##
74158 ## Report this to the package-unused lists. ##
74159 ## ----------------------------------------- ##
74160 _ASBOX
74162 sed "s/^/$as_me: WARNING: /" >&2
74164 esac
74165 echo "$as_me:$LINENO: checking for $ac_header" >&5
74166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74168 echo $ECHO_N "(cached) $ECHO_C" >&6
74169 else
74170 eval "$as_ac_Header=\$ac_header_preproc"
74172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74177 cat >>confdefs.h <<_ACEOF
74178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74179 _ACEOF
74183 done
74185 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74188 # If we're not using GNU ld, then there's no point in even trying these
74189 # tests. Check for that first. We should have already tested for gld
74190 # by now (in libtool), but require it now just to be safe...
74191 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74192 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74196 # The name set by libtool depends on the version of libtool. Shame on us
74197 # for depending on an impl detail, but c'est la vie. Older versions used
74198 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74199 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74200 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74201 # set (hence we're using an older libtool), then set it.
74202 if test x${with_gnu_ld+set} != xset; then
74203 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74204 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74205 with_gnu_ld=no
74206 else
74207 with_gnu_ld=$ac_cv_prog_gnu_ld
74211 # Start by getting the version number. I think the libtool test already
74212 # does some of this, but throws away the result.
74214 ldver=`$LD --version 2>/dev/null | head -1 | \
74215 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74217 glibcxx_gnu_ld_version=`echo $ldver | \
74218 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74220 # Set --gc-sections.
74221 if test "$with_gnu_ld" = "notbroken"; then
74222 # GNU ld it is! Joy and bunny rabbits!
74224 # All these tests are for C++; save the language and the compiler flags.
74225 # Need to do this so that g++ won't try to link in libstdc++
74226 ac_test_CFLAGS="${CFLAGS+set}"
74227 ac_save_CFLAGS="$CFLAGS"
74228 CFLAGS='-x c++ -Wl,--gc-sections'
74230 # Check for -Wl,--gc-sections
74231 # XXX This test is broken at the moment, as symbols required for linking
74232 # are now in libsupc++ (not built yet). In addition, this test has
74233 # cored on solaris in the past. In addition, --gc-sections doesn't
74234 # really work at the moment (keeps on discarding used sections, first
74235 # .eh_frame and now some of the glibc sections for iconv).
74236 # Bzzzzt. Thanks for playing, maybe next time.
74237 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74238 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74239 if test "$cross_compiling" = yes; then
74240 ac_sectionLDflags=yes
74241 else
74242 cat >conftest.$ac_ext <<_ACEOF
74243 /* confdefs.h. */
74244 _ACEOF
74245 cat confdefs.h >>conftest.$ac_ext
74246 cat >>conftest.$ac_ext <<_ACEOF
74247 /* end confdefs.h. */
74249 int main(void)
74251 try { throw 1; }
74252 catch (...) { };
74253 return 0;
74256 _ACEOF
74257 rm -f conftest$ac_exeext
74258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74259 (eval $ac_link) 2>&5
74260 ac_status=$?
74261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74264 (eval $ac_try) 2>&5
74265 ac_status=$?
74266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74267 (exit $ac_status); }; }; then
74268 ac_sectionLDflags=yes
74269 else
74270 echo "$as_me: program exited with status $ac_status" >&5
74271 echo "$as_me: failed program was:" >&5
74272 sed 's/^/| /' conftest.$ac_ext >&5
74274 ( exit $ac_status )
74275 ac_sectionLDflags=no
74277 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74279 if test "$ac_test_CFLAGS" = set; then
74280 CFLAGS="$ac_save_CFLAGS"
74281 else
74282 # this is the suspicious part
74283 CFLAGS=''
74285 if test "$ac_sectionLDflags" = "yes"; then
74286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74288 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74289 echo "${ECHO_T}$ac_sectionLDflags" >&6
74292 # Set linker optimization flags.
74293 if test x"$with_gnu_ld" = x"yes"; then
74294 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74302 echo "$as_me:$LINENO: checking for main in -lm" >&5
74303 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74304 if test "${ac_cv_lib_m_main+set}" = set; then
74305 echo $ECHO_N "(cached) $ECHO_C" >&6
74306 else
74307 ac_check_lib_save_LIBS=$LIBS
74308 LIBS="-lm $LIBS"
74309 if test x$gcc_no_link = xyes; then
74310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74312 { (exit 1); exit 1; }; }
74314 cat >conftest.$ac_ext <<_ACEOF
74315 /* confdefs.h. */
74316 _ACEOF
74317 cat confdefs.h >>conftest.$ac_ext
74318 cat >>conftest.$ac_ext <<_ACEOF
74319 /* end confdefs.h. */
74323 main ()
74325 main ();
74327 return 0;
74329 _ACEOF
74330 rm -f conftest.$ac_objext conftest$ac_exeext
74331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74332 (eval $ac_link) 2>conftest.er1
74333 ac_status=$?
74334 grep -v '^ *+' conftest.er1 >conftest.err
74335 rm -f conftest.er1
74336 cat conftest.err >&5
74337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74338 (exit $ac_status); } &&
74339 { ac_try='test -z "$ac_c_werror_flag"
74340 || test ! -s conftest.err'
74341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74342 (eval $ac_try) 2>&5
74343 ac_status=$?
74344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74345 (exit $ac_status); }; } &&
74346 { ac_try='test -s conftest$ac_exeext'
74347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74348 (eval $ac_try) 2>&5
74349 ac_status=$?
74350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74351 (exit $ac_status); }; }; then
74352 ac_cv_lib_m_main=yes
74353 else
74354 echo "$as_me: failed program was:" >&5
74355 sed 's/^/| /' conftest.$ac_ext >&5
74357 ac_cv_lib_m_main=no
74359 rm -f conftest.err conftest.$ac_objext \
74360 conftest$ac_exeext conftest.$ac_ext
74361 LIBS=$ac_check_lib_save_LIBS
74363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74364 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74365 if test $ac_cv_lib_m_main = yes; then
74366 cat >>confdefs.h <<_ACEOF
74367 #define HAVE_LIBM 1
74368 _ACEOF
74370 LIBS="-lm $LIBS"
74375 for ac_func in copysignf
74377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74378 echo "$as_me:$LINENO: checking for $ac_func" >&5
74379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74380 if eval "test \"\${$as_ac_var+set}\" = set"; then
74381 echo $ECHO_N "(cached) $ECHO_C" >&6
74382 else
74383 if test x$gcc_no_link = xyes; then
74384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74386 { (exit 1); exit 1; }; }
74388 cat >conftest.$ac_ext <<_ACEOF
74389 /* confdefs.h. */
74390 _ACEOF
74391 cat confdefs.h >>conftest.$ac_ext
74392 cat >>conftest.$ac_ext <<_ACEOF
74393 /* end confdefs.h. */
74394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74396 #define $ac_func innocuous_$ac_func
74398 /* System header to define __stub macros and hopefully few prototypes,
74399 which can conflict with char $ac_func (); below.
74400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74401 <limits.h> exists even on freestanding compilers. */
74403 #ifdef __STDC__
74404 # include <limits.h>
74405 #else
74406 # include <assert.h>
74407 #endif
74409 #undef $ac_func
74411 /* Override any gcc2 internal prototype to avoid an error. */
74412 #ifdef __cplusplus
74413 extern "C"
74415 #endif
74416 /* We use char because int might match the return type of a gcc2
74417 builtin and then its argument prototype would still apply. */
74418 char $ac_func ();
74419 /* The GNU C library defines this for functions which it implements
74420 to always fail with ENOSYS. Some functions are actually named
74421 something starting with __ and the normal name is an alias. */
74422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74423 choke me
74424 #else
74425 char (*f) () = $ac_func;
74426 #endif
74427 #ifdef __cplusplus
74429 #endif
74432 main ()
74434 return f != $ac_func;
74436 return 0;
74438 _ACEOF
74439 rm -f conftest.$ac_objext conftest$ac_exeext
74440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74441 (eval $ac_link) 2>conftest.er1
74442 ac_status=$?
74443 grep -v '^ *+' conftest.er1 >conftest.err
74444 rm -f conftest.er1
74445 cat conftest.err >&5
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); } &&
74448 { ac_try='test -z "$ac_c_werror_flag"
74449 || test ! -s conftest.err'
74450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74451 (eval $ac_try) 2>&5
74452 ac_status=$?
74453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74454 (exit $ac_status); }; } &&
74455 { ac_try='test -s conftest$ac_exeext'
74456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74457 (eval $ac_try) 2>&5
74458 ac_status=$?
74459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74460 (exit $ac_status); }; }; then
74461 eval "$as_ac_var=yes"
74462 else
74463 echo "$as_me: failed program was:" >&5
74464 sed 's/^/| /' conftest.$ac_ext >&5
74466 eval "$as_ac_var=no"
74468 rm -f conftest.err conftest.$ac_objext \
74469 conftest$ac_exeext conftest.$ac_ext
74471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74473 if test `eval echo '${'$as_ac_var'}'` = yes; then
74474 cat >>confdefs.h <<_ACEOF
74475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74476 _ACEOF
74478 else
74479 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74481 done
74485 for ac_func in __signbit
74487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74488 echo "$as_me:$LINENO: checking for $ac_func" >&5
74489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74490 if eval "test \"\${$as_ac_var+set}\" = set"; then
74491 echo $ECHO_N "(cached) $ECHO_C" >&6
74492 else
74493 if test x$gcc_no_link = xyes; then
74494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74496 { (exit 1); exit 1; }; }
74498 cat >conftest.$ac_ext <<_ACEOF
74499 /* confdefs.h. */
74500 _ACEOF
74501 cat confdefs.h >>conftest.$ac_ext
74502 cat >>conftest.$ac_ext <<_ACEOF
74503 /* end confdefs.h. */
74504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74506 #define $ac_func innocuous_$ac_func
74508 /* System header to define __stub macros and hopefully few prototypes,
74509 which can conflict with char $ac_func (); below.
74510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74511 <limits.h> exists even on freestanding compilers. */
74513 #ifdef __STDC__
74514 # include <limits.h>
74515 #else
74516 # include <assert.h>
74517 #endif
74519 #undef $ac_func
74521 /* Override any gcc2 internal prototype to avoid an error. */
74522 #ifdef __cplusplus
74523 extern "C"
74525 #endif
74526 /* We use char because int might match the return type of a gcc2
74527 builtin and then its argument prototype would still apply. */
74528 char $ac_func ();
74529 /* The GNU C library defines this for functions which it implements
74530 to always fail with ENOSYS. Some functions are actually named
74531 something starting with __ and the normal name is an alias. */
74532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74533 choke me
74534 #else
74535 char (*f) () = $ac_func;
74536 #endif
74537 #ifdef __cplusplus
74539 #endif
74542 main ()
74544 return f != $ac_func;
74546 return 0;
74548 _ACEOF
74549 rm -f conftest.$ac_objext conftest$ac_exeext
74550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74551 (eval $ac_link) 2>conftest.er1
74552 ac_status=$?
74553 grep -v '^ *+' conftest.er1 >conftest.err
74554 rm -f conftest.er1
74555 cat conftest.err >&5
74556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74557 (exit $ac_status); } &&
74558 { ac_try='test -z "$ac_c_werror_flag"
74559 || test ! -s conftest.err'
74560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74561 (eval $ac_try) 2>&5
74562 ac_status=$?
74563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74564 (exit $ac_status); }; } &&
74565 { ac_try='test -s conftest$ac_exeext'
74566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74567 (eval $ac_try) 2>&5
74568 ac_status=$?
74569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570 (exit $ac_status); }; }; then
74571 eval "$as_ac_var=yes"
74572 else
74573 echo "$as_me: failed program was:" >&5
74574 sed 's/^/| /' conftest.$ac_ext >&5
74576 eval "$as_ac_var=no"
74578 rm -f conftest.err conftest.$ac_objext \
74579 conftest$ac_exeext conftest.$ac_ext
74581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74583 if test `eval echo '${'$as_ac_var'}'` = yes; then
74584 cat >>confdefs.h <<_ACEOF
74585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74586 _ACEOF
74588 else
74589 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74591 done
74595 for ac_func in __signbitf
74597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74598 echo "$as_me:$LINENO: checking for $ac_func" >&5
74599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74600 if eval "test \"\${$as_ac_var+set}\" = set"; then
74601 echo $ECHO_N "(cached) $ECHO_C" >&6
74602 else
74603 if test x$gcc_no_link = xyes; then
74604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74606 { (exit 1); exit 1; }; }
74608 cat >conftest.$ac_ext <<_ACEOF
74609 /* confdefs.h. */
74610 _ACEOF
74611 cat confdefs.h >>conftest.$ac_ext
74612 cat >>conftest.$ac_ext <<_ACEOF
74613 /* end confdefs.h. */
74614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74616 #define $ac_func innocuous_$ac_func
74618 /* System header to define __stub macros and hopefully few prototypes,
74619 which can conflict with char $ac_func (); below.
74620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74621 <limits.h> exists even on freestanding compilers. */
74623 #ifdef __STDC__
74624 # include <limits.h>
74625 #else
74626 # include <assert.h>
74627 #endif
74629 #undef $ac_func
74631 /* Override any gcc2 internal prototype to avoid an error. */
74632 #ifdef __cplusplus
74633 extern "C"
74635 #endif
74636 /* We use char because int might match the return type of a gcc2
74637 builtin and then its argument prototype would still apply. */
74638 char $ac_func ();
74639 /* The GNU C library defines this for functions which it implements
74640 to always fail with ENOSYS. Some functions are actually named
74641 something starting with __ and the normal name is an alias. */
74642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74643 choke me
74644 #else
74645 char (*f) () = $ac_func;
74646 #endif
74647 #ifdef __cplusplus
74649 #endif
74652 main ()
74654 return f != $ac_func;
74656 return 0;
74658 _ACEOF
74659 rm -f conftest.$ac_objext conftest$ac_exeext
74660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74661 (eval $ac_link) 2>conftest.er1
74662 ac_status=$?
74663 grep -v '^ *+' conftest.er1 >conftest.err
74664 rm -f conftest.er1
74665 cat conftest.err >&5
74666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74667 (exit $ac_status); } &&
74668 { ac_try='test -z "$ac_c_werror_flag"
74669 || test ! -s conftest.err'
74670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74671 (eval $ac_try) 2>&5
74672 ac_status=$?
74673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74674 (exit $ac_status); }; } &&
74675 { ac_try='test -s conftest$ac_exeext'
74676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74677 (eval $ac_try) 2>&5
74678 ac_status=$?
74679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74680 (exit $ac_status); }; }; then
74681 eval "$as_ac_var=yes"
74682 else
74683 echo "$as_me: failed program was:" >&5
74684 sed 's/^/| /' conftest.$ac_ext >&5
74686 eval "$as_ac_var=no"
74688 rm -f conftest.err conftest.$ac_objext \
74689 conftest$ac_exeext conftest.$ac_ext
74691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74693 if test `eval echo '${'$as_ac_var'}'` = yes; then
74694 cat >>confdefs.h <<_ACEOF
74695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74696 _ACEOF
74698 else
74699 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74701 done
74704 if test x$ac_cv_func_copysignl = x"yes"; then
74706 for ac_func in __signbitl
74708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74709 echo "$as_me:$LINENO: checking for $ac_func" >&5
74710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74711 if eval "test \"\${$as_ac_var+set}\" = set"; then
74712 echo $ECHO_N "(cached) $ECHO_C" >&6
74713 else
74714 if test x$gcc_no_link = xyes; then
74715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74717 { (exit 1); exit 1; }; }
74719 cat >conftest.$ac_ext <<_ACEOF
74720 /* confdefs.h. */
74721 _ACEOF
74722 cat confdefs.h >>conftest.$ac_ext
74723 cat >>conftest.$ac_ext <<_ACEOF
74724 /* end confdefs.h. */
74725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74727 #define $ac_func innocuous_$ac_func
74729 /* System header to define __stub macros and hopefully few prototypes,
74730 which can conflict with char $ac_func (); below.
74731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74732 <limits.h> exists even on freestanding compilers. */
74734 #ifdef __STDC__
74735 # include <limits.h>
74736 #else
74737 # include <assert.h>
74738 #endif
74740 #undef $ac_func
74742 /* Override any gcc2 internal prototype to avoid an error. */
74743 #ifdef __cplusplus
74744 extern "C"
74746 #endif
74747 /* We use char because int might match the return type of a gcc2
74748 builtin and then its argument prototype would still apply. */
74749 char $ac_func ();
74750 /* The GNU C library defines this for functions which it implements
74751 to always fail with ENOSYS. Some functions are actually named
74752 something starting with __ and the normal name is an alias. */
74753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74754 choke me
74755 #else
74756 char (*f) () = $ac_func;
74757 #endif
74758 #ifdef __cplusplus
74760 #endif
74763 main ()
74765 return f != $ac_func;
74767 return 0;
74769 _ACEOF
74770 rm -f conftest.$ac_objext conftest$ac_exeext
74771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74772 (eval $ac_link) 2>conftest.er1
74773 ac_status=$?
74774 grep -v '^ *+' conftest.er1 >conftest.err
74775 rm -f conftest.er1
74776 cat conftest.err >&5
74777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74778 (exit $ac_status); } &&
74779 { ac_try='test -z "$ac_c_werror_flag"
74780 || test ! -s conftest.err'
74781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74782 (eval $ac_try) 2>&5
74783 ac_status=$?
74784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74785 (exit $ac_status); }; } &&
74786 { ac_try='test -s conftest$ac_exeext'
74787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74788 (eval $ac_try) 2>&5
74789 ac_status=$?
74790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74791 (exit $ac_status); }; }; then
74792 eval "$as_ac_var=yes"
74793 else
74794 echo "$as_me: failed program was:" >&5
74795 sed 's/^/| /' conftest.$ac_ext >&5
74797 eval "$as_ac_var=no"
74799 rm -f conftest.err conftest.$ac_objext \
74800 conftest$ac_exeext conftest.$ac_ext
74802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74804 if test `eval echo '${'$as_ac_var'}'` = yes; then
74805 cat >>confdefs.h <<_ACEOF
74806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74807 _ACEOF
74809 else
74810 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74812 done
74816 # Used in libmath/Makefile.am.
74817 if test -n "$LIBMATHOBJS"; then
74818 need_libmath=yes
74824 enable_iconv=no
74825 # Only continue checking if the ISO C99 headers exist and support is on.
74826 if test x"$enable_wchar_t" = xyes; then
74828 # Use iconv for wchar_t to char conversions. As such, check for
74829 # X/Open Portability Guide, version 2 features (XPG2).
74830 if test "${ac_cv_header_iconv_h+set}" = set; then
74831 echo "$as_me:$LINENO: checking for iconv.h" >&5
74832 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74833 if test "${ac_cv_header_iconv_h+set}" = set; then
74834 echo $ECHO_N "(cached) $ECHO_C" >&6
74836 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74837 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74838 else
74839 # Is the header compilable?
74840 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74841 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74842 cat >conftest.$ac_ext <<_ACEOF
74843 /* confdefs.h. */
74844 _ACEOF
74845 cat confdefs.h >>conftest.$ac_ext
74846 cat >>conftest.$ac_ext <<_ACEOF
74847 /* end confdefs.h. */
74848 $ac_includes_default
74849 #include <iconv.h>
74850 _ACEOF
74851 rm -f conftest.$ac_objext
74852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74853 (eval $ac_compile) 2>conftest.er1
74854 ac_status=$?
74855 grep -v '^ *+' conftest.er1 >conftest.err
74856 rm -f conftest.er1
74857 cat conftest.err >&5
74858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74859 (exit $ac_status); } &&
74860 { ac_try='test -z "$ac_c_werror_flag"
74861 || test ! -s conftest.err'
74862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863 (eval $ac_try) 2>&5
74864 ac_status=$?
74865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866 (exit $ac_status); }; } &&
74867 { ac_try='test -s conftest.$ac_objext'
74868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74869 (eval $ac_try) 2>&5
74870 ac_status=$?
74871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74872 (exit $ac_status); }; }; then
74873 ac_header_compiler=yes
74874 else
74875 echo "$as_me: failed program was:" >&5
74876 sed 's/^/| /' conftest.$ac_ext >&5
74878 ac_header_compiler=no
74880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74882 echo "${ECHO_T}$ac_header_compiler" >&6
74884 # Is the header present?
74885 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74886 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74887 cat >conftest.$ac_ext <<_ACEOF
74888 /* confdefs.h. */
74889 _ACEOF
74890 cat confdefs.h >>conftest.$ac_ext
74891 cat >>conftest.$ac_ext <<_ACEOF
74892 /* end confdefs.h. */
74893 #include <iconv.h>
74894 _ACEOF
74895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74897 ac_status=$?
74898 grep -v '^ *+' conftest.er1 >conftest.err
74899 rm -f conftest.er1
74900 cat conftest.err >&5
74901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74902 (exit $ac_status); } >/dev/null; then
74903 if test -s conftest.err; then
74904 ac_cpp_err=$ac_c_preproc_warn_flag
74905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74906 else
74907 ac_cpp_err=
74909 else
74910 ac_cpp_err=yes
74912 if test -z "$ac_cpp_err"; then
74913 ac_header_preproc=yes
74914 else
74915 echo "$as_me: failed program was:" >&5
74916 sed 's/^/| /' conftest.$ac_ext >&5
74918 ac_header_preproc=no
74920 rm -f conftest.err conftest.$ac_ext
74921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74922 echo "${ECHO_T}$ac_header_preproc" >&6
74924 # So? What about this header?
74925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74926 yes:no: )
74927 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74928 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74929 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74930 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74931 ac_header_preproc=yes
74933 no:yes:* )
74934 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74935 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74936 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74937 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74938 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74939 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74940 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74941 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74942 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74943 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74944 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74945 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74947 cat <<\_ASBOX
74948 ## ----------------------------------------- ##
74949 ## Report this to the package-unused lists. ##
74950 ## ----------------------------------------- ##
74951 _ASBOX
74953 sed "s/^/$as_me: WARNING: /" >&2
74955 esac
74956 echo "$as_me:$LINENO: checking for iconv.h" >&5
74957 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74958 if test "${ac_cv_header_iconv_h+set}" = set; then
74959 echo $ECHO_N "(cached) $ECHO_C" >&6
74960 else
74961 ac_cv_header_iconv_h=$ac_header_preproc
74963 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74964 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74967 if test $ac_cv_header_iconv_h = yes; then
74968 ac_has_iconv_h=yes
74969 else
74970 ac_has_iconv_h=no
74974 if test "${ac_cv_header_langinfo_h+set}" = set; then
74975 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74976 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74977 if test "${ac_cv_header_langinfo_h+set}" = set; then
74978 echo $ECHO_N "(cached) $ECHO_C" >&6
74980 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74981 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74982 else
74983 # Is the header compilable?
74984 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74985 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74986 cat >conftest.$ac_ext <<_ACEOF
74987 /* confdefs.h. */
74988 _ACEOF
74989 cat confdefs.h >>conftest.$ac_ext
74990 cat >>conftest.$ac_ext <<_ACEOF
74991 /* end confdefs.h. */
74992 $ac_includes_default
74993 #include <langinfo.h>
74994 _ACEOF
74995 rm -f conftest.$ac_objext
74996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74997 (eval $ac_compile) 2>conftest.er1
74998 ac_status=$?
74999 grep -v '^ *+' conftest.er1 >conftest.err
75000 rm -f conftest.er1
75001 cat conftest.err >&5
75002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75003 (exit $ac_status); } &&
75004 { ac_try='test -z "$ac_c_werror_flag"
75005 || test ! -s conftest.err'
75006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75007 (eval $ac_try) 2>&5
75008 ac_status=$?
75009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75010 (exit $ac_status); }; } &&
75011 { ac_try='test -s conftest.$ac_objext'
75012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75013 (eval $ac_try) 2>&5
75014 ac_status=$?
75015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016 (exit $ac_status); }; }; then
75017 ac_header_compiler=yes
75018 else
75019 echo "$as_me: failed program was:" >&5
75020 sed 's/^/| /' conftest.$ac_ext >&5
75022 ac_header_compiler=no
75024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75026 echo "${ECHO_T}$ac_header_compiler" >&6
75028 # Is the header present?
75029 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75030 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75031 cat >conftest.$ac_ext <<_ACEOF
75032 /* confdefs.h. */
75033 _ACEOF
75034 cat confdefs.h >>conftest.$ac_ext
75035 cat >>conftest.$ac_ext <<_ACEOF
75036 /* end confdefs.h. */
75037 #include <langinfo.h>
75038 _ACEOF
75039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75041 ac_status=$?
75042 grep -v '^ *+' conftest.er1 >conftest.err
75043 rm -f conftest.er1
75044 cat conftest.err >&5
75045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75046 (exit $ac_status); } >/dev/null; then
75047 if test -s conftest.err; then
75048 ac_cpp_err=$ac_c_preproc_warn_flag
75049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75050 else
75051 ac_cpp_err=
75053 else
75054 ac_cpp_err=yes
75056 if test -z "$ac_cpp_err"; then
75057 ac_header_preproc=yes
75058 else
75059 echo "$as_me: failed program was:" >&5
75060 sed 's/^/| /' conftest.$ac_ext >&5
75062 ac_header_preproc=no
75064 rm -f conftest.err conftest.$ac_ext
75065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75066 echo "${ECHO_T}$ac_header_preproc" >&6
75068 # So? What about this header?
75069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75070 yes:no: )
75071 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75072 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75073 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75074 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75075 ac_header_preproc=yes
75077 no:yes:* )
75078 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75079 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75080 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75081 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75082 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75083 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75084 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75085 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75086 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75087 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75088 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75089 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75091 cat <<\_ASBOX
75092 ## ----------------------------------------- ##
75093 ## Report this to the package-unused lists. ##
75094 ## ----------------------------------------- ##
75095 _ASBOX
75097 sed "s/^/$as_me: WARNING: /" >&2
75099 esac
75100 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75101 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75102 if test "${ac_cv_header_langinfo_h+set}" = set; then
75103 echo $ECHO_N "(cached) $ECHO_C" >&6
75104 else
75105 ac_cv_header_langinfo_h=$ac_header_preproc
75107 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75108 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75111 if test $ac_cv_header_langinfo_h = yes; then
75112 ac_has_langinfo_h=yes
75113 else
75114 ac_has_langinfo_h=no
75119 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75120 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75121 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75122 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75123 echo $ECHO_N "(cached) $ECHO_C" >&6
75124 else
75125 ac_check_lib_save_LIBS=$LIBS
75126 LIBS="-liconv $LIBS"
75127 if test x$gcc_no_link = xyes; then
75128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75130 { (exit 1); exit 1; }; }
75132 cat >conftest.$ac_ext <<_ACEOF
75133 /* confdefs.h. */
75134 _ACEOF
75135 cat confdefs.h >>conftest.$ac_ext
75136 cat >>conftest.$ac_ext <<_ACEOF
75137 /* end confdefs.h. */
75139 /* Override any gcc2 internal prototype to avoid an error. */
75140 #ifdef __cplusplus
75141 extern "C"
75142 #endif
75143 /* We use char because int might match the return type of a gcc2
75144 builtin and then its argument prototype would still apply. */
75145 char iconv ();
75147 main ()
75149 iconv ();
75151 return 0;
75153 _ACEOF
75154 rm -f conftest.$ac_objext conftest$ac_exeext
75155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75156 (eval $ac_link) 2>conftest.er1
75157 ac_status=$?
75158 grep -v '^ *+' conftest.er1 >conftest.err
75159 rm -f conftest.er1
75160 cat conftest.err >&5
75161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75162 (exit $ac_status); } &&
75163 { ac_try='test -z "$ac_c_werror_flag"
75164 || test ! -s conftest.err'
75165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75166 (eval $ac_try) 2>&5
75167 ac_status=$?
75168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75169 (exit $ac_status); }; } &&
75170 { ac_try='test -s conftest$ac_exeext'
75171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75172 (eval $ac_try) 2>&5
75173 ac_status=$?
75174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75175 (exit $ac_status); }; }; then
75176 ac_cv_lib_iconv_iconv=yes
75177 else
75178 echo "$as_me: failed program was:" >&5
75179 sed 's/^/| /' conftest.$ac_ext >&5
75181 ac_cv_lib_iconv_iconv=no
75183 rm -f conftest.err conftest.$ac_objext \
75184 conftest$ac_exeext conftest.$ac_ext
75185 LIBS=$ac_check_lib_save_LIBS
75187 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75188 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75189 if test $ac_cv_lib_iconv_iconv = yes; then
75190 LIBICONV="-liconv"
75193 ac_save_LIBS="$LIBS"
75194 LIBS="$LIBS $LIBICONV"
75201 for ac_func in iconv_open iconv_close iconv nl_langinfo
75203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75204 echo "$as_me:$LINENO: checking for $ac_func" >&5
75205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75206 if eval "test \"\${$as_ac_var+set}\" = set"; then
75207 echo $ECHO_N "(cached) $ECHO_C" >&6
75208 else
75209 if test x$gcc_no_link = xyes; then
75210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75212 { (exit 1); exit 1; }; }
75214 cat >conftest.$ac_ext <<_ACEOF
75215 /* confdefs.h. */
75216 _ACEOF
75217 cat confdefs.h >>conftest.$ac_ext
75218 cat >>conftest.$ac_ext <<_ACEOF
75219 /* end confdefs.h. */
75220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75222 #define $ac_func innocuous_$ac_func
75224 /* System header to define __stub macros and hopefully few prototypes,
75225 which can conflict with char $ac_func (); below.
75226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75227 <limits.h> exists even on freestanding compilers. */
75229 #ifdef __STDC__
75230 # include <limits.h>
75231 #else
75232 # include <assert.h>
75233 #endif
75235 #undef $ac_func
75237 /* Override any gcc2 internal prototype to avoid an error. */
75238 #ifdef __cplusplus
75239 extern "C"
75241 #endif
75242 /* We use char because int might match the return type of a gcc2
75243 builtin and then its argument prototype would still apply. */
75244 char $ac_func ();
75245 /* The GNU C library defines this for functions which it implements
75246 to always fail with ENOSYS. Some functions are actually named
75247 something starting with __ and the normal name is an alias. */
75248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75249 choke me
75250 #else
75251 char (*f) () = $ac_func;
75252 #endif
75253 #ifdef __cplusplus
75255 #endif
75258 main ()
75260 return f != $ac_func;
75262 return 0;
75264 _ACEOF
75265 rm -f conftest.$ac_objext conftest$ac_exeext
75266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75267 (eval $ac_link) 2>conftest.er1
75268 ac_status=$?
75269 grep -v '^ *+' conftest.er1 >conftest.err
75270 rm -f conftest.er1
75271 cat conftest.err >&5
75272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75273 (exit $ac_status); } &&
75274 { ac_try='test -z "$ac_c_werror_flag"
75275 || test ! -s conftest.err'
75276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75277 (eval $ac_try) 2>&5
75278 ac_status=$?
75279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75280 (exit $ac_status); }; } &&
75281 { ac_try='test -s conftest$ac_exeext'
75282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75283 (eval $ac_try) 2>&5
75284 ac_status=$?
75285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75286 (exit $ac_status); }; }; then
75287 eval "$as_ac_var=yes"
75288 else
75289 echo "$as_me: failed program was:" >&5
75290 sed 's/^/| /' conftest.$ac_ext >&5
75292 eval "$as_ac_var=no"
75294 rm -f conftest.err conftest.$ac_objext \
75295 conftest$ac_exeext conftest.$ac_ext
75297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75299 if test `eval echo '${'$as_ac_var'}'` = yes; then
75300 cat >>confdefs.h <<_ACEOF
75301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75302 _ACEOF
75303 ac_XPG2funcs=yes
75304 else
75305 ac_XPG2funcs=no
75307 done
75310 LIBS="$ac_save_LIBS"
75312 if test x"$ac_has_iconv_h" = xyes &&
75313 test x"$ac_has_langinfo_h" = xyes &&
75314 test x"$ac_XPG2funcs" = xyes;
75315 then
75317 cat >>confdefs.h <<\_ACEOF
75318 #define _GLIBCXX_USE_ICONV 1
75319 _ACEOF
75321 enable_iconv=yes
75324 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75325 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75326 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75327 echo "${ECHO_T}$enable_iconv" >&6
75329 cat >>confdefs.h <<\_ACEOF
75330 #define HAVE_LC_MESSAGES 1
75331 _ACEOF
75333 cat >>confdefs.h <<\_ACEOF
75334 #define HAVE_GETPAGESIZE 1
75335 _ACEOF
75337 cat >>confdefs.h <<\_ACEOF
75338 #define HAVE_SETENV 1
75339 _ACEOF
75341 cat >>confdefs.h <<\_ACEOF
75342 #define HAVE_SIGSETJMP 1
75343 _ACEOF
75345 cat >>confdefs.h <<\_ACEOF
75346 #define HAVE_COPYSIGN 1
75347 _ACEOF
75349 cat >>confdefs.h <<\_ACEOF
75350 #define HAVE_COPYSIGNF 1
75351 _ACEOF
75353 cat >>confdefs.h <<\_ACEOF
75354 #define HAVE_FINITEF 1
75355 _ACEOF
75357 cat >>confdefs.h <<\_ACEOF
75358 #define HAVE_FINITE 1
75359 _ACEOF
75361 cat >>confdefs.h <<\_ACEOF
75362 #define HAVE_FREXPF 1
75363 _ACEOF
75365 cat >>confdefs.h <<\_ACEOF
75366 #define HAVE_HYPOT 1
75367 _ACEOF
75369 cat >>confdefs.h <<\_ACEOF
75370 #define HAVE_HYPOTF 1
75371 _ACEOF
75373 cat >>confdefs.h <<\_ACEOF
75374 #define HAVE_ISINF 1
75375 _ACEOF
75377 cat >>confdefs.h <<\_ACEOF
75378 #define HAVE_ISNAN 1
75379 _ACEOF
75381 cat >>confdefs.h <<\_ACEOF
75382 #define HAVE_ISNANF 1
75383 _ACEOF
75386 cat >>confdefs.h <<\_ACEOF
75387 #define HAVE_MMAP 1
75388 _ACEOF
75390 cat >>confdefs.h <<\_ACEOF
75391 #define HAVE_ACOSF 1
75392 _ACEOF
75394 cat >>confdefs.h <<\_ACEOF
75395 #define HAVE_ASINF 1
75396 _ACEOF
75398 cat >>confdefs.h <<\_ACEOF
75399 #define HAVE_ATAN2F 1
75400 _ACEOF
75402 cat >>confdefs.h <<\_ACEOF
75403 #define HAVE_ATANF 1
75404 _ACEOF
75406 cat >>confdefs.h <<\_ACEOF
75407 #define HAVE_CEILF 1
75408 _ACEOF
75410 cat >>confdefs.h <<\_ACEOF
75411 #define HAVE_COPYSIGN 1
75412 _ACEOF
75414 cat >>confdefs.h <<\_ACEOF
75415 #define HAVE_COPYSIGNF 1
75416 _ACEOF
75418 cat >>confdefs.h <<\_ACEOF
75419 #define HAVE_COSF 1
75420 _ACEOF
75422 cat >>confdefs.h <<\_ACEOF
75423 #define HAVE_COSHF 1
75424 _ACEOF
75426 cat >>confdefs.h <<\_ACEOF
75427 #define HAVE_EXPF 1
75428 _ACEOF
75430 cat >>confdefs.h <<\_ACEOF
75431 #define HAVE_FABSF 1
75432 _ACEOF
75434 cat >>confdefs.h <<\_ACEOF
75435 #define HAVE_FLOORF 1
75436 _ACEOF
75438 cat >>confdefs.h <<\_ACEOF
75439 #define HAVE_FMODF 1
75440 _ACEOF
75442 cat >>confdefs.h <<\_ACEOF
75443 #define HAVE_FREXPF 1
75444 _ACEOF
75446 cat >>confdefs.h <<\_ACEOF
75447 #define HAVE_LDEXPF 1
75448 _ACEOF
75450 cat >>confdefs.h <<\_ACEOF
75451 #define HAVE_LOG10F 1
75452 _ACEOF
75454 cat >>confdefs.h <<\_ACEOF
75455 #define HAVE_LOGF 1
75456 _ACEOF
75458 cat >>confdefs.h <<\_ACEOF
75459 #define HAVE_MODFF 1
75460 _ACEOF
75462 cat >>confdefs.h <<\_ACEOF
75463 #define HAVE_POWF 1
75464 _ACEOF
75466 cat >>confdefs.h <<\_ACEOF
75467 #define HAVE_SINF 1
75468 _ACEOF
75470 cat >>confdefs.h <<\_ACEOF
75471 #define HAVE_SINHF 1
75472 _ACEOF
75474 cat >>confdefs.h <<\_ACEOF
75475 #define HAVE_SQRTF 1
75476 _ACEOF
75478 cat >>confdefs.h <<\_ACEOF
75479 #define HAVE_TANF 1
75480 _ACEOF
75482 cat >>confdefs.h <<\_ACEOF
75483 #define HAVE_TANHF 1
75484 _ACEOF
75486 if test x"long_double_math_on_this_cpu" = x"yes"; then
75487 cat >>confdefs.h <<\_ACEOF
75488 #define HAVE_FINITEL 1
75489 _ACEOF
75491 cat >>confdefs.h <<\_ACEOF
75492 #define HAVE_ISINFL 1
75493 _ACEOF
75495 cat >>confdefs.h <<\_ACEOF
75496 #define HAVE_ISNANL 1
75497 _ACEOF
75501 *-hpux*)
75514 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75515 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75516 fp.h locale.h float.h inttypes.h
75518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75520 echo "$as_me:$LINENO: checking for $ac_header" >&5
75521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75523 echo $ECHO_N "(cached) $ECHO_C" >&6
75525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75527 else
75528 # Is the header compilable?
75529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75531 cat >conftest.$ac_ext <<_ACEOF
75532 /* confdefs.h. */
75533 _ACEOF
75534 cat confdefs.h >>conftest.$ac_ext
75535 cat >>conftest.$ac_ext <<_ACEOF
75536 /* end confdefs.h. */
75537 $ac_includes_default
75538 #include <$ac_header>
75539 _ACEOF
75540 rm -f conftest.$ac_objext
75541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75542 (eval $ac_compile) 2>conftest.er1
75543 ac_status=$?
75544 grep -v '^ *+' conftest.er1 >conftest.err
75545 rm -f conftest.er1
75546 cat conftest.err >&5
75547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75548 (exit $ac_status); } &&
75549 { ac_try='test -z "$ac_c_werror_flag"
75550 || test ! -s conftest.err'
75551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75552 (eval $ac_try) 2>&5
75553 ac_status=$?
75554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75555 (exit $ac_status); }; } &&
75556 { ac_try='test -s conftest.$ac_objext'
75557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75558 (eval $ac_try) 2>&5
75559 ac_status=$?
75560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75561 (exit $ac_status); }; }; then
75562 ac_header_compiler=yes
75563 else
75564 echo "$as_me: failed program was:" >&5
75565 sed 's/^/| /' conftest.$ac_ext >&5
75567 ac_header_compiler=no
75569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75571 echo "${ECHO_T}$ac_header_compiler" >&6
75573 # Is the header present?
75574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75576 cat >conftest.$ac_ext <<_ACEOF
75577 /* confdefs.h. */
75578 _ACEOF
75579 cat confdefs.h >>conftest.$ac_ext
75580 cat >>conftest.$ac_ext <<_ACEOF
75581 /* end confdefs.h. */
75582 #include <$ac_header>
75583 _ACEOF
75584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75586 ac_status=$?
75587 grep -v '^ *+' conftest.er1 >conftest.err
75588 rm -f conftest.er1
75589 cat conftest.err >&5
75590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75591 (exit $ac_status); } >/dev/null; then
75592 if test -s conftest.err; then
75593 ac_cpp_err=$ac_c_preproc_warn_flag
75594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75595 else
75596 ac_cpp_err=
75598 else
75599 ac_cpp_err=yes
75601 if test -z "$ac_cpp_err"; then
75602 ac_header_preproc=yes
75603 else
75604 echo "$as_me: failed program was:" >&5
75605 sed 's/^/| /' conftest.$ac_ext >&5
75607 ac_header_preproc=no
75609 rm -f conftest.err conftest.$ac_ext
75610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75611 echo "${ECHO_T}$ac_header_preproc" >&6
75613 # So? What about this header?
75614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75615 yes:no: )
75616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75620 ac_header_preproc=yes
75622 no:yes:* )
75623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75636 cat <<\_ASBOX
75637 ## ----------------------------------------- ##
75638 ## Report this to the package-unused lists. ##
75639 ## ----------------------------------------- ##
75640 _ASBOX
75642 sed "s/^/$as_me: WARNING: /" >&2
75644 esac
75645 echo "$as_me:$LINENO: checking for $ac_header" >&5
75646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75648 echo $ECHO_N "(cached) $ECHO_C" >&6
75649 else
75650 eval "$as_ac_Header=\$ac_header_preproc"
75652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75657 cat >>confdefs.h <<_ACEOF
75658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75659 _ACEOF
75663 done
75665 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75668 # If we're not using GNU ld, then there's no point in even trying these
75669 # tests. Check for that first. We should have already tested for gld
75670 # by now (in libtool), but require it now just to be safe...
75671 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75672 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75676 # The name set by libtool depends on the version of libtool. Shame on us
75677 # for depending on an impl detail, but c'est la vie. Older versions used
75678 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75679 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75680 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75681 # set (hence we're using an older libtool), then set it.
75682 if test x${with_gnu_ld+set} != xset; then
75683 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75684 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75685 with_gnu_ld=no
75686 else
75687 with_gnu_ld=$ac_cv_prog_gnu_ld
75691 # Start by getting the version number. I think the libtool test already
75692 # does some of this, but throws away the result.
75694 ldver=`$LD --version 2>/dev/null | head -1 | \
75695 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75697 glibcxx_gnu_ld_version=`echo $ldver | \
75698 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75700 # Set --gc-sections.
75701 if test "$with_gnu_ld" = "notbroken"; then
75702 # GNU ld it is! Joy and bunny rabbits!
75704 # All these tests are for C++; save the language and the compiler flags.
75705 # Need to do this so that g++ won't try to link in libstdc++
75706 ac_test_CFLAGS="${CFLAGS+set}"
75707 ac_save_CFLAGS="$CFLAGS"
75708 CFLAGS='-x c++ -Wl,--gc-sections'
75710 # Check for -Wl,--gc-sections
75711 # XXX This test is broken at the moment, as symbols required for linking
75712 # are now in libsupc++ (not built yet). In addition, this test has
75713 # cored on solaris in the past. In addition, --gc-sections doesn't
75714 # really work at the moment (keeps on discarding used sections, first
75715 # .eh_frame and now some of the glibc sections for iconv).
75716 # Bzzzzt. Thanks for playing, maybe next time.
75717 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75718 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75719 if test "$cross_compiling" = yes; then
75720 ac_sectionLDflags=yes
75721 else
75722 cat >conftest.$ac_ext <<_ACEOF
75723 /* confdefs.h. */
75724 _ACEOF
75725 cat confdefs.h >>conftest.$ac_ext
75726 cat >>conftest.$ac_ext <<_ACEOF
75727 /* end confdefs.h. */
75729 int main(void)
75731 try { throw 1; }
75732 catch (...) { };
75733 return 0;
75736 _ACEOF
75737 rm -f conftest$ac_exeext
75738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75739 (eval $ac_link) 2>&5
75740 ac_status=$?
75741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75744 (eval $ac_try) 2>&5
75745 ac_status=$?
75746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75747 (exit $ac_status); }; }; then
75748 ac_sectionLDflags=yes
75749 else
75750 echo "$as_me: program exited with status $ac_status" >&5
75751 echo "$as_me: failed program was:" >&5
75752 sed 's/^/| /' conftest.$ac_ext >&5
75754 ( exit $ac_status )
75755 ac_sectionLDflags=no
75757 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75759 if test "$ac_test_CFLAGS" = set; then
75760 CFLAGS="$ac_save_CFLAGS"
75761 else
75762 # this is the suspicious part
75763 CFLAGS=''
75765 if test "$ac_sectionLDflags" = "yes"; then
75766 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75768 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75769 echo "${ECHO_T}$ac_sectionLDflags" >&6
75772 # Set linker optimization flags.
75773 if test x"$with_gnu_ld" = x"yes"; then
75774 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75782 echo "$as_me:$LINENO: checking for main in -lm" >&5
75783 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75784 if test "${ac_cv_lib_m_main+set}" = set; then
75785 echo $ECHO_N "(cached) $ECHO_C" >&6
75786 else
75787 ac_check_lib_save_LIBS=$LIBS
75788 LIBS="-lm $LIBS"
75789 if test x$gcc_no_link = xyes; then
75790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75792 { (exit 1); exit 1; }; }
75794 cat >conftest.$ac_ext <<_ACEOF
75795 /* confdefs.h. */
75796 _ACEOF
75797 cat confdefs.h >>conftest.$ac_ext
75798 cat >>conftest.$ac_ext <<_ACEOF
75799 /* end confdefs.h. */
75803 main ()
75805 main ();
75807 return 0;
75809 _ACEOF
75810 rm -f conftest.$ac_objext conftest$ac_exeext
75811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75812 (eval $ac_link) 2>conftest.er1
75813 ac_status=$?
75814 grep -v '^ *+' conftest.er1 >conftest.err
75815 rm -f conftest.er1
75816 cat conftest.err >&5
75817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75818 (exit $ac_status); } &&
75819 { ac_try='test -z "$ac_c_werror_flag"
75820 || test ! -s conftest.err'
75821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75822 (eval $ac_try) 2>&5
75823 ac_status=$?
75824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75825 (exit $ac_status); }; } &&
75826 { ac_try='test -s conftest$ac_exeext'
75827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75828 (eval $ac_try) 2>&5
75829 ac_status=$?
75830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75831 (exit $ac_status); }; }; then
75832 ac_cv_lib_m_main=yes
75833 else
75834 echo "$as_me: failed program was:" >&5
75835 sed 's/^/| /' conftest.$ac_ext >&5
75837 ac_cv_lib_m_main=no
75839 rm -f conftest.err conftest.$ac_objext \
75840 conftest$ac_exeext conftest.$ac_ext
75841 LIBS=$ac_check_lib_save_LIBS
75843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75844 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75845 if test $ac_cv_lib_m_main = yes; then
75846 cat >>confdefs.h <<_ACEOF
75847 #define HAVE_LIBM 1
75848 _ACEOF
75850 LIBS="-lm $LIBS"
75855 for ac_func in copysignf
75857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75858 echo "$as_me:$LINENO: checking for $ac_func" >&5
75859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75860 if eval "test \"\${$as_ac_var+set}\" = set"; then
75861 echo $ECHO_N "(cached) $ECHO_C" >&6
75862 else
75863 if test x$gcc_no_link = xyes; then
75864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75866 { (exit 1); exit 1; }; }
75868 cat >conftest.$ac_ext <<_ACEOF
75869 /* confdefs.h. */
75870 _ACEOF
75871 cat confdefs.h >>conftest.$ac_ext
75872 cat >>conftest.$ac_ext <<_ACEOF
75873 /* end confdefs.h. */
75874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75876 #define $ac_func innocuous_$ac_func
75878 /* System header to define __stub macros and hopefully few prototypes,
75879 which can conflict with char $ac_func (); below.
75880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75881 <limits.h> exists even on freestanding compilers. */
75883 #ifdef __STDC__
75884 # include <limits.h>
75885 #else
75886 # include <assert.h>
75887 #endif
75889 #undef $ac_func
75891 /* Override any gcc2 internal prototype to avoid an error. */
75892 #ifdef __cplusplus
75893 extern "C"
75895 #endif
75896 /* We use char because int might match the return type of a gcc2
75897 builtin and then its argument prototype would still apply. */
75898 char $ac_func ();
75899 /* The GNU C library defines this for functions which it implements
75900 to always fail with ENOSYS. Some functions are actually named
75901 something starting with __ and the normal name is an alias. */
75902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75903 choke me
75904 #else
75905 char (*f) () = $ac_func;
75906 #endif
75907 #ifdef __cplusplus
75909 #endif
75912 main ()
75914 return f != $ac_func;
75916 return 0;
75918 _ACEOF
75919 rm -f conftest.$ac_objext conftest$ac_exeext
75920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75921 (eval $ac_link) 2>conftest.er1
75922 ac_status=$?
75923 grep -v '^ *+' conftest.er1 >conftest.err
75924 rm -f conftest.er1
75925 cat conftest.err >&5
75926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927 (exit $ac_status); } &&
75928 { ac_try='test -z "$ac_c_werror_flag"
75929 || test ! -s conftest.err'
75930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75931 (eval $ac_try) 2>&5
75932 ac_status=$?
75933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75934 (exit $ac_status); }; } &&
75935 { ac_try='test -s conftest$ac_exeext'
75936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75937 (eval $ac_try) 2>&5
75938 ac_status=$?
75939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75940 (exit $ac_status); }; }; then
75941 eval "$as_ac_var=yes"
75942 else
75943 echo "$as_me: failed program was:" >&5
75944 sed 's/^/| /' conftest.$ac_ext >&5
75946 eval "$as_ac_var=no"
75948 rm -f conftest.err conftest.$ac_objext \
75949 conftest$ac_exeext conftest.$ac_ext
75951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75953 if test `eval echo '${'$as_ac_var'}'` = yes; then
75954 cat >>confdefs.h <<_ACEOF
75955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75956 _ACEOF
75958 else
75959 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75961 done
75965 for ac_func in __signbit
75967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75968 echo "$as_me:$LINENO: checking for $ac_func" >&5
75969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75970 if eval "test \"\${$as_ac_var+set}\" = set"; then
75971 echo $ECHO_N "(cached) $ECHO_C" >&6
75972 else
75973 if test x$gcc_no_link = xyes; then
75974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75976 { (exit 1); exit 1; }; }
75978 cat >conftest.$ac_ext <<_ACEOF
75979 /* confdefs.h. */
75980 _ACEOF
75981 cat confdefs.h >>conftest.$ac_ext
75982 cat >>conftest.$ac_ext <<_ACEOF
75983 /* end confdefs.h. */
75984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75986 #define $ac_func innocuous_$ac_func
75988 /* System header to define __stub macros and hopefully few prototypes,
75989 which can conflict with char $ac_func (); below.
75990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75991 <limits.h> exists even on freestanding compilers. */
75993 #ifdef __STDC__
75994 # include <limits.h>
75995 #else
75996 # include <assert.h>
75997 #endif
75999 #undef $ac_func
76001 /* Override any gcc2 internal prototype to avoid an error. */
76002 #ifdef __cplusplus
76003 extern "C"
76005 #endif
76006 /* We use char because int might match the return type of a gcc2
76007 builtin and then its argument prototype would still apply. */
76008 char $ac_func ();
76009 /* The GNU C library defines this for functions which it implements
76010 to always fail with ENOSYS. Some functions are actually named
76011 something starting with __ and the normal name is an alias. */
76012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76013 choke me
76014 #else
76015 char (*f) () = $ac_func;
76016 #endif
76017 #ifdef __cplusplus
76019 #endif
76022 main ()
76024 return f != $ac_func;
76026 return 0;
76028 _ACEOF
76029 rm -f conftest.$ac_objext conftest$ac_exeext
76030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76031 (eval $ac_link) 2>conftest.er1
76032 ac_status=$?
76033 grep -v '^ *+' conftest.er1 >conftest.err
76034 rm -f conftest.er1
76035 cat conftest.err >&5
76036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76037 (exit $ac_status); } &&
76038 { ac_try='test -z "$ac_c_werror_flag"
76039 || test ! -s conftest.err'
76040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76041 (eval $ac_try) 2>&5
76042 ac_status=$?
76043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76044 (exit $ac_status); }; } &&
76045 { ac_try='test -s conftest$ac_exeext'
76046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76047 (eval $ac_try) 2>&5
76048 ac_status=$?
76049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76050 (exit $ac_status); }; }; then
76051 eval "$as_ac_var=yes"
76052 else
76053 echo "$as_me: failed program was:" >&5
76054 sed 's/^/| /' conftest.$ac_ext >&5
76056 eval "$as_ac_var=no"
76058 rm -f conftest.err conftest.$ac_objext \
76059 conftest$ac_exeext conftest.$ac_ext
76061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76063 if test `eval echo '${'$as_ac_var'}'` = yes; then
76064 cat >>confdefs.h <<_ACEOF
76065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76066 _ACEOF
76068 else
76069 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76071 done
76075 for ac_func in __signbitf
76077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76078 echo "$as_me:$LINENO: checking for $ac_func" >&5
76079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76080 if eval "test \"\${$as_ac_var+set}\" = set"; then
76081 echo $ECHO_N "(cached) $ECHO_C" >&6
76082 else
76083 if test x$gcc_no_link = xyes; then
76084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76086 { (exit 1); exit 1; }; }
76088 cat >conftest.$ac_ext <<_ACEOF
76089 /* confdefs.h. */
76090 _ACEOF
76091 cat confdefs.h >>conftest.$ac_ext
76092 cat >>conftest.$ac_ext <<_ACEOF
76093 /* end confdefs.h. */
76094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76096 #define $ac_func innocuous_$ac_func
76098 /* System header to define __stub macros and hopefully few prototypes,
76099 which can conflict with char $ac_func (); below.
76100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76101 <limits.h> exists even on freestanding compilers. */
76103 #ifdef __STDC__
76104 # include <limits.h>
76105 #else
76106 # include <assert.h>
76107 #endif
76109 #undef $ac_func
76111 /* Override any gcc2 internal prototype to avoid an error. */
76112 #ifdef __cplusplus
76113 extern "C"
76115 #endif
76116 /* We use char because int might match the return type of a gcc2
76117 builtin and then its argument prototype would still apply. */
76118 char $ac_func ();
76119 /* The GNU C library defines this for functions which it implements
76120 to always fail with ENOSYS. Some functions are actually named
76121 something starting with __ and the normal name is an alias. */
76122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76123 choke me
76124 #else
76125 char (*f) () = $ac_func;
76126 #endif
76127 #ifdef __cplusplus
76129 #endif
76132 main ()
76134 return f != $ac_func;
76136 return 0;
76138 _ACEOF
76139 rm -f conftest.$ac_objext conftest$ac_exeext
76140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76141 (eval $ac_link) 2>conftest.er1
76142 ac_status=$?
76143 grep -v '^ *+' conftest.er1 >conftest.err
76144 rm -f conftest.er1
76145 cat conftest.err >&5
76146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76147 (exit $ac_status); } &&
76148 { ac_try='test -z "$ac_c_werror_flag"
76149 || test ! -s conftest.err'
76150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76151 (eval $ac_try) 2>&5
76152 ac_status=$?
76153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76154 (exit $ac_status); }; } &&
76155 { ac_try='test -s conftest$ac_exeext'
76156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76157 (eval $ac_try) 2>&5
76158 ac_status=$?
76159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76160 (exit $ac_status); }; }; then
76161 eval "$as_ac_var=yes"
76162 else
76163 echo "$as_me: failed program was:" >&5
76164 sed 's/^/| /' conftest.$ac_ext >&5
76166 eval "$as_ac_var=no"
76168 rm -f conftest.err conftest.$ac_objext \
76169 conftest$ac_exeext conftest.$ac_ext
76171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76173 if test `eval echo '${'$as_ac_var'}'` = yes; then
76174 cat >>confdefs.h <<_ACEOF
76175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76176 _ACEOF
76178 else
76179 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76181 done
76184 if test x$ac_cv_func_copysignl = x"yes"; then
76186 for ac_func in __signbitl
76188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76189 echo "$as_me:$LINENO: checking for $ac_func" >&5
76190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76191 if eval "test \"\${$as_ac_var+set}\" = set"; then
76192 echo $ECHO_N "(cached) $ECHO_C" >&6
76193 else
76194 if test x$gcc_no_link = xyes; then
76195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76197 { (exit 1); exit 1; }; }
76199 cat >conftest.$ac_ext <<_ACEOF
76200 /* confdefs.h. */
76201 _ACEOF
76202 cat confdefs.h >>conftest.$ac_ext
76203 cat >>conftest.$ac_ext <<_ACEOF
76204 /* end confdefs.h. */
76205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76207 #define $ac_func innocuous_$ac_func
76209 /* System header to define __stub macros and hopefully few prototypes,
76210 which can conflict with char $ac_func (); below.
76211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76212 <limits.h> exists even on freestanding compilers. */
76214 #ifdef __STDC__
76215 # include <limits.h>
76216 #else
76217 # include <assert.h>
76218 #endif
76220 #undef $ac_func
76222 /* Override any gcc2 internal prototype to avoid an error. */
76223 #ifdef __cplusplus
76224 extern "C"
76226 #endif
76227 /* We use char because int might match the return type of a gcc2
76228 builtin and then its argument prototype would still apply. */
76229 char $ac_func ();
76230 /* The GNU C library defines this for functions which it implements
76231 to always fail with ENOSYS. Some functions are actually named
76232 something starting with __ and the normal name is an alias. */
76233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76234 choke me
76235 #else
76236 char (*f) () = $ac_func;
76237 #endif
76238 #ifdef __cplusplus
76240 #endif
76243 main ()
76245 return f != $ac_func;
76247 return 0;
76249 _ACEOF
76250 rm -f conftest.$ac_objext conftest$ac_exeext
76251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76252 (eval $ac_link) 2>conftest.er1
76253 ac_status=$?
76254 grep -v '^ *+' conftest.er1 >conftest.err
76255 rm -f conftest.er1
76256 cat conftest.err >&5
76257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76258 (exit $ac_status); } &&
76259 { ac_try='test -z "$ac_c_werror_flag"
76260 || test ! -s conftest.err'
76261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76262 (eval $ac_try) 2>&5
76263 ac_status=$?
76264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76265 (exit $ac_status); }; } &&
76266 { ac_try='test -s conftest$ac_exeext'
76267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76268 (eval $ac_try) 2>&5
76269 ac_status=$?
76270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76271 (exit $ac_status); }; }; then
76272 eval "$as_ac_var=yes"
76273 else
76274 echo "$as_me: failed program was:" >&5
76275 sed 's/^/| /' conftest.$ac_ext >&5
76277 eval "$as_ac_var=no"
76279 rm -f conftest.err conftest.$ac_objext \
76280 conftest$ac_exeext conftest.$ac_ext
76282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76284 if test `eval echo '${'$as_ac_var'}'` = yes; then
76285 cat >>confdefs.h <<_ACEOF
76286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76287 _ACEOF
76289 else
76290 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76292 done
76296 # Used in libmath/Makefile.am.
76297 if test -n "$LIBMATHOBJS"; then
76298 need_libmath=yes
76304 enable_iconv=no
76305 # Only continue checking if the ISO C99 headers exist and support is on.
76306 if test x"$enable_wchar_t" = xyes; then
76308 # Use iconv for wchar_t to char conversions. As such, check for
76309 # X/Open Portability Guide, version 2 features (XPG2).
76310 if test "${ac_cv_header_iconv_h+set}" = set; then
76311 echo "$as_me:$LINENO: checking for iconv.h" >&5
76312 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76313 if test "${ac_cv_header_iconv_h+set}" = set; then
76314 echo $ECHO_N "(cached) $ECHO_C" >&6
76316 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76317 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76318 else
76319 # Is the header compilable?
76320 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76321 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76322 cat >conftest.$ac_ext <<_ACEOF
76323 /* confdefs.h. */
76324 _ACEOF
76325 cat confdefs.h >>conftest.$ac_ext
76326 cat >>conftest.$ac_ext <<_ACEOF
76327 /* end confdefs.h. */
76328 $ac_includes_default
76329 #include <iconv.h>
76330 _ACEOF
76331 rm -f conftest.$ac_objext
76332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76333 (eval $ac_compile) 2>conftest.er1
76334 ac_status=$?
76335 grep -v '^ *+' conftest.er1 >conftest.err
76336 rm -f conftest.er1
76337 cat conftest.err >&5
76338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76339 (exit $ac_status); } &&
76340 { ac_try='test -z "$ac_c_werror_flag"
76341 || test ! -s conftest.err'
76342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76343 (eval $ac_try) 2>&5
76344 ac_status=$?
76345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76346 (exit $ac_status); }; } &&
76347 { ac_try='test -s conftest.$ac_objext'
76348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76349 (eval $ac_try) 2>&5
76350 ac_status=$?
76351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76352 (exit $ac_status); }; }; then
76353 ac_header_compiler=yes
76354 else
76355 echo "$as_me: failed program was:" >&5
76356 sed 's/^/| /' conftest.$ac_ext >&5
76358 ac_header_compiler=no
76360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76362 echo "${ECHO_T}$ac_header_compiler" >&6
76364 # Is the header present?
76365 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76366 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76367 cat >conftest.$ac_ext <<_ACEOF
76368 /* confdefs.h. */
76369 _ACEOF
76370 cat confdefs.h >>conftest.$ac_ext
76371 cat >>conftest.$ac_ext <<_ACEOF
76372 /* end confdefs.h. */
76373 #include <iconv.h>
76374 _ACEOF
76375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76377 ac_status=$?
76378 grep -v '^ *+' conftest.er1 >conftest.err
76379 rm -f conftest.er1
76380 cat conftest.err >&5
76381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76382 (exit $ac_status); } >/dev/null; then
76383 if test -s conftest.err; then
76384 ac_cpp_err=$ac_c_preproc_warn_flag
76385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76386 else
76387 ac_cpp_err=
76389 else
76390 ac_cpp_err=yes
76392 if test -z "$ac_cpp_err"; then
76393 ac_header_preproc=yes
76394 else
76395 echo "$as_me: failed program was:" >&5
76396 sed 's/^/| /' conftest.$ac_ext >&5
76398 ac_header_preproc=no
76400 rm -f conftest.err conftest.$ac_ext
76401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76402 echo "${ECHO_T}$ac_header_preproc" >&6
76404 # So? What about this header?
76405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76406 yes:no: )
76407 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76408 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76409 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76410 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76411 ac_header_preproc=yes
76413 no:yes:* )
76414 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76415 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76416 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76417 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76418 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76419 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76420 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76421 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76422 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76423 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76424 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76425 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76427 cat <<\_ASBOX
76428 ## ----------------------------------------- ##
76429 ## Report this to the package-unused lists. ##
76430 ## ----------------------------------------- ##
76431 _ASBOX
76433 sed "s/^/$as_me: WARNING: /" >&2
76435 esac
76436 echo "$as_me:$LINENO: checking for iconv.h" >&5
76437 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76438 if test "${ac_cv_header_iconv_h+set}" = set; then
76439 echo $ECHO_N "(cached) $ECHO_C" >&6
76440 else
76441 ac_cv_header_iconv_h=$ac_header_preproc
76443 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76444 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76447 if test $ac_cv_header_iconv_h = yes; then
76448 ac_has_iconv_h=yes
76449 else
76450 ac_has_iconv_h=no
76454 if test "${ac_cv_header_langinfo_h+set}" = set; then
76455 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76456 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76457 if test "${ac_cv_header_langinfo_h+set}" = set; then
76458 echo $ECHO_N "(cached) $ECHO_C" >&6
76460 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76461 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76462 else
76463 # Is the header compilable?
76464 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76465 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76466 cat >conftest.$ac_ext <<_ACEOF
76467 /* confdefs.h. */
76468 _ACEOF
76469 cat confdefs.h >>conftest.$ac_ext
76470 cat >>conftest.$ac_ext <<_ACEOF
76471 /* end confdefs.h. */
76472 $ac_includes_default
76473 #include <langinfo.h>
76474 _ACEOF
76475 rm -f conftest.$ac_objext
76476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76477 (eval $ac_compile) 2>conftest.er1
76478 ac_status=$?
76479 grep -v '^ *+' conftest.er1 >conftest.err
76480 rm -f conftest.er1
76481 cat conftest.err >&5
76482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483 (exit $ac_status); } &&
76484 { ac_try='test -z "$ac_c_werror_flag"
76485 || test ! -s conftest.err'
76486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76487 (eval $ac_try) 2>&5
76488 ac_status=$?
76489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76490 (exit $ac_status); }; } &&
76491 { ac_try='test -s conftest.$ac_objext'
76492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76493 (eval $ac_try) 2>&5
76494 ac_status=$?
76495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76496 (exit $ac_status); }; }; then
76497 ac_header_compiler=yes
76498 else
76499 echo "$as_me: failed program was:" >&5
76500 sed 's/^/| /' conftest.$ac_ext >&5
76502 ac_header_compiler=no
76504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76506 echo "${ECHO_T}$ac_header_compiler" >&6
76508 # Is the header present?
76509 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76510 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76511 cat >conftest.$ac_ext <<_ACEOF
76512 /* confdefs.h. */
76513 _ACEOF
76514 cat confdefs.h >>conftest.$ac_ext
76515 cat >>conftest.$ac_ext <<_ACEOF
76516 /* end confdefs.h. */
76517 #include <langinfo.h>
76518 _ACEOF
76519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76521 ac_status=$?
76522 grep -v '^ *+' conftest.er1 >conftest.err
76523 rm -f conftest.er1
76524 cat conftest.err >&5
76525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76526 (exit $ac_status); } >/dev/null; then
76527 if test -s conftest.err; then
76528 ac_cpp_err=$ac_c_preproc_warn_flag
76529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76530 else
76531 ac_cpp_err=
76533 else
76534 ac_cpp_err=yes
76536 if test -z "$ac_cpp_err"; then
76537 ac_header_preproc=yes
76538 else
76539 echo "$as_me: failed program was:" >&5
76540 sed 's/^/| /' conftest.$ac_ext >&5
76542 ac_header_preproc=no
76544 rm -f conftest.err conftest.$ac_ext
76545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76546 echo "${ECHO_T}$ac_header_preproc" >&6
76548 # So? What about this header?
76549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76550 yes:no: )
76551 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76552 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76553 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76554 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76555 ac_header_preproc=yes
76557 no:yes:* )
76558 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76559 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76560 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76561 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76562 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76563 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76564 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76565 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76566 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76567 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76568 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76569 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76571 cat <<\_ASBOX
76572 ## ----------------------------------------- ##
76573 ## Report this to the package-unused lists. ##
76574 ## ----------------------------------------- ##
76575 _ASBOX
76577 sed "s/^/$as_me: WARNING: /" >&2
76579 esac
76580 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76581 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76582 if test "${ac_cv_header_langinfo_h+set}" = set; then
76583 echo $ECHO_N "(cached) $ECHO_C" >&6
76584 else
76585 ac_cv_header_langinfo_h=$ac_header_preproc
76587 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76588 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76591 if test $ac_cv_header_langinfo_h = yes; then
76592 ac_has_langinfo_h=yes
76593 else
76594 ac_has_langinfo_h=no
76599 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76600 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76601 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76602 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76603 echo $ECHO_N "(cached) $ECHO_C" >&6
76604 else
76605 ac_check_lib_save_LIBS=$LIBS
76606 LIBS="-liconv $LIBS"
76607 if test x$gcc_no_link = xyes; then
76608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76610 { (exit 1); exit 1; }; }
76612 cat >conftest.$ac_ext <<_ACEOF
76613 /* confdefs.h. */
76614 _ACEOF
76615 cat confdefs.h >>conftest.$ac_ext
76616 cat >>conftest.$ac_ext <<_ACEOF
76617 /* end confdefs.h. */
76619 /* Override any gcc2 internal prototype to avoid an error. */
76620 #ifdef __cplusplus
76621 extern "C"
76622 #endif
76623 /* We use char because int might match the return type of a gcc2
76624 builtin and then its argument prototype would still apply. */
76625 char iconv ();
76627 main ()
76629 iconv ();
76631 return 0;
76633 _ACEOF
76634 rm -f conftest.$ac_objext conftest$ac_exeext
76635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76636 (eval $ac_link) 2>conftest.er1
76637 ac_status=$?
76638 grep -v '^ *+' conftest.er1 >conftest.err
76639 rm -f conftest.er1
76640 cat conftest.err >&5
76641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76642 (exit $ac_status); } &&
76643 { ac_try='test -z "$ac_c_werror_flag"
76644 || test ! -s conftest.err'
76645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76646 (eval $ac_try) 2>&5
76647 ac_status=$?
76648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76649 (exit $ac_status); }; } &&
76650 { ac_try='test -s conftest$ac_exeext'
76651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76652 (eval $ac_try) 2>&5
76653 ac_status=$?
76654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76655 (exit $ac_status); }; }; then
76656 ac_cv_lib_iconv_iconv=yes
76657 else
76658 echo "$as_me: failed program was:" >&5
76659 sed 's/^/| /' conftest.$ac_ext >&5
76661 ac_cv_lib_iconv_iconv=no
76663 rm -f conftest.err conftest.$ac_objext \
76664 conftest$ac_exeext conftest.$ac_ext
76665 LIBS=$ac_check_lib_save_LIBS
76667 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76668 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76669 if test $ac_cv_lib_iconv_iconv = yes; then
76670 LIBICONV="-liconv"
76673 ac_save_LIBS="$LIBS"
76674 LIBS="$LIBS $LIBICONV"
76681 for ac_func in iconv_open iconv_close iconv nl_langinfo
76683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76684 echo "$as_me:$LINENO: checking for $ac_func" >&5
76685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76686 if eval "test \"\${$as_ac_var+set}\" = set"; then
76687 echo $ECHO_N "(cached) $ECHO_C" >&6
76688 else
76689 if test x$gcc_no_link = xyes; then
76690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76692 { (exit 1); exit 1; }; }
76694 cat >conftest.$ac_ext <<_ACEOF
76695 /* confdefs.h. */
76696 _ACEOF
76697 cat confdefs.h >>conftest.$ac_ext
76698 cat >>conftest.$ac_ext <<_ACEOF
76699 /* end confdefs.h. */
76700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76702 #define $ac_func innocuous_$ac_func
76704 /* System header to define __stub macros and hopefully few prototypes,
76705 which can conflict with char $ac_func (); below.
76706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76707 <limits.h> exists even on freestanding compilers. */
76709 #ifdef __STDC__
76710 # include <limits.h>
76711 #else
76712 # include <assert.h>
76713 #endif
76715 #undef $ac_func
76717 /* Override any gcc2 internal prototype to avoid an error. */
76718 #ifdef __cplusplus
76719 extern "C"
76721 #endif
76722 /* We use char because int might match the return type of a gcc2
76723 builtin and then its argument prototype would still apply. */
76724 char $ac_func ();
76725 /* The GNU C library defines this for functions which it implements
76726 to always fail with ENOSYS. Some functions are actually named
76727 something starting with __ and the normal name is an alias. */
76728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76729 choke me
76730 #else
76731 char (*f) () = $ac_func;
76732 #endif
76733 #ifdef __cplusplus
76735 #endif
76738 main ()
76740 return f != $ac_func;
76742 return 0;
76744 _ACEOF
76745 rm -f conftest.$ac_objext conftest$ac_exeext
76746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76747 (eval $ac_link) 2>conftest.er1
76748 ac_status=$?
76749 grep -v '^ *+' conftest.er1 >conftest.err
76750 rm -f conftest.er1
76751 cat conftest.err >&5
76752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76753 (exit $ac_status); } &&
76754 { ac_try='test -z "$ac_c_werror_flag"
76755 || test ! -s conftest.err'
76756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76757 (eval $ac_try) 2>&5
76758 ac_status=$?
76759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76760 (exit $ac_status); }; } &&
76761 { ac_try='test -s conftest$ac_exeext'
76762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76763 (eval $ac_try) 2>&5
76764 ac_status=$?
76765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76766 (exit $ac_status); }; }; then
76767 eval "$as_ac_var=yes"
76768 else
76769 echo "$as_me: failed program was:" >&5
76770 sed 's/^/| /' conftest.$ac_ext >&5
76772 eval "$as_ac_var=no"
76774 rm -f conftest.err conftest.$ac_objext \
76775 conftest$ac_exeext conftest.$ac_ext
76777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76779 if test `eval echo '${'$as_ac_var'}'` = yes; then
76780 cat >>confdefs.h <<_ACEOF
76781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76782 _ACEOF
76783 ac_XPG2funcs=yes
76784 else
76785 ac_XPG2funcs=no
76787 done
76790 LIBS="$ac_save_LIBS"
76792 if test x"$ac_has_iconv_h" = xyes &&
76793 test x"$ac_has_langinfo_h" = xyes &&
76794 test x"$ac_XPG2funcs" = xyes;
76795 then
76797 cat >>confdefs.h <<\_ACEOF
76798 #define _GLIBCXX_USE_ICONV 1
76799 _ACEOF
76801 enable_iconv=yes
76804 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76805 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76806 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76807 echo "${ECHO_T}$enable_iconv" >&6
76809 cat >>confdefs.h <<\_ACEOF
76810 #define HAVE_COPYSIGN 1
76811 _ACEOF
76813 cat >>confdefs.h <<\_ACEOF
76814 #define HAVE_COPYSIGNF 1
76815 _ACEOF
76817 cat >>confdefs.h <<\_ACEOF
76818 #define HAVE_FREXPF 1
76819 _ACEOF
76821 cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_HYPOT 1
76823 _ACEOF
76825 case "$target" in
76826 *-hpux10*)
76827 cat >>confdefs.h <<\_ACEOF
76828 #define HAVE_FINITE 1
76829 _ACEOF
76831 cat >>confdefs.h <<\_ACEOF
76832 #define HAVE_FINITEF 1
76833 _ACEOF
76835 cat >>confdefs.h <<\_ACEOF
76836 #define HAVE_ISINF 1
76837 _ACEOF
76839 cat >>confdefs.h <<\_ACEOF
76840 #define HAVE_ISINFF 1
76841 _ACEOF
76843 cat >>confdefs.h <<\_ACEOF
76844 #define HAVE_ISNAN 1
76845 _ACEOF
76847 cat >>confdefs.h <<\_ACEOF
76848 #define HAVE_ISNANF 1
76849 _ACEOF
76852 esac
76854 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76870 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76871 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76872 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76876 echo "$as_me:$LINENO: checking for $ac_header" >&5
76877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76879 echo $ECHO_N "(cached) $ECHO_C" >&6
76881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76883 else
76884 # Is the header compilable?
76885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76887 cat >conftest.$ac_ext <<_ACEOF
76888 /* confdefs.h. */
76889 _ACEOF
76890 cat confdefs.h >>conftest.$ac_ext
76891 cat >>conftest.$ac_ext <<_ACEOF
76892 /* end confdefs.h. */
76893 $ac_includes_default
76894 #include <$ac_header>
76895 _ACEOF
76896 rm -f conftest.$ac_objext
76897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76898 (eval $ac_compile) 2>conftest.er1
76899 ac_status=$?
76900 grep -v '^ *+' conftest.er1 >conftest.err
76901 rm -f conftest.er1
76902 cat conftest.err >&5
76903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76904 (exit $ac_status); } &&
76905 { ac_try='test -z "$ac_c_werror_flag"
76906 || test ! -s conftest.err'
76907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76908 (eval $ac_try) 2>&5
76909 ac_status=$?
76910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76911 (exit $ac_status); }; } &&
76912 { ac_try='test -s conftest.$ac_objext'
76913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76914 (eval $ac_try) 2>&5
76915 ac_status=$?
76916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76917 (exit $ac_status); }; }; then
76918 ac_header_compiler=yes
76919 else
76920 echo "$as_me: failed program was:" >&5
76921 sed 's/^/| /' conftest.$ac_ext >&5
76923 ac_header_compiler=no
76925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76927 echo "${ECHO_T}$ac_header_compiler" >&6
76929 # Is the header present?
76930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76932 cat >conftest.$ac_ext <<_ACEOF
76933 /* confdefs.h. */
76934 _ACEOF
76935 cat confdefs.h >>conftest.$ac_ext
76936 cat >>conftest.$ac_ext <<_ACEOF
76937 /* end confdefs.h. */
76938 #include <$ac_header>
76939 _ACEOF
76940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76942 ac_status=$?
76943 grep -v '^ *+' conftest.er1 >conftest.err
76944 rm -f conftest.er1
76945 cat conftest.err >&5
76946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76947 (exit $ac_status); } >/dev/null; then
76948 if test -s conftest.err; then
76949 ac_cpp_err=$ac_c_preproc_warn_flag
76950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76951 else
76952 ac_cpp_err=
76954 else
76955 ac_cpp_err=yes
76957 if test -z "$ac_cpp_err"; then
76958 ac_header_preproc=yes
76959 else
76960 echo "$as_me: failed program was:" >&5
76961 sed 's/^/| /' conftest.$ac_ext >&5
76963 ac_header_preproc=no
76965 rm -f conftest.err conftest.$ac_ext
76966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76967 echo "${ECHO_T}$ac_header_preproc" >&6
76969 # So? What about this header?
76970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76971 yes:no: )
76972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76976 ac_header_preproc=yes
76978 no:yes:* )
76979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76992 cat <<\_ASBOX
76993 ## ----------------------------------------- ##
76994 ## Report this to the package-unused lists. ##
76995 ## ----------------------------------------- ##
76996 _ASBOX
76998 sed "s/^/$as_me: WARNING: /" >&2
77000 esac
77001 echo "$as_me:$LINENO: checking for $ac_header" >&5
77002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77004 echo $ECHO_N "(cached) $ECHO_C" >&6
77005 else
77006 eval "$as_ac_Header=\$ac_header_preproc"
77008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77013 cat >>confdefs.h <<_ACEOF
77014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77015 _ACEOF
77019 done
77021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77024 # If we're not using GNU ld, then there's no point in even trying these
77025 # tests. Check for that first. We should have already tested for gld
77026 # by now (in libtool), but require it now just to be safe...
77027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77032 # The name set by libtool depends on the version of libtool. Shame on us
77033 # for depending on an impl detail, but c'est la vie. Older versions used
77034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77037 # set (hence we're using an older libtool), then set it.
77038 if test x${with_gnu_ld+set} != xset; then
77039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77041 with_gnu_ld=no
77042 else
77043 with_gnu_ld=$ac_cv_prog_gnu_ld
77047 # Start by getting the version number. I think the libtool test already
77048 # does some of this, but throws away the result.
77050 ldver=`$LD --version 2>/dev/null | head -1 | \
77051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77053 glibcxx_gnu_ld_version=`echo $ldver | \
77054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77056 # Set --gc-sections.
77057 if test "$with_gnu_ld" = "notbroken"; then
77058 # GNU ld it is! Joy and bunny rabbits!
77060 # All these tests are for C++; save the language and the compiler flags.
77061 # Need to do this so that g++ won't try to link in libstdc++
77062 ac_test_CFLAGS="${CFLAGS+set}"
77063 ac_save_CFLAGS="$CFLAGS"
77064 CFLAGS='-x c++ -Wl,--gc-sections'
77066 # Check for -Wl,--gc-sections
77067 # XXX This test is broken at the moment, as symbols required for linking
77068 # are now in libsupc++ (not built yet). In addition, this test has
77069 # cored on solaris in the past. In addition, --gc-sections doesn't
77070 # really work at the moment (keeps on discarding used sections, first
77071 # .eh_frame and now some of the glibc sections for iconv).
77072 # Bzzzzt. Thanks for playing, maybe next time.
77073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77075 if test "$cross_compiling" = yes; then
77076 ac_sectionLDflags=yes
77077 else
77078 cat >conftest.$ac_ext <<_ACEOF
77079 /* confdefs.h. */
77080 _ACEOF
77081 cat confdefs.h >>conftest.$ac_ext
77082 cat >>conftest.$ac_ext <<_ACEOF
77083 /* end confdefs.h. */
77085 int main(void)
77087 try { throw 1; }
77088 catch (...) { };
77089 return 0;
77092 _ACEOF
77093 rm -f conftest$ac_exeext
77094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77095 (eval $ac_link) 2>&5
77096 ac_status=$?
77097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77100 (eval $ac_try) 2>&5
77101 ac_status=$?
77102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77103 (exit $ac_status); }; }; then
77104 ac_sectionLDflags=yes
77105 else
77106 echo "$as_me: program exited with status $ac_status" >&5
77107 echo "$as_me: failed program was:" >&5
77108 sed 's/^/| /' conftest.$ac_ext >&5
77110 ( exit $ac_status )
77111 ac_sectionLDflags=no
77113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77115 if test "$ac_test_CFLAGS" = set; then
77116 CFLAGS="$ac_save_CFLAGS"
77117 else
77118 # this is the suspicious part
77119 CFLAGS=''
77121 if test "$ac_sectionLDflags" = "yes"; then
77122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77124 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77125 echo "${ECHO_T}$ac_sectionLDflags" >&6
77128 # Set linker optimization flags.
77129 if test x"$with_gnu_ld" = x"yes"; then
77130 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77138 echo "$as_me:$LINENO: checking for main in -lm" >&5
77139 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77140 if test "${ac_cv_lib_m_main+set}" = set; then
77141 echo $ECHO_N "(cached) $ECHO_C" >&6
77142 else
77143 ac_check_lib_save_LIBS=$LIBS
77144 LIBS="-lm $LIBS"
77145 if test x$gcc_no_link = xyes; then
77146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77148 { (exit 1); exit 1; }; }
77150 cat >conftest.$ac_ext <<_ACEOF
77151 /* confdefs.h. */
77152 _ACEOF
77153 cat confdefs.h >>conftest.$ac_ext
77154 cat >>conftest.$ac_ext <<_ACEOF
77155 /* end confdefs.h. */
77159 main ()
77161 main ();
77163 return 0;
77165 _ACEOF
77166 rm -f conftest.$ac_objext conftest$ac_exeext
77167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77168 (eval $ac_link) 2>conftest.er1
77169 ac_status=$?
77170 grep -v '^ *+' conftest.er1 >conftest.err
77171 rm -f conftest.er1
77172 cat conftest.err >&5
77173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77174 (exit $ac_status); } &&
77175 { ac_try='test -z "$ac_c_werror_flag"
77176 || test ! -s conftest.err'
77177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77178 (eval $ac_try) 2>&5
77179 ac_status=$?
77180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77181 (exit $ac_status); }; } &&
77182 { ac_try='test -s conftest$ac_exeext'
77183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77184 (eval $ac_try) 2>&5
77185 ac_status=$?
77186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77187 (exit $ac_status); }; }; then
77188 ac_cv_lib_m_main=yes
77189 else
77190 echo "$as_me: failed program was:" >&5
77191 sed 's/^/| /' conftest.$ac_ext >&5
77193 ac_cv_lib_m_main=no
77195 rm -f conftest.err conftest.$ac_objext \
77196 conftest$ac_exeext conftest.$ac_ext
77197 LIBS=$ac_check_lib_save_LIBS
77199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77200 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77201 if test $ac_cv_lib_m_main = yes; then
77202 cat >>confdefs.h <<_ACEOF
77203 #define HAVE_LIBM 1
77204 _ACEOF
77206 LIBS="-lm $LIBS"
77211 for ac_func in copysignf
77213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77214 echo "$as_me:$LINENO: checking for $ac_func" >&5
77215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77216 if eval "test \"\${$as_ac_var+set}\" = set"; then
77217 echo $ECHO_N "(cached) $ECHO_C" >&6
77218 else
77219 if test x$gcc_no_link = xyes; then
77220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77222 { (exit 1); exit 1; }; }
77224 cat >conftest.$ac_ext <<_ACEOF
77225 /* confdefs.h. */
77226 _ACEOF
77227 cat confdefs.h >>conftest.$ac_ext
77228 cat >>conftest.$ac_ext <<_ACEOF
77229 /* end confdefs.h. */
77230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77232 #define $ac_func innocuous_$ac_func
77234 /* System header to define __stub macros and hopefully few prototypes,
77235 which can conflict with char $ac_func (); below.
77236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77237 <limits.h> exists even on freestanding compilers. */
77239 #ifdef __STDC__
77240 # include <limits.h>
77241 #else
77242 # include <assert.h>
77243 #endif
77245 #undef $ac_func
77247 /* Override any gcc2 internal prototype to avoid an error. */
77248 #ifdef __cplusplus
77249 extern "C"
77251 #endif
77252 /* We use char because int might match the return type of a gcc2
77253 builtin and then its argument prototype would still apply. */
77254 char $ac_func ();
77255 /* The GNU C library defines this for functions which it implements
77256 to always fail with ENOSYS. Some functions are actually named
77257 something starting with __ and the normal name is an alias. */
77258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77259 choke me
77260 #else
77261 char (*f) () = $ac_func;
77262 #endif
77263 #ifdef __cplusplus
77265 #endif
77268 main ()
77270 return f != $ac_func;
77272 return 0;
77274 _ACEOF
77275 rm -f conftest.$ac_objext conftest$ac_exeext
77276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77277 (eval $ac_link) 2>conftest.er1
77278 ac_status=$?
77279 grep -v '^ *+' conftest.er1 >conftest.err
77280 rm -f conftest.er1
77281 cat conftest.err >&5
77282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77283 (exit $ac_status); } &&
77284 { ac_try='test -z "$ac_c_werror_flag"
77285 || test ! -s conftest.err'
77286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77287 (eval $ac_try) 2>&5
77288 ac_status=$?
77289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77290 (exit $ac_status); }; } &&
77291 { ac_try='test -s conftest$ac_exeext'
77292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77293 (eval $ac_try) 2>&5
77294 ac_status=$?
77295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77296 (exit $ac_status); }; }; then
77297 eval "$as_ac_var=yes"
77298 else
77299 echo "$as_me: failed program was:" >&5
77300 sed 's/^/| /' conftest.$ac_ext >&5
77302 eval "$as_ac_var=no"
77304 rm -f conftest.err conftest.$ac_objext \
77305 conftest$ac_exeext conftest.$ac_ext
77307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77309 if test `eval echo '${'$as_ac_var'}'` = yes; then
77310 cat >>confdefs.h <<_ACEOF
77311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77312 _ACEOF
77314 else
77315 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77317 done
77321 for ac_func in __signbit
77323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77324 echo "$as_me:$LINENO: checking for $ac_func" >&5
77325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77326 if eval "test \"\${$as_ac_var+set}\" = set"; then
77327 echo $ECHO_N "(cached) $ECHO_C" >&6
77328 else
77329 if test x$gcc_no_link = xyes; then
77330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77332 { (exit 1); exit 1; }; }
77334 cat >conftest.$ac_ext <<_ACEOF
77335 /* confdefs.h. */
77336 _ACEOF
77337 cat confdefs.h >>conftest.$ac_ext
77338 cat >>conftest.$ac_ext <<_ACEOF
77339 /* end confdefs.h. */
77340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77342 #define $ac_func innocuous_$ac_func
77344 /* System header to define __stub macros and hopefully few prototypes,
77345 which can conflict with char $ac_func (); below.
77346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77347 <limits.h> exists even on freestanding compilers. */
77349 #ifdef __STDC__
77350 # include <limits.h>
77351 #else
77352 # include <assert.h>
77353 #endif
77355 #undef $ac_func
77357 /* Override any gcc2 internal prototype to avoid an error. */
77358 #ifdef __cplusplus
77359 extern "C"
77361 #endif
77362 /* We use char because int might match the return type of a gcc2
77363 builtin and then its argument prototype would still apply. */
77364 char $ac_func ();
77365 /* The GNU C library defines this for functions which it implements
77366 to always fail with ENOSYS. Some functions are actually named
77367 something starting with __ and the normal name is an alias. */
77368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77369 choke me
77370 #else
77371 char (*f) () = $ac_func;
77372 #endif
77373 #ifdef __cplusplus
77375 #endif
77378 main ()
77380 return f != $ac_func;
77382 return 0;
77384 _ACEOF
77385 rm -f conftest.$ac_objext conftest$ac_exeext
77386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77387 (eval $ac_link) 2>conftest.er1
77388 ac_status=$?
77389 grep -v '^ *+' conftest.er1 >conftest.err
77390 rm -f conftest.er1
77391 cat conftest.err >&5
77392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77393 (exit $ac_status); } &&
77394 { ac_try='test -z "$ac_c_werror_flag"
77395 || test ! -s conftest.err'
77396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77397 (eval $ac_try) 2>&5
77398 ac_status=$?
77399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77400 (exit $ac_status); }; } &&
77401 { ac_try='test -s conftest$ac_exeext'
77402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77403 (eval $ac_try) 2>&5
77404 ac_status=$?
77405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77406 (exit $ac_status); }; }; then
77407 eval "$as_ac_var=yes"
77408 else
77409 echo "$as_me: failed program was:" >&5
77410 sed 's/^/| /' conftest.$ac_ext >&5
77412 eval "$as_ac_var=no"
77414 rm -f conftest.err conftest.$ac_objext \
77415 conftest$ac_exeext conftest.$ac_ext
77417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77419 if test `eval echo '${'$as_ac_var'}'` = yes; then
77420 cat >>confdefs.h <<_ACEOF
77421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77422 _ACEOF
77424 else
77425 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77427 done
77431 for ac_func in __signbitf
77433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77434 echo "$as_me:$LINENO: checking for $ac_func" >&5
77435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77436 if eval "test \"\${$as_ac_var+set}\" = set"; then
77437 echo $ECHO_N "(cached) $ECHO_C" >&6
77438 else
77439 if test x$gcc_no_link = xyes; then
77440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77442 { (exit 1); exit 1; }; }
77444 cat >conftest.$ac_ext <<_ACEOF
77445 /* confdefs.h. */
77446 _ACEOF
77447 cat confdefs.h >>conftest.$ac_ext
77448 cat >>conftest.$ac_ext <<_ACEOF
77449 /* end confdefs.h. */
77450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77452 #define $ac_func innocuous_$ac_func
77454 /* System header to define __stub macros and hopefully few prototypes,
77455 which can conflict with char $ac_func (); below.
77456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77457 <limits.h> exists even on freestanding compilers. */
77459 #ifdef __STDC__
77460 # include <limits.h>
77461 #else
77462 # include <assert.h>
77463 #endif
77465 #undef $ac_func
77467 /* Override any gcc2 internal prototype to avoid an error. */
77468 #ifdef __cplusplus
77469 extern "C"
77471 #endif
77472 /* We use char because int might match the return type of a gcc2
77473 builtin and then its argument prototype would still apply. */
77474 char $ac_func ();
77475 /* The GNU C library defines this for functions which it implements
77476 to always fail with ENOSYS. Some functions are actually named
77477 something starting with __ and the normal name is an alias. */
77478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77479 choke me
77480 #else
77481 char (*f) () = $ac_func;
77482 #endif
77483 #ifdef __cplusplus
77485 #endif
77488 main ()
77490 return f != $ac_func;
77492 return 0;
77494 _ACEOF
77495 rm -f conftest.$ac_objext conftest$ac_exeext
77496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77497 (eval $ac_link) 2>conftest.er1
77498 ac_status=$?
77499 grep -v '^ *+' conftest.er1 >conftest.err
77500 rm -f conftest.er1
77501 cat conftest.err >&5
77502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77503 (exit $ac_status); } &&
77504 { ac_try='test -z "$ac_c_werror_flag"
77505 || test ! -s conftest.err'
77506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77507 (eval $ac_try) 2>&5
77508 ac_status=$?
77509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77510 (exit $ac_status); }; } &&
77511 { ac_try='test -s conftest$ac_exeext'
77512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77513 (eval $ac_try) 2>&5
77514 ac_status=$?
77515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77516 (exit $ac_status); }; }; then
77517 eval "$as_ac_var=yes"
77518 else
77519 echo "$as_me: failed program was:" >&5
77520 sed 's/^/| /' conftest.$ac_ext >&5
77522 eval "$as_ac_var=no"
77524 rm -f conftest.err conftest.$ac_objext \
77525 conftest$ac_exeext conftest.$ac_ext
77527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77529 if test `eval echo '${'$as_ac_var'}'` = yes; then
77530 cat >>confdefs.h <<_ACEOF
77531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77532 _ACEOF
77534 else
77535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77537 done
77540 if test x$ac_cv_func_copysignl = x"yes"; then
77542 for ac_func in __signbitl
77544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77545 echo "$as_me:$LINENO: checking for $ac_func" >&5
77546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77547 if eval "test \"\${$as_ac_var+set}\" = set"; then
77548 echo $ECHO_N "(cached) $ECHO_C" >&6
77549 else
77550 if test x$gcc_no_link = xyes; then
77551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77553 { (exit 1); exit 1; }; }
77555 cat >conftest.$ac_ext <<_ACEOF
77556 /* confdefs.h. */
77557 _ACEOF
77558 cat confdefs.h >>conftest.$ac_ext
77559 cat >>conftest.$ac_ext <<_ACEOF
77560 /* end confdefs.h. */
77561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77563 #define $ac_func innocuous_$ac_func
77565 /* System header to define __stub macros and hopefully few prototypes,
77566 which can conflict with char $ac_func (); below.
77567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77568 <limits.h> exists even on freestanding compilers. */
77570 #ifdef __STDC__
77571 # include <limits.h>
77572 #else
77573 # include <assert.h>
77574 #endif
77576 #undef $ac_func
77578 /* Override any gcc2 internal prototype to avoid an error. */
77579 #ifdef __cplusplus
77580 extern "C"
77582 #endif
77583 /* We use char because int might match the return type of a gcc2
77584 builtin and then its argument prototype would still apply. */
77585 char $ac_func ();
77586 /* The GNU C library defines this for functions which it implements
77587 to always fail with ENOSYS. Some functions are actually named
77588 something starting with __ and the normal name is an alias. */
77589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77590 choke me
77591 #else
77592 char (*f) () = $ac_func;
77593 #endif
77594 #ifdef __cplusplus
77596 #endif
77599 main ()
77601 return f != $ac_func;
77603 return 0;
77605 _ACEOF
77606 rm -f conftest.$ac_objext conftest$ac_exeext
77607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77608 (eval $ac_link) 2>conftest.er1
77609 ac_status=$?
77610 grep -v '^ *+' conftest.er1 >conftest.err
77611 rm -f conftest.er1
77612 cat conftest.err >&5
77613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77614 (exit $ac_status); } &&
77615 { ac_try='test -z "$ac_c_werror_flag"
77616 || test ! -s conftest.err'
77617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77618 (eval $ac_try) 2>&5
77619 ac_status=$?
77620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77621 (exit $ac_status); }; } &&
77622 { ac_try='test -s conftest$ac_exeext'
77623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77624 (eval $ac_try) 2>&5
77625 ac_status=$?
77626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77627 (exit $ac_status); }; }; then
77628 eval "$as_ac_var=yes"
77629 else
77630 echo "$as_me: failed program was:" >&5
77631 sed 's/^/| /' conftest.$ac_ext >&5
77633 eval "$as_ac_var=no"
77635 rm -f conftest.err conftest.$ac_objext \
77636 conftest$ac_exeext conftest.$ac_ext
77638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77640 if test `eval echo '${'$as_ac_var'}'` = yes; then
77641 cat >>confdefs.h <<_ACEOF
77642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77643 _ACEOF
77645 else
77646 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77648 done
77652 # Used in libmath/Makefile.am.
77653 if test -n "$LIBMATHOBJS"; then
77654 need_libmath=yes
77660 enable_iconv=no
77661 # Only continue checking if the ISO C99 headers exist and support is on.
77662 if test x"$enable_wchar_t" = xyes; then
77664 # Use iconv for wchar_t to char conversions. As such, check for
77665 # X/Open Portability Guide, version 2 features (XPG2).
77666 if test "${ac_cv_header_iconv_h+set}" = set; then
77667 echo "$as_me:$LINENO: checking for iconv.h" >&5
77668 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77669 if test "${ac_cv_header_iconv_h+set}" = set; then
77670 echo $ECHO_N "(cached) $ECHO_C" >&6
77672 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77673 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77674 else
77675 # Is the header compilable?
77676 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77677 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77678 cat >conftest.$ac_ext <<_ACEOF
77679 /* confdefs.h. */
77680 _ACEOF
77681 cat confdefs.h >>conftest.$ac_ext
77682 cat >>conftest.$ac_ext <<_ACEOF
77683 /* end confdefs.h. */
77684 $ac_includes_default
77685 #include <iconv.h>
77686 _ACEOF
77687 rm -f conftest.$ac_objext
77688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77689 (eval $ac_compile) 2>conftest.er1
77690 ac_status=$?
77691 grep -v '^ *+' conftest.er1 >conftest.err
77692 rm -f conftest.er1
77693 cat conftest.err >&5
77694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77695 (exit $ac_status); } &&
77696 { ac_try='test -z "$ac_c_werror_flag"
77697 || test ! -s conftest.err'
77698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77699 (eval $ac_try) 2>&5
77700 ac_status=$?
77701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77702 (exit $ac_status); }; } &&
77703 { ac_try='test -s conftest.$ac_objext'
77704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77705 (eval $ac_try) 2>&5
77706 ac_status=$?
77707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77708 (exit $ac_status); }; }; then
77709 ac_header_compiler=yes
77710 else
77711 echo "$as_me: failed program was:" >&5
77712 sed 's/^/| /' conftest.$ac_ext >&5
77714 ac_header_compiler=no
77716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77718 echo "${ECHO_T}$ac_header_compiler" >&6
77720 # Is the header present?
77721 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77722 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77723 cat >conftest.$ac_ext <<_ACEOF
77724 /* confdefs.h. */
77725 _ACEOF
77726 cat confdefs.h >>conftest.$ac_ext
77727 cat >>conftest.$ac_ext <<_ACEOF
77728 /* end confdefs.h. */
77729 #include <iconv.h>
77730 _ACEOF
77731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77733 ac_status=$?
77734 grep -v '^ *+' conftest.er1 >conftest.err
77735 rm -f conftest.er1
77736 cat conftest.err >&5
77737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77738 (exit $ac_status); } >/dev/null; then
77739 if test -s conftest.err; then
77740 ac_cpp_err=$ac_c_preproc_warn_flag
77741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77742 else
77743 ac_cpp_err=
77745 else
77746 ac_cpp_err=yes
77748 if test -z "$ac_cpp_err"; then
77749 ac_header_preproc=yes
77750 else
77751 echo "$as_me: failed program was:" >&5
77752 sed 's/^/| /' conftest.$ac_ext >&5
77754 ac_header_preproc=no
77756 rm -f conftest.err conftest.$ac_ext
77757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77758 echo "${ECHO_T}$ac_header_preproc" >&6
77760 # So? What about this header?
77761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77762 yes:no: )
77763 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77764 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77765 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77766 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77767 ac_header_preproc=yes
77769 no:yes:* )
77770 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77771 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77772 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77773 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77774 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77775 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77776 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77777 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77778 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77779 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77780 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77781 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77783 cat <<\_ASBOX
77784 ## ----------------------------------------- ##
77785 ## Report this to the package-unused lists. ##
77786 ## ----------------------------------------- ##
77787 _ASBOX
77789 sed "s/^/$as_me: WARNING: /" >&2
77791 esac
77792 echo "$as_me:$LINENO: checking for iconv.h" >&5
77793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77794 if test "${ac_cv_header_iconv_h+set}" = set; then
77795 echo $ECHO_N "(cached) $ECHO_C" >&6
77796 else
77797 ac_cv_header_iconv_h=$ac_header_preproc
77799 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77800 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77803 if test $ac_cv_header_iconv_h = yes; then
77804 ac_has_iconv_h=yes
77805 else
77806 ac_has_iconv_h=no
77810 if test "${ac_cv_header_langinfo_h+set}" = set; then
77811 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77812 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77813 if test "${ac_cv_header_langinfo_h+set}" = set; then
77814 echo $ECHO_N "(cached) $ECHO_C" >&6
77816 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77817 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77818 else
77819 # Is the header compilable?
77820 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77821 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77822 cat >conftest.$ac_ext <<_ACEOF
77823 /* confdefs.h. */
77824 _ACEOF
77825 cat confdefs.h >>conftest.$ac_ext
77826 cat >>conftest.$ac_ext <<_ACEOF
77827 /* end confdefs.h. */
77828 $ac_includes_default
77829 #include <langinfo.h>
77830 _ACEOF
77831 rm -f conftest.$ac_objext
77832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77833 (eval $ac_compile) 2>conftest.er1
77834 ac_status=$?
77835 grep -v '^ *+' conftest.er1 >conftest.err
77836 rm -f conftest.er1
77837 cat conftest.err >&5
77838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839 (exit $ac_status); } &&
77840 { ac_try='test -z "$ac_c_werror_flag"
77841 || test ! -s conftest.err'
77842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77843 (eval $ac_try) 2>&5
77844 ac_status=$?
77845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77846 (exit $ac_status); }; } &&
77847 { ac_try='test -s conftest.$ac_objext'
77848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77849 (eval $ac_try) 2>&5
77850 ac_status=$?
77851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77852 (exit $ac_status); }; }; then
77853 ac_header_compiler=yes
77854 else
77855 echo "$as_me: failed program was:" >&5
77856 sed 's/^/| /' conftest.$ac_ext >&5
77858 ac_header_compiler=no
77860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77862 echo "${ECHO_T}$ac_header_compiler" >&6
77864 # Is the header present?
77865 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77866 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77867 cat >conftest.$ac_ext <<_ACEOF
77868 /* confdefs.h. */
77869 _ACEOF
77870 cat confdefs.h >>conftest.$ac_ext
77871 cat >>conftest.$ac_ext <<_ACEOF
77872 /* end confdefs.h. */
77873 #include <langinfo.h>
77874 _ACEOF
77875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77877 ac_status=$?
77878 grep -v '^ *+' conftest.er1 >conftest.err
77879 rm -f conftest.er1
77880 cat conftest.err >&5
77881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77882 (exit $ac_status); } >/dev/null; then
77883 if test -s conftest.err; then
77884 ac_cpp_err=$ac_c_preproc_warn_flag
77885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77886 else
77887 ac_cpp_err=
77889 else
77890 ac_cpp_err=yes
77892 if test -z "$ac_cpp_err"; then
77893 ac_header_preproc=yes
77894 else
77895 echo "$as_me: failed program was:" >&5
77896 sed 's/^/| /' conftest.$ac_ext >&5
77898 ac_header_preproc=no
77900 rm -f conftest.err conftest.$ac_ext
77901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77902 echo "${ECHO_T}$ac_header_preproc" >&6
77904 # So? What about this header?
77905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77906 yes:no: )
77907 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77908 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77909 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77910 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77911 ac_header_preproc=yes
77913 no:yes:* )
77914 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77915 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77916 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77917 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77918 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77919 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77920 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77921 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77922 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77923 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77924 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77925 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77927 cat <<\_ASBOX
77928 ## ----------------------------------------- ##
77929 ## Report this to the package-unused lists. ##
77930 ## ----------------------------------------- ##
77931 _ASBOX
77933 sed "s/^/$as_me: WARNING: /" >&2
77935 esac
77936 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77938 if test "${ac_cv_header_langinfo_h+set}" = set; then
77939 echo $ECHO_N "(cached) $ECHO_C" >&6
77940 else
77941 ac_cv_header_langinfo_h=$ac_header_preproc
77943 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77944 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77947 if test $ac_cv_header_langinfo_h = yes; then
77948 ac_has_langinfo_h=yes
77949 else
77950 ac_has_langinfo_h=no
77955 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77956 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77957 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77958 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77959 echo $ECHO_N "(cached) $ECHO_C" >&6
77960 else
77961 ac_check_lib_save_LIBS=$LIBS
77962 LIBS="-liconv $LIBS"
77963 if test x$gcc_no_link = xyes; then
77964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77966 { (exit 1); exit 1; }; }
77968 cat >conftest.$ac_ext <<_ACEOF
77969 /* confdefs.h. */
77970 _ACEOF
77971 cat confdefs.h >>conftest.$ac_ext
77972 cat >>conftest.$ac_ext <<_ACEOF
77973 /* end confdefs.h. */
77975 /* Override any gcc2 internal prototype to avoid an error. */
77976 #ifdef __cplusplus
77977 extern "C"
77978 #endif
77979 /* We use char because int might match the return type of a gcc2
77980 builtin and then its argument prototype would still apply. */
77981 char iconv ();
77983 main ()
77985 iconv ();
77987 return 0;
77989 _ACEOF
77990 rm -f conftest.$ac_objext conftest$ac_exeext
77991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77992 (eval $ac_link) 2>conftest.er1
77993 ac_status=$?
77994 grep -v '^ *+' conftest.er1 >conftest.err
77995 rm -f conftest.er1
77996 cat conftest.err >&5
77997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77998 (exit $ac_status); } &&
77999 { ac_try='test -z "$ac_c_werror_flag"
78000 || test ! -s conftest.err'
78001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78002 (eval $ac_try) 2>&5
78003 ac_status=$?
78004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78005 (exit $ac_status); }; } &&
78006 { ac_try='test -s conftest$ac_exeext'
78007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78008 (eval $ac_try) 2>&5
78009 ac_status=$?
78010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78011 (exit $ac_status); }; }; then
78012 ac_cv_lib_iconv_iconv=yes
78013 else
78014 echo "$as_me: failed program was:" >&5
78015 sed 's/^/| /' conftest.$ac_ext >&5
78017 ac_cv_lib_iconv_iconv=no
78019 rm -f conftest.err conftest.$ac_objext \
78020 conftest$ac_exeext conftest.$ac_ext
78021 LIBS=$ac_check_lib_save_LIBS
78023 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78024 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78025 if test $ac_cv_lib_iconv_iconv = yes; then
78026 LIBICONV="-liconv"
78029 ac_save_LIBS="$LIBS"
78030 LIBS="$LIBS $LIBICONV"
78037 for ac_func in iconv_open iconv_close iconv nl_langinfo
78039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78040 echo "$as_me:$LINENO: checking for $ac_func" >&5
78041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78042 if eval "test \"\${$as_ac_var+set}\" = set"; then
78043 echo $ECHO_N "(cached) $ECHO_C" >&6
78044 else
78045 if test x$gcc_no_link = xyes; then
78046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78048 { (exit 1); exit 1; }; }
78050 cat >conftest.$ac_ext <<_ACEOF
78051 /* confdefs.h. */
78052 _ACEOF
78053 cat confdefs.h >>conftest.$ac_ext
78054 cat >>conftest.$ac_ext <<_ACEOF
78055 /* end confdefs.h. */
78056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78058 #define $ac_func innocuous_$ac_func
78060 /* System header to define __stub macros and hopefully few prototypes,
78061 which can conflict with char $ac_func (); below.
78062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78063 <limits.h> exists even on freestanding compilers. */
78065 #ifdef __STDC__
78066 # include <limits.h>
78067 #else
78068 # include <assert.h>
78069 #endif
78071 #undef $ac_func
78073 /* Override any gcc2 internal prototype to avoid an error. */
78074 #ifdef __cplusplus
78075 extern "C"
78077 #endif
78078 /* We use char because int might match the return type of a gcc2
78079 builtin and then its argument prototype would still apply. */
78080 char $ac_func ();
78081 /* The GNU C library defines this for functions which it implements
78082 to always fail with ENOSYS. Some functions are actually named
78083 something starting with __ and the normal name is an alias. */
78084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78085 choke me
78086 #else
78087 char (*f) () = $ac_func;
78088 #endif
78089 #ifdef __cplusplus
78091 #endif
78094 main ()
78096 return f != $ac_func;
78098 return 0;
78100 _ACEOF
78101 rm -f conftest.$ac_objext conftest$ac_exeext
78102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78103 (eval $ac_link) 2>conftest.er1
78104 ac_status=$?
78105 grep -v '^ *+' conftest.er1 >conftest.err
78106 rm -f conftest.er1
78107 cat conftest.err >&5
78108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78109 (exit $ac_status); } &&
78110 { ac_try='test -z "$ac_c_werror_flag"
78111 || test ! -s conftest.err'
78112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78113 (eval $ac_try) 2>&5
78114 ac_status=$?
78115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78116 (exit $ac_status); }; } &&
78117 { ac_try='test -s conftest$ac_exeext'
78118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78119 (eval $ac_try) 2>&5
78120 ac_status=$?
78121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78122 (exit $ac_status); }; }; then
78123 eval "$as_ac_var=yes"
78124 else
78125 echo "$as_me: failed program was:" >&5
78126 sed 's/^/| /' conftest.$ac_ext >&5
78128 eval "$as_ac_var=no"
78130 rm -f conftest.err conftest.$ac_objext \
78131 conftest$ac_exeext conftest.$ac_ext
78133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78135 if test `eval echo '${'$as_ac_var'}'` = yes; then
78136 cat >>confdefs.h <<_ACEOF
78137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78138 _ACEOF
78139 ac_XPG2funcs=yes
78140 else
78141 ac_XPG2funcs=no
78143 done
78146 LIBS="$ac_save_LIBS"
78148 if test x"$ac_has_iconv_h" = xyes &&
78149 test x"$ac_has_langinfo_h" = xyes &&
78150 test x"$ac_XPG2funcs" = xyes;
78151 then
78153 cat >>confdefs.h <<\_ACEOF
78154 #define _GLIBCXX_USE_ICONV 1
78155 _ACEOF
78157 enable_iconv=yes
78160 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78161 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78162 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78163 echo "${ECHO_T}$enable_iconv" >&6
78166 # For LFS.
78167 cat >>confdefs.h <<\_ACEOF
78168 #define HAVE_INT64_T 1
78169 _ACEOF
78171 case "$target" in
78172 *-uclinux*)
78173 # Don't enable LFS with uClibc
78176 cat >>confdefs.h <<\_ACEOF
78177 #define _GLIBCXX_USE_LFS 1
78178 _ACEOF
78180 esac
78182 # For showmanyc_helper().
78185 for ac_header in sys/ioctl.h sys/filio.h
78187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78189 echo "$as_me:$LINENO: checking for $ac_header" >&5
78190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78192 echo $ECHO_N "(cached) $ECHO_C" >&6
78194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78196 else
78197 # Is the header compilable?
78198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78200 cat >conftest.$ac_ext <<_ACEOF
78201 /* confdefs.h. */
78202 _ACEOF
78203 cat confdefs.h >>conftest.$ac_ext
78204 cat >>conftest.$ac_ext <<_ACEOF
78205 /* end confdefs.h. */
78206 $ac_includes_default
78207 #include <$ac_header>
78208 _ACEOF
78209 rm -f conftest.$ac_objext
78210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78211 (eval $ac_compile) 2>conftest.er1
78212 ac_status=$?
78213 grep -v '^ *+' conftest.er1 >conftest.err
78214 rm -f conftest.er1
78215 cat conftest.err >&5
78216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78217 (exit $ac_status); } &&
78218 { ac_try='test -z "$ac_c_werror_flag"
78219 || test ! -s conftest.err'
78220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78221 (eval $ac_try) 2>&5
78222 ac_status=$?
78223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78224 (exit $ac_status); }; } &&
78225 { ac_try='test -s conftest.$ac_objext'
78226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78227 (eval $ac_try) 2>&5
78228 ac_status=$?
78229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78230 (exit $ac_status); }; }; then
78231 ac_header_compiler=yes
78232 else
78233 echo "$as_me: failed program was:" >&5
78234 sed 's/^/| /' conftest.$ac_ext >&5
78236 ac_header_compiler=no
78238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78240 echo "${ECHO_T}$ac_header_compiler" >&6
78242 # Is the header present?
78243 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78244 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78245 cat >conftest.$ac_ext <<_ACEOF
78246 /* confdefs.h. */
78247 _ACEOF
78248 cat confdefs.h >>conftest.$ac_ext
78249 cat >>conftest.$ac_ext <<_ACEOF
78250 /* end confdefs.h. */
78251 #include <$ac_header>
78252 _ACEOF
78253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78255 ac_status=$?
78256 grep -v '^ *+' conftest.er1 >conftest.err
78257 rm -f conftest.er1
78258 cat conftest.err >&5
78259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78260 (exit $ac_status); } >/dev/null; then
78261 if test -s conftest.err; then
78262 ac_cpp_err=$ac_c_preproc_warn_flag
78263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78264 else
78265 ac_cpp_err=
78267 else
78268 ac_cpp_err=yes
78270 if test -z "$ac_cpp_err"; then
78271 ac_header_preproc=yes
78272 else
78273 echo "$as_me: failed program was:" >&5
78274 sed 's/^/| /' conftest.$ac_ext >&5
78276 ac_header_preproc=no
78278 rm -f conftest.err conftest.$ac_ext
78279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78280 echo "${ECHO_T}$ac_header_preproc" >&6
78282 # So? What about this header?
78283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78284 yes:no: )
78285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78289 ac_header_preproc=yes
78291 no:yes:* )
78292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78305 cat <<\_ASBOX
78306 ## ----------------------------------------- ##
78307 ## Report this to the package-unused lists. ##
78308 ## ----------------------------------------- ##
78309 _ASBOX
78311 sed "s/^/$as_me: WARNING: /" >&2
78313 esac
78314 echo "$as_me:$LINENO: checking for $ac_header" >&5
78315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78317 echo $ECHO_N "(cached) $ECHO_C" >&6
78318 else
78319 eval "$as_ac_Header=\$ac_header_preproc"
78321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78326 cat >>confdefs.h <<_ACEOF
78327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78328 _ACEOF
78332 done
78335 echo "$as_me:$LINENO: checking for poll" >&5
78336 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78337 if test "${glibcxx_cv_POLL+set}" = set; then
78338 echo $ECHO_N "(cached) $ECHO_C" >&6
78339 else
78341 if test x$gcc_no_link = xyes; then
78342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78344 { (exit 1); exit 1; }; }
78346 cat >conftest.$ac_ext <<_ACEOF
78347 /* confdefs.h. */
78348 _ACEOF
78349 cat confdefs.h >>conftest.$ac_ext
78350 cat >>conftest.$ac_ext <<_ACEOF
78351 /* end confdefs.h. */
78352 #include <poll.h>
78354 main ()
78356 struct pollfd pfd[1];
78357 pfd[0].events = POLLIN;
78358 poll(pfd, 1, 0);
78360 return 0;
78362 _ACEOF
78363 rm -f conftest.$ac_objext conftest$ac_exeext
78364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78365 (eval $ac_link) 2>conftest.er1
78366 ac_status=$?
78367 grep -v '^ *+' conftest.er1 >conftest.err
78368 rm -f conftest.er1
78369 cat conftest.err >&5
78370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78371 (exit $ac_status); } &&
78372 { ac_try='test -z "$ac_c_werror_flag"
78373 || test ! -s conftest.err'
78374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78375 (eval $ac_try) 2>&5
78376 ac_status=$?
78377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78378 (exit $ac_status); }; } &&
78379 { ac_try='test -s conftest$ac_exeext'
78380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78381 (eval $ac_try) 2>&5
78382 ac_status=$?
78383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78384 (exit $ac_status); }; }; then
78385 glibcxx_cv_POLL=yes
78386 else
78387 echo "$as_me: failed program was:" >&5
78388 sed 's/^/| /' conftest.$ac_ext >&5
78390 glibcxx_cv_POLL=no
78392 rm -f conftest.err conftest.$ac_objext \
78393 conftest$ac_exeext conftest.$ac_ext
78397 if test $glibcxx_cv_POLL = yes; then
78399 cat >>confdefs.h <<\_ACEOF
78400 #define HAVE_POLL 1
78401 _ACEOF
78404 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78405 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78408 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78409 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78410 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78411 echo $ECHO_N "(cached) $ECHO_C" >&6
78412 else
78414 if test x$gcc_no_link = xyes; then
78415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78417 { (exit 1); exit 1; }; }
78419 cat >conftest.$ac_ext <<_ACEOF
78420 /* confdefs.h. */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h. */
78425 #include <sys/stat.h>
78427 main ()
78429 struct stat buffer;
78430 fstat(0, &buffer);
78431 S_ISREG(buffer.st_mode);
78433 return 0;
78435 _ACEOF
78436 rm -f conftest.$ac_objext conftest$ac_exeext
78437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78438 (eval $ac_link) 2>conftest.er1
78439 ac_status=$?
78440 grep -v '^ *+' conftest.er1 >conftest.err
78441 rm -f conftest.er1
78442 cat conftest.err >&5
78443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78444 (exit $ac_status); } &&
78445 { ac_try='test -z "$ac_c_werror_flag"
78446 || test ! -s conftest.err'
78447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78448 (eval $ac_try) 2>&5
78449 ac_status=$?
78450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78451 (exit $ac_status); }; } &&
78452 { ac_try='test -s conftest$ac_exeext'
78453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78454 (eval $ac_try) 2>&5
78455 ac_status=$?
78456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78457 (exit $ac_status); }; }; then
78458 glibcxx_cv_S_ISREG=yes
78459 else
78460 echo "$as_me: failed program was:" >&5
78461 sed 's/^/| /' conftest.$ac_ext >&5
78463 glibcxx_cv_S_ISREG=no
78465 rm -f conftest.err conftest.$ac_objext \
78466 conftest$ac_exeext conftest.$ac_ext
78470 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78471 echo $ECHO_N "(cached) $ECHO_C" >&6
78472 else
78474 if test x$gcc_no_link = xyes; then
78475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78477 { (exit 1); exit 1; }; }
78479 cat >conftest.$ac_ext <<_ACEOF
78480 /* confdefs.h. */
78481 _ACEOF
78482 cat confdefs.h >>conftest.$ac_ext
78483 cat >>conftest.$ac_ext <<_ACEOF
78484 /* end confdefs.h. */
78485 #include <sys/stat.h>
78487 main ()
78489 struct stat buffer;
78490 fstat(0, &buffer);
78491 S_IFREG & buffer.st_mode;
78493 return 0;
78495 _ACEOF
78496 rm -f conftest.$ac_objext conftest$ac_exeext
78497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78498 (eval $ac_link) 2>conftest.er1
78499 ac_status=$?
78500 grep -v '^ *+' conftest.er1 >conftest.err
78501 rm -f conftest.er1
78502 cat conftest.err >&5
78503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78504 (exit $ac_status); } &&
78505 { ac_try='test -z "$ac_c_werror_flag"
78506 || test ! -s conftest.err'
78507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78508 (eval $ac_try) 2>&5
78509 ac_status=$?
78510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78511 (exit $ac_status); }; } &&
78512 { ac_try='test -s conftest$ac_exeext'
78513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78514 (eval $ac_try) 2>&5
78515 ac_status=$?
78516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78517 (exit $ac_status); }; }; then
78518 glibcxx_cv_S_IFREG=yes
78519 else
78520 echo "$as_me: failed program was:" >&5
78521 sed 's/^/| /' conftest.$ac_ext >&5
78523 glibcxx_cv_S_IFREG=no
78525 rm -f conftest.err conftest.$ac_objext \
78526 conftest$ac_exeext conftest.$ac_ext
78530 res=no
78531 if test $glibcxx_cv_S_ISREG = yes; then
78533 cat >>confdefs.h <<\_ACEOF
78534 #define HAVE_S_ISREG 1
78535 _ACEOF
78537 res=S_ISREG
78538 elif test $glibcxx_cv_S_IFREG = yes; then
78540 cat >>confdefs.h <<\_ACEOF
78541 #define HAVE_S_IFREG 1
78542 _ACEOF
78544 res=S_IFREG
78546 echo "$as_me:$LINENO: result: $res" >&5
78547 echo "${ECHO_T}$res" >&6
78550 # For xsputn_2().
78552 for ac_header in sys/uio.h
78554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78556 echo "$as_me:$LINENO: checking for $ac_header" >&5
78557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78559 echo $ECHO_N "(cached) $ECHO_C" >&6
78561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78563 else
78564 # Is the header compilable?
78565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78567 cat >conftest.$ac_ext <<_ACEOF
78568 /* confdefs.h. */
78569 _ACEOF
78570 cat confdefs.h >>conftest.$ac_ext
78571 cat >>conftest.$ac_ext <<_ACEOF
78572 /* end confdefs.h. */
78573 $ac_includes_default
78574 #include <$ac_header>
78575 _ACEOF
78576 rm -f conftest.$ac_objext
78577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78578 (eval $ac_compile) 2>conftest.er1
78579 ac_status=$?
78580 grep -v '^ *+' conftest.er1 >conftest.err
78581 rm -f conftest.er1
78582 cat conftest.err >&5
78583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584 (exit $ac_status); } &&
78585 { ac_try='test -z "$ac_c_werror_flag"
78586 || test ! -s conftest.err'
78587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78588 (eval $ac_try) 2>&5
78589 ac_status=$?
78590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78591 (exit $ac_status); }; } &&
78592 { ac_try='test -s conftest.$ac_objext'
78593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78594 (eval $ac_try) 2>&5
78595 ac_status=$?
78596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78597 (exit $ac_status); }; }; then
78598 ac_header_compiler=yes
78599 else
78600 echo "$as_me: failed program was:" >&5
78601 sed 's/^/| /' conftest.$ac_ext >&5
78603 ac_header_compiler=no
78605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78607 echo "${ECHO_T}$ac_header_compiler" >&6
78609 # Is the header present?
78610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78612 cat >conftest.$ac_ext <<_ACEOF
78613 /* confdefs.h. */
78614 _ACEOF
78615 cat confdefs.h >>conftest.$ac_ext
78616 cat >>conftest.$ac_ext <<_ACEOF
78617 /* end confdefs.h. */
78618 #include <$ac_header>
78619 _ACEOF
78620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78622 ac_status=$?
78623 grep -v '^ *+' conftest.er1 >conftest.err
78624 rm -f conftest.er1
78625 cat conftest.err >&5
78626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78627 (exit $ac_status); } >/dev/null; then
78628 if test -s conftest.err; then
78629 ac_cpp_err=$ac_c_preproc_warn_flag
78630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78631 else
78632 ac_cpp_err=
78634 else
78635 ac_cpp_err=yes
78637 if test -z "$ac_cpp_err"; then
78638 ac_header_preproc=yes
78639 else
78640 echo "$as_me: failed program was:" >&5
78641 sed 's/^/| /' conftest.$ac_ext >&5
78643 ac_header_preproc=no
78645 rm -f conftest.err conftest.$ac_ext
78646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78647 echo "${ECHO_T}$ac_header_preproc" >&6
78649 # So? What about this header?
78650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78651 yes:no: )
78652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78655 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78656 ac_header_preproc=yes
78658 no:yes:* )
78659 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78660 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78661 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78662 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78663 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78664 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78665 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78666 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78669 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78670 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78672 cat <<\_ASBOX
78673 ## ----------------------------------------- ##
78674 ## Report this to the package-unused lists. ##
78675 ## ----------------------------------------- ##
78676 _ASBOX
78678 sed "s/^/$as_me: WARNING: /" >&2
78680 esac
78681 echo "$as_me:$LINENO: checking for $ac_header" >&5
78682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78684 echo $ECHO_N "(cached) $ECHO_C" >&6
78685 else
78686 eval "$as_ac_Header=\$ac_header_preproc"
78688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78693 cat >>confdefs.h <<_ACEOF
78694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78695 _ACEOF
78699 done
78702 echo "$as_me:$LINENO: checking for writev" >&5
78703 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78704 if test "${glibcxx_cv_WRITEV+set}" = set; then
78705 echo $ECHO_N "(cached) $ECHO_C" >&6
78706 else
78708 if test x$gcc_no_link = xyes; then
78709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78711 { (exit 1); exit 1; }; }
78713 cat >conftest.$ac_ext <<_ACEOF
78714 /* confdefs.h. */
78715 _ACEOF
78716 cat confdefs.h >>conftest.$ac_ext
78717 cat >>conftest.$ac_ext <<_ACEOF
78718 /* end confdefs.h. */
78719 #include <sys/uio.h>
78721 main ()
78723 struct iovec iov[2];
78724 writev(0, iov, 0);
78726 return 0;
78728 _ACEOF
78729 rm -f conftest.$ac_objext conftest$ac_exeext
78730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78731 (eval $ac_link) 2>conftest.er1
78732 ac_status=$?
78733 grep -v '^ *+' conftest.er1 >conftest.err
78734 rm -f conftest.er1
78735 cat conftest.err >&5
78736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78737 (exit $ac_status); } &&
78738 { ac_try='test -z "$ac_c_werror_flag"
78739 || test ! -s conftest.err'
78740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78741 (eval $ac_try) 2>&5
78742 ac_status=$?
78743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78744 (exit $ac_status); }; } &&
78745 { ac_try='test -s conftest$ac_exeext'
78746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78747 (eval $ac_try) 2>&5
78748 ac_status=$?
78749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78750 (exit $ac_status); }; }; then
78751 glibcxx_cv_WRITEV=yes
78752 else
78753 echo "$as_me: failed program was:" >&5
78754 sed 's/^/| /' conftest.$ac_ext >&5
78756 glibcxx_cv_WRITEV=no
78758 rm -f conftest.err conftest.$ac_objext \
78759 conftest$ac_exeext conftest.$ac_ext
78763 if test $glibcxx_cv_WRITEV = yes; then
78765 cat >>confdefs.h <<\_ACEOF
78766 #define HAVE_WRITEV 1
78767 _ACEOF
78770 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
78771 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
78774 cat >>confdefs.h <<\_ACEOF
78775 #define HAVE_ACOSF 1
78776 _ACEOF
78778 cat >>confdefs.h <<\_ACEOF
78779 #define HAVE_ASINF 1
78780 _ACEOF
78782 cat >>confdefs.h <<\_ACEOF
78783 #define HAVE_ATANF 1
78784 _ACEOF
78786 cat >>confdefs.h <<\_ACEOF
78787 #define HAVE_ATAN2F 1
78788 _ACEOF
78790 cat >>confdefs.h <<\_ACEOF
78791 #define HAVE_CEILF 1
78792 _ACEOF
78794 cat >>confdefs.h <<\_ACEOF
78795 #define HAVE_COPYSIGN 1
78796 _ACEOF
78798 cat >>confdefs.h <<\_ACEOF
78799 #define HAVE_COPYSIGNF 1
78800 _ACEOF
78802 cat >>confdefs.h <<\_ACEOF
78803 #define HAVE_COSF 1
78804 _ACEOF
78806 cat >>confdefs.h <<\_ACEOF
78807 #define HAVE_COSHF 1
78808 _ACEOF
78810 cat >>confdefs.h <<\_ACEOF
78811 #define HAVE_EXPF 1
78812 _ACEOF
78814 cat >>confdefs.h <<\_ACEOF
78815 #define HAVE_FABSF 1
78816 _ACEOF
78818 cat >>confdefs.h <<\_ACEOF
78819 #define HAVE_FINITE 1
78820 _ACEOF
78822 cat >>confdefs.h <<\_ACEOF
78823 #define HAVE_FINITEF 1
78824 _ACEOF
78826 cat >>confdefs.h <<\_ACEOF
78827 #define HAVE_FLOORF 1
78828 _ACEOF
78830 cat >>confdefs.h <<\_ACEOF
78831 #define HAVE_FMODF 1
78832 _ACEOF
78834 cat >>confdefs.h <<\_ACEOF
78835 #define HAVE_FREXPF 1
78836 _ACEOF
78838 cat >>confdefs.h <<\_ACEOF
78839 #define HAVE_HYPOT 1
78840 _ACEOF
78842 cat >>confdefs.h <<\_ACEOF
78843 #define HAVE_HYPOTF 1
78844 _ACEOF
78846 cat >>confdefs.h <<\_ACEOF
78847 #define HAVE_ISINF 1
78848 _ACEOF
78850 cat >>confdefs.h <<\_ACEOF
78851 #define HAVE_ISINFF 1
78852 _ACEOF
78854 cat >>confdefs.h <<\_ACEOF
78855 #define HAVE_ISNAN 1
78856 _ACEOF
78858 cat >>confdefs.h <<\_ACEOF
78859 #define HAVE_ISNANF 1
78860 _ACEOF
78862 cat >>confdefs.h <<\_ACEOF
78863 #define HAVE_LOGF 1
78864 _ACEOF
78866 cat >>confdefs.h <<\_ACEOF
78867 #define HAVE_LOG10F 1
78868 _ACEOF
78870 cat >>confdefs.h <<\_ACEOF
78871 #define HAVE_MODFF 1
78872 _ACEOF
78874 cat >>confdefs.h <<\_ACEOF
78875 #define HAVE_SINF 1
78876 _ACEOF
78878 cat >>confdefs.h <<\_ACEOF
78879 #define HAVE_SINHF 1
78880 _ACEOF
78882 cat >>confdefs.h <<\_ACEOF
78883 #define HAVE_SINCOS 1
78884 _ACEOF
78886 cat >>confdefs.h <<\_ACEOF
78887 #define HAVE_SINCOSF 1
78888 _ACEOF
78890 cat >>confdefs.h <<\_ACEOF
78891 #define HAVE_SQRTF 1
78892 _ACEOF
78894 cat >>confdefs.h <<\_ACEOF
78895 #define HAVE_TANF 1
78896 _ACEOF
78898 cat >>confdefs.h <<\_ACEOF
78899 #define HAVE_TANHF 1
78900 _ACEOF
78902 if test x"long_double_math_on_this_cpu" = x"yes"; then
78903 cat >>confdefs.h <<\_ACEOF
78904 #define HAVE_ACOSL 1
78905 _ACEOF
78907 cat >>confdefs.h <<\_ACEOF
78908 #define HAVE_ASINL 1
78909 _ACEOF
78911 cat >>confdefs.h <<\_ACEOF
78912 #define HAVE_ATANL 1
78913 _ACEOF
78915 cat >>confdefs.h <<\_ACEOF
78916 #define HAVE_ATAN2L 1
78917 _ACEOF
78919 cat >>confdefs.h <<\_ACEOF
78920 #define HAVE_CEILL 1
78921 _ACEOF
78923 cat >>confdefs.h <<\_ACEOF
78924 #define HAVE_COPYSIGNL 1
78925 _ACEOF
78927 cat >>confdefs.h <<\_ACEOF
78928 #define HAVE_COSL 1
78929 _ACEOF
78931 cat >>confdefs.h <<\_ACEOF
78932 #define HAVE_COSHL 1
78933 _ACEOF
78935 cat >>confdefs.h <<\_ACEOF
78936 #define HAVE_EXPL 1
78937 _ACEOF
78939 cat >>confdefs.h <<\_ACEOF
78940 #define HAVE_FABSL 1
78941 _ACEOF
78943 cat >>confdefs.h <<\_ACEOF
78944 #define HAVE_FINITEL 1
78945 _ACEOF
78947 cat >>confdefs.h <<\_ACEOF
78948 #define HAVE_FLOORL 1
78949 _ACEOF
78951 cat >>confdefs.h <<\_ACEOF
78952 #define HAVE_FMODL 1
78953 _ACEOF
78955 cat >>confdefs.h <<\_ACEOF
78956 #define HAVE_FREXPL 1
78957 _ACEOF
78959 cat >>confdefs.h <<\_ACEOF
78960 #define HAVE_HYPOTL 1
78961 _ACEOF
78963 cat >>confdefs.h <<\_ACEOF
78964 #define HAVE_ISINFL 1
78965 _ACEOF
78967 cat >>confdefs.h <<\_ACEOF
78968 #define HAVE_ISNANL 1
78969 _ACEOF
78971 cat >>confdefs.h <<\_ACEOF
78972 #define HAVE_LOGL 1
78973 _ACEOF
78975 cat >>confdefs.h <<\_ACEOF
78976 #define HAVE_LOG10L 1
78977 _ACEOF
78979 cat >>confdefs.h <<\_ACEOF
78980 #define HAVE_MODFL 1
78981 _ACEOF
78983 cat >>confdefs.h <<\_ACEOF
78984 #define HAVE_POWL 1
78985 _ACEOF
78987 cat >>confdefs.h <<\_ACEOF
78988 #define HAVE_SINL 1
78989 _ACEOF
78991 cat >>confdefs.h <<\_ACEOF
78992 #define HAVE_SINHL 1
78993 _ACEOF
78995 cat >>confdefs.h <<\_ACEOF
78996 #define HAVE_SINCOSL 1
78997 _ACEOF
78999 cat >>confdefs.h <<\_ACEOF
79000 #define HAVE_SQRTL 1
79001 _ACEOF
79003 cat >>confdefs.h <<\_ACEOF
79004 #define HAVE_TANL 1
79005 _ACEOF
79007 cat >>confdefs.h <<\_ACEOF
79008 #define HAVE_TANHL 1
79009 _ACEOF
79013 *-mingw32*)
79017 for ac_header in sys/types.h locale.h float.h
79019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79021 echo "$as_me:$LINENO: checking for $ac_header" >&5
79022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79024 echo $ECHO_N "(cached) $ECHO_C" >&6
79026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79028 else
79029 # Is the header compilable?
79030 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79032 cat >conftest.$ac_ext <<_ACEOF
79033 /* confdefs.h. */
79034 _ACEOF
79035 cat confdefs.h >>conftest.$ac_ext
79036 cat >>conftest.$ac_ext <<_ACEOF
79037 /* end confdefs.h. */
79038 $ac_includes_default
79039 #include <$ac_header>
79040 _ACEOF
79041 rm -f conftest.$ac_objext
79042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79043 (eval $ac_compile) 2>conftest.er1
79044 ac_status=$?
79045 grep -v '^ *+' conftest.er1 >conftest.err
79046 rm -f conftest.er1
79047 cat conftest.err >&5
79048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79049 (exit $ac_status); } &&
79050 { ac_try='test -z "$ac_c_werror_flag"
79051 || test ! -s conftest.err'
79052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79053 (eval $ac_try) 2>&5
79054 ac_status=$?
79055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79056 (exit $ac_status); }; } &&
79057 { ac_try='test -s conftest.$ac_objext'
79058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79059 (eval $ac_try) 2>&5
79060 ac_status=$?
79061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062 (exit $ac_status); }; }; then
79063 ac_header_compiler=yes
79064 else
79065 echo "$as_me: failed program was:" >&5
79066 sed 's/^/| /' conftest.$ac_ext >&5
79068 ac_header_compiler=no
79070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79072 echo "${ECHO_T}$ac_header_compiler" >&6
79074 # Is the header present?
79075 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79077 cat >conftest.$ac_ext <<_ACEOF
79078 /* confdefs.h. */
79079 _ACEOF
79080 cat confdefs.h >>conftest.$ac_ext
79081 cat >>conftest.$ac_ext <<_ACEOF
79082 /* end confdefs.h. */
79083 #include <$ac_header>
79084 _ACEOF
79085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79087 ac_status=$?
79088 grep -v '^ *+' conftest.er1 >conftest.err
79089 rm -f conftest.er1
79090 cat conftest.err >&5
79091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092 (exit $ac_status); } >/dev/null; then
79093 if test -s conftest.err; then
79094 ac_cpp_err=$ac_c_preproc_warn_flag
79095 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79096 else
79097 ac_cpp_err=
79099 else
79100 ac_cpp_err=yes
79102 if test -z "$ac_cpp_err"; then
79103 ac_header_preproc=yes
79104 else
79105 echo "$as_me: failed program was:" >&5
79106 sed 's/^/| /' conftest.$ac_ext >&5
79108 ac_header_preproc=no
79110 rm -f conftest.err conftest.$ac_ext
79111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79112 echo "${ECHO_T}$ac_header_preproc" >&6
79114 # So? What about this header?
79115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79116 yes:no: )
79117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79121 ac_header_preproc=yes
79123 no:yes:* )
79124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79137 cat <<\_ASBOX
79138 ## ----------------------------------------- ##
79139 ## Report this to the package-unused lists. ##
79140 ## ----------------------------------------- ##
79141 _ASBOX
79143 sed "s/^/$as_me: WARNING: /" >&2
79145 esac
79146 echo "$as_me:$LINENO: checking for $ac_header" >&5
79147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79149 echo $ECHO_N "(cached) $ECHO_C" >&6
79150 else
79151 eval "$as_ac_Header=\$ac_header_preproc"
79153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79158 cat >>confdefs.h <<_ACEOF
79159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79160 _ACEOF
79164 done
79167 # If we're not using GNU ld, then there's no point in even trying these
79168 # tests. Check for that first. We should have already tested for gld
79169 # by now (in libtool), but require it now just to be safe...
79170 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79171 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79175 # The name set by libtool depends on the version of libtool. Shame on us
79176 # for depending on an impl detail, but c'est la vie. Older versions used
79177 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79178 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79179 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79180 # set (hence we're using an older libtool), then set it.
79181 if test x${with_gnu_ld+set} != xset; then
79182 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79183 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79184 with_gnu_ld=no
79185 else
79186 with_gnu_ld=$ac_cv_prog_gnu_ld
79190 # Start by getting the version number. I think the libtool test already
79191 # does some of this, but throws away the result.
79193 ldver=`$LD --version 2>/dev/null | head -1 | \
79194 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79196 glibcxx_gnu_ld_version=`echo $ldver | \
79197 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79199 # Set --gc-sections.
79200 if test "$with_gnu_ld" = "notbroken"; then
79201 # GNU ld it is! Joy and bunny rabbits!
79203 # All these tests are for C++; save the language and the compiler flags.
79204 # Need to do this so that g++ won't try to link in libstdc++
79205 ac_test_CFLAGS="${CFLAGS+set}"
79206 ac_save_CFLAGS="$CFLAGS"
79207 CFLAGS='-x c++ -Wl,--gc-sections'
79209 # Check for -Wl,--gc-sections
79210 # XXX This test is broken at the moment, as symbols required for linking
79211 # are now in libsupc++ (not built yet). In addition, this test has
79212 # cored on solaris in the past. In addition, --gc-sections doesn't
79213 # really work at the moment (keeps on discarding used sections, first
79214 # .eh_frame and now some of the glibc sections for iconv).
79215 # Bzzzzt. Thanks for playing, maybe next time.
79216 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79217 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79218 if test "$cross_compiling" = yes; then
79219 ac_sectionLDflags=yes
79220 else
79221 cat >conftest.$ac_ext <<_ACEOF
79222 /* confdefs.h. */
79223 _ACEOF
79224 cat confdefs.h >>conftest.$ac_ext
79225 cat >>conftest.$ac_ext <<_ACEOF
79226 /* end confdefs.h. */
79228 int main(void)
79230 try { throw 1; }
79231 catch (...) { };
79232 return 0;
79235 _ACEOF
79236 rm -f conftest$ac_exeext
79237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79238 (eval $ac_link) 2>&5
79239 ac_status=$?
79240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79243 (eval $ac_try) 2>&5
79244 ac_status=$?
79245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79246 (exit $ac_status); }; }; then
79247 ac_sectionLDflags=yes
79248 else
79249 echo "$as_me: program exited with status $ac_status" >&5
79250 echo "$as_me: failed program was:" >&5
79251 sed 's/^/| /' conftest.$ac_ext >&5
79253 ( exit $ac_status )
79254 ac_sectionLDflags=no
79256 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79258 if test "$ac_test_CFLAGS" = set; then
79259 CFLAGS="$ac_save_CFLAGS"
79260 else
79261 # this is the suspicious part
79262 CFLAGS=''
79264 if test "$ac_sectionLDflags" = "yes"; then
79265 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79267 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79268 echo "${ECHO_T}$ac_sectionLDflags" >&6
79271 # Set linker optimization flags.
79272 if test x"$with_gnu_ld" = x"yes"; then
79273 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79281 echo "$as_me:$LINENO: checking for main in -lm" >&5
79282 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79283 if test "${ac_cv_lib_m_main+set}" = set; then
79284 echo $ECHO_N "(cached) $ECHO_C" >&6
79285 else
79286 ac_check_lib_save_LIBS=$LIBS
79287 LIBS="-lm $LIBS"
79288 if test x$gcc_no_link = xyes; then
79289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79291 { (exit 1); exit 1; }; }
79293 cat >conftest.$ac_ext <<_ACEOF
79294 /* confdefs.h. */
79295 _ACEOF
79296 cat confdefs.h >>conftest.$ac_ext
79297 cat >>conftest.$ac_ext <<_ACEOF
79298 /* end confdefs.h. */
79302 main ()
79304 main ();
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 ac_cv_lib_m_main=yes
79332 else
79333 echo "$as_me: failed program was:" >&5
79334 sed 's/^/| /' conftest.$ac_ext >&5
79336 ac_cv_lib_m_main=no
79338 rm -f conftest.err conftest.$ac_objext \
79339 conftest$ac_exeext conftest.$ac_ext
79340 LIBS=$ac_check_lib_save_LIBS
79342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79343 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79344 if test $ac_cv_lib_m_main = yes; then
79345 cat >>confdefs.h <<_ACEOF
79346 #define HAVE_LIBM 1
79347 _ACEOF
79349 LIBS="-lm $LIBS"
79354 for ac_func in copysignf
79356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79357 echo "$as_me:$LINENO: checking for $ac_func" >&5
79358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79359 if eval "test \"\${$as_ac_var+set}\" = set"; then
79360 echo $ECHO_N "(cached) $ECHO_C" >&6
79361 else
79362 if test x$gcc_no_link = xyes; then
79363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79365 { (exit 1); exit 1; }; }
79367 cat >conftest.$ac_ext <<_ACEOF
79368 /* confdefs.h. */
79369 _ACEOF
79370 cat confdefs.h >>conftest.$ac_ext
79371 cat >>conftest.$ac_ext <<_ACEOF
79372 /* end confdefs.h. */
79373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79375 #define $ac_func innocuous_$ac_func
79377 /* System header to define __stub macros and hopefully few prototypes,
79378 which can conflict with char $ac_func (); below.
79379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79380 <limits.h> exists even on freestanding compilers. */
79382 #ifdef __STDC__
79383 # include <limits.h>
79384 #else
79385 # include <assert.h>
79386 #endif
79388 #undef $ac_func
79390 /* Override any gcc2 internal prototype to avoid an error. */
79391 #ifdef __cplusplus
79392 extern "C"
79394 #endif
79395 /* We use char because int might match the return type of a gcc2
79396 builtin and then its argument prototype would still apply. */
79397 char $ac_func ();
79398 /* The GNU C library defines this for functions which it implements
79399 to always fail with ENOSYS. Some functions are actually named
79400 something starting with __ and the normal name is an alias. */
79401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79402 choke me
79403 #else
79404 char (*f) () = $ac_func;
79405 #endif
79406 #ifdef __cplusplus
79408 #endif
79411 main ()
79413 return f != $ac_func;
79415 return 0;
79417 _ACEOF
79418 rm -f conftest.$ac_objext conftest$ac_exeext
79419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79420 (eval $ac_link) 2>conftest.er1
79421 ac_status=$?
79422 grep -v '^ *+' conftest.er1 >conftest.err
79423 rm -f conftest.er1
79424 cat conftest.err >&5
79425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79426 (exit $ac_status); } &&
79427 { ac_try='test -z "$ac_c_werror_flag"
79428 || test ! -s conftest.err'
79429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79430 (eval $ac_try) 2>&5
79431 ac_status=$?
79432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79433 (exit $ac_status); }; } &&
79434 { ac_try='test -s conftest$ac_exeext'
79435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79436 (eval $ac_try) 2>&5
79437 ac_status=$?
79438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79439 (exit $ac_status); }; }; then
79440 eval "$as_ac_var=yes"
79441 else
79442 echo "$as_me: failed program was:" >&5
79443 sed 's/^/| /' conftest.$ac_ext >&5
79445 eval "$as_ac_var=no"
79447 rm -f conftest.err conftest.$ac_objext \
79448 conftest$ac_exeext conftest.$ac_ext
79450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79452 if test `eval echo '${'$as_ac_var'}'` = yes; then
79453 cat >>confdefs.h <<_ACEOF
79454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79455 _ACEOF
79457 else
79458 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79460 done
79464 for ac_func in __signbit
79466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79467 echo "$as_me:$LINENO: checking for $ac_func" >&5
79468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79469 if eval "test \"\${$as_ac_var+set}\" = set"; then
79470 echo $ECHO_N "(cached) $ECHO_C" >&6
79471 else
79472 if test x$gcc_no_link = xyes; then
79473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79475 { (exit 1); exit 1; }; }
79477 cat >conftest.$ac_ext <<_ACEOF
79478 /* confdefs.h. */
79479 _ACEOF
79480 cat confdefs.h >>conftest.$ac_ext
79481 cat >>conftest.$ac_ext <<_ACEOF
79482 /* end confdefs.h. */
79483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79485 #define $ac_func innocuous_$ac_func
79487 /* System header to define __stub macros and hopefully few prototypes,
79488 which can conflict with char $ac_func (); below.
79489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79490 <limits.h> exists even on freestanding compilers. */
79492 #ifdef __STDC__
79493 # include <limits.h>
79494 #else
79495 # include <assert.h>
79496 #endif
79498 #undef $ac_func
79500 /* Override any gcc2 internal prototype to avoid an error. */
79501 #ifdef __cplusplus
79502 extern "C"
79504 #endif
79505 /* We use char because int might match the return type of a gcc2
79506 builtin and then its argument prototype would still apply. */
79507 char $ac_func ();
79508 /* The GNU C library defines this for functions which it implements
79509 to always fail with ENOSYS. Some functions are actually named
79510 something starting with __ and the normal name is an alias. */
79511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79512 choke me
79513 #else
79514 char (*f) () = $ac_func;
79515 #endif
79516 #ifdef __cplusplus
79518 #endif
79521 main ()
79523 return f != $ac_func;
79525 return 0;
79527 _ACEOF
79528 rm -f conftest.$ac_objext conftest$ac_exeext
79529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79530 (eval $ac_link) 2>conftest.er1
79531 ac_status=$?
79532 grep -v '^ *+' conftest.er1 >conftest.err
79533 rm -f conftest.er1
79534 cat conftest.err >&5
79535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79536 (exit $ac_status); } &&
79537 { ac_try='test -z "$ac_c_werror_flag"
79538 || test ! -s conftest.err'
79539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79540 (eval $ac_try) 2>&5
79541 ac_status=$?
79542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79543 (exit $ac_status); }; } &&
79544 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
79550 eval "$as_ac_var=yes"
79551 else
79552 echo "$as_me: failed program was:" >&5
79553 sed 's/^/| /' conftest.$ac_ext >&5
79555 eval "$as_ac_var=no"
79557 rm -f conftest.err conftest.$ac_objext \
79558 conftest$ac_exeext conftest.$ac_ext
79560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79562 if test `eval echo '${'$as_ac_var'}'` = yes; then
79563 cat >>confdefs.h <<_ACEOF
79564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79565 _ACEOF
79567 else
79568 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79570 done
79574 for ac_func in __signbitf
79576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79577 echo "$as_me:$LINENO: checking for $ac_func" >&5
79578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79579 if eval "test \"\${$as_ac_var+set}\" = set"; then
79580 echo $ECHO_N "(cached) $ECHO_C" >&6
79581 else
79582 if test x$gcc_no_link = xyes; then
79583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79585 { (exit 1); exit 1; }; }
79587 cat >conftest.$ac_ext <<_ACEOF
79588 /* confdefs.h. */
79589 _ACEOF
79590 cat confdefs.h >>conftest.$ac_ext
79591 cat >>conftest.$ac_ext <<_ACEOF
79592 /* end confdefs.h. */
79593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79595 #define $ac_func innocuous_$ac_func
79597 /* System header to define __stub macros and hopefully few prototypes,
79598 which can conflict with char $ac_func (); below.
79599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79600 <limits.h> exists even on freestanding compilers. */
79602 #ifdef __STDC__
79603 # include <limits.h>
79604 #else
79605 # include <assert.h>
79606 #endif
79608 #undef $ac_func
79610 /* Override any gcc2 internal prototype to avoid an error. */
79611 #ifdef __cplusplus
79612 extern "C"
79614 #endif
79615 /* We use char because int might match the return type of a gcc2
79616 builtin and then its argument prototype would still apply. */
79617 char $ac_func ();
79618 /* The GNU C library defines this for functions which it implements
79619 to always fail with ENOSYS. Some functions are actually named
79620 something starting with __ and the normal name is an alias. */
79621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79622 choke me
79623 #else
79624 char (*f) () = $ac_func;
79625 #endif
79626 #ifdef __cplusplus
79628 #endif
79631 main ()
79633 return f != $ac_func;
79635 return 0;
79637 _ACEOF
79638 rm -f conftest.$ac_objext conftest$ac_exeext
79639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79640 (eval $ac_link) 2>conftest.er1
79641 ac_status=$?
79642 grep -v '^ *+' conftest.er1 >conftest.err
79643 rm -f conftest.er1
79644 cat conftest.err >&5
79645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79646 (exit $ac_status); } &&
79647 { ac_try='test -z "$ac_c_werror_flag"
79648 || test ! -s conftest.err'
79649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79650 (eval $ac_try) 2>&5
79651 ac_status=$?
79652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653 (exit $ac_status); }; } &&
79654 { ac_try='test -s conftest$ac_exeext'
79655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656 (eval $ac_try) 2>&5
79657 ac_status=$?
79658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659 (exit $ac_status); }; }; then
79660 eval "$as_ac_var=yes"
79661 else
79662 echo "$as_me: failed program was:" >&5
79663 sed 's/^/| /' conftest.$ac_ext >&5
79665 eval "$as_ac_var=no"
79667 rm -f conftest.err conftest.$ac_objext \
79668 conftest$ac_exeext conftest.$ac_ext
79670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79672 if test `eval echo '${'$as_ac_var'}'` = yes; then
79673 cat >>confdefs.h <<_ACEOF
79674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79675 _ACEOF
79677 else
79678 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79680 done
79683 if test x$ac_cv_func_copysignl = x"yes"; then
79685 for ac_func in __signbitl
79687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79688 echo "$as_me:$LINENO: checking for $ac_func" >&5
79689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79690 if eval "test \"\${$as_ac_var+set}\" = set"; then
79691 echo $ECHO_N "(cached) $ECHO_C" >&6
79692 else
79693 if test x$gcc_no_link = xyes; then
79694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79696 { (exit 1); exit 1; }; }
79698 cat >conftest.$ac_ext <<_ACEOF
79699 /* confdefs.h. */
79700 _ACEOF
79701 cat confdefs.h >>conftest.$ac_ext
79702 cat >>conftest.$ac_ext <<_ACEOF
79703 /* end confdefs.h. */
79704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79706 #define $ac_func innocuous_$ac_func
79708 /* System header to define __stub macros and hopefully few prototypes,
79709 which can conflict with char $ac_func (); below.
79710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79711 <limits.h> exists even on freestanding compilers. */
79713 #ifdef __STDC__
79714 # include <limits.h>
79715 #else
79716 # include <assert.h>
79717 #endif
79719 #undef $ac_func
79721 /* Override any gcc2 internal prototype to avoid an error. */
79722 #ifdef __cplusplus
79723 extern "C"
79725 #endif
79726 /* We use char because int might match the return type of a gcc2
79727 builtin and then its argument prototype would still apply. */
79728 char $ac_func ();
79729 /* The GNU C library defines this for functions which it implements
79730 to always fail with ENOSYS. Some functions are actually named
79731 something starting with __ and the normal name is an alias. */
79732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79733 choke me
79734 #else
79735 char (*f) () = $ac_func;
79736 #endif
79737 #ifdef __cplusplus
79739 #endif
79742 main ()
79744 return f != $ac_func;
79746 return 0;
79748 _ACEOF
79749 rm -f conftest.$ac_objext conftest$ac_exeext
79750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79751 (eval $ac_link) 2>conftest.er1
79752 ac_status=$?
79753 grep -v '^ *+' conftest.er1 >conftest.err
79754 rm -f conftest.er1
79755 cat conftest.err >&5
79756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79757 (exit $ac_status); } &&
79758 { ac_try='test -z "$ac_c_werror_flag"
79759 || test ! -s conftest.err'
79760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79761 (eval $ac_try) 2>&5
79762 ac_status=$?
79763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79764 (exit $ac_status); }; } &&
79765 { ac_try='test -s conftest$ac_exeext'
79766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79767 (eval $ac_try) 2>&5
79768 ac_status=$?
79769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79770 (exit $ac_status); }; }; then
79771 eval "$as_ac_var=yes"
79772 else
79773 echo "$as_me: failed program was:" >&5
79774 sed 's/^/| /' conftest.$ac_ext >&5
79776 eval "$as_ac_var=no"
79778 rm -f conftest.err conftest.$ac_objext \
79779 conftest$ac_exeext conftest.$ac_ext
79781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79783 if test `eval echo '${'$as_ac_var'}'` = yes; then
79784 cat >>confdefs.h <<_ACEOF
79785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79786 _ACEOF
79788 else
79789 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79791 done
79795 # Used in libmath/Makefile.am.
79796 if test -n "$LIBMATHOBJS"; then
79797 need_libmath=yes
79803 enable_iconv=no
79804 # Only continue checking if the ISO C99 headers exist and support is on.
79805 if test x"$enable_wchar_t" = xyes; then
79807 # Use iconv for wchar_t to char conversions. As such, check for
79808 # X/Open Portability Guide, version 2 features (XPG2).
79809 if test "${ac_cv_header_iconv_h+set}" = set; then
79810 echo "$as_me:$LINENO: checking for iconv.h" >&5
79811 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79812 if test "${ac_cv_header_iconv_h+set}" = set; then
79813 echo $ECHO_N "(cached) $ECHO_C" >&6
79815 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79816 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79817 else
79818 # Is the header compilable?
79819 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79820 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79821 cat >conftest.$ac_ext <<_ACEOF
79822 /* confdefs.h. */
79823 _ACEOF
79824 cat confdefs.h >>conftest.$ac_ext
79825 cat >>conftest.$ac_ext <<_ACEOF
79826 /* end confdefs.h. */
79827 $ac_includes_default
79828 #include <iconv.h>
79829 _ACEOF
79830 rm -f conftest.$ac_objext
79831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79832 (eval $ac_compile) 2>conftest.er1
79833 ac_status=$?
79834 grep -v '^ *+' conftest.er1 >conftest.err
79835 rm -f conftest.er1
79836 cat conftest.err >&5
79837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79838 (exit $ac_status); } &&
79839 { ac_try='test -z "$ac_c_werror_flag"
79840 || test ! -s conftest.err'
79841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79842 (eval $ac_try) 2>&5
79843 ac_status=$?
79844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79845 (exit $ac_status); }; } &&
79846 { ac_try='test -s conftest.$ac_objext'
79847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79848 (eval $ac_try) 2>&5
79849 ac_status=$?
79850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79851 (exit $ac_status); }; }; then
79852 ac_header_compiler=yes
79853 else
79854 echo "$as_me: failed program was:" >&5
79855 sed 's/^/| /' conftest.$ac_ext >&5
79857 ac_header_compiler=no
79859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79861 echo "${ECHO_T}$ac_header_compiler" >&6
79863 # Is the header present?
79864 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79865 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79866 cat >conftest.$ac_ext <<_ACEOF
79867 /* confdefs.h. */
79868 _ACEOF
79869 cat confdefs.h >>conftest.$ac_ext
79870 cat >>conftest.$ac_ext <<_ACEOF
79871 /* end confdefs.h. */
79872 #include <iconv.h>
79873 _ACEOF
79874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79876 ac_status=$?
79877 grep -v '^ *+' conftest.er1 >conftest.err
79878 rm -f conftest.er1
79879 cat conftest.err >&5
79880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79881 (exit $ac_status); } >/dev/null; then
79882 if test -s conftest.err; then
79883 ac_cpp_err=$ac_c_preproc_warn_flag
79884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79885 else
79886 ac_cpp_err=
79888 else
79889 ac_cpp_err=yes
79891 if test -z "$ac_cpp_err"; then
79892 ac_header_preproc=yes
79893 else
79894 echo "$as_me: failed program was:" >&5
79895 sed 's/^/| /' conftest.$ac_ext >&5
79897 ac_header_preproc=no
79899 rm -f conftest.err conftest.$ac_ext
79900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79901 echo "${ECHO_T}$ac_header_preproc" >&6
79903 # So? What about this header?
79904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79905 yes:no: )
79906 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79907 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79908 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79909 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79910 ac_header_preproc=yes
79912 no:yes:* )
79913 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79914 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79915 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79916 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79917 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79918 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79919 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79920 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79921 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79922 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79923 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79924 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79926 cat <<\_ASBOX
79927 ## ----------------------------------------- ##
79928 ## Report this to the package-unused lists. ##
79929 ## ----------------------------------------- ##
79930 _ASBOX
79932 sed "s/^/$as_me: WARNING: /" >&2
79934 esac
79935 echo "$as_me:$LINENO: checking for iconv.h" >&5
79936 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79937 if test "${ac_cv_header_iconv_h+set}" = set; then
79938 echo $ECHO_N "(cached) $ECHO_C" >&6
79939 else
79940 ac_cv_header_iconv_h=$ac_header_preproc
79942 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79943 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79946 if test $ac_cv_header_iconv_h = yes; then
79947 ac_has_iconv_h=yes
79948 else
79949 ac_has_iconv_h=no
79953 if test "${ac_cv_header_langinfo_h+set}" = set; then
79954 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79955 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79956 if test "${ac_cv_header_langinfo_h+set}" = set; then
79957 echo $ECHO_N "(cached) $ECHO_C" >&6
79959 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79960 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79961 else
79962 # Is the header compilable?
79963 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79964 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79965 cat >conftest.$ac_ext <<_ACEOF
79966 /* confdefs.h. */
79967 _ACEOF
79968 cat confdefs.h >>conftest.$ac_ext
79969 cat >>conftest.$ac_ext <<_ACEOF
79970 /* end confdefs.h. */
79971 $ac_includes_default
79972 #include <langinfo.h>
79973 _ACEOF
79974 rm -f conftest.$ac_objext
79975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79976 (eval $ac_compile) 2>conftest.er1
79977 ac_status=$?
79978 grep -v '^ *+' conftest.er1 >conftest.err
79979 rm -f conftest.er1
79980 cat conftest.err >&5
79981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79982 (exit $ac_status); } &&
79983 { ac_try='test -z "$ac_c_werror_flag"
79984 || test ! -s conftest.err'
79985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79986 (eval $ac_try) 2>&5
79987 ac_status=$?
79988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989 (exit $ac_status); }; } &&
79990 { ac_try='test -s conftest.$ac_objext'
79991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79992 (eval $ac_try) 2>&5
79993 ac_status=$?
79994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79995 (exit $ac_status); }; }; then
79996 ac_header_compiler=yes
79997 else
79998 echo "$as_me: failed program was:" >&5
79999 sed 's/^/| /' conftest.$ac_ext >&5
80001 ac_header_compiler=no
80003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80005 echo "${ECHO_T}$ac_header_compiler" >&6
80007 # Is the header present?
80008 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80009 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80010 cat >conftest.$ac_ext <<_ACEOF
80011 /* confdefs.h. */
80012 _ACEOF
80013 cat confdefs.h >>conftest.$ac_ext
80014 cat >>conftest.$ac_ext <<_ACEOF
80015 /* end confdefs.h. */
80016 #include <langinfo.h>
80017 _ACEOF
80018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80020 ac_status=$?
80021 grep -v '^ *+' conftest.er1 >conftest.err
80022 rm -f conftest.er1
80023 cat conftest.err >&5
80024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80025 (exit $ac_status); } >/dev/null; then
80026 if test -s conftest.err; then
80027 ac_cpp_err=$ac_c_preproc_warn_flag
80028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80029 else
80030 ac_cpp_err=
80032 else
80033 ac_cpp_err=yes
80035 if test -z "$ac_cpp_err"; then
80036 ac_header_preproc=yes
80037 else
80038 echo "$as_me: failed program was:" >&5
80039 sed 's/^/| /' conftest.$ac_ext >&5
80041 ac_header_preproc=no
80043 rm -f conftest.err conftest.$ac_ext
80044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80045 echo "${ECHO_T}$ac_header_preproc" >&6
80047 # So? What about this header?
80048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80049 yes:no: )
80050 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80051 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80052 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80053 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80054 ac_header_preproc=yes
80056 no:yes:* )
80057 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80058 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80059 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80060 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80061 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80062 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80063 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80064 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80065 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80066 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80067 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80068 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80070 cat <<\_ASBOX
80071 ## ----------------------------------------- ##
80072 ## Report this to the package-unused lists. ##
80073 ## ----------------------------------------- ##
80074 _ASBOX
80076 sed "s/^/$as_me: WARNING: /" >&2
80078 esac
80079 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80080 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80081 if test "${ac_cv_header_langinfo_h+set}" = set; then
80082 echo $ECHO_N "(cached) $ECHO_C" >&6
80083 else
80084 ac_cv_header_langinfo_h=$ac_header_preproc
80086 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80087 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80090 if test $ac_cv_header_langinfo_h = yes; then
80091 ac_has_langinfo_h=yes
80092 else
80093 ac_has_langinfo_h=no
80098 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80099 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80100 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80101 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80102 echo $ECHO_N "(cached) $ECHO_C" >&6
80103 else
80104 ac_check_lib_save_LIBS=$LIBS
80105 LIBS="-liconv $LIBS"
80106 if test x$gcc_no_link = xyes; then
80107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80109 { (exit 1); exit 1; }; }
80111 cat >conftest.$ac_ext <<_ACEOF
80112 /* confdefs.h. */
80113 _ACEOF
80114 cat confdefs.h >>conftest.$ac_ext
80115 cat >>conftest.$ac_ext <<_ACEOF
80116 /* end confdefs.h. */
80118 /* Override any gcc2 internal prototype to avoid an error. */
80119 #ifdef __cplusplus
80120 extern "C"
80121 #endif
80122 /* We use char because int might match the return type of a gcc2
80123 builtin and then its argument prototype would still apply. */
80124 char iconv ();
80126 main ()
80128 iconv ();
80130 return 0;
80132 _ACEOF
80133 rm -f conftest.$ac_objext conftest$ac_exeext
80134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80135 (eval $ac_link) 2>conftest.er1
80136 ac_status=$?
80137 grep -v '^ *+' conftest.er1 >conftest.err
80138 rm -f conftest.er1
80139 cat conftest.err >&5
80140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80141 (exit $ac_status); } &&
80142 { ac_try='test -z "$ac_c_werror_flag"
80143 || test ! -s conftest.err'
80144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145 (eval $ac_try) 2>&5
80146 ac_status=$?
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); }; } &&
80149 { ac_try='test -s conftest$ac_exeext'
80150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80151 (eval $ac_try) 2>&5
80152 ac_status=$?
80153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80154 (exit $ac_status); }; }; then
80155 ac_cv_lib_iconv_iconv=yes
80156 else
80157 echo "$as_me: failed program was:" >&5
80158 sed 's/^/| /' conftest.$ac_ext >&5
80160 ac_cv_lib_iconv_iconv=no
80162 rm -f conftest.err conftest.$ac_objext \
80163 conftest$ac_exeext conftest.$ac_ext
80164 LIBS=$ac_check_lib_save_LIBS
80166 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80167 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80168 if test $ac_cv_lib_iconv_iconv = yes; then
80169 LIBICONV="-liconv"
80172 ac_save_LIBS="$LIBS"
80173 LIBS="$LIBS $LIBICONV"
80180 for ac_func in iconv_open iconv_close iconv nl_langinfo
80182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80183 echo "$as_me:$LINENO: checking for $ac_func" >&5
80184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80185 if eval "test \"\${$as_ac_var+set}\" = set"; then
80186 echo $ECHO_N "(cached) $ECHO_C" >&6
80187 else
80188 if test x$gcc_no_link = xyes; then
80189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80191 { (exit 1); exit 1; }; }
80193 cat >conftest.$ac_ext <<_ACEOF
80194 /* confdefs.h. */
80195 _ACEOF
80196 cat confdefs.h >>conftest.$ac_ext
80197 cat >>conftest.$ac_ext <<_ACEOF
80198 /* end confdefs.h. */
80199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80201 #define $ac_func innocuous_$ac_func
80203 /* System header to define __stub macros and hopefully few prototypes,
80204 which can conflict with char $ac_func (); below.
80205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80206 <limits.h> exists even on freestanding compilers. */
80208 #ifdef __STDC__
80209 # include <limits.h>
80210 #else
80211 # include <assert.h>
80212 #endif
80214 #undef $ac_func
80216 /* Override any gcc2 internal prototype to avoid an error. */
80217 #ifdef __cplusplus
80218 extern "C"
80220 #endif
80221 /* We use char because int might match the return type of a gcc2
80222 builtin and then its argument prototype would still apply. */
80223 char $ac_func ();
80224 /* The GNU C library defines this for functions which it implements
80225 to always fail with ENOSYS. Some functions are actually named
80226 something starting with __ and the normal name is an alias. */
80227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80228 choke me
80229 #else
80230 char (*f) () = $ac_func;
80231 #endif
80232 #ifdef __cplusplus
80234 #endif
80237 main ()
80239 return f != $ac_func;
80241 return 0;
80243 _ACEOF
80244 rm -f conftest.$ac_objext conftest$ac_exeext
80245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80246 (eval $ac_link) 2>conftest.er1
80247 ac_status=$?
80248 grep -v '^ *+' conftest.er1 >conftest.err
80249 rm -f conftest.er1
80250 cat conftest.err >&5
80251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80252 (exit $ac_status); } &&
80253 { ac_try='test -z "$ac_c_werror_flag"
80254 || test ! -s conftest.err'
80255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80256 (eval $ac_try) 2>&5
80257 ac_status=$?
80258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80259 (exit $ac_status); }; } &&
80260 { ac_try='test -s conftest$ac_exeext'
80261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80262 (eval $ac_try) 2>&5
80263 ac_status=$?
80264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80265 (exit $ac_status); }; }; then
80266 eval "$as_ac_var=yes"
80267 else
80268 echo "$as_me: failed program was:" >&5
80269 sed 's/^/| /' conftest.$ac_ext >&5
80271 eval "$as_ac_var=no"
80273 rm -f conftest.err conftest.$ac_objext \
80274 conftest$ac_exeext conftest.$ac_ext
80276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80278 if test `eval echo '${'$as_ac_var'}'` = yes; then
80279 cat >>confdefs.h <<_ACEOF
80280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80281 _ACEOF
80282 ac_XPG2funcs=yes
80283 else
80284 ac_XPG2funcs=no
80286 done
80289 LIBS="$ac_save_LIBS"
80291 if test x"$ac_has_iconv_h" = xyes &&
80292 test x"$ac_has_langinfo_h" = xyes &&
80293 test x"$ac_XPG2funcs" = xyes;
80294 then
80296 cat >>confdefs.h <<\_ACEOF
80297 #define _GLIBCXX_USE_ICONV 1
80298 _ACEOF
80300 enable_iconv=yes
80303 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80304 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80305 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80306 echo "${ECHO_T}$enable_iconv" >&6
80309 *-netbsd*)
80322 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80323 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80324 fp.h locale.h float.h inttypes.h
80326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80328 echo "$as_me:$LINENO: checking for $ac_header" >&5
80329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80331 echo $ECHO_N "(cached) $ECHO_C" >&6
80333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80335 else
80336 # Is the header compilable?
80337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80339 cat >conftest.$ac_ext <<_ACEOF
80340 /* confdefs.h. */
80341 _ACEOF
80342 cat confdefs.h >>conftest.$ac_ext
80343 cat >>conftest.$ac_ext <<_ACEOF
80344 /* end confdefs.h. */
80345 $ac_includes_default
80346 #include <$ac_header>
80347 _ACEOF
80348 rm -f conftest.$ac_objext
80349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80350 (eval $ac_compile) 2>conftest.er1
80351 ac_status=$?
80352 grep -v '^ *+' conftest.er1 >conftest.err
80353 rm -f conftest.er1
80354 cat conftest.err >&5
80355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80356 (exit $ac_status); } &&
80357 { ac_try='test -z "$ac_c_werror_flag"
80358 || test ! -s conftest.err'
80359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80360 (eval $ac_try) 2>&5
80361 ac_status=$?
80362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80363 (exit $ac_status); }; } &&
80364 { ac_try='test -s conftest.$ac_objext'
80365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80366 (eval $ac_try) 2>&5
80367 ac_status=$?
80368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80369 (exit $ac_status); }; }; then
80370 ac_header_compiler=yes
80371 else
80372 echo "$as_me: failed program was:" >&5
80373 sed 's/^/| /' conftest.$ac_ext >&5
80375 ac_header_compiler=no
80377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80379 echo "${ECHO_T}$ac_header_compiler" >&6
80381 # Is the header present?
80382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80384 cat >conftest.$ac_ext <<_ACEOF
80385 /* confdefs.h. */
80386 _ACEOF
80387 cat confdefs.h >>conftest.$ac_ext
80388 cat >>conftest.$ac_ext <<_ACEOF
80389 /* end confdefs.h. */
80390 #include <$ac_header>
80391 _ACEOF
80392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80394 ac_status=$?
80395 grep -v '^ *+' conftest.er1 >conftest.err
80396 rm -f conftest.er1
80397 cat conftest.err >&5
80398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80399 (exit $ac_status); } >/dev/null; then
80400 if test -s conftest.err; then
80401 ac_cpp_err=$ac_c_preproc_warn_flag
80402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80403 else
80404 ac_cpp_err=
80406 else
80407 ac_cpp_err=yes
80409 if test -z "$ac_cpp_err"; then
80410 ac_header_preproc=yes
80411 else
80412 echo "$as_me: failed program was:" >&5
80413 sed 's/^/| /' conftest.$ac_ext >&5
80415 ac_header_preproc=no
80417 rm -f conftest.err conftest.$ac_ext
80418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80419 echo "${ECHO_T}$ac_header_preproc" >&6
80421 # So? What about this header?
80422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80423 yes:no: )
80424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80428 ac_header_preproc=yes
80430 no:yes:* )
80431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80444 cat <<\_ASBOX
80445 ## ----------------------------------------- ##
80446 ## Report this to the package-unused lists. ##
80447 ## ----------------------------------------- ##
80448 _ASBOX
80450 sed "s/^/$as_me: WARNING: /" >&2
80452 esac
80453 echo "$as_me:$LINENO: checking for $ac_header" >&5
80454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80456 echo $ECHO_N "(cached) $ECHO_C" >&6
80457 else
80458 eval "$as_ac_Header=\$ac_header_preproc"
80460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80465 cat >>confdefs.h <<_ACEOF
80466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80467 _ACEOF
80471 done
80473 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80476 # If we're not using GNU ld, then there's no point in even trying these
80477 # tests. Check for that first. We should have already tested for gld
80478 # by now (in libtool), but require it now just to be safe...
80479 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80480 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80484 # The name set by libtool depends on the version of libtool. Shame on us
80485 # for depending on an impl detail, but c'est la vie. Older versions used
80486 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80487 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80488 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80489 # set (hence we're using an older libtool), then set it.
80490 if test x${with_gnu_ld+set} != xset; then
80491 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80492 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80493 with_gnu_ld=no
80494 else
80495 with_gnu_ld=$ac_cv_prog_gnu_ld
80499 # Start by getting the version number. I think the libtool test already
80500 # does some of this, but throws away the result.
80502 ldver=`$LD --version 2>/dev/null | head -1 | \
80503 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80505 glibcxx_gnu_ld_version=`echo $ldver | \
80506 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80508 # Set --gc-sections.
80509 if test "$with_gnu_ld" = "notbroken"; then
80510 # GNU ld it is! Joy and bunny rabbits!
80512 # All these tests are for C++; save the language and the compiler flags.
80513 # Need to do this so that g++ won't try to link in libstdc++
80514 ac_test_CFLAGS="${CFLAGS+set}"
80515 ac_save_CFLAGS="$CFLAGS"
80516 CFLAGS='-x c++ -Wl,--gc-sections'
80518 # Check for -Wl,--gc-sections
80519 # XXX This test is broken at the moment, as symbols required for linking
80520 # are now in libsupc++ (not built yet). In addition, this test has
80521 # cored on solaris in the past. In addition, --gc-sections doesn't
80522 # really work at the moment (keeps on discarding used sections, first
80523 # .eh_frame and now some of the glibc sections for iconv).
80524 # Bzzzzt. Thanks for playing, maybe next time.
80525 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80526 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80527 if test "$cross_compiling" = yes; then
80528 ac_sectionLDflags=yes
80529 else
80530 cat >conftest.$ac_ext <<_ACEOF
80531 /* confdefs.h. */
80532 _ACEOF
80533 cat confdefs.h >>conftest.$ac_ext
80534 cat >>conftest.$ac_ext <<_ACEOF
80535 /* end confdefs.h. */
80537 int main(void)
80539 try { throw 1; }
80540 catch (...) { };
80541 return 0;
80544 _ACEOF
80545 rm -f conftest$ac_exeext
80546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80547 (eval $ac_link) 2>&5
80548 ac_status=$?
80549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80552 (eval $ac_try) 2>&5
80553 ac_status=$?
80554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80555 (exit $ac_status); }; }; then
80556 ac_sectionLDflags=yes
80557 else
80558 echo "$as_me: program exited with status $ac_status" >&5
80559 echo "$as_me: failed program was:" >&5
80560 sed 's/^/| /' conftest.$ac_ext >&5
80562 ( exit $ac_status )
80563 ac_sectionLDflags=no
80565 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80567 if test "$ac_test_CFLAGS" = set; then
80568 CFLAGS="$ac_save_CFLAGS"
80569 else
80570 # this is the suspicious part
80571 CFLAGS=''
80573 if test "$ac_sectionLDflags" = "yes"; then
80574 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80576 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80577 echo "${ECHO_T}$ac_sectionLDflags" >&6
80580 # Set linker optimization flags.
80581 if test x"$with_gnu_ld" = x"yes"; then
80582 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80590 echo "$as_me:$LINENO: checking for main in -lm" >&5
80591 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80592 if test "${ac_cv_lib_m_main+set}" = set; then
80593 echo $ECHO_N "(cached) $ECHO_C" >&6
80594 else
80595 ac_check_lib_save_LIBS=$LIBS
80596 LIBS="-lm $LIBS"
80597 if test x$gcc_no_link = xyes; then
80598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80600 { (exit 1); exit 1; }; }
80602 cat >conftest.$ac_ext <<_ACEOF
80603 /* confdefs.h. */
80604 _ACEOF
80605 cat confdefs.h >>conftest.$ac_ext
80606 cat >>conftest.$ac_ext <<_ACEOF
80607 /* end confdefs.h. */
80611 main ()
80613 main ();
80615 return 0;
80617 _ACEOF
80618 rm -f conftest.$ac_objext conftest$ac_exeext
80619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80620 (eval $ac_link) 2>conftest.er1
80621 ac_status=$?
80622 grep -v '^ *+' conftest.er1 >conftest.err
80623 rm -f conftest.er1
80624 cat conftest.err >&5
80625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80626 (exit $ac_status); } &&
80627 { ac_try='test -z "$ac_c_werror_flag"
80628 || test ! -s conftest.err'
80629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80630 (eval $ac_try) 2>&5
80631 ac_status=$?
80632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80633 (exit $ac_status); }; } &&
80634 { ac_try='test -s conftest$ac_exeext'
80635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80636 (eval $ac_try) 2>&5
80637 ac_status=$?
80638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80639 (exit $ac_status); }; }; then
80640 ac_cv_lib_m_main=yes
80641 else
80642 echo "$as_me: failed program was:" >&5
80643 sed 's/^/| /' conftest.$ac_ext >&5
80645 ac_cv_lib_m_main=no
80647 rm -f conftest.err conftest.$ac_objext \
80648 conftest$ac_exeext conftest.$ac_ext
80649 LIBS=$ac_check_lib_save_LIBS
80651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80652 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80653 if test $ac_cv_lib_m_main = yes; then
80654 cat >>confdefs.h <<_ACEOF
80655 #define HAVE_LIBM 1
80656 _ACEOF
80658 LIBS="-lm $LIBS"
80663 for ac_func in copysignf
80665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80666 echo "$as_me:$LINENO: checking for $ac_func" >&5
80667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80668 if eval "test \"\${$as_ac_var+set}\" = set"; then
80669 echo $ECHO_N "(cached) $ECHO_C" >&6
80670 else
80671 if test x$gcc_no_link = xyes; then
80672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80674 { (exit 1); exit 1; }; }
80676 cat >conftest.$ac_ext <<_ACEOF
80677 /* confdefs.h. */
80678 _ACEOF
80679 cat confdefs.h >>conftest.$ac_ext
80680 cat >>conftest.$ac_ext <<_ACEOF
80681 /* end confdefs.h. */
80682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80684 #define $ac_func innocuous_$ac_func
80686 /* System header to define __stub macros and hopefully few prototypes,
80687 which can conflict with char $ac_func (); below.
80688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80689 <limits.h> exists even on freestanding compilers. */
80691 #ifdef __STDC__
80692 # include <limits.h>
80693 #else
80694 # include <assert.h>
80695 #endif
80697 #undef $ac_func
80699 /* Override any gcc2 internal prototype to avoid an error. */
80700 #ifdef __cplusplus
80701 extern "C"
80703 #endif
80704 /* We use char because int might match the return type of a gcc2
80705 builtin and then its argument prototype would still apply. */
80706 char $ac_func ();
80707 /* The GNU C library defines this for functions which it implements
80708 to always fail with ENOSYS. Some functions are actually named
80709 something starting with __ and the normal name is an alias. */
80710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80711 choke me
80712 #else
80713 char (*f) () = $ac_func;
80714 #endif
80715 #ifdef __cplusplus
80717 #endif
80720 main ()
80722 return f != $ac_func;
80724 return 0;
80726 _ACEOF
80727 rm -f conftest.$ac_objext conftest$ac_exeext
80728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80729 (eval $ac_link) 2>conftest.er1
80730 ac_status=$?
80731 grep -v '^ *+' conftest.er1 >conftest.err
80732 rm -f conftest.er1
80733 cat conftest.err >&5
80734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80735 (exit $ac_status); } &&
80736 { ac_try='test -z "$ac_c_werror_flag"
80737 || test ! -s conftest.err'
80738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80739 (eval $ac_try) 2>&5
80740 ac_status=$?
80741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80742 (exit $ac_status); }; } &&
80743 { ac_try='test -s conftest$ac_exeext'
80744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80745 (eval $ac_try) 2>&5
80746 ac_status=$?
80747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80748 (exit $ac_status); }; }; then
80749 eval "$as_ac_var=yes"
80750 else
80751 echo "$as_me: failed program was:" >&5
80752 sed 's/^/| /' conftest.$ac_ext >&5
80754 eval "$as_ac_var=no"
80756 rm -f conftest.err conftest.$ac_objext \
80757 conftest$ac_exeext conftest.$ac_ext
80759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80761 if test `eval echo '${'$as_ac_var'}'` = yes; then
80762 cat >>confdefs.h <<_ACEOF
80763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80764 _ACEOF
80766 else
80767 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80769 done
80773 for ac_func in __signbit
80775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80776 echo "$as_me:$LINENO: checking for $ac_func" >&5
80777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80778 if eval "test \"\${$as_ac_var+set}\" = set"; then
80779 echo $ECHO_N "(cached) $ECHO_C" >&6
80780 else
80781 if test x$gcc_no_link = xyes; then
80782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80784 { (exit 1); exit 1; }; }
80786 cat >conftest.$ac_ext <<_ACEOF
80787 /* confdefs.h. */
80788 _ACEOF
80789 cat confdefs.h >>conftest.$ac_ext
80790 cat >>conftest.$ac_ext <<_ACEOF
80791 /* end confdefs.h. */
80792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80794 #define $ac_func innocuous_$ac_func
80796 /* System header to define __stub macros and hopefully few prototypes,
80797 which can conflict with char $ac_func (); below.
80798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80799 <limits.h> exists even on freestanding compilers. */
80801 #ifdef __STDC__
80802 # include <limits.h>
80803 #else
80804 # include <assert.h>
80805 #endif
80807 #undef $ac_func
80809 /* Override any gcc2 internal prototype to avoid an error. */
80810 #ifdef __cplusplus
80811 extern "C"
80813 #endif
80814 /* We use char because int might match the return type of a gcc2
80815 builtin and then its argument prototype would still apply. */
80816 char $ac_func ();
80817 /* The GNU C library defines this for functions which it implements
80818 to always fail with ENOSYS. Some functions are actually named
80819 something starting with __ and the normal name is an alias. */
80820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80821 choke me
80822 #else
80823 char (*f) () = $ac_func;
80824 #endif
80825 #ifdef __cplusplus
80827 #endif
80830 main ()
80832 return f != $ac_func;
80834 return 0;
80836 _ACEOF
80837 rm -f conftest.$ac_objext conftest$ac_exeext
80838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80839 (eval $ac_link) 2>conftest.er1
80840 ac_status=$?
80841 grep -v '^ *+' conftest.er1 >conftest.err
80842 rm -f conftest.er1
80843 cat conftest.err >&5
80844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80845 (exit $ac_status); } &&
80846 { ac_try='test -z "$ac_c_werror_flag"
80847 || test ! -s conftest.err'
80848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80849 (eval $ac_try) 2>&5
80850 ac_status=$?
80851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80852 (exit $ac_status); }; } &&
80853 { ac_try='test -s conftest$ac_exeext'
80854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80855 (eval $ac_try) 2>&5
80856 ac_status=$?
80857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80858 (exit $ac_status); }; }; then
80859 eval "$as_ac_var=yes"
80860 else
80861 echo "$as_me: failed program was:" >&5
80862 sed 's/^/| /' conftest.$ac_ext >&5
80864 eval "$as_ac_var=no"
80866 rm -f conftest.err conftest.$ac_objext \
80867 conftest$ac_exeext conftest.$ac_ext
80869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80871 if test `eval echo '${'$as_ac_var'}'` = yes; then
80872 cat >>confdefs.h <<_ACEOF
80873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80874 _ACEOF
80876 else
80877 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80879 done
80883 for ac_func in __signbitf
80885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80886 echo "$as_me:$LINENO: checking for $ac_func" >&5
80887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80888 if eval "test \"\${$as_ac_var+set}\" = set"; then
80889 echo $ECHO_N "(cached) $ECHO_C" >&6
80890 else
80891 if test x$gcc_no_link = xyes; then
80892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80894 { (exit 1); exit 1; }; }
80896 cat >conftest.$ac_ext <<_ACEOF
80897 /* confdefs.h. */
80898 _ACEOF
80899 cat confdefs.h >>conftest.$ac_ext
80900 cat >>conftest.$ac_ext <<_ACEOF
80901 /* end confdefs.h. */
80902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80904 #define $ac_func innocuous_$ac_func
80906 /* System header to define __stub macros and hopefully few prototypes,
80907 which can conflict with char $ac_func (); below.
80908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80909 <limits.h> exists even on freestanding compilers. */
80911 #ifdef __STDC__
80912 # include <limits.h>
80913 #else
80914 # include <assert.h>
80915 #endif
80917 #undef $ac_func
80919 /* Override any gcc2 internal prototype to avoid an error. */
80920 #ifdef __cplusplus
80921 extern "C"
80923 #endif
80924 /* We use char because int might match the return type of a gcc2
80925 builtin and then its argument prototype would still apply. */
80926 char $ac_func ();
80927 /* The GNU C library defines this for functions which it implements
80928 to always fail with ENOSYS. Some functions are actually named
80929 something starting with __ and the normal name is an alias. */
80930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80931 choke me
80932 #else
80933 char (*f) () = $ac_func;
80934 #endif
80935 #ifdef __cplusplus
80937 #endif
80940 main ()
80942 return f != $ac_func;
80944 return 0;
80946 _ACEOF
80947 rm -f conftest.$ac_objext conftest$ac_exeext
80948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80949 (eval $ac_link) 2>conftest.er1
80950 ac_status=$?
80951 grep -v '^ *+' conftest.er1 >conftest.err
80952 rm -f conftest.er1
80953 cat conftest.err >&5
80954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80955 (exit $ac_status); } &&
80956 { ac_try='test -z "$ac_c_werror_flag"
80957 || test ! -s conftest.err'
80958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80959 (eval $ac_try) 2>&5
80960 ac_status=$?
80961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80962 (exit $ac_status); }; } &&
80963 { ac_try='test -s conftest$ac_exeext'
80964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80965 (eval $ac_try) 2>&5
80966 ac_status=$?
80967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80968 (exit $ac_status); }; }; then
80969 eval "$as_ac_var=yes"
80970 else
80971 echo "$as_me: failed program was:" >&5
80972 sed 's/^/| /' conftest.$ac_ext >&5
80974 eval "$as_ac_var=no"
80976 rm -f conftest.err conftest.$ac_objext \
80977 conftest$ac_exeext conftest.$ac_ext
80979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80981 if test `eval echo '${'$as_ac_var'}'` = yes; then
80982 cat >>confdefs.h <<_ACEOF
80983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80984 _ACEOF
80986 else
80987 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80989 done
80992 if test x$ac_cv_func_copysignl = x"yes"; then
80994 for ac_func in __signbitl
80996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80997 echo "$as_me:$LINENO: checking for $ac_func" >&5
80998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80999 if eval "test \"\${$as_ac_var+set}\" = set"; then
81000 echo $ECHO_N "(cached) $ECHO_C" >&6
81001 else
81002 if test x$gcc_no_link = xyes; then
81003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81005 { (exit 1); exit 1; }; }
81007 cat >conftest.$ac_ext <<_ACEOF
81008 /* confdefs.h. */
81009 _ACEOF
81010 cat confdefs.h >>conftest.$ac_ext
81011 cat >>conftest.$ac_ext <<_ACEOF
81012 /* end confdefs.h. */
81013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81015 #define $ac_func innocuous_$ac_func
81017 /* System header to define __stub macros and hopefully few prototypes,
81018 which can conflict with char $ac_func (); below.
81019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81020 <limits.h> exists even on freestanding compilers. */
81022 #ifdef __STDC__
81023 # include <limits.h>
81024 #else
81025 # include <assert.h>
81026 #endif
81028 #undef $ac_func
81030 /* Override any gcc2 internal prototype to avoid an error. */
81031 #ifdef __cplusplus
81032 extern "C"
81034 #endif
81035 /* We use char because int might match the return type of a gcc2
81036 builtin and then its argument prototype would still apply. */
81037 char $ac_func ();
81038 /* The GNU C library defines this for functions which it implements
81039 to always fail with ENOSYS. Some functions are actually named
81040 something starting with __ and the normal name is an alias. */
81041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81042 choke me
81043 #else
81044 char (*f) () = $ac_func;
81045 #endif
81046 #ifdef __cplusplus
81048 #endif
81051 main ()
81053 return f != $ac_func;
81055 return 0;
81057 _ACEOF
81058 rm -f conftest.$ac_objext conftest$ac_exeext
81059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81060 (eval $ac_link) 2>conftest.er1
81061 ac_status=$?
81062 grep -v '^ *+' conftest.er1 >conftest.err
81063 rm -f conftest.er1
81064 cat conftest.err >&5
81065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81066 (exit $ac_status); } &&
81067 { ac_try='test -z "$ac_c_werror_flag"
81068 || test ! -s conftest.err'
81069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81070 (eval $ac_try) 2>&5
81071 ac_status=$?
81072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81073 (exit $ac_status); }; } &&
81074 { ac_try='test -s conftest$ac_exeext'
81075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81076 (eval $ac_try) 2>&5
81077 ac_status=$?
81078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81079 (exit $ac_status); }; }; then
81080 eval "$as_ac_var=yes"
81081 else
81082 echo "$as_me: failed program was:" >&5
81083 sed 's/^/| /' conftest.$ac_ext >&5
81085 eval "$as_ac_var=no"
81087 rm -f conftest.err conftest.$ac_objext \
81088 conftest$ac_exeext conftest.$ac_ext
81090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81092 if test `eval echo '${'$as_ac_var'}'` = yes; then
81093 cat >>confdefs.h <<_ACEOF
81094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81095 _ACEOF
81097 else
81098 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81100 done
81104 # Used in libmath/Makefile.am.
81105 if test -n "$LIBMATHOBJS"; then
81106 need_libmath=yes
81112 enable_iconv=no
81113 # Only continue checking if the ISO C99 headers exist and support is on.
81114 if test x"$enable_wchar_t" = xyes; then
81116 # Use iconv for wchar_t to char conversions. As such, check for
81117 # X/Open Portability Guide, version 2 features (XPG2).
81118 if test "${ac_cv_header_iconv_h+set}" = set; then
81119 echo "$as_me:$LINENO: checking for iconv.h" >&5
81120 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81121 if test "${ac_cv_header_iconv_h+set}" = set; then
81122 echo $ECHO_N "(cached) $ECHO_C" >&6
81124 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81125 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81126 else
81127 # Is the header compilable?
81128 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81129 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81130 cat >conftest.$ac_ext <<_ACEOF
81131 /* confdefs.h. */
81132 _ACEOF
81133 cat confdefs.h >>conftest.$ac_ext
81134 cat >>conftest.$ac_ext <<_ACEOF
81135 /* end confdefs.h. */
81136 $ac_includes_default
81137 #include <iconv.h>
81138 _ACEOF
81139 rm -f conftest.$ac_objext
81140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81141 (eval $ac_compile) 2>conftest.er1
81142 ac_status=$?
81143 grep -v '^ *+' conftest.er1 >conftest.err
81144 rm -f conftest.er1
81145 cat conftest.err >&5
81146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81147 (exit $ac_status); } &&
81148 { ac_try='test -z "$ac_c_werror_flag"
81149 || test ! -s conftest.err'
81150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81151 (eval $ac_try) 2>&5
81152 ac_status=$?
81153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81154 (exit $ac_status); }; } &&
81155 { ac_try='test -s conftest.$ac_objext'
81156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81157 (eval $ac_try) 2>&5
81158 ac_status=$?
81159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81160 (exit $ac_status); }; }; then
81161 ac_header_compiler=yes
81162 else
81163 echo "$as_me: failed program was:" >&5
81164 sed 's/^/| /' conftest.$ac_ext >&5
81166 ac_header_compiler=no
81168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81170 echo "${ECHO_T}$ac_header_compiler" >&6
81172 # Is the header present?
81173 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81174 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81175 cat >conftest.$ac_ext <<_ACEOF
81176 /* confdefs.h. */
81177 _ACEOF
81178 cat confdefs.h >>conftest.$ac_ext
81179 cat >>conftest.$ac_ext <<_ACEOF
81180 /* end confdefs.h. */
81181 #include <iconv.h>
81182 _ACEOF
81183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81185 ac_status=$?
81186 grep -v '^ *+' conftest.er1 >conftest.err
81187 rm -f conftest.er1
81188 cat conftest.err >&5
81189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190 (exit $ac_status); } >/dev/null; then
81191 if test -s conftest.err; then
81192 ac_cpp_err=$ac_c_preproc_warn_flag
81193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81194 else
81195 ac_cpp_err=
81197 else
81198 ac_cpp_err=yes
81200 if test -z "$ac_cpp_err"; then
81201 ac_header_preproc=yes
81202 else
81203 echo "$as_me: failed program was:" >&5
81204 sed 's/^/| /' conftest.$ac_ext >&5
81206 ac_header_preproc=no
81208 rm -f conftest.err conftest.$ac_ext
81209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81210 echo "${ECHO_T}$ac_header_preproc" >&6
81212 # So? What about this header?
81213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81214 yes:no: )
81215 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81216 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81217 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81218 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81219 ac_header_preproc=yes
81221 no:yes:* )
81222 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81223 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81224 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81225 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81226 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81227 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81228 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81229 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81230 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81231 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81232 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81233 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81235 cat <<\_ASBOX
81236 ## ----------------------------------------- ##
81237 ## Report this to the package-unused lists. ##
81238 ## ----------------------------------------- ##
81239 _ASBOX
81241 sed "s/^/$as_me: WARNING: /" >&2
81243 esac
81244 echo "$as_me:$LINENO: checking for iconv.h" >&5
81245 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81246 if test "${ac_cv_header_iconv_h+set}" = set; then
81247 echo $ECHO_N "(cached) $ECHO_C" >&6
81248 else
81249 ac_cv_header_iconv_h=$ac_header_preproc
81251 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81252 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81255 if test $ac_cv_header_iconv_h = yes; then
81256 ac_has_iconv_h=yes
81257 else
81258 ac_has_iconv_h=no
81262 if test "${ac_cv_header_langinfo_h+set}" = set; then
81263 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81264 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81265 if test "${ac_cv_header_langinfo_h+set}" = set; then
81266 echo $ECHO_N "(cached) $ECHO_C" >&6
81268 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81269 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81270 else
81271 # Is the header compilable?
81272 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81273 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81274 cat >conftest.$ac_ext <<_ACEOF
81275 /* confdefs.h. */
81276 _ACEOF
81277 cat confdefs.h >>conftest.$ac_ext
81278 cat >>conftest.$ac_ext <<_ACEOF
81279 /* end confdefs.h. */
81280 $ac_includes_default
81281 #include <langinfo.h>
81282 _ACEOF
81283 rm -f conftest.$ac_objext
81284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81285 (eval $ac_compile) 2>conftest.er1
81286 ac_status=$?
81287 grep -v '^ *+' conftest.er1 >conftest.err
81288 rm -f conftest.er1
81289 cat conftest.err >&5
81290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81291 (exit $ac_status); } &&
81292 { ac_try='test -z "$ac_c_werror_flag"
81293 || test ! -s conftest.err'
81294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81295 (eval $ac_try) 2>&5
81296 ac_status=$?
81297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81298 (exit $ac_status); }; } &&
81299 { ac_try='test -s conftest.$ac_objext'
81300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81301 (eval $ac_try) 2>&5
81302 ac_status=$?
81303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81304 (exit $ac_status); }; }; then
81305 ac_header_compiler=yes
81306 else
81307 echo "$as_me: failed program was:" >&5
81308 sed 's/^/| /' conftest.$ac_ext >&5
81310 ac_header_compiler=no
81312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81314 echo "${ECHO_T}$ac_header_compiler" >&6
81316 # Is the header present?
81317 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81318 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81319 cat >conftest.$ac_ext <<_ACEOF
81320 /* confdefs.h. */
81321 _ACEOF
81322 cat confdefs.h >>conftest.$ac_ext
81323 cat >>conftest.$ac_ext <<_ACEOF
81324 /* end confdefs.h. */
81325 #include <langinfo.h>
81326 _ACEOF
81327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81329 ac_status=$?
81330 grep -v '^ *+' conftest.er1 >conftest.err
81331 rm -f conftest.er1
81332 cat conftest.err >&5
81333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81334 (exit $ac_status); } >/dev/null; then
81335 if test -s conftest.err; then
81336 ac_cpp_err=$ac_c_preproc_warn_flag
81337 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81338 else
81339 ac_cpp_err=
81341 else
81342 ac_cpp_err=yes
81344 if test -z "$ac_cpp_err"; then
81345 ac_header_preproc=yes
81346 else
81347 echo "$as_me: failed program was:" >&5
81348 sed 's/^/| /' conftest.$ac_ext >&5
81350 ac_header_preproc=no
81352 rm -f conftest.err conftest.$ac_ext
81353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81354 echo "${ECHO_T}$ac_header_preproc" >&6
81356 # So? What about this header?
81357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81358 yes:no: )
81359 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81360 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81361 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81362 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81363 ac_header_preproc=yes
81365 no:yes:* )
81366 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81367 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81368 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81369 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81370 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81371 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81372 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81373 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81374 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81375 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81376 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81377 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81379 cat <<\_ASBOX
81380 ## ----------------------------------------- ##
81381 ## Report this to the package-unused lists. ##
81382 ## ----------------------------------------- ##
81383 _ASBOX
81385 sed "s/^/$as_me: WARNING: /" >&2
81387 esac
81388 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81389 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81390 if test "${ac_cv_header_langinfo_h+set}" = set; then
81391 echo $ECHO_N "(cached) $ECHO_C" >&6
81392 else
81393 ac_cv_header_langinfo_h=$ac_header_preproc
81395 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81396 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81399 if test $ac_cv_header_langinfo_h = yes; then
81400 ac_has_langinfo_h=yes
81401 else
81402 ac_has_langinfo_h=no
81407 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81408 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81409 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81410 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81411 echo $ECHO_N "(cached) $ECHO_C" >&6
81412 else
81413 ac_check_lib_save_LIBS=$LIBS
81414 LIBS="-liconv $LIBS"
81415 if test x$gcc_no_link = xyes; then
81416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81418 { (exit 1); exit 1; }; }
81420 cat >conftest.$ac_ext <<_ACEOF
81421 /* confdefs.h. */
81422 _ACEOF
81423 cat confdefs.h >>conftest.$ac_ext
81424 cat >>conftest.$ac_ext <<_ACEOF
81425 /* end confdefs.h. */
81427 /* Override any gcc2 internal prototype to avoid an error. */
81428 #ifdef __cplusplus
81429 extern "C"
81430 #endif
81431 /* We use char because int might match the return type of a gcc2
81432 builtin and then its argument prototype would still apply. */
81433 char iconv ();
81435 main ()
81437 iconv ();
81439 return 0;
81441 _ACEOF
81442 rm -f conftest.$ac_objext conftest$ac_exeext
81443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81444 (eval $ac_link) 2>conftest.er1
81445 ac_status=$?
81446 grep -v '^ *+' conftest.er1 >conftest.err
81447 rm -f conftest.er1
81448 cat conftest.err >&5
81449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81450 (exit $ac_status); } &&
81451 { ac_try='test -z "$ac_c_werror_flag"
81452 || test ! -s conftest.err'
81453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81454 (eval $ac_try) 2>&5
81455 ac_status=$?
81456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81457 (exit $ac_status); }; } &&
81458 { ac_try='test -s conftest$ac_exeext'
81459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81460 (eval $ac_try) 2>&5
81461 ac_status=$?
81462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81463 (exit $ac_status); }; }; then
81464 ac_cv_lib_iconv_iconv=yes
81465 else
81466 echo "$as_me: failed program was:" >&5
81467 sed 's/^/| /' conftest.$ac_ext >&5
81469 ac_cv_lib_iconv_iconv=no
81471 rm -f conftest.err conftest.$ac_objext \
81472 conftest$ac_exeext conftest.$ac_ext
81473 LIBS=$ac_check_lib_save_LIBS
81475 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81476 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81477 if test $ac_cv_lib_iconv_iconv = yes; then
81478 LIBICONV="-liconv"
81481 ac_save_LIBS="$LIBS"
81482 LIBS="$LIBS $LIBICONV"
81489 for ac_func in iconv_open iconv_close iconv nl_langinfo
81491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81492 echo "$as_me:$LINENO: checking for $ac_func" >&5
81493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81494 if eval "test \"\${$as_ac_var+set}\" = set"; then
81495 echo $ECHO_N "(cached) $ECHO_C" >&6
81496 else
81497 if test x$gcc_no_link = xyes; then
81498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81500 { (exit 1); exit 1; }; }
81502 cat >conftest.$ac_ext <<_ACEOF
81503 /* confdefs.h. */
81504 _ACEOF
81505 cat confdefs.h >>conftest.$ac_ext
81506 cat >>conftest.$ac_ext <<_ACEOF
81507 /* end confdefs.h. */
81508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81510 #define $ac_func innocuous_$ac_func
81512 /* System header to define __stub macros and hopefully few prototypes,
81513 which can conflict with char $ac_func (); below.
81514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81515 <limits.h> exists even on freestanding compilers. */
81517 #ifdef __STDC__
81518 # include <limits.h>
81519 #else
81520 # include <assert.h>
81521 #endif
81523 #undef $ac_func
81525 /* Override any gcc2 internal prototype to avoid an error. */
81526 #ifdef __cplusplus
81527 extern "C"
81529 #endif
81530 /* We use char because int might match the return type of a gcc2
81531 builtin and then its argument prototype would still apply. */
81532 char $ac_func ();
81533 /* The GNU C library defines this for functions which it implements
81534 to always fail with ENOSYS. Some functions are actually named
81535 something starting with __ and the normal name is an alias. */
81536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81537 choke me
81538 #else
81539 char (*f) () = $ac_func;
81540 #endif
81541 #ifdef __cplusplus
81543 #endif
81546 main ()
81548 return f != $ac_func;
81550 return 0;
81552 _ACEOF
81553 rm -f conftest.$ac_objext conftest$ac_exeext
81554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81555 (eval $ac_link) 2>conftest.er1
81556 ac_status=$?
81557 grep -v '^ *+' conftest.er1 >conftest.err
81558 rm -f conftest.er1
81559 cat conftest.err >&5
81560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81561 (exit $ac_status); } &&
81562 { ac_try='test -z "$ac_c_werror_flag"
81563 || test ! -s conftest.err'
81564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81565 (eval $ac_try) 2>&5
81566 ac_status=$?
81567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81568 (exit $ac_status); }; } &&
81569 { ac_try='test -s conftest$ac_exeext'
81570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81571 (eval $ac_try) 2>&5
81572 ac_status=$?
81573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81574 (exit $ac_status); }; }; then
81575 eval "$as_ac_var=yes"
81576 else
81577 echo "$as_me: failed program was:" >&5
81578 sed 's/^/| /' conftest.$ac_ext >&5
81580 eval "$as_ac_var=no"
81582 rm -f conftest.err conftest.$ac_objext \
81583 conftest$ac_exeext conftest.$ac_ext
81585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81587 if test `eval echo '${'$as_ac_var'}'` = yes; then
81588 cat >>confdefs.h <<_ACEOF
81589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81590 _ACEOF
81591 ac_XPG2funcs=yes
81592 else
81593 ac_XPG2funcs=no
81595 done
81598 LIBS="$ac_save_LIBS"
81600 if test x"$ac_has_iconv_h" = xyes &&
81601 test x"$ac_has_langinfo_h" = xyes &&
81602 test x"$ac_XPG2funcs" = xyes;
81603 then
81605 cat >>confdefs.h <<\_ACEOF
81606 #define _GLIBCXX_USE_ICONV 1
81607 _ACEOF
81609 enable_iconv=yes
81612 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81613 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81614 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81615 echo "${ECHO_T}$enable_iconv" >&6
81617 cat >>confdefs.h <<\_ACEOF
81618 #define HAVE_COPYSIGN 1
81619 _ACEOF
81621 cat >>confdefs.h <<\_ACEOF
81622 #define HAVE_COPYSIGNF 1
81623 _ACEOF
81625 cat >>confdefs.h <<\_ACEOF
81626 #define HAVE_FINITEF 1
81627 _ACEOF
81629 cat >>confdefs.h <<\_ACEOF
81630 #define HAVE_FINITE 1
81631 _ACEOF
81633 cat >>confdefs.h <<\_ACEOF
81634 #define HAVE_FREXPF 1
81635 _ACEOF
81637 cat >>confdefs.h <<\_ACEOF
81638 #define HAVE_HYPOTF 1
81639 _ACEOF
81641 cat >>confdefs.h <<\_ACEOF
81642 #define HAVE_ISINF 1
81643 _ACEOF
81645 cat >>confdefs.h <<\_ACEOF
81646 #define HAVE_ISINFF 1
81647 _ACEOF
81649 cat >>confdefs.h <<\_ACEOF
81650 #define HAVE_ISNAN 1
81651 _ACEOF
81653 cat >>confdefs.h <<\_ACEOF
81654 #define HAVE_ISNANF 1
81655 _ACEOF
81657 if test x"long_double_math_on_this_cpu" = x"yes"; then
81658 cat >>confdefs.h <<\_ACEOF
81659 #define HAVE_FINITEL 1
81660 _ACEOF
81662 cat >>confdefs.h <<\_ACEOF
81663 #define HAVE_ISINFL 1
81664 _ACEOF
81666 cat >>confdefs.h <<\_ACEOF
81667 #define HAVE_ISNANL 1
81668 _ACEOF
81672 *-netware)
81681 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81682 sys/types.h locale.h float.h inttypes.h
81684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81686 echo "$as_me:$LINENO: checking for $ac_header" >&5
81687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81689 echo $ECHO_N "(cached) $ECHO_C" >&6
81691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81693 else
81694 # Is the header compilable?
81695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81697 cat >conftest.$ac_ext <<_ACEOF
81698 /* confdefs.h. */
81699 _ACEOF
81700 cat confdefs.h >>conftest.$ac_ext
81701 cat >>conftest.$ac_ext <<_ACEOF
81702 /* end confdefs.h. */
81703 $ac_includes_default
81704 #include <$ac_header>
81705 _ACEOF
81706 rm -f conftest.$ac_objext
81707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81708 (eval $ac_compile) 2>conftest.er1
81709 ac_status=$?
81710 grep -v '^ *+' conftest.er1 >conftest.err
81711 rm -f conftest.er1
81712 cat conftest.err >&5
81713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81714 (exit $ac_status); } &&
81715 { ac_try='test -z "$ac_c_werror_flag"
81716 || test ! -s conftest.err'
81717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81718 (eval $ac_try) 2>&5
81719 ac_status=$?
81720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81721 (exit $ac_status); }; } &&
81722 { ac_try='test -s conftest.$ac_objext'
81723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81724 (eval $ac_try) 2>&5
81725 ac_status=$?
81726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81727 (exit $ac_status); }; }; then
81728 ac_header_compiler=yes
81729 else
81730 echo "$as_me: failed program was:" >&5
81731 sed 's/^/| /' conftest.$ac_ext >&5
81733 ac_header_compiler=no
81735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81737 echo "${ECHO_T}$ac_header_compiler" >&6
81739 # Is the header present?
81740 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 <$ac_header>
81749 _ACEOF
81750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81752 ac_status=$?
81753 grep -v '^ *+' conftest.er1 >conftest.err
81754 rm -f conftest.er1
81755 cat conftest.err >&5
81756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81757 (exit $ac_status); } >/dev/null; then
81758 if test -s conftest.err; then
81759 ac_cpp_err=$ac_c_preproc_warn_flag
81760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81761 else
81762 ac_cpp_err=
81764 else
81765 ac_cpp_err=yes
81767 if test -z "$ac_cpp_err"; then
81768 ac_header_preproc=yes
81769 else
81770 echo "$as_me: failed program was:" >&5
81771 sed 's/^/| /' conftest.$ac_ext >&5
81773 ac_header_preproc=no
81775 rm -f conftest.err conftest.$ac_ext
81776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81777 echo "${ECHO_T}$ac_header_preproc" >&6
81779 # So? What about this header?
81780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81781 yes:no: )
81782 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81786 ac_header_preproc=yes
81788 no:yes:* )
81789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81793 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81795 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81796 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81799 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81802 cat <<\_ASBOX
81803 ## ----------------------------------------- ##
81804 ## Report this to the package-unused lists. ##
81805 ## ----------------------------------------- ##
81806 _ASBOX
81808 sed "s/^/$as_me: WARNING: /" >&2
81810 esac
81811 echo "$as_me:$LINENO: checking for $ac_header" >&5
81812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81814 echo $ECHO_N "(cached) $ECHO_C" >&6
81815 else
81816 eval "$as_ac_Header=\$ac_header_preproc"
81818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81823 cat >>confdefs.h <<_ACEOF
81824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81825 _ACEOF
81829 done
81831 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81834 # If we're not using GNU ld, then there's no point in even trying these
81835 # tests. Check for that first. We should have already tested for gld
81836 # by now (in libtool), but require it now just to be safe...
81837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81842 # The name set by libtool depends on the version of libtool. Shame on us
81843 # for depending on an impl detail, but c'est la vie. Older versions used
81844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81847 # set (hence we're using an older libtool), then set it.
81848 if test x${with_gnu_ld+set} != xset; then
81849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81851 with_gnu_ld=no
81852 else
81853 with_gnu_ld=$ac_cv_prog_gnu_ld
81857 # Start by getting the version number. I think the libtool test already
81858 # does some of this, but throws away the result.
81860 ldver=`$LD --version 2>/dev/null | head -1 | \
81861 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81863 glibcxx_gnu_ld_version=`echo $ldver | \
81864 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81866 # Set --gc-sections.
81867 if test "$with_gnu_ld" = "notbroken"; then
81868 # GNU ld it is! Joy and bunny rabbits!
81870 # All these tests are for C++; save the language and the compiler flags.
81871 # Need to do this so that g++ won't try to link in libstdc++
81872 ac_test_CFLAGS="${CFLAGS+set}"
81873 ac_save_CFLAGS="$CFLAGS"
81874 CFLAGS='-x c++ -Wl,--gc-sections'
81876 # Check for -Wl,--gc-sections
81877 # XXX This test is broken at the moment, as symbols required for linking
81878 # are now in libsupc++ (not built yet). In addition, this test has
81879 # cored on solaris in the past. In addition, --gc-sections doesn't
81880 # really work at the moment (keeps on discarding used sections, first
81881 # .eh_frame and now some of the glibc sections for iconv).
81882 # Bzzzzt. Thanks for playing, maybe next time.
81883 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81884 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81885 if test "$cross_compiling" = yes; then
81886 ac_sectionLDflags=yes
81887 else
81888 cat >conftest.$ac_ext <<_ACEOF
81889 /* confdefs.h. */
81890 _ACEOF
81891 cat confdefs.h >>conftest.$ac_ext
81892 cat >>conftest.$ac_ext <<_ACEOF
81893 /* end confdefs.h. */
81895 int main(void)
81897 try { throw 1; }
81898 catch (...) { };
81899 return 0;
81902 _ACEOF
81903 rm -f conftest$ac_exeext
81904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81905 (eval $ac_link) 2>&5
81906 ac_status=$?
81907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81910 (eval $ac_try) 2>&5
81911 ac_status=$?
81912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81913 (exit $ac_status); }; }; then
81914 ac_sectionLDflags=yes
81915 else
81916 echo "$as_me: program exited with status $ac_status" >&5
81917 echo "$as_me: failed program was:" >&5
81918 sed 's/^/| /' conftest.$ac_ext >&5
81920 ( exit $ac_status )
81921 ac_sectionLDflags=no
81923 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81925 if test "$ac_test_CFLAGS" = set; then
81926 CFLAGS="$ac_save_CFLAGS"
81927 else
81928 # this is the suspicious part
81929 CFLAGS=''
81931 if test "$ac_sectionLDflags" = "yes"; then
81932 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81934 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81935 echo "${ECHO_T}$ac_sectionLDflags" >&6
81938 # Set linker optimization flags.
81939 if test x"$with_gnu_ld" = x"yes"; then
81940 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81948 echo "$as_me:$LINENO: checking for main in -lm" >&5
81949 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81950 if test "${ac_cv_lib_m_main+set}" = set; then
81951 echo $ECHO_N "(cached) $ECHO_C" >&6
81952 else
81953 ac_check_lib_save_LIBS=$LIBS
81954 LIBS="-lm $LIBS"
81955 if test x$gcc_no_link = xyes; then
81956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81958 { (exit 1); exit 1; }; }
81960 cat >conftest.$ac_ext <<_ACEOF
81961 /* confdefs.h. */
81962 _ACEOF
81963 cat confdefs.h >>conftest.$ac_ext
81964 cat >>conftest.$ac_ext <<_ACEOF
81965 /* end confdefs.h. */
81969 main ()
81971 main ();
81973 return 0;
81975 _ACEOF
81976 rm -f conftest.$ac_objext conftest$ac_exeext
81977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81978 (eval $ac_link) 2>conftest.er1
81979 ac_status=$?
81980 grep -v '^ *+' conftest.er1 >conftest.err
81981 rm -f conftest.er1
81982 cat conftest.err >&5
81983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81984 (exit $ac_status); } &&
81985 { ac_try='test -z "$ac_c_werror_flag"
81986 || test ! -s conftest.err'
81987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81988 (eval $ac_try) 2>&5
81989 ac_status=$?
81990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81991 (exit $ac_status); }; } &&
81992 { ac_try='test -s conftest$ac_exeext'
81993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81994 (eval $ac_try) 2>&5
81995 ac_status=$?
81996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81997 (exit $ac_status); }; }; then
81998 ac_cv_lib_m_main=yes
81999 else
82000 echo "$as_me: failed program was:" >&5
82001 sed 's/^/| /' conftest.$ac_ext >&5
82003 ac_cv_lib_m_main=no
82005 rm -f conftest.err conftest.$ac_objext \
82006 conftest$ac_exeext conftest.$ac_ext
82007 LIBS=$ac_check_lib_save_LIBS
82009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82010 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82011 if test $ac_cv_lib_m_main = yes; then
82012 cat >>confdefs.h <<_ACEOF
82013 #define HAVE_LIBM 1
82014 _ACEOF
82016 LIBS="-lm $LIBS"
82021 for ac_func in copysignf
82023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82024 echo "$as_me:$LINENO: checking for $ac_func" >&5
82025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82026 if eval "test \"\${$as_ac_var+set}\" = set"; then
82027 echo $ECHO_N "(cached) $ECHO_C" >&6
82028 else
82029 if test x$gcc_no_link = xyes; then
82030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82032 { (exit 1); exit 1; }; }
82034 cat >conftest.$ac_ext <<_ACEOF
82035 /* confdefs.h. */
82036 _ACEOF
82037 cat confdefs.h >>conftest.$ac_ext
82038 cat >>conftest.$ac_ext <<_ACEOF
82039 /* end confdefs.h. */
82040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82042 #define $ac_func innocuous_$ac_func
82044 /* System header to define __stub macros and hopefully few prototypes,
82045 which can conflict with char $ac_func (); below.
82046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82047 <limits.h> exists even on freestanding compilers. */
82049 #ifdef __STDC__
82050 # include <limits.h>
82051 #else
82052 # include <assert.h>
82053 #endif
82055 #undef $ac_func
82057 /* Override any gcc2 internal prototype to avoid an error. */
82058 #ifdef __cplusplus
82059 extern "C"
82061 #endif
82062 /* We use char because int might match the return type of a gcc2
82063 builtin and then its argument prototype would still apply. */
82064 char $ac_func ();
82065 /* The GNU C library defines this for functions which it implements
82066 to always fail with ENOSYS. Some functions are actually named
82067 something starting with __ and the normal name is an alias. */
82068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82069 choke me
82070 #else
82071 char (*f) () = $ac_func;
82072 #endif
82073 #ifdef __cplusplus
82075 #endif
82078 main ()
82080 return f != $ac_func;
82082 return 0;
82084 _ACEOF
82085 rm -f conftest.$ac_objext conftest$ac_exeext
82086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82087 (eval $ac_link) 2>conftest.er1
82088 ac_status=$?
82089 grep -v '^ *+' conftest.er1 >conftest.err
82090 rm -f conftest.er1
82091 cat conftest.err >&5
82092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82093 (exit $ac_status); } &&
82094 { ac_try='test -z "$ac_c_werror_flag"
82095 || test ! -s conftest.err'
82096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82097 (eval $ac_try) 2>&5
82098 ac_status=$?
82099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82100 (exit $ac_status); }; } &&
82101 { ac_try='test -s conftest$ac_exeext'
82102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82103 (eval $ac_try) 2>&5
82104 ac_status=$?
82105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82106 (exit $ac_status); }; }; then
82107 eval "$as_ac_var=yes"
82108 else
82109 echo "$as_me: failed program was:" >&5
82110 sed 's/^/| /' conftest.$ac_ext >&5
82112 eval "$as_ac_var=no"
82114 rm -f conftest.err conftest.$ac_objext \
82115 conftest$ac_exeext conftest.$ac_ext
82117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82119 if test `eval echo '${'$as_ac_var'}'` = yes; then
82120 cat >>confdefs.h <<_ACEOF
82121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82122 _ACEOF
82124 else
82125 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82127 done
82131 for ac_func in __signbit
82133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82134 echo "$as_me:$LINENO: checking for $ac_func" >&5
82135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82136 if eval "test \"\${$as_ac_var+set}\" = set"; then
82137 echo $ECHO_N "(cached) $ECHO_C" >&6
82138 else
82139 if test x$gcc_no_link = xyes; then
82140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82142 { (exit 1); exit 1; }; }
82144 cat >conftest.$ac_ext <<_ACEOF
82145 /* confdefs.h. */
82146 _ACEOF
82147 cat confdefs.h >>conftest.$ac_ext
82148 cat >>conftest.$ac_ext <<_ACEOF
82149 /* end confdefs.h. */
82150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82152 #define $ac_func innocuous_$ac_func
82154 /* System header to define __stub macros and hopefully few prototypes,
82155 which can conflict with char $ac_func (); below.
82156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82157 <limits.h> exists even on freestanding compilers. */
82159 #ifdef __STDC__
82160 # include <limits.h>
82161 #else
82162 # include <assert.h>
82163 #endif
82165 #undef $ac_func
82167 /* Override any gcc2 internal prototype to avoid an error. */
82168 #ifdef __cplusplus
82169 extern "C"
82171 #endif
82172 /* We use char because int might match the return type of a gcc2
82173 builtin and then its argument prototype would still apply. */
82174 char $ac_func ();
82175 /* The GNU C library defines this for functions which it implements
82176 to always fail with ENOSYS. Some functions are actually named
82177 something starting with __ and the normal name is an alias. */
82178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82179 choke me
82180 #else
82181 char (*f) () = $ac_func;
82182 #endif
82183 #ifdef __cplusplus
82185 #endif
82188 main ()
82190 return f != $ac_func;
82192 return 0;
82194 _ACEOF
82195 rm -f conftest.$ac_objext conftest$ac_exeext
82196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82197 (eval $ac_link) 2>conftest.er1
82198 ac_status=$?
82199 grep -v '^ *+' conftest.er1 >conftest.err
82200 rm -f conftest.er1
82201 cat conftest.err >&5
82202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82203 (exit $ac_status); } &&
82204 { ac_try='test -z "$ac_c_werror_flag"
82205 || test ! -s conftest.err'
82206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82207 (eval $ac_try) 2>&5
82208 ac_status=$?
82209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82210 (exit $ac_status); }; } &&
82211 { ac_try='test -s conftest$ac_exeext'
82212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82213 (eval $ac_try) 2>&5
82214 ac_status=$?
82215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82216 (exit $ac_status); }; }; then
82217 eval "$as_ac_var=yes"
82218 else
82219 echo "$as_me: failed program was:" >&5
82220 sed 's/^/| /' conftest.$ac_ext >&5
82222 eval "$as_ac_var=no"
82224 rm -f conftest.err conftest.$ac_objext \
82225 conftest$ac_exeext conftest.$ac_ext
82227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82229 if test `eval echo '${'$as_ac_var'}'` = yes; then
82230 cat >>confdefs.h <<_ACEOF
82231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82232 _ACEOF
82234 else
82235 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82237 done
82241 for ac_func in __signbitf
82243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82244 echo "$as_me:$LINENO: checking for $ac_func" >&5
82245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82246 if eval "test \"\${$as_ac_var+set}\" = set"; then
82247 echo $ECHO_N "(cached) $ECHO_C" >&6
82248 else
82249 if test x$gcc_no_link = xyes; then
82250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82252 { (exit 1); exit 1; }; }
82254 cat >conftest.$ac_ext <<_ACEOF
82255 /* confdefs.h. */
82256 _ACEOF
82257 cat confdefs.h >>conftest.$ac_ext
82258 cat >>conftest.$ac_ext <<_ACEOF
82259 /* end confdefs.h. */
82260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82262 #define $ac_func innocuous_$ac_func
82264 /* System header to define __stub macros and hopefully few prototypes,
82265 which can conflict with char $ac_func (); below.
82266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82267 <limits.h> exists even on freestanding compilers. */
82269 #ifdef __STDC__
82270 # include <limits.h>
82271 #else
82272 # include <assert.h>
82273 #endif
82275 #undef $ac_func
82277 /* Override any gcc2 internal prototype to avoid an error. */
82278 #ifdef __cplusplus
82279 extern "C"
82281 #endif
82282 /* We use char because int might match the return type of a gcc2
82283 builtin and then its argument prototype would still apply. */
82284 char $ac_func ();
82285 /* The GNU C library defines this for functions which it implements
82286 to always fail with ENOSYS. Some functions are actually named
82287 something starting with __ and the normal name is an alias. */
82288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82289 choke me
82290 #else
82291 char (*f) () = $ac_func;
82292 #endif
82293 #ifdef __cplusplus
82295 #endif
82298 main ()
82300 return f != $ac_func;
82302 return 0;
82304 _ACEOF
82305 rm -f conftest.$ac_objext conftest$ac_exeext
82306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82307 (eval $ac_link) 2>conftest.er1
82308 ac_status=$?
82309 grep -v '^ *+' conftest.er1 >conftest.err
82310 rm -f conftest.er1
82311 cat conftest.err >&5
82312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82313 (exit $ac_status); } &&
82314 { ac_try='test -z "$ac_c_werror_flag"
82315 || test ! -s conftest.err'
82316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82317 (eval $ac_try) 2>&5
82318 ac_status=$?
82319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82320 (exit $ac_status); }; } &&
82321 { ac_try='test -s conftest$ac_exeext'
82322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82323 (eval $ac_try) 2>&5
82324 ac_status=$?
82325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82326 (exit $ac_status); }; }; then
82327 eval "$as_ac_var=yes"
82328 else
82329 echo "$as_me: failed program was:" >&5
82330 sed 's/^/| /' conftest.$ac_ext >&5
82332 eval "$as_ac_var=no"
82334 rm -f conftest.err conftest.$ac_objext \
82335 conftest$ac_exeext conftest.$ac_ext
82337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82339 if test `eval echo '${'$as_ac_var'}'` = yes; then
82340 cat >>confdefs.h <<_ACEOF
82341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82342 _ACEOF
82344 else
82345 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82347 done
82350 if test x$ac_cv_func_copysignl = x"yes"; then
82352 for ac_func in __signbitl
82354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82355 echo "$as_me:$LINENO: checking for $ac_func" >&5
82356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82357 if eval "test \"\${$as_ac_var+set}\" = set"; then
82358 echo $ECHO_N "(cached) $ECHO_C" >&6
82359 else
82360 if test x$gcc_no_link = xyes; then
82361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82363 { (exit 1); exit 1; }; }
82365 cat >conftest.$ac_ext <<_ACEOF
82366 /* confdefs.h. */
82367 _ACEOF
82368 cat confdefs.h >>conftest.$ac_ext
82369 cat >>conftest.$ac_ext <<_ACEOF
82370 /* end confdefs.h. */
82371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82373 #define $ac_func innocuous_$ac_func
82375 /* System header to define __stub macros and hopefully few prototypes,
82376 which can conflict with char $ac_func (); below.
82377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82378 <limits.h> exists even on freestanding compilers. */
82380 #ifdef __STDC__
82381 # include <limits.h>
82382 #else
82383 # include <assert.h>
82384 #endif
82386 #undef $ac_func
82388 /* Override any gcc2 internal prototype to avoid an error. */
82389 #ifdef __cplusplus
82390 extern "C"
82392 #endif
82393 /* We use char because int might match the return type of a gcc2
82394 builtin and then its argument prototype would still apply. */
82395 char $ac_func ();
82396 /* The GNU C library defines this for functions which it implements
82397 to always fail with ENOSYS. Some functions are actually named
82398 something starting with __ and the normal name is an alias. */
82399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82400 choke me
82401 #else
82402 char (*f) () = $ac_func;
82403 #endif
82404 #ifdef __cplusplus
82406 #endif
82409 main ()
82411 return f != $ac_func;
82413 return 0;
82415 _ACEOF
82416 rm -f conftest.$ac_objext conftest$ac_exeext
82417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82418 (eval $ac_link) 2>conftest.er1
82419 ac_status=$?
82420 grep -v '^ *+' conftest.er1 >conftest.err
82421 rm -f conftest.er1
82422 cat conftest.err >&5
82423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82424 (exit $ac_status); } &&
82425 { ac_try='test -z "$ac_c_werror_flag"
82426 || test ! -s conftest.err'
82427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82428 (eval $ac_try) 2>&5
82429 ac_status=$?
82430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82431 (exit $ac_status); }; } &&
82432 { ac_try='test -s conftest$ac_exeext'
82433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82434 (eval $ac_try) 2>&5
82435 ac_status=$?
82436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82437 (exit $ac_status); }; }; then
82438 eval "$as_ac_var=yes"
82439 else
82440 echo "$as_me: failed program was:" >&5
82441 sed 's/^/| /' conftest.$ac_ext >&5
82443 eval "$as_ac_var=no"
82445 rm -f conftest.err conftest.$ac_objext \
82446 conftest$ac_exeext conftest.$ac_ext
82448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82450 if test `eval echo '${'$as_ac_var'}'` = yes; then
82451 cat >>confdefs.h <<_ACEOF
82452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82453 _ACEOF
82455 else
82456 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82458 done
82462 # Used in libmath/Makefile.am.
82463 if test -n "$LIBMATHOBJS"; then
82464 need_libmath=yes
82470 enable_iconv=no
82471 # Only continue checking if the ISO C99 headers exist and support is on.
82472 if test x"$enable_wchar_t" = xyes; then
82474 # Use iconv for wchar_t to char conversions. As such, check for
82475 # X/Open Portability Guide, version 2 features (XPG2).
82476 if test "${ac_cv_header_iconv_h+set}" = set; then
82477 echo "$as_me:$LINENO: checking for iconv.h" >&5
82478 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82479 if test "${ac_cv_header_iconv_h+set}" = set; then
82480 echo $ECHO_N "(cached) $ECHO_C" >&6
82482 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82483 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82484 else
82485 # Is the header compilable?
82486 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82487 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82488 cat >conftest.$ac_ext <<_ACEOF
82489 /* confdefs.h. */
82490 _ACEOF
82491 cat confdefs.h >>conftest.$ac_ext
82492 cat >>conftest.$ac_ext <<_ACEOF
82493 /* end confdefs.h. */
82494 $ac_includes_default
82495 #include <iconv.h>
82496 _ACEOF
82497 rm -f conftest.$ac_objext
82498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82499 (eval $ac_compile) 2>conftest.er1
82500 ac_status=$?
82501 grep -v '^ *+' conftest.er1 >conftest.err
82502 rm -f conftest.er1
82503 cat conftest.err >&5
82504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82505 (exit $ac_status); } &&
82506 { ac_try='test -z "$ac_c_werror_flag"
82507 || test ! -s conftest.err'
82508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82509 (eval $ac_try) 2>&5
82510 ac_status=$?
82511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82512 (exit $ac_status); }; } &&
82513 { ac_try='test -s conftest.$ac_objext'
82514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82515 (eval $ac_try) 2>&5
82516 ac_status=$?
82517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82518 (exit $ac_status); }; }; then
82519 ac_header_compiler=yes
82520 else
82521 echo "$as_me: failed program was:" >&5
82522 sed 's/^/| /' conftest.$ac_ext >&5
82524 ac_header_compiler=no
82526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82528 echo "${ECHO_T}$ac_header_compiler" >&6
82530 # Is the header present?
82531 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82532 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82533 cat >conftest.$ac_ext <<_ACEOF
82534 /* confdefs.h. */
82535 _ACEOF
82536 cat confdefs.h >>conftest.$ac_ext
82537 cat >>conftest.$ac_ext <<_ACEOF
82538 /* end confdefs.h. */
82539 #include <iconv.h>
82540 _ACEOF
82541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82543 ac_status=$?
82544 grep -v '^ *+' conftest.er1 >conftest.err
82545 rm -f conftest.er1
82546 cat conftest.err >&5
82547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82548 (exit $ac_status); } >/dev/null; then
82549 if test -s conftest.err; then
82550 ac_cpp_err=$ac_c_preproc_warn_flag
82551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82552 else
82553 ac_cpp_err=
82555 else
82556 ac_cpp_err=yes
82558 if test -z "$ac_cpp_err"; then
82559 ac_header_preproc=yes
82560 else
82561 echo "$as_me: failed program was:" >&5
82562 sed 's/^/| /' conftest.$ac_ext >&5
82564 ac_header_preproc=no
82566 rm -f conftest.err conftest.$ac_ext
82567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82568 echo "${ECHO_T}$ac_header_preproc" >&6
82570 # So? What about this header?
82571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82572 yes:no: )
82573 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82574 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82575 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82576 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82577 ac_header_preproc=yes
82579 no:yes:* )
82580 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82581 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82582 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82583 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82584 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82585 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82586 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82587 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82588 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82589 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82590 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82591 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82593 cat <<\_ASBOX
82594 ## ----------------------------------------- ##
82595 ## Report this to the package-unused lists. ##
82596 ## ----------------------------------------- ##
82597 _ASBOX
82599 sed "s/^/$as_me: WARNING: /" >&2
82601 esac
82602 echo "$as_me:$LINENO: checking for iconv.h" >&5
82603 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82604 if test "${ac_cv_header_iconv_h+set}" = set; then
82605 echo $ECHO_N "(cached) $ECHO_C" >&6
82606 else
82607 ac_cv_header_iconv_h=$ac_header_preproc
82609 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82610 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82613 if test $ac_cv_header_iconv_h = yes; then
82614 ac_has_iconv_h=yes
82615 else
82616 ac_has_iconv_h=no
82620 if test "${ac_cv_header_langinfo_h+set}" = set; then
82621 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82622 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82623 if test "${ac_cv_header_langinfo_h+set}" = set; then
82624 echo $ECHO_N "(cached) $ECHO_C" >&6
82626 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82627 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82628 else
82629 # Is the header compilable?
82630 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82631 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82632 cat >conftest.$ac_ext <<_ACEOF
82633 /* confdefs.h. */
82634 _ACEOF
82635 cat confdefs.h >>conftest.$ac_ext
82636 cat >>conftest.$ac_ext <<_ACEOF
82637 /* end confdefs.h. */
82638 $ac_includes_default
82639 #include <langinfo.h>
82640 _ACEOF
82641 rm -f conftest.$ac_objext
82642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82643 (eval $ac_compile) 2>conftest.er1
82644 ac_status=$?
82645 grep -v '^ *+' conftest.er1 >conftest.err
82646 rm -f conftest.er1
82647 cat conftest.err >&5
82648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82649 (exit $ac_status); } &&
82650 { ac_try='test -z "$ac_c_werror_flag"
82651 || test ! -s conftest.err'
82652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82653 (eval $ac_try) 2>&5
82654 ac_status=$?
82655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82656 (exit $ac_status); }; } &&
82657 { ac_try='test -s conftest.$ac_objext'
82658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82659 (eval $ac_try) 2>&5
82660 ac_status=$?
82661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82662 (exit $ac_status); }; }; then
82663 ac_header_compiler=yes
82664 else
82665 echo "$as_me: failed program was:" >&5
82666 sed 's/^/| /' conftest.$ac_ext >&5
82668 ac_header_compiler=no
82670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82672 echo "${ECHO_T}$ac_header_compiler" >&6
82674 # Is the header present?
82675 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82676 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82677 cat >conftest.$ac_ext <<_ACEOF
82678 /* confdefs.h. */
82679 _ACEOF
82680 cat confdefs.h >>conftest.$ac_ext
82681 cat >>conftest.$ac_ext <<_ACEOF
82682 /* end confdefs.h. */
82683 #include <langinfo.h>
82684 _ACEOF
82685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82687 ac_status=$?
82688 grep -v '^ *+' conftest.er1 >conftest.err
82689 rm -f conftest.er1
82690 cat conftest.err >&5
82691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82692 (exit $ac_status); } >/dev/null; then
82693 if test -s conftest.err; then
82694 ac_cpp_err=$ac_c_preproc_warn_flag
82695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82696 else
82697 ac_cpp_err=
82699 else
82700 ac_cpp_err=yes
82702 if test -z "$ac_cpp_err"; then
82703 ac_header_preproc=yes
82704 else
82705 echo "$as_me: failed program was:" >&5
82706 sed 's/^/| /' conftest.$ac_ext >&5
82708 ac_header_preproc=no
82710 rm -f conftest.err conftest.$ac_ext
82711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82712 echo "${ECHO_T}$ac_header_preproc" >&6
82714 # So? What about this header?
82715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82716 yes:no: )
82717 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82718 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82719 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82720 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82721 ac_header_preproc=yes
82723 no:yes:* )
82724 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82725 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82726 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82727 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82728 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82729 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82730 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82731 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82732 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82733 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82734 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82735 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82737 cat <<\_ASBOX
82738 ## ----------------------------------------- ##
82739 ## Report this to the package-unused lists. ##
82740 ## ----------------------------------------- ##
82741 _ASBOX
82743 sed "s/^/$as_me: WARNING: /" >&2
82745 esac
82746 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82747 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82748 if test "${ac_cv_header_langinfo_h+set}" = set; then
82749 echo $ECHO_N "(cached) $ECHO_C" >&6
82750 else
82751 ac_cv_header_langinfo_h=$ac_header_preproc
82753 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82754 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82757 if test $ac_cv_header_langinfo_h = yes; then
82758 ac_has_langinfo_h=yes
82759 else
82760 ac_has_langinfo_h=no
82765 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82766 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82767 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82768 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82769 echo $ECHO_N "(cached) $ECHO_C" >&6
82770 else
82771 ac_check_lib_save_LIBS=$LIBS
82772 LIBS="-liconv $LIBS"
82773 if test x$gcc_no_link = xyes; then
82774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82776 { (exit 1); exit 1; }; }
82778 cat >conftest.$ac_ext <<_ACEOF
82779 /* confdefs.h. */
82780 _ACEOF
82781 cat confdefs.h >>conftest.$ac_ext
82782 cat >>conftest.$ac_ext <<_ACEOF
82783 /* end confdefs.h. */
82785 /* Override any gcc2 internal prototype to avoid an error. */
82786 #ifdef __cplusplus
82787 extern "C"
82788 #endif
82789 /* We use char because int might match the return type of a gcc2
82790 builtin and then its argument prototype would still apply. */
82791 char iconv ();
82793 main ()
82795 iconv ();
82797 return 0;
82799 _ACEOF
82800 rm -f conftest.$ac_objext conftest$ac_exeext
82801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82802 (eval $ac_link) 2>conftest.er1
82803 ac_status=$?
82804 grep -v '^ *+' conftest.er1 >conftest.err
82805 rm -f conftest.er1
82806 cat conftest.err >&5
82807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82808 (exit $ac_status); } &&
82809 { ac_try='test -z "$ac_c_werror_flag"
82810 || test ! -s conftest.err'
82811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82812 (eval $ac_try) 2>&5
82813 ac_status=$?
82814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82815 (exit $ac_status); }; } &&
82816 { ac_try='test -s conftest$ac_exeext'
82817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82818 (eval $ac_try) 2>&5
82819 ac_status=$?
82820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82821 (exit $ac_status); }; }; then
82822 ac_cv_lib_iconv_iconv=yes
82823 else
82824 echo "$as_me: failed program was:" >&5
82825 sed 's/^/| /' conftest.$ac_ext >&5
82827 ac_cv_lib_iconv_iconv=no
82829 rm -f conftest.err conftest.$ac_objext \
82830 conftest$ac_exeext conftest.$ac_ext
82831 LIBS=$ac_check_lib_save_LIBS
82833 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82834 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82835 if test $ac_cv_lib_iconv_iconv = yes; then
82836 LIBICONV="-liconv"
82839 ac_save_LIBS="$LIBS"
82840 LIBS="$LIBS $LIBICONV"
82847 for ac_func in iconv_open iconv_close iconv nl_langinfo
82849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82850 echo "$as_me:$LINENO: checking for $ac_func" >&5
82851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82852 if eval "test \"\${$as_ac_var+set}\" = set"; then
82853 echo $ECHO_N "(cached) $ECHO_C" >&6
82854 else
82855 if test x$gcc_no_link = xyes; then
82856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82858 { (exit 1); exit 1; }; }
82860 cat >conftest.$ac_ext <<_ACEOF
82861 /* confdefs.h. */
82862 _ACEOF
82863 cat confdefs.h >>conftest.$ac_ext
82864 cat >>conftest.$ac_ext <<_ACEOF
82865 /* end confdefs.h. */
82866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82868 #define $ac_func innocuous_$ac_func
82870 /* System header to define __stub macros and hopefully few prototypes,
82871 which can conflict with char $ac_func (); below.
82872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82873 <limits.h> exists even on freestanding compilers. */
82875 #ifdef __STDC__
82876 # include <limits.h>
82877 #else
82878 # include <assert.h>
82879 #endif
82881 #undef $ac_func
82883 /* Override any gcc2 internal prototype to avoid an error. */
82884 #ifdef __cplusplus
82885 extern "C"
82887 #endif
82888 /* We use char because int might match the return type of a gcc2
82889 builtin and then its argument prototype would still apply. */
82890 char $ac_func ();
82891 /* The GNU C library defines this for functions which it implements
82892 to always fail with ENOSYS. Some functions are actually named
82893 something starting with __ and the normal name is an alias. */
82894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82895 choke me
82896 #else
82897 char (*f) () = $ac_func;
82898 #endif
82899 #ifdef __cplusplus
82901 #endif
82904 main ()
82906 return f != $ac_func;
82908 return 0;
82910 _ACEOF
82911 rm -f conftest.$ac_objext conftest$ac_exeext
82912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82913 (eval $ac_link) 2>conftest.er1
82914 ac_status=$?
82915 grep -v '^ *+' conftest.er1 >conftest.err
82916 rm -f conftest.er1
82917 cat conftest.err >&5
82918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82919 (exit $ac_status); } &&
82920 { ac_try='test -z "$ac_c_werror_flag"
82921 || test ! -s conftest.err'
82922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82923 (eval $ac_try) 2>&5
82924 ac_status=$?
82925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926 (exit $ac_status); }; } &&
82927 { ac_try='test -s conftest$ac_exeext'
82928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82929 (eval $ac_try) 2>&5
82930 ac_status=$?
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); }; }; then
82933 eval "$as_ac_var=yes"
82934 else
82935 echo "$as_me: failed program was:" >&5
82936 sed 's/^/| /' conftest.$ac_ext >&5
82938 eval "$as_ac_var=no"
82940 rm -f conftest.err conftest.$ac_objext \
82941 conftest$ac_exeext conftest.$ac_ext
82943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82945 if test `eval echo '${'$as_ac_var'}'` = yes; then
82946 cat >>confdefs.h <<_ACEOF
82947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82948 _ACEOF
82949 ac_XPG2funcs=yes
82950 else
82951 ac_XPG2funcs=no
82953 done
82956 LIBS="$ac_save_LIBS"
82958 if test x"$ac_has_iconv_h" = xyes &&
82959 test x"$ac_has_langinfo_h" = xyes &&
82960 test x"$ac_XPG2funcs" = xyes;
82961 then
82963 cat >>confdefs.h <<\_ACEOF
82964 #define _GLIBCXX_USE_ICONV 1
82965 _ACEOF
82967 enable_iconv=yes
82970 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82971 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82972 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82973 echo "${ECHO_T}$enable_iconv" >&6
82976 # For showmanyc_helper().
82979 for ac_header in sys/ioctl.h sys/filio.h
82981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82983 echo "$as_me:$LINENO: checking for $ac_header" >&5
82984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82986 echo $ECHO_N "(cached) $ECHO_C" >&6
82988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82990 else
82991 # Is the header compilable?
82992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82994 cat >conftest.$ac_ext <<_ACEOF
82995 /* confdefs.h. */
82996 _ACEOF
82997 cat confdefs.h >>conftest.$ac_ext
82998 cat >>conftest.$ac_ext <<_ACEOF
82999 /* end confdefs.h. */
83000 $ac_includes_default
83001 #include <$ac_header>
83002 _ACEOF
83003 rm -f conftest.$ac_objext
83004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83005 (eval $ac_compile) 2>conftest.er1
83006 ac_status=$?
83007 grep -v '^ *+' conftest.er1 >conftest.err
83008 rm -f conftest.er1
83009 cat conftest.err >&5
83010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83011 (exit $ac_status); } &&
83012 { ac_try='test -z "$ac_c_werror_flag"
83013 || test ! -s conftest.err'
83014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83015 (eval $ac_try) 2>&5
83016 ac_status=$?
83017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83018 (exit $ac_status); }; } &&
83019 { ac_try='test -s conftest.$ac_objext'
83020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83021 (eval $ac_try) 2>&5
83022 ac_status=$?
83023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83024 (exit $ac_status); }; }; then
83025 ac_header_compiler=yes
83026 else
83027 echo "$as_me: failed program was:" >&5
83028 sed 's/^/| /' conftest.$ac_ext >&5
83030 ac_header_compiler=no
83032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83034 echo "${ECHO_T}$ac_header_compiler" >&6
83036 # Is the header present?
83037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83039 cat >conftest.$ac_ext <<_ACEOF
83040 /* confdefs.h. */
83041 _ACEOF
83042 cat confdefs.h >>conftest.$ac_ext
83043 cat >>conftest.$ac_ext <<_ACEOF
83044 /* end confdefs.h. */
83045 #include <$ac_header>
83046 _ACEOF
83047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83049 ac_status=$?
83050 grep -v '^ *+' conftest.er1 >conftest.err
83051 rm -f conftest.er1
83052 cat conftest.err >&5
83053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83054 (exit $ac_status); } >/dev/null; then
83055 if test -s conftest.err; then
83056 ac_cpp_err=$ac_c_preproc_warn_flag
83057 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83058 else
83059 ac_cpp_err=
83061 else
83062 ac_cpp_err=yes
83064 if test -z "$ac_cpp_err"; then
83065 ac_header_preproc=yes
83066 else
83067 echo "$as_me: failed program was:" >&5
83068 sed 's/^/| /' conftest.$ac_ext >&5
83070 ac_header_preproc=no
83072 rm -f conftest.err conftest.$ac_ext
83073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83074 echo "${ECHO_T}$ac_header_preproc" >&6
83076 # So? What about this header?
83077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83078 yes:no: )
83079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83083 ac_header_preproc=yes
83085 no:yes:* )
83086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83099 cat <<\_ASBOX
83100 ## ----------------------------------------- ##
83101 ## Report this to the package-unused lists. ##
83102 ## ----------------------------------------- ##
83103 _ASBOX
83105 sed "s/^/$as_me: WARNING: /" >&2
83107 esac
83108 echo "$as_me:$LINENO: checking for $ac_header" >&5
83109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83111 echo $ECHO_N "(cached) $ECHO_C" >&6
83112 else
83113 eval "$as_ac_Header=\$ac_header_preproc"
83115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83120 cat >>confdefs.h <<_ACEOF
83121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83122 _ACEOF
83126 done
83129 echo "$as_me:$LINENO: checking for poll" >&5
83130 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83131 if test "${glibcxx_cv_POLL+set}" = set; then
83132 echo $ECHO_N "(cached) $ECHO_C" >&6
83133 else
83135 if test x$gcc_no_link = xyes; then
83136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83138 { (exit 1); exit 1; }; }
83140 cat >conftest.$ac_ext <<_ACEOF
83141 /* confdefs.h. */
83142 _ACEOF
83143 cat confdefs.h >>conftest.$ac_ext
83144 cat >>conftest.$ac_ext <<_ACEOF
83145 /* end confdefs.h. */
83146 #include <poll.h>
83148 main ()
83150 struct pollfd pfd[1];
83151 pfd[0].events = POLLIN;
83152 poll(pfd, 1, 0);
83154 return 0;
83156 _ACEOF
83157 rm -f conftest.$ac_objext conftest$ac_exeext
83158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83159 (eval $ac_link) 2>conftest.er1
83160 ac_status=$?
83161 grep -v '^ *+' conftest.er1 >conftest.err
83162 rm -f conftest.er1
83163 cat conftest.err >&5
83164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83165 (exit $ac_status); } &&
83166 { ac_try='test -z "$ac_c_werror_flag"
83167 || test ! -s conftest.err'
83168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83169 (eval $ac_try) 2>&5
83170 ac_status=$?
83171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172 (exit $ac_status); }; } &&
83173 { ac_try='test -s conftest$ac_exeext'
83174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83175 (eval $ac_try) 2>&5
83176 ac_status=$?
83177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83178 (exit $ac_status); }; }; then
83179 glibcxx_cv_POLL=yes
83180 else
83181 echo "$as_me: failed program was:" >&5
83182 sed 's/^/| /' conftest.$ac_ext >&5
83184 glibcxx_cv_POLL=no
83186 rm -f conftest.err conftest.$ac_objext \
83187 conftest$ac_exeext conftest.$ac_ext
83191 if test $glibcxx_cv_POLL = yes; then
83193 cat >>confdefs.h <<\_ACEOF
83194 #define HAVE_POLL 1
83195 _ACEOF
83198 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83199 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83202 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83203 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83204 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83205 echo $ECHO_N "(cached) $ECHO_C" >&6
83206 else
83208 if test x$gcc_no_link = xyes; then
83209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83211 { (exit 1); exit 1; }; }
83213 cat >conftest.$ac_ext <<_ACEOF
83214 /* confdefs.h. */
83215 _ACEOF
83216 cat confdefs.h >>conftest.$ac_ext
83217 cat >>conftest.$ac_ext <<_ACEOF
83218 /* end confdefs.h. */
83219 #include <sys/stat.h>
83221 main ()
83223 struct stat buffer;
83224 fstat(0, &buffer);
83225 S_ISREG(buffer.st_mode);
83227 return 0;
83229 _ACEOF
83230 rm -f conftest.$ac_objext conftest$ac_exeext
83231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83232 (eval $ac_link) 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_exeext'
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 glibcxx_cv_S_ISREG=yes
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83257 glibcxx_cv_S_ISREG=no
83259 rm -f conftest.err conftest.$ac_objext \
83260 conftest$ac_exeext conftest.$ac_ext
83264 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83265 echo $ECHO_N "(cached) $ECHO_C" >&6
83266 else
83268 if test x$gcc_no_link = xyes; then
83269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83271 { (exit 1); exit 1; }; }
83273 cat >conftest.$ac_ext <<_ACEOF
83274 /* confdefs.h. */
83275 _ACEOF
83276 cat confdefs.h >>conftest.$ac_ext
83277 cat >>conftest.$ac_ext <<_ACEOF
83278 /* end confdefs.h. */
83279 #include <sys/stat.h>
83281 main ()
83283 struct stat buffer;
83284 fstat(0, &buffer);
83285 S_IFREG & buffer.st_mode;
83287 return 0;
83289 _ACEOF
83290 rm -f conftest.$ac_objext conftest$ac_exeext
83291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83292 (eval $ac_link) 2>conftest.er1
83293 ac_status=$?
83294 grep -v '^ *+' conftest.er1 >conftest.err
83295 rm -f conftest.er1
83296 cat conftest.err >&5
83297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83298 (exit $ac_status); } &&
83299 { ac_try='test -z "$ac_c_werror_flag"
83300 || test ! -s conftest.err'
83301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83302 (eval $ac_try) 2>&5
83303 ac_status=$?
83304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83305 (exit $ac_status); }; } &&
83306 { ac_try='test -s conftest$ac_exeext'
83307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83308 (eval $ac_try) 2>&5
83309 ac_status=$?
83310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83311 (exit $ac_status); }; }; then
83312 glibcxx_cv_S_IFREG=yes
83313 else
83314 echo "$as_me: failed program was:" >&5
83315 sed 's/^/| /' conftest.$ac_ext >&5
83317 glibcxx_cv_S_IFREG=no
83319 rm -f conftest.err conftest.$ac_objext \
83320 conftest$ac_exeext conftest.$ac_ext
83324 res=no
83325 if test $glibcxx_cv_S_ISREG = yes; then
83327 cat >>confdefs.h <<\_ACEOF
83328 #define HAVE_S_ISREG 1
83329 _ACEOF
83331 res=S_ISREG
83332 elif test $glibcxx_cv_S_IFREG = yes; then
83334 cat >>confdefs.h <<\_ACEOF
83335 #define HAVE_S_IFREG 1
83336 _ACEOF
83338 res=S_IFREG
83340 echo "$as_me:$LINENO: result: $res" >&5
83341 echo "${ECHO_T}$res" >&6
83344 # For xsputn_2().
83346 for ac_header in sys/uio.h
83348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83350 echo "$as_me:$LINENO: checking for $ac_header" >&5
83351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83353 echo $ECHO_N "(cached) $ECHO_C" >&6
83355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83357 else
83358 # Is the header compilable?
83359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83361 cat >conftest.$ac_ext <<_ACEOF
83362 /* confdefs.h. */
83363 _ACEOF
83364 cat confdefs.h >>conftest.$ac_ext
83365 cat >>conftest.$ac_ext <<_ACEOF
83366 /* end confdefs.h. */
83367 $ac_includes_default
83368 #include <$ac_header>
83369 _ACEOF
83370 rm -f conftest.$ac_objext
83371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83372 (eval $ac_compile) 2>conftest.er1
83373 ac_status=$?
83374 grep -v '^ *+' conftest.er1 >conftest.err
83375 rm -f conftest.er1
83376 cat conftest.err >&5
83377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378 (exit $ac_status); } &&
83379 { ac_try='test -z "$ac_c_werror_flag"
83380 || test ! -s conftest.err'
83381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83382 (eval $ac_try) 2>&5
83383 ac_status=$?
83384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83385 (exit $ac_status); }; } &&
83386 { ac_try='test -s conftest.$ac_objext'
83387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83388 (eval $ac_try) 2>&5
83389 ac_status=$?
83390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391 (exit $ac_status); }; }; then
83392 ac_header_compiler=yes
83393 else
83394 echo "$as_me: failed program was:" >&5
83395 sed 's/^/| /' conftest.$ac_ext >&5
83397 ac_header_compiler=no
83399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83401 echo "${ECHO_T}$ac_header_compiler" >&6
83403 # Is the header present?
83404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83406 cat >conftest.$ac_ext <<_ACEOF
83407 /* confdefs.h. */
83408 _ACEOF
83409 cat confdefs.h >>conftest.$ac_ext
83410 cat >>conftest.$ac_ext <<_ACEOF
83411 /* end confdefs.h. */
83412 #include <$ac_header>
83413 _ACEOF
83414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83416 ac_status=$?
83417 grep -v '^ *+' conftest.er1 >conftest.err
83418 rm -f conftest.er1
83419 cat conftest.err >&5
83420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83421 (exit $ac_status); } >/dev/null; then
83422 if test -s conftest.err; then
83423 ac_cpp_err=$ac_c_preproc_warn_flag
83424 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83425 else
83426 ac_cpp_err=
83428 else
83429 ac_cpp_err=yes
83431 if test -z "$ac_cpp_err"; then
83432 ac_header_preproc=yes
83433 else
83434 echo "$as_me: failed program was:" >&5
83435 sed 's/^/| /' conftest.$ac_ext >&5
83437 ac_header_preproc=no
83439 rm -f conftest.err conftest.$ac_ext
83440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83441 echo "${ECHO_T}$ac_header_preproc" >&6
83443 # So? What about this header?
83444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83445 yes:no: )
83446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83450 ac_header_preproc=yes
83452 no:yes:* )
83453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83466 cat <<\_ASBOX
83467 ## ----------------------------------------- ##
83468 ## Report this to the package-unused lists. ##
83469 ## ----------------------------------------- ##
83470 _ASBOX
83472 sed "s/^/$as_me: WARNING: /" >&2
83474 esac
83475 echo "$as_me:$LINENO: checking for $ac_header" >&5
83476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83478 echo $ECHO_N "(cached) $ECHO_C" >&6
83479 else
83480 eval "$as_ac_Header=\$ac_header_preproc"
83482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83487 cat >>confdefs.h <<_ACEOF
83488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83489 _ACEOF
83493 done
83496 echo "$as_me:$LINENO: checking for writev" >&5
83497 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83498 if test "${glibcxx_cv_WRITEV+set}" = set; then
83499 echo $ECHO_N "(cached) $ECHO_C" >&6
83500 else
83502 if test x$gcc_no_link = xyes; then
83503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83505 { (exit 1); exit 1; }; }
83507 cat >conftest.$ac_ext <<_ACEOF
83508 /* confdefs.h. */
83509 _ACEOF
83510 cat confdefs.h >>conftest.$ac_ext
83511 cat >>conftest.$ac_ext <<_ACEOF
83512 /* end confdefs.h. */
83513 #include <sys/uio.h>
83515 main ()
83517 struct iovec iov[2];
83518 writev(0, iov, 0);
83520 return 0;
83522 _ACEOF
83523 rm -f conftest.$ac_objext conftest$ac_exeext
83524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83525 (eval $ac_link) 2>conftest.er1
83526 ac_status=$?
83527 grep -v '^ *+' conftest.er1 >conftest.err
83528 rm -f conftest.er1
83529 cat conftest.err >&5
83530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83531 (exit $ac_status); } &&
83532 { ac_try='test -z "$ac_c_werror_flag"
83533 || test ! -s conftest.err'
83534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83535 (eval $ac_try) 2>&5
83536 ac_status=$?
83537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83538 (exit $ac_status); }; } &&
83539 { ac_try='test -s conftest$ac_exeext'
83540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83541 (eval $ac_try) 2>&5
83542 ac_status=$?
83543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83544 (exit $ac_status); }; }; then
83545 glibcxx_cv_WRITEV=yes
83546 else
83547 echo "$as_me: failed program was:" >&5
83548 sed 's/^/| /' conftest.$ac_ext >&5
83550 glibcxx_cv_WRITEV=no
83552 rm -f conftest.err conftest.$ac_objext \
83553 conftest$ac_exeext conftest.$ac_ext
83557 if test $glibcxx_cv_WRITEV = yes; then
83559 cat >>confdefs.h <<\_ACEOF
83560 #define HAVE_WRITEV 1
83561 _ACEOF
83564 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83565 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83568 *-qnx6.1* | *-qnx6.2*)
83569 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83572 # If we're not using GNU ld, then there's no point in even trying these
83573 # tests. Check for that first. We should have already tested for gld
83574 # by now (in libtool), but require it now just to be safe...
83575 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83576 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83580 # The name set by libtool depends on the version of libtool. Shame on us
83581 # for depending on an impl detail, but c'est la vie. Older versions used
83582 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83583 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83584 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83585 # set (hence we're using an older libtool), then set it.
83586 if test x${with_gnu_ld+set} != xset; then
83587 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83588 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83589 with_gnu_ld=no
83590 else
83591 with_gnu_ld=$ac_cv_prog_gnu_ld
83595 # Start by getting the version number. I think the libtool test already
83596 # does some of this, but throws away the result.
83598 ldver=`$LD --version 2>/dev/null | head -1 | \
83599 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83601 glibcxx_gnu_ld_version=`echo $ldver | \
83602 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83604 # Set --gc-sections.
83605 if test "$with_gnu_ld" = "notbroken"; then
83606 # GNU ld it is! Joy and bunny rabbits!
83608 # All these tests are for C++; save the language and the compiler flags.
83609 # Need to do this so that g++ won't try to link in libstdc++
83610 ac_test_CFLAGS="${CFLAGS+set}"
83611 ac_save_CFLAGS="$CFLAGS"
83612 CFLAGS='-x c++ -Wl,--gc-sections'
83614 # Check for -Wl,--gc-sections
83615 # XXX This test is broken at the moment, as symbols required for linking
83616 # are now in libsupc++ (not built yet). In addition, this test has
83617 # cored on solaris in the past. In addition, --gc-sections doesn't
83618 # really work at the moment (keeps on discarding used sections, first
83619 # .eh_frame and now some of the glibc sections for iconv).
83620 # Bzzzzt. Thanks for playing, maybe next time.
83621 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83622 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83623 if test "$cross_compiling" = yes; then
83624 ac_sectionLDflags=yes
83625 else
83626 cat >conftest.$ac_ext <<_ACEOF
83627 /* confdefs.h. */
83628 _ACEOF
83629 cat confdefs.h >>conftest.$ac_ext
83630 cat >>conftest.$ac_ext <<_ACEOF
83631 /* end confdefs.h. */
83633 int main(void)
83635 try { throw 1; }
83636 catch (...) { };
83637 return 0;
83640 _ACEOF
83641 rm -f conftest$ac_exeext
83642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83643 (eval $ac_link) 2>&5
83644 ac_status=$?
83645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83648 (eval $ac_try) 2>&5
83649 ac_status=$?
83650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83651 (exit $ac_status); }; }; then
83652 ac_sectionLDflags=yes
83653 else
83654 echo "$as_me: program exited with status $ac_status" >&5
83655 echo "$as_me: failed program was:" >&5
83656 sed 's/^/| /' conftest.$ac_ext >&5
83658 ( exit $ac_status )
83659 ac_sectionLDflags=no
83661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83663 if test "$ac_test_CFLAGS" = set; then
83664 CFLAGS="$ac_save_CFLAGS"
83665 else
83666 # this is the suspicious part
83667 CFLAGS=''
83669 if test "$ac_sectionLDflags" = "yes"; then
83670 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83672 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83673 echo "${ECHO_T}$ac_sectionLDflags" >&6
83676 # Set linker optimization flags.
83677 if test x"$with_gnu_ld" = x"yes"; then
83678 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83686 echo "$as_me:$LINENO: checking for main in -lm" >&5
83687 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83688 if test "${ac_cv_lib_m_main+set}" = set; then
83689 echo $ECHO_N "(cached) $ECHO_C" >&6
83690 else
83691 ac_check_lib_save_LIBS=$LIBS
83692 LIBS="-lm $LIBS"
83693 if test x$gcc_no_link = xyes; then
83694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83696 { (exit 1); exit 1; }; }
83698 cat >conftest.$ac_ext <<_ACEOF
83699 /* confdefs.h. */
83700 _ACEOF
83701 cat confdefs.h >>conftest.$ac_ext
83702 cat >>conftest.$ac_ext <<_ACEOF
83703 /* end confdefs.h. */
83707 main ()
83709 main ();
83711 return 0;
83713 _ACEOF
83714 rm -f conftest.$ac_objext conftest$ac_exeext
83715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83716 (eval $ac_link) 2>conftest.er1
83717 ac_status=$?
83718 grep -v '^ *+' conftest.er1 >conftest.err
83719 rm -f conftest.er1
83720 cat conftest.err >&5
83721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83722 (exit $ac_status); } &&
83723 { ac_try='test -z "$ac_c_werror_flag"
83724 || test ! -s conftest.err'
83725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83726 (eval $ac_try) 2>&5
83727 ac_status=$?
83728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83729 (exit $ac_status); }; } &&
83730 { ac_try='test -s conftest$ac_exeext'
83731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83732 (eval $ac_try) 2>&5
83733 ac_status=$?
83734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83735 (exit $ac_status); }; }; then
83736 ac_cv_lib_m_main=yes
83737 else
83738 echo "$as_me: failed program was:" >&5
83739 sed 's/^/| /' conftest.$ac_ext >&5
83741 ac_cv_lib_m_main=no
83743 rm -f conftest.err conftest.$ac_objext \
83744 conftest$ac_exeext conftest.$ac_ext
83745 LIBS=$ac_check_lib_save_LIBS
83747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83748 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83749 if test $ac_cv_lib_m_main = yes; then
83750 cat >>confdefs.h <<_ACEOF
83751 #define HAVE_LIBM 1
83752 _ACEOF
83754 LIBS="-lm $LIBS"
83759 for ac_func in copysignf
83761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83762 echo "$as_me:$LINENO: checking for $ac_func" >&5
83763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83764 if eval "test \"\${$as_ac_var+set}\" = set"; then
83765 echo $ECHO_N "(cached) $ECHO_C" >&6
83766 else
83767 if test x$gcc_no_link = xyes; then
83768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83770 { (exit 1); exit 1; }; }
83772 cat >conftest.$ac_ext <<_ACEOF
83773 /* confdefs.h. */
83774 _ACEOF
83775 cat confdefs.h >>conftest.$ac_ext
83776 cat >>conftest.$ac_ext <<_ACEOF
83777 /* end confdefs.h. */
83778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83780 #define $ac_func innocuous_$ac_func
83782 /* System header to define __stub macros and hopefully few prototypes,
83783 which can conflict with char $ac_func (); below.
83784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83785 <limits.h> exists even on freestanding compilers. */
83787 #ifdef __STDC__
83788 # include <limits.h>
83789 #else
83790 # include <assert.h>
83791 #endif
83793 #undef $ac_func
83795 /* Override any gcc2 internal prototype to avoid an error. */
83796 #ifdef __cplusplus
83797 extern "C"
83799 #endif
83800 /* We use char because int might match the return type of a gcc2
83801 builtin and then its argument prototype would still apply. */
83802 char $ac_func ();
83803 /* The GNU C library defines this for functions which it implements
83804 to always fail with ENOSYS. Some functions are actually named
83805 something starting with __ and the normal name is an alias. */
83806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83807 choke me
83808 #else
83809 char (*f) () = $ac_func;
83810 #endif
83811 #ifdef __cplusplus
83813 #endif
83816 main ()
83818 return f != $ac_func;
83820 return 0;
83822 _ACEOF
83823 rm -f conftest.$ac_objext conftest$ac_exeext
83824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83825 (eval $ac_link) 2>conftest.er1
83826 ac_status=$?
83827 grep -v '^ *+' conftest.er1 >conftest.err
83828 rm -f conftest.er1
83829 cat conftest.err >&5
83830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83831 (exit $ac_status); } &&
83832 { ac_try='test -z "$ac_c_werror_flag"
83833 || test ! -s conftest.err'
83834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83835 (eval $ac_try) 2>&5
83836 ac_status=$?
83837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83838 (exit $ac_status); }; } &&
83839 { ac_try='test -s conftest$ac_exeext'
83840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83841 (eval $ac_try) 2>&5
83842 ac_status=$?
83843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83844 (exit $ac_status); }; }; then
83845 eval "$as_ac_var=yes"
83846 else
83847 echo "$as_me: failed program was:" >&5
83848 sed 's/^/| /' conftest.$ac_ext >&5
83850 eval "$as_ac_var=no"
83852 rm -f conftest.err conftest.$ac_objext \
83853 conftest$ac_exeext conftest.$ac_ext
83855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83857 if test `eval echo '${'$as_ac_var'}'` = yes; then
83858 cat >>confdefs.h <<_ACEOF
83859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83860 _ACEOF
83862 else
83863 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83865 done
83869 for ac_func in __signbit
83871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83872 echo "$as_me:$LINENO: checking for $ac_func" >&5
83873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83874 if eval "test \"\${$as_ac_var+set}\" = set"; then
83875 echo $ECHO_N "(cached) $ECHO_C" >&6
83876 else
83877 if test x$gcc_no_link = xyes; then
83878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83880 { (exit 1); exit 1; }; }
83882 cat >conftest.$ac_ext <<_ACEOF
83883 /* confdefs.h. */
83884 _ACEOF
83885 cat confdefs.h >>conftest.$ac_ext
83886 cat >>conftest.$ac_ext <<_ACEOF
83887 /* end confdefs.h. */
83888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83890 #define $ac_func innocuous_$ac_func
83892 /* System header to define __stub macros and hopefully few prototypes,
83893 which can conflict with char $ac_func (); below.
83894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83895 <limits.h> exists even on freestanding compilers. */
83897 #ifdef __STDC__
83898 # include <limits.h>
83899 #else
83900 # include <assert.h>
83901 #endif
83903 #undef $ac_func
83905 /* Override any gcc2 internal prototype to avoid an error. */
83906 #ifdef __cplusplus
83907 extern "C"
83909 #endif
83910 /* We use char because int might match the return type of a gcc2
83911 builtin and then its argument prototype would still apply. */
83912 char $ac_func ();
83913 /* The GNU C library defines this for functions which it implements
83914 to always fail with ENOSYS. Some functions are actually named
83915 something starting with __ and the normal name is an alias. */
83916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83917 choke me
83918 #else
83919 char (*f) () = $ac_func;
83920 #endif
83921 #ifdef __cplusplus
83923 #endif
83926 main ()
83928 return f != $ac_func;
83930 return 0;
83932 _ACEOF
83933 rm -f conftest.$ac_objext conftest$ac_exeext
83934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83935 (eval $ac_link) 2>conftest.er1
83936 ac_status=$?
83937 grep -v '^ *+' conftest.er1 >conftest.err
83938 rm -f conftest.er1
83939 cat conftest.err >&5
83940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83941 (exit $ac_status); } &&
83942 { ac_try='test -z "$ac_c_werror_flag"
83943 || test ! -s conftest.err'
83944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83945 (eval $ac_try) 2>&5
83946 ac_status=$?
83947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83948 (exit $ac_status); }; } &&
83949 { ac_try='test -s 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 eval "$as_ac_var=yes"
83956 else
83957 echo "$as_me: failed program was:" >&5
83958 sed 's/^/| /' conftest.$ac_ext >&5
83960 eval "$as_ac_var=no"
83962 rm -f conftest.err conftest.$ac_objext \
83963 conftest$ac_exeext conftest.$ac_ext
83965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83967 if test `eval echo '${'$as_ac_var'}'` = yes; then
83968 cat >>confdefs.h <<_ACEOF
83969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83970 _ACEOF
83972 else
83973 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83975 done
83979 for ac_func in __signbitf
83981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83982 echo "$as_me:$LINENO: checking for $ac_func" >&5
83983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83984 if eval "test \"\${$as_ac_var+set}\" = set"; then
83985 echo $ECHO_N "(cached) $ECHO_C" >&6
83986 else
83987 if test x$gcc_no_link = xyes; then
83988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83990 { (exit 1); exit 1; }; }
83992 cat >conftest.$ac_ext <<_ACEOF
83993 /* confdefs.h. */
83994 _ACEOF
83995 cat confdefs.h >>conftest.$ac_ext
83996 cat >>conftest.$ac_ext <<_ACEOF
83997 /* end confdefs.h. */
83998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84000 #define $ac_func innocuous_$ac_func
84002 /* System header to define __stub macros and hopefully few prototypes,
84003 which can conflict with char $ac_func (); below.
84004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84005 <limits.h> exists even on freestanding compilers. */
84007 #ifdef __STDC__
84008 # include <limits.h>
84009 #else
84010 # include <assert.h>
84011 #endif
84013 #undef $ac_func
84015 /* Override any gcc2 internal prototype to avoid an error. */
84016 #ifdef __cplusplus
84017 extern "C"
84019 #endif
84020 /* We use char because int might match the return type of a gcc2
84021 builtin and then its argument prototype would still apply. */
84022 char $ac_func ();
84023 /* The GNU C library defines this for functions which it implements
84024 to always fail with ENOSYS. Some functions are actually named
84025 something starting with __ and the normal name is an alias. */
84026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84027 choke me
84028 #else
84029 char (*f) () = $ac_func;
84030 #endif
84031 #ifdef __cplusplus
84033 #endif
84036 main ()
84038 return f != $ac_func;
84040 return 0;
84042 _ACEOF
84043 rm -f conftest.$ac_objext conftest$ac_exeext
84044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84045 (eval $ac_link) 2>conftest.er1
84046 ac_status=$?
84047 grep -v '^ *+' conftest.er1 >conftest.err
84048 rm -f conftest.er1
84049 cat conftest.err >&5
84050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84051 (exit $ac_status); } &&
84052 { ac_try='test -z "$ac_c_werror_flag"
84053 || test ! -s conftest.err'
84054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84055 (eval $ac_try) 2>&5
84056 ac_status=$?
84057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84058 (exit $ac_status); }; } &&
84059 { ac_try='test -s conftest$ac_exeext'
84060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84061 (eval $ac_try) 2>&5
84062 ac_status=$?
84063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84064 (exit $ac_status); }; }; then
84065 eval "$as_ac_var=yes"
84066 else
84067 echo "$as_me: failed program was:" >&5
84068 sed 's/^/| /' conftest.$ac_ext >&5
84070 eval "$as_ac_var=no"
84072 rm -f conftest.err conftest.$ac_objext \
84073 conftest$ac_exeext conftest.$ac_ext
84075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84077 if test `eval echo '${'$as_ac_var'}'` = yes; then
84078 cat >>confdefs.h <<_ACEOF
84079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84080 _ACEOF
84082 else
84083 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84085 done
84088 if test x$ac_cv_func_copysignl = x"yes"; then
84090 for ac_func in __signbitl
84092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84093 echo "$as_me:$LINENO: checking for $ac_func" >&5
84094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84095 if eval "test \"\${$as_ac_var+set}\" = set"; then
84096 echo $ECHO_N "(cached) $ECHO_C" >&6
84097 else
84098 if test x$gcc_no_link = xyes; then
84099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84101 { (exit 1); exit 1; }; }
84103 cat >conftest.$ac_ext <<_ACEOF
84104 /* confdefs.h. */
84105 _ACEOF
84106 cat confdefs.h >>conftest.$ac_ext
84107 cat >>conftest.$ac_ext <<_ACEOF
84108 /* end confdefs.h. */
84109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84111 #define $ac_func innocuous_$ac_func
84113 /* System header to define __stub macros and hopefully few prototypes,
84114 which can conflict with char $ac_func (); below.
84115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84116 <limits.h> exists even on freestanding compilers. */
84118 #ifdef __STDC__
84119 # include <limits.h>
84120 #else
84121 # include <assert.h>
84122 #endif
84124 #undef $ac_func
84126 /* Override any gcc2 internal prototype to avoid an error. */
84127 #ifdef __cplusplus
84128 extern "C"
84130 #endif
84131 /* We use char because int might match the return type of a gcc2
84132 builtin and then its argument prototype would still apply. */
84133 char $ac_func ();
84134 /* The GNU C library defines this for functions which it implements
84135 to always fail with ENOSYS. Some functions are actually named
84136 something starting with __ and the normal name is an alias. */
84137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84138 choke me
84139 #else
84140 char (*f) () = $ac_func;
84141 #endif
84142 #ifdef __cplusplus
84144 #endif
84147 main ()
84149 return f != $ac_func;
84151 return 0;
84153 _ACEOF
84154 rm -f conftest.$ac_objext conftest$ac_exeext
84155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84156 (eval $ac_link) 2>conftest.er1
84157 ac_status=$?
84158 grep -v '^ *+' conftest.er1 >conftest.err
84159 rm -f conftest.er1
84160 cat conftest.err >&5
84161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84162 (exit $ac_status); } &&
84163 { ac_try='test -z "$ac_c_werror_flag"
84164 || test ! -s conftest.err'
84165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84166 (eval $ac_try) 2>&5
84167 ac_status=$?
84168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84169 (exit $ac_status); }; } &&
84170 { ac_try='test -s conftest$ac_exeext'
84171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84172 (eval $ac_try) 2>&5
84173 ac_status=$?
84174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84175 (exit $ac_status); }; }; then
84176 eval "$as_ac_var=yes"
84177 else
84178 echo "$as_me: failed program was:" >&5
84179 sed 's/^/| /' conftest.$ac_ext >&5
84181 eval "$as_ac_var=no"
84183 rm -f conftest.err conftest.$ac_objext \
84184 conftest$ac_exeext conftest.$ac_ext
84186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84188 if test `eval echo '${'$as_ac_var'}'` = yes; then
84189 cat >>confdefs.h <<_ACEOF
84190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84191 _ACEOF
84193 else
84194 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84196 done
84200 # Used in libmath/Makefile.am.
84201 if test -n "$LIBMATHOBJS"; then
84202 need_libmath=yes
84208 enable_iconv=no
84209 # Only continue checking if the ISO C99 headers exist and support is on.
84210 if test x"$enable_wchar_t" = xyes; then
84212 # Use iconv for wchar_t to char conversions. As such, check for
84213 # X/Open Portability Guide, version 2 features (XPG2).
84214 if test "${ac_cv_header_iconv_h+set}" = set; then
84215 echo "$as_me:$LINENO: checking for iconv.h" >&5
84216 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84217 if test "${ac_cv_header_iconv_h+set}" = set; then
84218 echo $ECHO_N "(cached) $ECHO_C" >&6
84220 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84221 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84222 else
84223 # Is the header compilable?
84224 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84225 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84226 cat >conftest.$ac_ext <<_ACEOF
84227 /* confdefs.h. */
84228 _ACEOF
84229 cat confdefs.h >>conftest.$ac_ext
84230 cat >>conftest.$ac_ext <<_ACEOF
84231 /* end confdefs.h. */
84232 $ac_includes_default
84233 #include <iconv.h>
84234 _ACEOF
84235 rm -f conftest.$ac_objext
84236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84237 (eval $ac_compile) 2>conftest.er1
84238 ac_status=$?
84239 grep -v '^ *+' conftest.er1 >conftest.err
84240 rm -f conftest.er1
84241 cat conftest.err >&5
84242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243 (exit $ac_status); } &&
84244 { ac_try='test -z "$ac_c_werror_flag"
84245 || test ! -s conftest.err'
84246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84247 (eval $ac_try) 2>&5
84248 ac_status=$?
84249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84250 (exit $ac_status); }; } &&
84251 { ac_try='test -s conftest.$ac_objext'
84252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84253 (eval $ac_try) 2>&5
84254 ac_status=$?
84255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84256 (exit $ac_status); }; }; then
84257 ac_header_compiler=yes
84258 else
84259 echo "$as_me: failed program was:" >&5
84260 sed 's/^/| /' conftest.$ac_ext >&5
84262 ac_header_compiler=no
84264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84266 echo "${ECHO_T}$ac_header_compiler" >&6
84268 # Is the header present?
84269 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84270 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84271 cat >conftest.$ac_ext <<_ACEOF
84272 /* confdefs.h. */
84273 _ACEOF
84274 cat confdefs.h >>conftest.$ac_ext
84275 cat >>conftest.$ac_ext <<_ACEOF
84276 /* end confdefs.h. */
84277 #include <iconv.h>
84278 _ACEOF
84279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84281 ac_status=$?
84282 grep -v '^ *+' conftest.er1 >conftest.err
84283 rm -f conftest.er1
84284 cat conftest.err >&5
84285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84286 (exit $ac_status); } >/dev/null; then
84287 if test -s conftest.err; then
84288 ac_cpp_err=$ac_c_preproc_warn_flag
84289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84290 else
84291 ac_cpp_err=
84293 else
84294 ac_cpp_err=yes
84296 if test -z "$ac_cpp_err"; then
84297 ac_header_preproc=yes
84298 else
84299 echo "$as_me: failed program was:" >&5
84300 sed 's/^/| /' conftest.$ac_ext >&5
84302 ac_header_preproc=no
84304 rm -f conftest.err conftest.$ac_ext
84305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84306 echo "${ECHO_T}$ac_header_preproc" >&6
84308 # So? What about this header?
84309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84310 yes:no: )
84311 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84312 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84313 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84314 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84315 ac_header_preproc=yes
84317 no:yes:* )
84318 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84319 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84320 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84321 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84322 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84323 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84324 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84325 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84326 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84327 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84328 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84329 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84331 cat <<\_ASBOX
84332 ## ----------------------------------------- ##
84333 ## Report this to the package-unused lists. ##
84334 ## ----------------------------------------- ##
84335 _ASBOX
84337 sed "s/^/$as_me: WARNING: /" >&2
84339 esac
84340 echo "$as_me:$LINENO: checking for iconv.h" >&5
84341 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84342 if test "${ac_cv_header_iconv_h+set}" = set; then
84343 echo $ECHO_N "(cached) $ECHO_C" >&6
84344 else
84345 ac_cv_header_iconv_h=$ac_header_preproc
84347 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84348 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84351 if test $ac_cv_header_iconv_h = yes; then
84352 ac_has_iconv_h=yes
84353 else
84354 ac_has_iconv_h=no
84358 if test "${ac_cv_header_langinfo_h+set}" = set; then
84359 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84360 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84361 if test "${ac_cv_header_langinfo_h+set}" = set; then
84362 echo $ECHO_N "(cached) $ECHO_C" >&6
84364 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84365 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84366 else
84367 # Is the header compilable?
84368 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84369 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84370 cat >conftest.$ac_ext <<_ACEOF
84371 /* confdefs.h. */
84372 _ACEOF
84373 cat confdefs.h >>conftest.$ac_ext
84374 cat >>conftest.$ac_ext <<_ACEOF
84375 /* end confdefs.h. */
84376 $ac_includes_default
84377 #include <langinfo.h>
84378 _ACEOF
84379 rm -f conftest.$ac_objext
84380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84381 (eval $ac_compile) 2>conftest.er1
84382 ac_status=$?
84383 grep -v '^ *+' conftest.er1 >conftest.err
84384 rm -f conftest.er1
84385 cat conftest.err >&5
84386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84387 (exit $ac_status); } &&
84388 { ac_try='test -z "$ac_c_werror_flag"
84389 || test ! -s conftest.err'
84390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84391 (eval $ac_try) 2>&5
84392 ac_status=$?
84393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84394 (exit $ac_status); }; } &&
84395 { ac_try='test -s conftest.$ac_objext'
84396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84397 (eval $ac_try) 2>&5
84398 ac_status=$?
84399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84400 (exit $ac_status); }; }; then
84401 ac_header_compiler=yes
84402 else
84403 echo "$as_me: failed program was:" >&5
84404 sed 's/^/| /' conftest.$ac_ext >&5
84406 ac_header_compiler=no
84408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84410 echo "${ECHO_T}$ac_header_compiler" >&6
84412 # Is the header present?
84413 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84414 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84415 cat >conftest.$ac_ext <<_ACEOF
84416 /* confdefs.h. */
84417 _ACEOF
84418 cat confdefs.h >>conftest.$ac_ext
84419 cat >>conftest.$ac_ext <<_ACEOF
84420 /* end confdefs.h. */
84421 #include <langinfo.h>
84422 _ACEOF
84423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84425 ac_status=$?
84426 grep -v '^ *+' conftest.er1 >conftest.err
84427 rm -f conftest.er1
84428 cat conftest.err >&5
84429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84430 (exit $ac_status); } >/dev/null; then
84431 if test -s conftest.err; then
84432 ac_cpp_err=$ac_c_preproc_warn_flag
84433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84434 else
84435 ac_cpp_err=
84437 else
84438 ac_cpp_err=yes
84440 if test -z "$ac_cpp_err"; then
84441 ac_header_preproc=yes
84442 else
84443 echo "$as_me: failed program was:" >&5
84444 sed 's/^/| /' conftest.$ac_ext >&5
84446 ac_header_preproc=no
84448 rm -f conftest.err conftest.$ac_ext
84449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84450 echo "${ECHO_T}$ac_header_preproc" >&6
84452 # So? What about this header?
84453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84454 yes:no: )
84455 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84456 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84457 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84458 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84459 ac_header_preproc=yes
84461 no:yes:* )
84462 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84463 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84464 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84465 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84466 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84467 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84468 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84469 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84470 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84471 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84472 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84473 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84475 cat <<\_ASBOX
84476 ## ----------------------------------------- ##
84477 ## Report this to the package-unused lists. ##
84478 ## ----------------------------------------- ##
84479 _ASBOX
84481 sed "s/^/$as_me: WARNING: /" >&2
84483 esac
84484 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84485 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84486 if test "${ac_cv_header_langinfo_h+set}" = set; then
84487 echo $ECHO_N "(cached) $ECHO_C" >&6
84488 else
84489 ac_cv_header_langinfo_h=$ac_header_preproc
84491 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84492 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84495 if test $ac_cv_header_langinfo_h = yes; then
84496 ac_has_langinfo_h=yes
84497 else
84498 ac_has_langinfo_h=no
84503 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84504 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84505 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84506 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84507 echo $ECHO_N "(cached) $ECHO_C" >&6
84508 else
84509 ac_check_lib_save_LIBS=$LIBS
84510 LIBS="-liconv $LIBS"
84511 if test x$gcc_no_link = xyes; then
84512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84514 { (exit 1); exit 1; }; }
84516 cat >conftest.$ac_ext <<_ACEOF
84517 /* confdefs.h. */
84518 _ACEOF
84519 cat confdefs.h >>conftest.$ac_ext
84520 cat >>conftest.$ac_ext <<_ACEOF
84521 /* end confdefs.h. */
84523 /* Override any gcc2 internal prototype to avoid an error. */
84524 #ifdef __cplusplus
84525 extern "C"
84526 #endif
84527 /* We use char because int might match the return type of a gcc2
84528 builtin and then its argument prototype would still apply. */
84529 char iconv ();
84531 main ()
84533 iconv ();
84535 return 0;
84537 _ACEOF
84538 rm -f conftest.$ac_objext conftest$ac_exeext
84539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84540 (eval $ac_link) 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_exeext'
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_cv_lib_iconv_iconv=yes
84561 else
84562 echo "$as_me: failed program was:" >&5
84563 sed 's/^/| /' conftest.$ac_ext >&5
84565 ac_cv_lib_iconv_iconv=no
84567 rm -f conftest.err conftest.$ac_objext \
84568 conftest$ac_exeext conftest.$ac_ext
84569 LIBS=$ac_check_lib_save_LIBS
84571 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84572 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84573 if test $ac_cv_lib_iconv_iconv = yes; then
84574 LIBICONV="-liconv"
84577 ac_save_LIBS="$LIBS"
84578 LIBS="$LIBS $LIBICONV"
84585 for ac_func in iconv_open iconv_close iconv nl_langinfo
84587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84588 echo "$as_me:$LINENO: checking for $ac_func" >&5
84589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84590 if eval "test \"\${$as_ac_var+set}\" = set"; then
84591 echo $ECHO_N "(cached) $ECHO_C" >&6
84592 else
84593 if test x$gcc_no_link = xyes; then
84594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84596 { (exit 1); exit 1; }; }
84598 cat >conftest.$ac_ext <<_ACEOF
84599 /* confdefs.h. */
84600 _ACEOF
84601 cat confdefs.h >>conftest.$ac_ext
84602 cat >>conftest.$ac_ext <<_ACEOF
84603 /* end confdefs.h. */
84604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84606 #define $ac_func innocuous_$ac_func
84608 /* System header to define __stub macros and hopefully few prototypes,
84609 which can conflict with char $ac_func (); below.
84610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84611 <limits.h> exists even on freestanding compilers. */
84613 #ifdef __STDC__
84614 # include <limits.h>
84615 #else
84616 # include <assert.h>
84617 #endif
84619 #undef $ac_func
84621 /* Override any gcc2 internal prototype to avoid an error. */
84622 #ifdef __cplusplus
84623 extern "C"
84625 #endif
84626 /* We use char because int might match the return type of a gcc2
84627 builtin and then its argument prototype would still apply. */
84628 char $ac_func ();
84629 /* The GNU C library defines this for functions which it implements
84630 to always fail with ENOSYS. Some functions are actually named
84631 something starting with __ and the normal name is an alias. */
84632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84633 choke me
84634 #else
84635 char (*f) () = $ac_func;
84636 #endif
84637 #ifdef __cplusplus
84639 #endif
84642 main ()
84644 return f != $ac_func;
84646 return 0;
84648 _ACEOF
84649 rm -f conftest.$ac_objext conftest$ac_exeext
84650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84651 (eval $ac_link) 2>conftest.er1
84652 ac_status=$?
84653 grep -v '^ *+' conftest.er1 >conftest.err
84654 rm -f conftest.er1
84655 cat conftest.err >&5
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); } &&
84658 { ac_try='test -z "$ac_c_werror_flag"
84659 || test ! -s conftest.err'
84660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84661 (eval $ac_try) 2>&5
84662 ac_status=$?
84663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84664 (exit $ac_status); }; } &&
84665 { ac_try='test -s conftest$ac_exeext'
84666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84667 (eval $ac_try) 2>&5
84668 ac_status=$?
84669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670 (exit $ac_status); }; }; then
84671 eval "$as_ac_var=yes"
84672 else
84673 echo "$as_me: failed program was:" >&5
84674 sed 's/^/| /' conftest.$ac_ext >&5
84676 eval "$as_ac_var=no"
84678 rm -f conftest.err conftest.$ac_objext \
84679 conftest$ac_exeext conftest.$ac_ext
84681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84683 if test `eval echo '${'$as_ac_var'}'` = yes; then
84684 cat >>confdefs.h <<_ACEOF
84685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84686 _ACEOF
84687 ac_XPG2funcs=yes
84688 else
84689 ac_XPG2funcs=no
84691 done
84694 LIBS="$ac_save_LIBS"
84696 if test x"$ac_has_iconv_h" = xyes &&
84697 test x"$ac_has_langinfo_h" = xyes &&
84698 test x"$ac_XPG2funcs" = xyes;
84699 then
84701 cat >>confdefs.h <<\_ACEOF
84702 #define _GLIBCXX_USE_ICONV 1
84703 _ACEOF
84705 enable_iconv=yes
84708 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84709 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84710 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84711 echo "${ECHO_T}$enable_iconv" >&6
84713 cat >>confdefs.h <<\_ACEOF
84714 #define HAVE_COSF 1
84715 _ACEOF
84717 cat >>confdefs.h <<\_ACEOF
84718 #define HAVE_COSL 1
84719 _ACEOF
84721 cat >>confdefs.h <<\_ACEOF
84722 #define HAVE_COSHF 1
84723 _ACEOF
84725 cat >>confdefs.h <<\_ACEOF
84726 #define HAVE_COSHL 1
84727 _ACEOF
84729 cat >>confdefs.h <<\_ACEOF
84730 #define HAVE_LOGF 1
84731 _ACEOF
84733 cat >>confdefs.h <<\_ACEOF
84734 #define HAVE_LOGL 1
84735 _ACEOF
84737 cat >>confdefs.h <<\_ACEOF
84738 #define HAVE_LOG10F 1
84739 _ACEOF
84741 cat >>confdefs.h <<\_ACEOF
84742 #define HAVE_LOG10L 1
84743 _ACEOF
84745 cat >>confdefs.h <<\_ACEOF
84746 #define HAVE_SINF 1
84747 _ACEOF
84749 cat >>confdefs.h <<\_ACEOF
84750 #define HAVE_SINL 1
84751 _ACEOF
84753 cat >>confdefs.h <<\_ACEOF
84754 #define HAVE_SINHF 1
84755 _ACEOF
84757 cat >>confdefs.h <<\_ACEOF
84758 #define HAVE_SINHL 1
84759 _ACEOF
84762 *-solaris*)
84763 case "$target" in
84764 # *-solaris2.5)
84765 # os_include_dir="os/solaris/solaris2.5"
84766 # ;;
84767 # *-solaris2.6)
84768 # os_include_dir="os/solaris/solaris2.6"
84769 # ;;
84770 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84771 cat >>confdefs.h <<\_ACEOF
84772 #define HAVE_GETPAGESIZE 1
84773 _ACEOF
84775 cat >>confdefs.h <<\_ACEOF
84776 #define HAVE_SIGSETJMP 1
84777 _ACEOF
84779 cat >>confdefs.h <<\_ACEOF
84780 #define HAVE_MBSTATE_T 1
84781 _ACEOF
84783 cat >>confdefs.h <<\_ACEOF
84784 #define HAVE_POLL 1
84785 _ACEOF
84787 cat >>confdefs.h <<\_ACEOF
84788 #define HAVE_S_ISREG 1
84789 _ACEOF
84791 cat >>confdefs.h <<\_ACEOF
84792 #define HAVE_LC_MESSAGES 1
84793 _ACEOF
84795 cat >>confdefs.h <<\_ACEOF
84796 #define HAVE_FINITE 1
84797 _ACEOF
84799 cat >>confdefs.h <<\_ACEOF
84800 #define HAVE_FPCLASS 1
84801 _ACEOF
84803 cat >>confdefs.h <<\_ACEOF
84804 #define HAVE_GETPAGESIZE 1
84805 _ACEOF
84807 cat >>confdefs.h <<\_ACEOF
84808 #define HAVE_NL_LANGINFO 1
84809 _ACEOF
84811 cat >>confdefs.h <<\_ACEOF
84812 #define HAVE_ICONV 1
84813 _ACEOF
84815 cat >>confdefs.h <<\_ACEOF
84816 #define HAVE_ICONV_CLOSE 1
84817 _ACEOF
84819 cat >>confdefs.h <<\_ACEOF
84820 #define HAVE_ICONV_OPEN 1
84821 _ACEOF
84823 # Look for the pieces required for wchar_t support in order to
84824 # get all the right HAVE_* macros defined.
84827 enable_iconv=no
84828 # Only continue checking if the ISO C99 headers exist and support is on.
84829 if test x"$enable_wchar_t" = xyes; then
84831 # Use iconv for wchar_t to char conversions. As such, check for
84832 # X/Open Portability Guide, version 2 features (XPG2).
84833 if test "${ac_cv_header_iconv_h+set}" = set; then
84834 echo "$as_me:$LINENO: checking for iconv.h" >&5
84835 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84836 if test "${ac_cv_header_iconv_h+set}" = set; then
84837 echo $ECHO_N "(cached) $ECHO_C" >&6
84839 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84840 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84841 else
84842 # Is the header compilable?
84843 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84844 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84845 cat >conftest.$ac_ext <<_ACEOF
84846 /* confdefs.h. */
84847 _ACEOF
84848 cat confdefs.h >>conftest.$ac_ext
84849 cat >>conftest.$ac_ext <<_ACEOF
84850 /* end confdefs.h. */
84851 $ac_includes_default
84852 #include <iconv.h>
84853 _ACEOF
84854 rm -f conftest.$ac_objext
84855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84856 (eval $ac_compile) 2>conftest.er1
84857 ac_status=$?
84858 grep -v '^ *+' conftest.er1 >conftest.err
84859 rm -f conftest.er1
84860 cat conftest.err >&5
84861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84862 (exit $ac_status); } &&
84863 { ac_try='test -z "$ac_c_werror_flag"
84864 || test ! -s conftest.err'
84865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84866 (eval $ac_try) 2>&5
84867 ac_status=$?
84868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84869 (exit $ac_status); }; } &&
84870 { ac_try='test -s conftest.$ac_objext'
84871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84872 (eval $ac_try) 2>&5
84873 ac_status=$?
84874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84875 (exit $ac_status); }; }; then
84876 ac_header_compiler=yes
84877 else
84878 echo "$as_me: failed program was:" >&5
84879 sed 's/^/| /' conftest.$ac_ext >&5
84881 ac_header_compiler=no
84883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84885 echo "${ECHO_T}$ac_header_compiler" >&6
84887 # Is the header present?
84888 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84889 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84890 cat >conftest.$ac_ext <<_ACEOF
84891 /* confdefs.h. */
84892 _ACEOF
84893 cat confdefs.h >>conftest.$ac_ext
84894 cat >>conftest.$ac_ext <<_ACEOF
84895 /* end confdefs.h. */
84896 #include <iconv.h>
84897 _ACEOF
84898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84900 ac_status=$?
84901 grep -v '^ *+' conftest.er1 >conftest.err
84902 rm -f conftest.er1
84903 cat conftest.err >&5
84904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84905 (exit $ac_status); } >/dev/null; then
84906 if test -s conftest.err; then
84907 ac_cpp_err=$ac_c_preproc_warn_flag
84908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84909 else
84910 ac_cpp_err=
84912 else
84913 ac_cpp_err=yes
84915 if test -z "$ac_cpp_err"; then
84916 ac_header_preproc=yes
84917 else
84918 echo "$as_me: failed program was:" >&5
84919 sed 's/^/| /' conftest.$ac_ext >&5
84921 ac_header_preproc=no
84923 rm -f conftest.err conftest.$ac_ext
84924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84925 echo "${ECHO_T}$ac_header_preproc" >&6
84927 # So? What about this header?
84928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84929 yes:no: )
84930 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84931 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84932 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84933 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84934 ac_header_preproc=yes
84936 no:yes:* )
84937 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84938 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84939 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84940 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84941 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84942 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84943 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84944 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84945 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84946 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84947 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84948 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84950 cat <<\_ASBOX
84951 ## ----------------------------------------- ##
84952 ## Report this to the package-unused lists. ##
84953 ## ----------------------------------------- ##
84954 _ASBOX
84956 sed "s/^/$as_me: WARNING: /" >&2
84958 esac
84959 echo "$as_me:$LINENO: checking for iconv.h" >&5
84960 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84961 if test "${ac_cv_header_iconv_h+set}" = set; then
84962 echo $ECHO_N "(cached) $ECHO_C" >&6
84963 else
84964 ac_cv_header_iconv_h=$ac_header_preproc
84966 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84967 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84970 if test $ac_cv_header_iconv_h = yes; then
84971 ac_has_iconv_h=yes
84972 else
84973 ac_has_iconv_h=no
84977 if test "${ac_cv_header_langinfo_h+set}" = set; then
84978 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84979 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84980 if test "${ac_cv_header_langinfo_h+set}" = set; then
84981 echo $ECHO_N "(cached) $ECHO_C" >&6
84983 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84984 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84985 else
84986 # Is the header compilable?
84987 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84988 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84989 cat >conftest.$ac_ext <<_ACEOF
84990 /* confdefs.h. */
84991 _ACEOF
84992 cat confdefs.h >>conftest.$ac_ext
84993 cat >>conftest.$ac_ext <<_ACEOF
84994 /* end confdefs.h. */
84995 $ac_includes_default
84996 #include <langinfo.h>
84997 _ACEOF
84998 rm -f conftest.$ac_objext
84999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85000 (eval $ac_compile) 2>conftest.er1
85001 ac_status=$?
85002 grep -v '^ *+' conftest.er1 >conftest.err
85003 rm -f conftest.er1
85004 cat conftest.err >&5
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); } &&
85007 { ac_try='test -z "$ac_c_werror_flag"
85008 || test ! -s conftest.err'
85009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85010 (eval $ac_try) 2>&5
85011 ac_status=$?
85012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85013 (exit $ac_status); }; } &&
85014 { ac_try='test -s conftest.$ac_objext'
85015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85016 (eval $ac_try) 2>&5
85017 ac_status=$?
85018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85019 (exit $ac_status); }; }; then
85020 ac_header_compiler=yes
85021 else
85022 echo "$as_me: failed program was:" >&5
85023 sed 's/^/| /' conftest.$ac_ext >&5
85025 ac_header_compiler=no
85027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85029 echo "${ECHO_T}$ac_header_compiler" >&6
85031 # Is the header present?
85032 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85033 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85034 cat >conftest.$ac_ext <<_ACEOF
85035 /* confdefs.h. */
85036 _ACEOF
85037 cat confdefs.h >>conftest.$ac_ext
85038 cat >>conftest.$ac_ext <<_ACEOF
85039 /* end confdefs.h. */
85040 #include <langinfo.h>
85041 _ACEOF
85042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85044 ac_status=$?
85045 grep -v '^ *+' conftest.er1 >conftest.err
85046 rm -f conftest.er1
85047 cat conftest.err >&5
85048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85049 (exit $ac_status); } >/dev/null; then
85050 if test -s conftest.err; then
85051 ac_cpp_err=$ac_c_preproc_warn_flag
85052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85053 else
85054 ac_cpp_err=
85056 else
85057 ac_cpp_err=yes
85059 if test -z "$ac_cpp_err"; then
85060 ac_header_preproc=yes
85061 else
85062 echo "$as_me: failed program was:" >&5
85063 sed 's/^/| /' conftest.$ac_ext >&5
85065 ac_header_preproc=no
85067 rm -f conftest.err conftest.$ac_ext
85068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85069 echo "${ECHO_T}$ac_header_preproc" >&6
85071 # So? What about this header?
85072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85073 yes:no: )
85074 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85075 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85076 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85077 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85078 ac_header_preproc=yes
85080 no:yes:* )
85081 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85082 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85083 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85084 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85085 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85086 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85087 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85088 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85089 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85090 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85091 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85092 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85094 cat <<\_ASBOX
85095 ## ----------------------------------------- ##
85096 ## Report this to the package-unused lists. ##
85097 ## ----------------------------------------- ##
85098 _ASBOX
85100 sed "s/^/$as_me: WARNING: /" >&2
85102 esac
85103 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85104 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85105 if test "${ac_cv_header_langinfo_h+set}" = set; then
85106 echo $ECHO_N "(cached) $ECHO_C" >&6
85107 else
85108 ac_cv_header_langinfo_h=$ac_header_preproc
85110 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85111 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85114 if test $ac_cv_header_langinfo_h = yes; then
85115 ac_has_langinfo_h=yes
85116 else
85117 ac_has_langinfo_h=no
85122 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85123 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85124 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85125 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85126 echo $ECHO_N "(cached) $ECHO_C" >&6
85127 else
85128 ac_check_lib_save_LIBS=$LIBS
85129 LIBS="-liconv $LIBS"
85130 if test x$gcc_no_link = xyes; then
85131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85133 { (exit 1); exit 1; }; }
85135 cat >conftest.$ac_ext <<_ACEOF
85136 /* confdefs.h. */
85137 _ACEOF
85138 cat confdefs.h >>conftest.$ac_ext
85139 cat >>conftest.$ac_ext <<_ACEOF
85140 /* end confdefs.h. */
85142 /* Override any gcc2 internal prototype to avoid an error. */
85143 #ifdef __cplusplus
85144 extern "C"
85145 #endif
85146 /* We use char because int might match the return type of a gcc2
85147 builtin and then its argument prototype would still apply. */
85148 char iconv ();
85150 main ()
85152 iconv ();
85154 return 0;
85156 _ACEOF
85157 rm -f conftest.$ac_objext conftest$ac_exeext
85158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85159 (eval $ac_link) 2>conftest.er1
85160 ac_status=$?
85161 grep -v '^ *+' conftest.er1 >conftest.err
85162 rm -f conftest.er1
85163 cat conftest.err >&5
85164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85165 (exit $ac_status); } &&
85166 { ac_try='test -z "$ac_c_werror_flag"
85167 || test ! -s conftest.err'
85168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85169 (eval $ac_try) 2>&5
85170 ac_status=$?
85171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85172 (exit $ac_status); }; } &&
85173 { ac_try='test -s conftest$ac_exeext'
85174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85175 (eval $ac_try) 2>&5
85176 ac_status=$?
85177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85178 (exit $ac_status); }; }; then
85179 ac_cv_lib_iconv_iconv=yes
85180 else
85181 echo "$as_me: failed program was:" >&5
85182 sed 's/^/| /' conftest.$ac_ext >&5
85184 ac_cv_lib_iconv_iconv=no
85186 rm -f conftest.err conftest.$ac_objext \
85187 conftest$ac_exeext conftest.$ac_ext
85188 LIBS=$ac_check_lib_save_LIBS
85190 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85191 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85192 if test $ac_cv_lib_iconv_iconv = yes; then
85193 LIBICONV="-liconv"
85196 ac_save_LIBS="$LIBS"
85197 LIBS="$LIBS $LIBICONV"
85204 for ac_func in iconv_open iconv_close iconv nl_langinfo
85206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85207 echo "$as_me:$LINENO: checking for $ac_func" >&5
85208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85209 if eval "test \"\${$as_ac_var+set}\" = set"; then
85210 echo $ECHO_N "(cached) $ECHO_C" >&6
85211 else
85212 if test x$gcc_no_link = xyes; then
85213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85215 { (exit 1); exit 1; }; }
85217 cat >conftest.$ac_ext <<_ACEOF
85218 /* confdefs.h. */
85219 _ACEOF
85220 cat confdefs.h >>conftest.$ac_ext
85221 cat >>conftest.$ac_ext <<_ACEOF
85222 /* end confdefs.h. */
85223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85225 #define $ac_func innocuous_$ac_func
85227 /* System header to define __stub macros and hopefully few prototypes,
85228 which can conflict with char $ac_func (); below.
85229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85230 <limits.h> exists even on freestanding compilers. */
85232 #ifdef __STDC__
85233 # include <limits.h>
85234 #else
85235 # include <assert.h>
85236 #endif
85238 #undef $ac_func
85240 /* Override any gcc2 internal prototype to avoid an error. */
85241 #ifdef __cplusplus
85242 extern "C"
85244 #endif
85245 /* We use char because int might match the return type of a gcc2
85246 builtin and then its argument prototype would still apply. */
85247 char $ac_func ();
85248 /* The GNU C library defines this for functions which it implements
85249 to always fail with ENOSYS. Some functions are actually named
85250 something starting with __ and the normal name is an alias. */
85251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85252 choke me
85253 #else
85254 char (*f) () = $ac_func;
85255 #endif
85256 #ifdef __cplusplus
85258 #endif
85261 main ()
85263 return f != $ac_func;
85265 return 0;
85267 _ACEOF
85268 rm -f conftest.$ac_objext conftest$ac_exeext
85269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85270 (eval $ac_link) 2>conftest.er1
85271 ac_status=$?
85272 grep -v '^ *+' conftest.er1 >conftest.err
85273 rm -f conftest.er1
85274 cat conftest.err >&5
85275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85276 (exit $ac_status); } &&
85277 { ac_try='test -z "$ac_c_werror_flag"
85278 || test ! -s conftest.err'
85279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85280 (eval $ac_try) 2>&5
85281 ac_status=$?
85282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85283 (exit $ac_status); }; } &&
85284 { ac_try='test -s conftest$ac_exeext'
85285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85286 (eval $ac_try) 2>&5
85287 ac_status=$?
85288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85289 (exit $ac_status); }; }; then
85290 eval "$as_ac_var=yes"
85291 else
85292 echo "$as_me: failed program was:" >&5
85293 sed 's/^/| /' conftest.$ac_ext >&5
85295 eval "$as_ac_var=no"
85297 rm -f conftest.err conftest.$ac_objext \
85298 conftest$ac_exeext conftest.$ac_ext
85300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85302 if test `eval echo '${'$as_ac_var'}'` = yes; then
85303 cat >>confdefs.h <<_ACEOF
85304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85305 _ACEOF
85306 ac_XPG2funcs=yes
85307 else
85308 ac_XPG2funcs=no
85310 done
85313 LIBS="$ac_save_LIBS"
85315 if test x"$ac_has_iconv_h" = xyes &&
85316 test x"$ac_has_langinfo_h" = xyes &&
85317 test x"$ac_XPG2funcs" = xyes;
85318 then
85320 cat >>confdefs.h <<\_ACEOF
85321 #define _GLIBCXX_USE_ICONV 1
85322 _ACEOF
85324 enable_iconv=yes
85327 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85328 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85329 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85330 echo "${ECHO_T}$enable_iconv" >&6
85332 # All of the dependencies for wide character support are here, so
85333 # turn it on. This requires some syncronization with the
85334 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85335 cat >>confdefs.h <<\_ACEOF
85336 #define _GLIBCXX_USE_WCHAR_T 1
85337 _ACEOF
85339 # Are these tested for even when cross?
85340 cat >>confdefs.h <<\_ACEOF
85341 #define HAVE_FLOAT_H 1
85342 _ACEOF
85344 cat >>confdefs.h <<\_ACEOF
85345 #define HAVE_IEEEFP_H 1
85346 _ACEOF
85348 cat >>confdefs.h <<\_ACEOF
85349 #define HAVE_INTTYPES_H 1
85350 _ACEOF
85352 cat >>confdefs.h <<\_ACEOF
85353 #define HAVE_LOCALE_H 1
85354 _ACEOF
85356 cat >>confdefs.h <<\_ACEOF
85357 #define HAVE_NAN_H 1
85358 _ACEOF
85360 cat >>confdefs.h <<\_ACEOF
85361 #define HAVE_SYS_FILIO_H 1
85362 _ACEOF
85364 cat >>confdefs.h <<\_ACEOF
85365 #define HAVE_SYS_IOCTL_H 1
85366 _ACEOF
85368 cat >>confdefs.h <<\_ACEOF
85369 #define HAVE_SYS_ISA_DEFS_H 1
85370 _ACEOF
85372 cat >>confdefs.h <<\_ACEOF
85373 #define HAVE_SYS_RESOURCE_H 1
85374 _ACEOF
85376 cat >>confdefs.h <<\_ACEOF
85377 #define HAVE_SYS_TIME_H 1
85378 _ACEOF
85380 cat >>confdefs.h <<\_ACEOF
85381 #define HAVE_SYS_TYPES_H 1
85382 _ACEOF
85384 cat >>confdefs.h <<\_ACEOF
85385 #define HAVE_UNISTD_H 1
85386 _ACEOF
85388 cat >>confdefs.h <<\_ACEOF
85389 #define HAVE_WCHAR_H 1
85390 _ACEOF
85392 cat >>confdefs.h <<\_ACEOF
85393 #define HAVE_WCTYPE_H 1
85394 _ACEOF
85396 cat >>confdefs.h <<\_ACEOF
85397 #define HAVE_LIBM 1
85398 _ACEOF
85401 esac
85402 case "$target" in
85403 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85404 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85405 cat >>confdefs.h <<\_ACEOF
85406 #define HAVE___BUILTIN_ABS 1
85407 _ACEOF
85409 cat >>confdefs.h <<\_ACEOF
85410 #define HAVE___BUILTIN_LABS 1
85411 _ACEOF
85413 cat >>confdefs.h <<\_ACEOF
85414 #define HAVE___BUILTIN_FABS 1
85415 _ACEOF
85417 cat >>confdefs.h <<\_ACEOF
85418 #define HAVE___BUILTIN_FABSF 1
85419 _ACEOF
85421 cat >>confdefs.h <<\_ACEOF
85422 #define HAVE___BUILTIN_FABSL 1
85423 _ACEOF
85425 cat >>confdefs.h <<\_ACEOF
85426 #define HAVE___BUILTIN_COS 1
85427 _ACEOF
85429 cat >>confdefs.h <<\_ACEOF
85430 #define HAVE___BUILTIN_COSF 1
85431 _ACEOF
85433 cat >>confdefs.h <<\_ACEOF
85434 #define HAVE___BUILTIN_SIN 1
85435 _ACEOF
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE___BUILTIN_SINF 1
85439 _ACEOF
85442 esac
85443 case "$target" in
85444 *-*-solaris2.10)
85445 # These two C99 functions are present only in Solaris >= 10
85446 cat >>confdefs.h <<\_ACEOF
85447 #define HAVE_STRTOF 1
85448 _ACEOF
85450 cat >>confdefs.h <<\_ACEOF
85451 #define HAVE_STRTOLD 1
85452 _ACEOF
85455 esac
85456 cat >>confdefs.h <<\_ACEOF
85457 #define HAVE_MMAP 1
85458 _ACEOF
85460 cat >>confdefs.h <<\_ACEOF
85461 #define HAVE_COPYSIGN 1
85462 _ACEOF
85464 cat >>confdefs.h <<\_ACEOF
85465 #define HAVE_ISNAN 1
85466 _ACEOF
85468 cat >>confdefs.h <<\_ACEOF
85469 #define HAVE_ISNANF 1
85470 _ACEOF
85472 cat >>confdefs.h <<\_ACEOF
85473 #define HAVE_MODFF 1
85474 _ACEOF
85476 cat >>confdefs.h <<\_ACEOF
85477 #define HAVE_HYPOT 1
85478 _ACEOF
85481 *-tpf)
85490 for ac_header in nan.h endian.h machine/endian.h \
85491 sys/param.h sys/types.h locale.h float.h inttypes.h
85493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85495 echo "$as_me:$LINENO: checking for $ac_header" >&5
85496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85498 echo $ECHO_N "(cached) $ECHO_C" >&6
85500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85502 else
85503 # Is the header compilable?
85504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85506 cat >conftest.$ac_ext <<_ACEOF
85507 /* confdefs.h. */
85508 _ACEOF
85509 cat confdefs.h >>conftest.$ac_ext
85510 cat >>conftest.$ac_ext <<_ACEOF
85511 /* end confdefs.h. */
85512 $ac_includes_default
85513 #include <$ac_header>
85514 _ACEOF
85515 rm -f conftest.$ac_objext
85516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85517 (eval $ac_compile) 2>conftest.er1
85518 ac_status=$?
85519 grep -v '^ *+' conftest.er1 >conftest.err
85520 rm -f conftest.er1
85521 cat conftest.err >&5
85522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85523 (exit $ac_status); } &&
85524 { ac_try='test -z "$ac_c_werror_flag"
85525 || test ! -s conftest.err'
85526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85527 (eval $ac_try) 2>&5
85528 ac_status=$?
85529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85530 (exit $ac_status); }; } &&
85531 { ac_try='test -s conftest.$ac_objext'
85532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533 (eval $ac_try) 2>&5
85534 ac_status=$?
85535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536 (exit $ac_status); }; }; then
85537 ac_header_compiler=yes
85538 else
85539 echo "$as_me: failed program was:" >&5
85540 sed 's/^/| /' conftest.$ac_ext >&5
85542 ac_header_compiler=no
85544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85546 echo "${ECHO_T}$ac_header_compiler" >&6
85548 # Is the header present?
85549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85551 cat >conftest.$ac_ext <<_ACEOF
85552 /* confdefs.h. */
85553 _ACEOF
85554 cat confdefs.h >>conftest.$ac_ext
85555 cat >>conftest.$ac_ext <<_ACEOF
85556 /* end confdefs.h. */
85557 #include <$ac_header>
85558 _ACEOF
85559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85560 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85561 ac_status=$?
85562 grep -v '^ *+' conftest.er1 >conftest.err
85563 rm -f conftest.er1
85564 cat conftest.err >&5
85565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85566 (exit $ac_status); } >/dev/null; then
85567 if test -s conftest.err; then
85568 ac_cpp_err=$ac_c_preproc_warn_flag
85569 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85570 else
85571 ac_cpp_err=
85573 else
85574 ac_cpp_err=yes
85576 if test -z "$ac_cpp_err"; then
85577 ac_header_preproc=yes
85578 else
85579 echo "$as_me: failed program was:" >&5
85580 sed 's/^/| /' conftest.$ac_ext >&5
85582 ac_header_preproc=no
85584 rm -f conftest.err conftest.$ac_ext
85585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85586 echo "${ECHO_T}$ac_header_preproc" >&6
85588 # So? What about this header?
85589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85590 yes:no: )
85591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85595 ac_header_preproc=yes
85597 no:yes:* )
85598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85611 cat <<\_ASBOX
85612 ## ----------------------------------------- ##
85613 ## Report this to the package-unused lists. ##
85614 ## ----------------------------------------- ##
85615 _ASBOX
85617 sed "s/^/$as_me: WARNING: /" >&2
85619 esac
85620 echo "$as_me:$LINENO: checking for $ac_header" >&5
85621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85623 echo $ECHO_N "(cached) $ECHO_C" >&6
85624 else
85625 eval "$as_ac_Header=\$ac_header_preproc"
85627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85632 cat >>confdefs.h <<_ACEOF
85633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85634 _ACEOF
85638 done
85640 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85643 # If we're not using GNU ld, then there's no point in even trying these
85644 # tests. Check for that first. We should have already tested for gld
85645 # by now (in libtool), but require it now just to be safe...
85646 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85647 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85651 # The name set by libtool depends on the version of libtool. Shame on us
85652 # for depending on an impl detail, but c'est la vie. Older versions used
85653 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85654 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85655 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85656 # set (hence we're using an older libtool), then set it.
85657 if test x${with_gnu_ld+set} != xset; then
85658 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85659 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85660 with_gnu_ld=no
85661 else
85662 with_gnu_ld=$ac_cv_prog_gnu_ld
85666 # Start by getting the version number. I think the libtool test already
85667 # does some of this, but throws away the result.
85669 ldver=`$LD --version 2>/dev/null | head -1 | \
85670 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85672 glibcxx_gnu_ld_version=`echo $ldver | \
85673 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85675 # Set --gc-sections.
85676 if test "$with_gnu_ld" = "notbroken"; then
85677 # GNU ld it is! Joy and bunny rabbits!
85679 # All these tests are for C++; save the language and the compiler flags.
85680 # Need to do this so that g++ won't try to link in libstdc++
85681 ac_test_CFLAGS="${CFLAGS+set}"
85682 ac_save_CFLAGS="$CFLAGS"
85683 CFLAGS='-x c++ -Wl,--gc-sections'
85685 # Check for -Wl,--gc-sections
85686 # XXX This test is broken at the moment, as symbols required for linking
85687 # are now in libsupc++ (not built yet). In addition, this test has
85688 # cored on solaris in the past. In addition, --gc-sections doesn't
85689 # really work at the moment (keeps on discarding used sections, first
85690 # .eh_frame and now some of the glibc sections for iconv).
85691 # Bzzzzt. Thanks for playing, maybe next time.
85692 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85693 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85694 if test "$cross_compiling" = yes; then
85695 ac_sectionLDflags=yes
85696 else
85697 cat >conftest.$ac_ext <<_ACEOF
85698 /* confdefs.h. */
85699 _ACEOF
85700 cat confdefs.h >>conftest.$ac_ext
85701 cat >>conftest.$ac_ext <<_ACEOF
85702 /* end confdefs.h. */
85704 int main(void)
85706 try { throw 1; }
85707 catch (...) { };
85708 return 0;
85711 _ACEOF
85712 rm -f conftest$ac_exeext
85713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85714 (eval $ac_link) 2>&5
85715 ac_status=$?
85716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85719 (eval $ac_try) 2>&5
85720 ac_status=$?
85721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85722 (exit $ac_status); }; }; then
85723 ac_sectionLDflags=yes
85724 else
85725 echo "$as_me: program exited with status $ac_status" >&5
85726 echo "$as_me: failed program was:" >&5
85727 sed 's/^/| /' conftest.$ac_ext >&5
85729 ( exit $ac_status )
85730 ac_sectionLDflags=no
85732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85734 if test "$ac_test_CFLAGS" = set; then
85735 CFLAGS="$ac_save_CFLAGS"
85736 else
85737 # this is the suspicious part
85738 CFLAGS=''
85740 if test "$ac_sectionLDflags" = "yes"; then
85741 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85743 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85744 echo "${ECHO_T}$ac_sectionLDflags" >&6
85747 # Set linker optimization flags.
85748 if test x"$with_gnu_ld" = x"yes"; then
85749 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85757 echo "$as_me:$LINENO: checking for main in -lm" >&5
85758 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85759 if test "${ac_cv_lib_m_main+set}" = set; then
85760 echo $ECHO_N "(cached) $ECHO_C" >&6
85761 else
85762 ac_check_lib_save_LIBS=$LIBS
85763 LIBS="-lm $LIBS"
85764 if test x$gcc_no_link = xyes; then
85765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85767 { (exit 1); exit 1; }; }
85769 cat >conftest.$ac_ext <<_ACEOF
85770 /* confdefs.h. */
85771 _ACEOF
85772 cat confdefs.h >>conftest.$ac_ext
85773 cat >>conftest.$ac_ext <<_ACEOF
85774 /* end confdefs.h. */
85778 main ()
85780 main ();
85782 return 0;
85784 _ACEOF
85785 rm -f conftest.$ac_objext conftest$ac_exeext
85786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85787 (eval $ac_link) 2>conftest.er1
85788 ac_status=$?
85789 grep -v '^ *+' conftest.er1 >conftest.err
85790 rm -f conftest.er1
85791 cat conftest.err >&5
85792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85793 (exit $ac_status); } &&
85794 { ac_try='test -z "$ac_c_werror_flag"
85795 || test ! -s conftest.err'
85796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85797 (eval $ac_try) 2>&5
85798 ac_status=$?
85799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85800 (exit $ac_status); }; } &&
85801 { ac_try='test -s conftest$ac_exeext'
85802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85803 (eval $ac_try) 2>&5
85804 ac_status=$?
85805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85806 (exit $ac_status); }; }; then
85807 ac_cv_lib_m_main=yes
85808 else
85809 echo "$as_me: failed program was:" >&5
85810 sed 's/^/| /' conftest.$ac_ext >&5
85812 ac_cv_lib_m_main=no
85814 rm -f conftest.err conftest.$ac_objext \
85815 conftest$ac_exeext conftest.$ac_ext
85816 LIBS=$ac_check_lib_save_LIBS
85818 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85819 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85820 if test $ac_cv_lib_m_main = yes; then
85821 cat >>confdefs.h <<_ACEOF
85822 #define HAVE_LIBM 1
85823 _ACEOF
85825 LIBS="-lm $LIBS"
85830 for ac_func in copysignf
85832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85833 echo "$as_me:$LINENO: checking for $ac_func" >&5
85834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85835 if eval "test \"\${$as_ac_var+set}\" = set"; then
85836 echo $ECHO_N "(cached) $ECHO_C" >&6
85837 else
85838 if test x$gcc_no_link = xyes; then
85839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85841 { (exit 1); exit 1; }; }
85843 cat >conftest.$ac_ext <<_ACEOF
85844 /* confdefs.h. */
85845 _ACEOF
85846 cat confdefs.h >>conftest.$ac_ext
85847 cat >>conftest.$ac_ext <<_ACEOF
85848 /* end confdefs.h. */
85849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85851 #define $ac_func innocuous_$ac_func
85853 /* System header to define __stub macros and hopefully few prototypes,
85854 which can conflict with char $ac_func (); below.
85855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85856 <limits.h> exists even on freestanding compilers. */
85858 #ifdef __STDC__
85859 # include <limits.h>
85860 #else
85861 # include <assert.h>
85862 #endif
85864 #undef $ac_func
85866 /* Override any gcc2 internal prototype to avoid an error. */
85867 #ifdef __cplusplus
85868 extern "C"
85870 #endif
85871 /* We use char because int might match the return type of a gcc2
85872 builtin and then its argument prototype would still apply. */
85873 char $ac_func ();
85874 /* The GNU C library defines this for functions which it implements
85875 to always fail with ENOSYS. Some functions are actually named
85876 something starting with __ and the normal name is an alias. */
85877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85878 choke me
85879 #else
85880 char (*f) () = $ac_func;
85881 #endif
85882 #ifdef __cplusplus
85884 #endif
85887 main ()
85889 return f != $ac_func;
85891 return 0;
85893 _ACEOF
85894 rm -f conftest.$ac_objext conftest$ac_exeext
85895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85896 (eval $ac_link) 2>conftest.er1
85897 ac_status=$?
85898 grep -v '^ *+' conftest.er1 >conftest.err
85899 rm -f conftest.er1
85900 cat conftest.err >&5
85901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85902 (exit $ac_status); } &&
85903 { ac_try='test -z "$ac_c_werror_flag"
85904 || test ! -s conftest.err'
85905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85906 (eval $ac_try) 2>&5
85907 ac_status=$?
85908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85909 (exit $ac_status); }; } &&
85910 { ac_try='test -s conftest$ac_exeext'
85911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85912 (eval $ac_try) 2>&5
85913 ac_status=$?
85914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85915 (exit $ac_status); }; }; then
85916 eval "$as_ac_var=yes"
85917 else
85918 echo "$as_me: failed program was:" >&5
85919 sed 's/^/| /' conftest.$ac_ext >&5
85921 eval "$as_ac_var=no"
85923 rm -f conftest.err conftest.$ac_objext \
85924 conftest$ac_exeext conftest.$ac_ext
85926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85928 if test `eval echo '${'$as_ac_var'}'` = yes; then
85929 cat >>confdefs.h <<_ACEOF
85930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85931 _ACEOF
85933 else
85934 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85936 done
85940 for ac_func in __signbit
85942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85943 echo "$as_me:$LINENO: checking for $ac_func" >&5
85944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85945 if eval "test \"\${$as_ac_var+set}\" = set"; then
85946 echo $ECHO_N "(cached) $ECHO_C" >&6
85947 else
85948 if test x$gcc_no_link = xyes; then
85949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85951 { (exit 1); exit 1; }; }
85953 cat >conftest.$ac_ext <<_ACEOF
85954 /* confdefs.h. */
85955 _ACEOF
85956 cat confdefs.h >>conftest.$ac_ext
85957 cat >>conftest.$ac_ext <<_ACEOF
85958 /* end confdefs.h. */
85959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85961 #define $ac_func innocuous_$ac_func
85963 /* System header to define __stub macros and hopefully few prototypes,
85964 which can conflict with char $ac_func (); below.
85965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85966 <limits.h> exists even on freestanding compilers. */
85968 #ifdef __STDC__
85969 # include <limits.h>
85970 #else
85971 # include <assert.h>
85972 #endif
85974 #undef $ac_func
85976 /* Override any gcc2 internal prototype to avoid an error. */
85977 #ifdef __cplusplus
85978 extern "C"
85980 #endif
85981 /* We use char because int might match the return type of a gcc2
85982 builtin and then its argument prototype would still apply. */
85983 char $ac_func ();
85984 /* The GNU C library defines this for functions which it implements
85985 to always fail with ENOSYS. Some functions are actually named
85986 something starting with __ and the normal name is an alias. */
85987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85988 choke me
85989 #else
85990 char (*f) () = $ac_func;
85991 #endif
85992 #ifdef __cplusplus
85994 #endif
85997 main ()
85999 return f != $ac_func;
86001 return 0;
86003 _ACEOF
86004 rm -f conftest.$ac_objext conftest$ac_exeext
86005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86006 (eval $ac_link) 2>conftest.er1
86007 ac_status=$?
86008 grep -v '^ *+' conftest.er1 >conftest.err
86009 rm -f conftest.er1
86010 cat conftest.err >&5
86011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86012 (exit $ac_status); } &&
86013 { ac_try='test -z "$ac_c_werror_flag"
86014 || test ! -s conftest.err'
86015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86016 (eval $ac_try) 2>&5
86017 ac_status=$?
86018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86019 (exit $ac_status); }; } &&
86020 { ac_try='test -s conftest$ac_exeext'
86021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86022 (eval $ac_try) 2>&5
86023 ac_status=$?
86024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86025 (exit $ac_status); }; }; then
86026 eval "$as_ac_var=yes"
86027 else
86028 echo "$as_me: failed program was:" >&5
86029 sed 's/^/| /' conftest.$ac_ext >&5
86031 eval "$as_ac_var=no"
86033 rm -f conftest.err conftest.$ac_objext \
86034 conftest$ac_exeext conftest.$ac_ext
86036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86038 if test `eval echo '${'$as_ac_var'}'` = yes; then
86039 cat >>confdefs.h <<_ACEOF
86040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86041 _ACEOF
86043 else
86044 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86046 done
86050 for ac_func in __signbitf
86052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86053 echo "$as_me:$LINENO: checking for $ac_func" >&5
86054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86055 if eval "test \"\${$as_ac_var+set}\" = set"; then
86056 echo $ECHO_N "(cached) $ECHO_C" >&6
86057 else
86058 if test x$gcc_no_link = xyes; then
86059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86061 { (exit 1); exit 1; }; }
86063 cat >conftest.$ac_ext <<_ACEOF
86064 /* confdefs.h. */
86065 _ACEOF
86066 cat confdefs.h >>conftest.$ac_ext
86067 cat >>conftest.$ac_ext <<_ACEOF
86068 /* end confdefs.h. */
86069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86071 #define $ac_func innocuous_$ac_func
86073 /* System header to define __stub macros and hopefully few prototypes,
86074 which can conflict with char $ac_func (); below.
86075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86076 <limits.h> exists even on freestanding compilers. */
86078 #ifdef __STDC__
86079 # include <limits.h>
86080 #else
86081 # include <assert.h>
86082 #endif
86084 #undef $ac_func
86086 /* Override any gcc2 internal prototype to avoid an error. */
86087 #ifdef __cplusplus
86088 extern "C"
86090 #endif
86091 /* We use char because int might match the return type of a gcc2
86092 builtin and then its argument prototype would still apply. */
86093 char $ac_func ();
86094 /* The GNU C library defines this for functions which it implements
86095 to always fail with ENOSYS. Some functions are actually named
86096 something starting with __ and the normal name is an alias. */
86097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86098 choke me
86099 #else
86100 char (*f) () = $ac_func;
86101 #endif
86102 #ifdef __cplusplus
86104 #endif
86107 main ()
86109 return f != $ac_func;
86111 return 0;
86113 _ACEOF
86114 rm -f conftest.$ac_objext conftest$ac_exeext
86115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86116 (eval $ac_link) 2>conftest.er1
86117 ac_status=$?
86118 grep -v '^ *+' conftest.er1 >conftest.err
86119 rm -f conftest.er1
86120 cat conftest.err >&5
86121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122 (exit $ac_status); } &&
86123 { ac_try='test -z "$ac_c_werror_flag"
86124 || test ! -s conftest.err'
86125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86126 (eval $ac_try) 2>&5
86127 ac_status=$?
86128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86129 (exit $ac_status); }; } &&
86130 { ac_try='test -s conftest$ac_exeext'
86131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86132 (eval $ac_try) 2>&5
86133 ac_status=$?
86134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86135 (exit $ac_status); }; }; then
86136 eval "$as_ac_var=yes"
86137 else
86138 echo "$as_me: failed program was:" >&5
86139 sed 's/^/| /' conftest.$ac_ext >&5
86141 eval "$as_ac_var=no"
86143 rm -f conftest.err conftest.$ac_objext \
86144 conftest$ac_exeext conftest.$ac_ext
86146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86148 if test `eval echo '${'$as_ac_var'}'` = yes; then
86149 cat >>confdefs.h <<_ACEOF
86150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86151 _ACEOF
86153 else
86154 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86156 done
86159 if test x$ac_cv_func_copysignl = x"yes"; then
86161 for ac_func in __signbitl
86163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86164 echo "$as_me:$LINENO: checking for $ac_func" >&5
86165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86166 if eval "test \"\${$as_ac_var+set}\" = set"; then
86167 echo $ECHO_N "(cached) $ECHO_C" >&6
86168 else
86169 if test x$gcc_no_link = xyes; then
86170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86172 { (exit 1); exit 1; }; }
86174 cat >conftest.$ac_ext <<_ACEOF
86175 /* confdefs.h. */
86176 _ACEOF
86177 cat confdefs.h >>conftest.$ac_ext
86178 cat >>conftest.$ac_ext <<_ACEOF
86179 /* end confdefs.h. */
86180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86182 #define $ac_func innocuous_$ac_func
86184 /* System header to define __stub macros and hopefully few prototypes,
86185 which can conflict with char $ac_func (); below.
86186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86187 <limits.h> exists even on freestanding compilers. */
86189 #ifdef __STDC__
86190 # include <limits.h>
86191 #else
86192 # include <assert.h>
86193 #endif
86195 #undef $ac_func
86197 /* Override any gcc2 internal prototype to avoid an error. */
86198 #ifdef __cplusplus
86199 extern "C"
86201 #endif
86202 /* We use char because int might match the return type of a gcc2
86203 builtin and then its argument prototype would still apply. */
86204 char $ac_func ();
86205 /* The GNU C library defines this for functions which it implements
86206 to always fail with ENOSYS. Some functions are actually named
86207 something starting with __ and the normal name is an alias. */
86208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86209 choke me
86210 #else
86211 char (*f) () = $ac_func;
86212 #endif
86213 #ifdef __cplusplus
86215 #endif
86218 main ()
86220 return f != $ac_func;
86222 return 0;
86224 _ACEOF
86225 rm -f conftest.$ac_objext conftest$ac_exeext
86226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86227 (eval $ac_link) 2>conftest.er1
86228 ac_status=$?
86229 grep -v '^ *+' conftest.er1 >conftest.err
86230 rm -f conftest.er1
86231 cat conftest.err >&5
86232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233 (exit $ac_status); } &&
86234 { ac_try='test -z "$ac_c_werror_flag"
86235 || test ! -s conftest.err'
86236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86237 (eval $ac_try) 2>&5
86238 ac_status=$?
86239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86240 (exit $ac_status); }; } &&
86241 { ac_try='test -s conftest$ac_exeext'
86242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86243 (eval $ac_try) 2>&5
86244 ac_status=$?
86245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86246 (exit $ac_status); }; }; then
86247 eval "$as_ac_var=yes"
86248 else
86249 echo "$as_me: failed program was:" >&5
86250 sed 's/^/| /' conftest.$ac_ext >&5
86252 eval "$as_ac_var=no"
86254 rm -f conftest.err conftest.$ac_objext \
86255 conftest$ac_exeext conftest.$ac_ext
86257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86259 if test `eval echo '${'$as_ac_var'}'` = yes; then
86260 cat >>confdefs.h <<_ACEOF
86261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86262 _ACEOF
86264 else
86265 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86267 done
86271 # Used in libmath/Makefile.am.
86272 if test -n "$LIBMATHOBJS"; then
86273 need_libmath=yes
86279 enable_iconv=no
86280 # Only continue checking if the ISO C99 headers exist and support is on.
86281 if test x"$enable_wchar_t" = xyes; then
86283 # Use iconv for wchar_t to char conversions. As such, check for
86284 # X/Open Portability Guide, version 2 features (XPG2).
86285 if test "${ac_cv_header_iconv_h+set}" = set; then
86286 echo "$as_me:$LINENO: checking for iconv.h" >&5
86287 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86288 if test "${ac_cv_header_iconv_h+set}" = set; then
86289 echo $ECHO_N "(cached) $ECHO_C" >&6
86291 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86292 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86293 else
86294 # Is the header compilable?
86295 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86296 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86297 cat >conftest.$ac_ext <<_ACEOF
86298 /* confdefs.h. */
86299 _ACEOF
86300 cat confdefs.h >>conftest.$ac_ext
86301 cat >>conftest.$ac_ext <<_ACEOF
86302 /* end confdefs.h. */
86303 $ac_includes_default
86304 #include <iconv.h>
86305 _ACEOF
86306 rm -f conftest.$ac_objext
86307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86308 (eval $ac_compile) 2>conftest.er1
86309 ac_status=$?
86310 grep -v '^ *+' conftest.er1 >conftest.err
86311 rm -f conftest.er1
86312 cat conftest.err >&5
86313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86314 (exit $ac_status); } &&
86315 { ac_try='test -z "$ac_c_werror_flag"
86316 || test ! -s conftest.err'
86317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86318 (eval $ac_try) 2>&5
86319 ac_status=$?
86320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86321 (exit $ac_status); }; } &&
86322 { ac_try='test -s conftest.$ac_objext'
86323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86324 (eval $ac_try) 2>&5
86325 ac_status=$?
86326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86327 (exit $ac_status); }; }; then
86328 ac_header_compiler=yes
86329 else
86330 echo "$as_me: failed program was:" >&5
86331 sed 's/^/| /' conftest.$ac_ext >&5
86333 ac_header_compiler=no
86335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86337 echo "${ECHO_T}$ac_header_compiler" >&6
86339 # Is the header present?
86340 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86341 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86342 cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h. */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h. */
86348 #include <iconv.h>
86349 _ACEOF
86350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86352 ac_status=$?
86353 grep -v '^ *+' conftest.er1 >conftest.err
86354 rm -f conftest.er1
86355 cat conftest.err >&5
86356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86357 (exit $ac_status); } >/dev/null; then
86358 if test -s conftest.err; then
86359 ac_cpp_err=$ac_c_preproc_warn_flag
86360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86361 else
86362 ac_cpp_err=
86364 else
86365 ac_cpp_err=yes
86367 if test -z "$ac_cpp_err"; then
86368 ac_header_preproc=yes
86369 else
86370 echo "$as_me: failed program was:" >&5
86371 sed 's/^/| /' conftest.$ac_ext >&5
86373 ac_header_preproc=no
86375 rm -f conftest.err conftest.$ac_ext
86376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86377 echo "${ECHO_T}$ac_header_preproc" >&6
86379 # So? What about this header?
86380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86381 yes:no: )
86382 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86383 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86384 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86385 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86386 ac_header_preproc=yes
86388 no:yes:* )
86389 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86390 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86391 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86392 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86393 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86394 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86395 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86396 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86397 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86398 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86399 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86400 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86402 cat <<\_ASBOX
86403 ## ----------------------------------------- ##
86404 ## Report this to the package-unused lists. ##
86405 ## ----------------------------------------- ##
86406 _ASBOX
86408 sed "s/^/$as_me: WARNING: /" >&2
86410 esac
86411 echo "$as_me:$LINENO: checking for iconv.h" >&5
86412 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86413 if test "${ac_cv_header_iconv_h+set}" = set; then
86414 echo $ECHO_N "(cached) $ECHO_C" >&6
86415 else
86416 ac_cv_header_iconv_h=$ac_header_preproc
86418 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86419 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86422 if test $ac_cv_header_iconv_h = yes; then
86423 ac_has_iconv_h=yes
86424 else
86425 ac_has_iconv_h=no
86429 if test "${ac_cv_header_langinfo_h+set}" = set; then
86430 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86431 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86432 if test "${ac_cv_header_langinfo_h+set}" = set; then
86433 echo $ECHO_N "(cached) $ECHO_C" >&6
86435 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86436 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86437 else
86438 # Is the header compilable?
86439 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86440 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86441 cat >conftest.$ac_ext <<_ACEOF
86442 /* confdefs.h. */
86443 _ACEOF
86444 cat confdefs.h >>conftest.$ac_ext
86445 cat >>conftest.$ac_ext <<_ACEOF
86446 /* end confdefs.h. */
86447 $ac_includes_default
86448 #include <langinfo.h>
86449 _ACEOF
86450 rm -f conftest.$ac_objext
86451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86452 (eval $ac_compile) 2>conftest.er1
86453 ac_status=$?
86454 grep -v '^ *+' conftest.er1 >conftest.err
86455 rm -f conftest.er1
86456 cat conftest.err >&5
86457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86458 (exit $ac_status); } &&
86459 { ac_try='test -z "$ac_c_werror_flag"
86460 || test ! -s conftest.err'
86461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86462 (eval $ac_try) 2>&5
86463 ac_status=$?
86464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86465 (exit $ac_status); }; } &&
86466 { ac_try='test -s conftest.$ac_objext'
86467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86468 (eval $ac_try) 2>&5
86469 ac_status=$?
86470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86471 (exit $ac_status); }; }; then
86472 ac_header_compiler=yes
86473 else
86474 echo "$as_me: failed program was:" >&5
86475 sed 's/^/| /' conftest.$ac_ext >&5
86477 ac_header_compiler=no
86479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86481 echo "${ECHO_T}$ac_header_compiler" >&6
86483 # Is the header present?
86484 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86485 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86486 cat >conftest.$ac_ext <<_ACEOF
86487 /* confdefs.h. */
86488 _ACEOF
86489 cat confdefs.h >>conftest.$ac_ext
86490 cat >>conftest.$ac_ext <<_ACEOF
86491 /* end confdefs.h. */
86492 #include <langinfo.h>
86493 _ACEOF
86494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86496 ac_status=$?
86497 grep -v '^ *+' conftest.er1 >conftest.err
86498 rm -f conftest.er1
86499 cat conftest.err >&5
86500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86501 (exit $ac_status); } >/dev/null; then
86502 if test -s conftest.err; then
86503 ac_cpp_err=$ac_c_preproc_warn_flag
86504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86505 else
86506 ac_cpp_err=
86508 else
86509 ac_cpp_err=yes
86511 if test -z "$ac_cpp_err"; then
86512 ac_header_preproc=yes
86513 else
86514 echo "$as_me: failed program was:" >&5
86515 sed 's/^/| /' conftest.$ac_ext >&5
86517 ac_header_preproc=no
86519 rm -f conftest.err conftest.$ac_ext
86520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86521 echo "${ECHO_T}$ac_header_preproc" >&6
86523 # So? What about this header?
86524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86525 yes:no: )
86526 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86527 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86528 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86529 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86530 ac_header_preproc=yes
86532 no:yes:* )
86533 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86534 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86535 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86536 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86537 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86538 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86539 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86540 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86541 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86542 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86543 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86544 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86546 cat <<\_ASBOX
86547 ## ----------------------------------------- ##
86548 ## Report this to the package-unused lists. ##
86549 ## ----------------------------------------- ##
86550 _ASBOX
86552 sed "s/^/$as_me: WARNING: /" >&2
86554 esac
86555 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86556 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86557 if test "${ac_cv_header_langinfo_h+set}" = set; then
86558 echo $ECHO_N "(cached) $ECHO_C" >&6
86559 else
86560 ac_cv_header_langinfo_h=$ac_header_preproc
86562 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86563 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86566 if test $ac_cv_header_langinfo_h = yes; then
86567 ac_has_langinfo_h=yes
86568 else
86569 ac_has_langinfo_h=no
86574 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86575 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86576 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86577 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86578 echo $ECHO_N "(cached) $ECHO_C" >&6
86579 else
86580 ac_check_lib_save_LIBS=$LIBS
86581 LIBS="-liconv $LIBS"
86582 if test x$gcc_no_link = xyes; then
86583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86585 { (exit 1); exit 1; }; }
86587 cat >conftest.$ac_ext <<_ACEOF
86588 /* confdefs.h. */
86589 _ACEOF
86590 cat confdefs.h >>conftest.$ac_ext
86591 cat >>conftest.$ac_ext <<_ACEOF
86592 /* end confdefs.h. */
86594 /* Override any gcc2 internal prototype to avoid an error. */
86595 #ifdef __cplusplus
86596 extern "C"
86597 #endif
86598 /* We use char because int might match the return type of a gcc2
86599 builtin and then its argument prototype would still apply. */
86600 char iconv ();
86602 main ()
86604 iconv ();
86606 return 0;
86608 _ACEOF
86609 rm -f conftest.$ac_objext conftest$ac_exeext
86610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86611 (eval $ac_link) 2>conftest.er1
86612 ac_status=$?
86613 grep -v '^ *+' conftest.er1 >conftest.err
86614 rm -f conftest.er1
86615 cat conftest.err >&5
86616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86617 (exit $ac_status); } &&
86618 { ac_try='test -z "$ac_c_werror_flag"
86619 || test ! -s conftest.err'
86620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86621 (eval $ac_try) 2>&5
86622 ac_status=$?
86623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86624 (exit $ac_status); }; } &&
86625 { ac_try='test -s conftest$ac_exeext'
86626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86627 (eval $ac_try) 2>&5
86628 ac_status=$?
86629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86630 (exit $ac_status); }; }; then
86631 ac_cv_lib_iconv_iconv=yes
86632 else
86633 echo "$as_me: failed program was:" >&5
86634 sed 's/^/| /' conftest.$ac_ext >&5
86636 ac_cv_lib_iconv_iconv=no
86638 rm -f conftest.err conftest.$ac_objext \
86639 conftest$ac_exeext conftest.$ac_ext
86640 LIBS=$ac_check_lib_save_LIBS
86642 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86643 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86644 if test $ac_cv_lib_iconv_iconv = yes; then
86645 LIBICONV="-liconv"
86648 ac_save_LIBS="$LIBS"
86649 LIBS="$LIBS $LIBICONV"
86656 for ac_func in iconv_open iconv_close iconv nl_langinfo
86658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86659 echo "$as_me:$LINENO: checking for $ac_func" >&5
86660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86661 if eval "test \"\${$as_ac_var+set}\" = set"; then
86662 echo $ECHO_N "(cached) $ECHO_C" >&6
86663 else
86664 if test x$gcc_no_link = xyes; then
86665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86667 { (exit 1); exit 1; }; }
86669 cat >conftest.$ac_ext <<_ACEOF
86670 /* confdefs.h. */
86671 _ACEOF
86672 cat confdefs.h >>conftest.$ac_ext
86673 cat >>conftest.$ac_ext <<_ACEOF
86674 /* end confdefs.h. */
86675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86677 #define $ac_func innocuous_$ac_func
86679 /* System header to define __stub macros and hopefully few prototypes,
86680 which can conflict with char $ac_func (); below.
86681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86682 <limits.h> exists even on freestanding compilers. */
86684 #ifdef __STDC__
86685 # include <limits.h>
86686 #else
86687 # include <assert.h>
86688 #endif
86690 #undef $ac_func
86692 /* Override any gcc2 internal prototype to avoid an error. */
86693 #ifdef __cplusplus
86694 extern "C"
86696 #endif
86697 /* We use char because int might match the return type of a gcc2
86698 builtin and then its argument prototype would still apply. */
86699 char $ac_func ();
86700 /* The GNU C library defines this for functions which it implements
86701 to always fail with ENOSYS. Some functions are actually named
86702 something starting with __ and the normal name is an alias. */
86703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86704 choke me
86705 #else
86706 char (*f) () = $ac_func;
86707 #endif
86708 #ifdef __cplusplus
86710 #endif
86713 main ()
86715 return f != $ac_func;
86717 return 0;
86719 _ACEOF
86720 rm -f conftest.$ac_objext conftest$ac_exeext
86721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86722 (eval $ac_link) 2>conftest.er1
86723 ac_status=$?
86724 grep -v '^ *+' conftest.er1 >conftest.err
86725 rm -f conftest.er1
86726 cat conftest.err >&5
86727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86728 (exit $ac_status); } &&
86729 { ac_try='test -z "$ac_c_werror_flag"
86730 || test ! -s conftest.err'
86731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86732 (eval $ac_try) 2>&5
86733 ac_status=$?
86734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86735 (exit $ac_status); }; } &&
86736 { ac_try='test -s conftest$ac_exeext'
86737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86738 (eval $ac_try) 2>&5
86739 ac_status=$?
86740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86741 (exit $ac_status); }; }; then
86742 eval "$as_ac_var=yes"
86743 else
86744 echo "$as_me: failed program was:" >&5
86745 sed 's/^/| /' conftest.$ac_ext >&5
86747 eval "$as_ac_var=no"
86749 rm -f conftest.err conftest.$ac_objext \
86750 conftest$ac_exeext conftest.$ac_ext
86752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86754 if test `eval echo '${'$as_ac_var'}'` = yes; then
86755 cat >>confdefs.h <<_ACEOF
86756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86757 _ACEOF
86758 ac_XPG2funcs=yes
86759 else
86760 ac_XPG2funcs=no
86762 done
86765 LIBS="$ac_save_LIBS"
86767 if test x"$ac_has_iconv_h" = xyes &&
86768 test x"$ac_has_langinfo_h" = xyes &&
86769 test x"$ac_XPG2funcs" = xyes;
86770 then
86772 cat >>confdefs.h <<\_ACEOF
86773 #define _GLIBCXX_USE_ICONV 1
86774 _ACEOF
86776 enable_iconv=yes
86779 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86780 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86781 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86782 echo "${ECHO_T}$enable_iconv" >&6
86784 cat >>confdefs.h <<\_ACEOF
86785 #define HAVE_COPYSIGN 1
86786 _ACEOF
86788 cat >>confdefs.h <<\_ACEOF
86789 #define HAVE_COPYSIGNF 1
86790 _ACEOF
86792 cat >>confdefs.h <<\_ACEOF
86793 #define HAVE_FINITE 1
86794 _ACEOF
86796 cat >>confdefs.h <<\_ACEOF
86797 #define HAVE_FINITEF 1
86798 _ACEOF
86800 cat >>confdefs.h <<\_ACEOF
86801 #define HAVE_FREXPF 1
86802 _ACEOF
86804 cat >>confdefs.h <<\_ACEOF
86805 #define HAVE_HYPOTF 1
86806 _ACEOF
86808 cat >>confdefs.h <<\_ACEOF
86809 #define HAVE_ISINF 1
86810 _ACEOF
86812 cat >>confdefs.h <<\_ACEOF
86813 #define HAVE_ISINFF 1
86814 _ACEOF
86816 cat >>confdefs.h <<\_ACEOF
86817 #define HAVE_ISNAN 1
86818 _ACEOF
86820 cat >>confdefs.h <<\_ACEOF
86821 #define HAVE_ISNANF 1
86822 _ACEOF
86824 cat >>confdefs.h <<\_ACEOF
86825 #define HAVE_SINCOS 1
86826 _ACEOF
86828 cat >>confdefs.h <<\_ACEOF
86829 #define HAVE_SINCOSF 1
86830 _ACEOF
86832 if test x"long_double_math_on_this_cpu" = x"yes"; then
86833 cat >>confdefs.h <<\_ACEOF
86834 #define HAVE_FINITEL 1
86835 _ACEOF
86837 cat >>confdefs.h <<\_ACEOF
86838 #define HAVE_HYPOTL 1
86839 _ACEOF
86841 cat >>confdefs.h <<\_ACEOF
86842 #define HAVE_ISINFL 1
86843 _ACEOF
86845 cat >>confdefs.h <<\_ACEOF
86846 #define HAVE_ISNANL 1
86847 _ACEOF
86851 *-vxworks)
86852 cat >>confdefs.h <<\_ACEOF
86853 #define HAVE_MMAP 1
86854 _ACEOF
86856 cat >>confdefs.h <<\_ACEOF
86857 #define HAVE_ACOSF 1
86858 _ACEOF
86860 cat >>confdefs.h <<\_ACEOF
86861 #define HAVE_ASINF 1
86862 _ACEOF
86864 cat >>confdefs.h <<\_ACEOF
86865 #define HAVE_ATAN2F 1
86866 _ACEOF
86868 cat >>confdefs.h <<\_ACEOF
86869 #define HAVE_ATANF 1
86870 _ACEOF
86872 cat >>confdefs.h <<\_ACEOF
86873 #define HAVE_CEILF 1
86874 _ACEOF
86876 cat >>confdefs.h <<\_ACEOF
86877 #define HAVE_COSF 1
86878 _ACEOF
86880 cat >>confdefs.h <<\_ACEOF
86881 #define HAVE_COSHF 1
86882 _ACEOF
86884 cat >>confdefs.h <<\_ACEOF
86885 #define HAVE_EXPF 1
86886 _ACEOF
86888 cat >>confdefs.h <<\_ACEOF
86889 #define HAVE_FABSF 1
86890 _ACEOF
86892 cat >>confdefs.h <<\_ACEOF
86893 #define HAVE_FLOORF 1
86894 _ACEOF
86896 cat >>confdefs.h <<\_ACEOF
86897 #define HAVE_FMODF 1
86898 _ACEOF
86900 cat >>confdefs.h <<\_ACEOF
86901 #define HAVE_HYPOT 1
86902 _ACEOF
86904 cat >>confdefs.h <<\_ACEOF
86905 #define HAVE_LOG10F 1
86906 _ACEOF
86908 cat >>confdefs.h <<\_ACEOF
86909 #define HAVE_LOGF 1
86910 _ACEOF
86912 cat >>confdefs.h <<\_ACEOF
86913 #define HAVE_POWF 1
86914 _ACEOF
86916 cat >>confdefs.h <<\_ACEOF
86917 #define HAVE_SINF 1
86918 _ACEOF
86920 cat >>confdefs.h <<\_ACEOF
86921 #define HAVE_SINHF 1
86922 _ACEOF
86924 cat >>confdefs.h <<\_ACEOF
86925 #define HAVE_SQRTF 1
86926 _ACEOF
86928 cat >>confdefs.h <<\_ACEOF
86929 #define HAVE_TANF 1
86930 _ACEOF
86932 cat >>confdefs.h <<\_ACEOF
86933 #define HAVE_TANHF 1
86934 _ACEOF
86937 *-windiss*)
86938 cat >>confdefs.h <<\_ACEOF
86939 #define HAVE_ACOSF 1
86940 _ACEOF
86942 cat >>confdefs.h <<\_ACEOF
86943 #define HAVE_ACOSL 1
86944 _ACEOF
86946 cat >>confdefs.h <<\_ACEOF
86947 #define HAVE_ASINF 1
86948 _ACEOF
86950 cat >>confdefs.h <<\_ACEOF
86951 #define HAVE_ASINL 1
86952 _ACEOF
86954 cat >>confdefs.h <<\_ACEOF
86955 #define HAVE_ATAN2F 1
86956 _ACEOF
86958 cat >>confdefs.h <<\_ACEOF
86959 #define HAVE_ATAN2L 1
86960 _ACEOF
86962 cat >>confdefs.h <<\_ACEOF
86963 #define HAVE_ATANF 1
86964 _ACEOF
86966 cat >>confdefs.h <<\_ACEOF
86967 #define HAVE_ATANL 1
86968 _ACEOF
86970 cat >>confdefs.h <<\_ACEOF
86971 #define HAVE_CEILF 1
86972 _ACEOF
86974 cat >>confdefs.h <<\_ACEOF
86975 #define HAVE_CEILL 1
86976 _ACEOF
86978 cat >>confdefs.h <<\_ACEOF
86979 #define HAVE_COPYSIGN 1
86980 _ACEOF
86982 cat >>confdefs.h <<\_ACEOF
86983 #define HAVE_COPYSIGNF 1
86984 _ACEOF
86986 cat >>confdefs.h <<\_ACEOF
86987 #define HAVE_COSF 1
86988 _ACEOF
86990 cat >>confdefs.h <<\_ACEOF
86991 #define HAVE_COSL 1
86992 _ACEOF
86994 cat >>confdefs.h <<\_ACEOF
86995 #define HAVE_COSHF 1
86996 _ACEOF
86998 cat >>confdefs.h <<\_ACEOF
86999 #define HAVE_COSHL 1
87000 _ACEOF
87002 cat >>confdefs.h <<\_ACEOF
87003 #define HAVE_EXPF 1
87004 _ACEOF
87006 cat >>confdefs.h <<\_ACEOF
87007 #define HAVE_EXPL 1
87008 _ACEOF
87010 cat >>confdefs.h <<\_ACEOF
87011 #define HAVE_FABSF 1
87012 _ACEOF
87014 cat >>confdefs.h <<\_ACEOF
87015 #define HAVE_FABSL 1
87016 _ACEOF
87018 cat >>confdefs.h <<\_ACEOF
87019 #define HAVE_FLOORF 1
87020 _ACEOF
87022 cat >>confdefs.h <<\_ACEOF
87023 #define HAVE_FLOORL 1
87024 _ACEOF
87026 cat >>confdefs.h <<\_ACEOF
87027 #define HAVE_FMODF 1
87028 _ACEOF
87030 cat >>confdefs.h <<\_ACEOF
87031 #define HAVE_FMODL 1
87032 _ACEOF
87034 cat >>confdefs.h <<\_ACEOF
87035 #define HAVE_FREXPF 1
87036 _ACEOF
87038 cat >>confdefs.h <<\_ACEOF
87039 #define HAVE_FREXPL 1
87040 _ACEOF
87042 cat >>confdefs.h <<\_ACEOF
87043 #define HAVE_LDEXPF 1
87044 _ACEOF
87046 cat >>confdefs.h <<\_ACEOF
87047 #define HAVE_LDEXPL 1
87048 _ACEOF
87050 cat >>confdefs.h <<\_ACEOF
87051 #define HAVE_LOG10F 1
87052 _ACEOF
87054 cat >>confdefs.h <<\_ACEOF
87055 #define HAVE_LOG10L 1
87056 _ACEOF
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_LOGF 1
87060 _ACEOF
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_MODFF 1
87064 _ACEOF
87066 cat >>confdefs.h <<\_ACEOF
87067 #define HAVE_MODFL 1
87068 _ACEOF
87070 cat >>confdefs.h <<\_ACEOF
87071 #define HAVE_POWF 1
87072 _ACEOF
87074 cat >>confdefs.h <<\_ACEOF
87075 #define HAVE_POWL 1
87076 _ACEOF
87078 cat >>confdefs.h <<\_ACEOF
87079 #define HAVE_SINF 1
87080 _ACEOF
87082 cat >>confdefs.h <<\_ACEOF
87083 #define HAVE_SINL 1
87084 _ACEOF
87086 cat >>confdefs.h <<\_ACEOF
87087 #define HAVE_SINHF 1
87088 _ACEOF
87090 cat >>confdefs.h <<\_ACEOF
87091 #define HAVE_SINHL 1
87092 _ACEOF
87094 cat >>confdefs.h <<\_ACEOF
87095 #define HAVE_SQRTF 1
87096 _ACEOF
87098 cat >>confdefs.h <<\_ACEOF
87099 #define HAVE_SQRTL 1
87100 _ACEOF
87102 cat >>confdefs.h <<\_ACEOF
87103 #define HAVE_TANF 1
87104 _ACEOF
87106 cat >>confdefs.h <<\_ACEOF
87107 #define HAVE_TANL 1
87108 _ACEOF
87110 cat >>confdefs.h <<\_ACEOF
87111 #define HAVE_TANHF 1
87112 _ACEOF
87114 cat >>confdefs.h <<\_ACEOF
87115 #define HAVE_TANHL 1
87116 _ACEOF
87120 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87121 echo "$as_me: error: No support for this host/target combination." >&2;}
87122 { (exit 1); exit 1; }; }
87124 esac
87128 # At some point, we should differentiate between architectures
87129 # like x86, which have long double versions, and alpha/powerpc/etc.,
87130 # which don't. For the time being, punt.
87131 if test x"long_double_math_on_this_cpu" = x"yes"; then
87132 cat >>confdefs.h <<\_ACEOF
87133 #define HAVE_ACOSL 1
87134 _ACEOF
87136 cat >>confdefs.h <<\_ACEOF
87137 #define HAVE_ASINL 1
87138 _ACEOF
87140 cat >>confdefs.h <<\_ACEOF
87141 #define HAVE_ATAN2L 1
87142 _ACEOF
87144 cat >>confdefs.h <<\_ACEOF
87145 #define HAVE_ATANL 1
87146 _ACEOF
87148 cat >>confdefs.h <<\_ACEOF
87149 #define HAVE_CEILL 1
87150 _ACEOF
87152 cat >>confdefs.h <<\_ACEOF
87153 #define HAVE_COPYSIGNL 1
87154 _ACEOF
87156 cat >>confdefs.h <<\_ACEOF
87157 #define HAVE_COSL 1
87158 _ACEOF
87160 cat >>confdefs.h <<\_ACEOF
87161 #define HAVE_COSHL 1
87162 _ACEOF
87164 cat >>confdefs.h <<\_ACEOF
87165 #define HAVE_EXPL 1
87166 _ACEOF
87168 cat >>confdefs.h <<\_ACEOF
87169 #define HAVE_FABSL 1
87170 _ACEOF
87172 cat >>confdefs.h <<\_ACEOF
87173 #define HAVE_FLOORL 1
87174 _ACEOF
87176 cat >>confdefs.h <<\_ACEOF
87177 #define HAVE_FMODL 1
87178 _ACEOF
87180 cat >>confdefs.h <<\_ACEOF
87181 #define HAVE_FREXPL 1
87182 _ACEOF
87184 cat >>confdefs.h <<\_ACEOF
87185 #define HAVE_LDEXPL 1
87186 _ACEOF
87188 cat >>confdefs.h <<\_ACEOF
87189 #define HAVE_LOG10L 1
87190 _ACEOF
87192 cat >>confdefs.h <<\_ACEOF
87193 #define HAVE_LOGL 1
87194 _ACEOF
87196 cat >>confdefs.h <<\_ACEOF
87197 #define HAVE_MODFL 1
87198 _ACEOF
87200 cat >>confdefs.h <<\_ACEOF
87201 #define HAVE_POWL 1
87202 _ACEOF
87204 cat >>confdefs.h <<\_ACEOF
87205 #define HAVE_SINCOSL 1
87206 _ACEOF
87208 cat >>confdefs.h <<\_ACEOF
87209 #define HAVE_SINL 1
87210 _ACEOF
87212 cat >>confdefs.h <<\_ACEOF
87213 #define HAVE_SINHL 1
87214 _ACEOF
87216 cat >>confdefs.h <<\_ACEOF
87217 #define HAVE_SQRTL 1
87218 _ACEOF
87220 cat >>confdefs.h <<\_ACEOF
87221 #define HAVE_TANL 1
87222 _ACEOF
87224 cat >>confdefs.h <<\_ACEOF
87225 #define HAVE_TANHL 1
87226 _ACEOF
87232 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87235 # Check whether --enable-symvers or --disable-symvers was given.
87236 if test "${enable_symvers+set}" = set; then
87237 enableval="$enable_symvers"
87239 case "$enableval" in
87240 yes|no|gnu|darwin-export) ;;
87241 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87242 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87243 { (exit 1); exit 1; }; } ;;
87244 esac
87246 else
87247 enable_symvers=yes
87251 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87252 # don't know enough about $LD to do tricks...
87255 # Turn a 'yes' into a suitable default.
87256 if test x$enable_symvers = xyes ; then
87257 if test $enable_shared = no ||
87258 test "x$LD" = x ; then
87259 enable_symvers=no
87260 elif test $with_gnu_ld == yes ; then
87261 enable_symvers=gnu
87262 else
87263 case ${target_os} in
87264 darwin*)
87265 enable_symvers=darwin-export ;;
87267 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87268 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87269 { echo "$as_me:$LINENO: WARNING: === you are not using a supported linker." >&5
87270 echo "$as_me: WARNING: === you are not using a supported linker." >&2;}
87271 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87272 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87273 enable_symvers=no ;;
87274 esac
87278 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87279 if test $enable_symvers != no; then
87280 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87281 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87282 ac_save_CFLAGS="$CFLAGS"
87283 CFLAGS=' -lgcc_s'
87284 if test x$gcc_no_link = xyes; then
87285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87287 { (exit 1); exit 1; }; }
87289 cat >conftest.$ac_ext <<_ACEOF
87290 /* confdefs.h. */
87291 _ACEOF
87292 cat confdefs.h >>conftest.$ac_ext
87293 cat >>conftest.$ac_ext <<_ACEOF
87294 /* end confdefs.h. */
87297 main ()
87299 return 0;
87301 return 0;
87303 _ACEOF
87304 rm -f conftest.$ac_objext conftest$ac_exeext
87305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87306 (eval $ac_link) 2>conftest.er1
87307 ac_status=$?
87308 grep -v '^ *+' conftest.er1 >conftest.err
87309 rm -f conftest.er1
87310 cat conftest.err >&5
87311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87312 (exit $ac_status); } &&
87313 { ac_try='test -z "$ac_c_werror_flag"
87314 || test ! -s conftest.err'
87315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87316 (eval $ac_try) 2>&5
87317 ac_status=$?
87318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87319 (exit $ac_status); }; } &&
87320 { ac_try='test -s conftest$ac_exeext'
87321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87322 (eval $ac_try) 2>&5
87323 ac_status=$?
87324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87325 (exit $ac_status); }; }; then
87326 glibcxx_shared_libgcc=yes
87327 else
87328 echo "$as_me: failed program was:" >&5
87329 sed 's/^/| /' conftest.$ac_ext >&5
87331 glibcxx_shared_libgcc=no
87333 rm -f conftest.err conftest.$ac_objext \
87334 conftest$ac_exeext conftest.$ac_ext
87335 CFLAGS="$ac_save_CFLAGS"
87336 if test $glibcxx_shared_libgcc = no; then
87337 cat > conftest.c <<EOF
87338 int main (void) { return 0; }
87340 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87341 -shared -shared-libgcc -o conftest.so \
87342 conftest.c -v 2>&1 >/dev/null \
87343 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87344 rm -f conftest.c conftest.so
87345 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87346 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87347 if test x$gcc_no_link = xyes; then
87348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87350 { (exit 1); exit 1; }; }
87352 cat >conftest.$ac_ext <<_ACEOF
87353 /* confdefs.h. */
87354 _ACEOF
87355 cat confdefs.h >>conftest.$ac_ext
87356 cat >>conftest.$ac_ext <<_ACEOF
87357 /* end confdefs.h. */
87360 main ()
87362 return 0;
87364 return 0;
87366 _ACEOF
87367 rm -f conftest.$ac_objext conftest$ac_exeext
87368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87369 (eval $ac_link) 2>conftest.er1
87370 ac_status=$?
87371 grep -v '^ *+' conftest.er1 >conftest.err
87372 rm -f conftest.er1
87373 cat conftest.err >&5
87374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375 (exit $ac_status); } &&
87376 { ac_try='test -z "$ac_c_werror_flag"
87377 || test ! -s conftest.err'
87378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87379 (eval $ac_try) 2>&5
87380 ac_status=$?
87381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87382 (exit $ac_status); }; } &&
87383 { ac_try='test -s conftest$ac_exeext'
87384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87385 (eval $ac_try) 2>&5
87386 ac_status=$?
87387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87388 (exit $ac_status); }; }; then
87389 glibcxx_shared_libgcc=yes
87390 else
87391 echo "$as_me: failed program was:" >&5
87392 sed 's/^/| /' conftest.$ac_ext >&5
87395 rm -f conftest.err conftest.$ac_objext \
87396 conftest$ac_exeext conftest.$ac_ext
87397 CFLAGS="$ac_save_CFLAGS"
87400 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87401 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87404 # If no shared libgcc, can't win.
87405 if test $glibcxx_shared_libgcc != yes &&
87406 test $enable_symvers != no ; then
87407 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87408 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87409 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87410 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87411 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87412 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87413 enable_symvers=no
87414 enable_symvers=no
87417 # Check to see if 'gnu' can win.
87418 if test $enable_symvers = gnu; then
87419 # For GNU ld, we need at least this version. The format is described in
87420 # GLIBCXX_CHECK_LINKER_FEATURES above.
87421 glibcxx_min_gnu_ld_version=21400
87423 if test $with_gnu_ld != yes ; then
87424 # just fail for now
87425 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87426 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87427 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87428 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87429 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87430 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87431 enable_symvers=no
87432 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87433 # The right tools, the right setup, but too old. Fallbacks?
87434 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87435 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87436 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87437 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87438 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87439 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87440 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87441 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87442 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87443 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87444 enable_symvers=no
87448 # Everything parsed; figure out what file to use.
87449 case $enable_symvers in
87451 SYMVER_MAP=config/linker-map.dummy
87453 gnu)
87454 SYMVER_MAP=config/linker-map.gnu
87456 cat >>confdefs.h <<\_ACEOF
87457 #define _GLIBCXX_SYMVER 1
87458 _ACEOF
87461 darwin-export)
87462 SYMVER_MAP=config/linker-map.gnu
87464 esac
87466 # In addition, need this to deal with std::size_t mangling in
87467 # src/compatibility.cc. In a perfect world, could use
87468 # typeid(std::size_t).name()[0] to do direct substitution.
87469 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87470 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87471 ac_save_CFLAGS="$CFLAGS"
87472 CFLAGS="-Werror"
87473 cat >conftest.$ac_ext <<_ACEOF
87474 /* confdefs.h. */
87475 _ACEOF
87476 cat confdefs.h >>conftest.$ac_ext
87477 cat >>conftest.$ac_ext <<_ACEOF
87478 /* end confdefs.h. */
87481 main ()
87483 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87485 return 0;
87487 _ACEOF
87488 rm -f conftest.$ac_objext
87489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87490 (eval $ac_compile) 2>conftest.er1
87491 ac_status=$?
87492 grep -v '^ *+' conftest.er1 >conftest.err
87493 rm -f conftest.er1
87494 cat conftest.err >&5
87495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87496 (exit $ac_status); } &&
87497 { ac_try='test -z "$ac_c_werror_flag"
87498 || test ! -s conftest.err'
87499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87500 (eval $ac_try) 2>&5
87501 ac_status=$?
87502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87503 (exit $ac_status); }; } &&
87504 { ac_try='test -s conftest.$ac_objext'
87505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87506 (eval $ac_try) 2>&5
87507 ac_status=$?
87508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87509 (exit $ac_status); }; }; then
87510 glibcxx_size_t_is_i=yes
87511 else
87512 echo "$as_me: failed program was:" >&5
87513 sed 's/^/| /' conftest.$ac_ext >&5
87515 glibcxx_size_t_is_i=no
87517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87518 CFLAGS=$ac_save_CFLAGS
87519 if test "$glibcxx_size_t_is_i" = yes; then
87521 cat >>confdefs.h <<\_ACEOF
87522 #define _GLIBCXX_SIZE_T_IS_UINT 1
87523 _ACEOF
87526 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87527 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87529 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87530 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87531 ac_save_CFLAGS="$CFLAGS"
87532 CFLAGS="-Werror"
87533 cat >conftest.$ac_ext <<_ACEOF
87534 /* confdefs.h. */
87535 _ACEOF
87536 cat confdefs.h >>conftest.$ac_ext
87537 cat >>conftest.$ac_ext <<_ACEOF
87538 /* end confdefs.h. */
87541 main ()
87543 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87545 return 0;
87547 _ACEOF
87548 rm -f conftest.$ac_objext
87549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87550 (eval $ac_compile) 2>conftest.er1
87551 ac_status=$?
87552 grep -v '^ *+' conftest.er1 >conftest.err
87553 rm -f conftest.er1
87554 cat conftest.err >&5
87555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87556 (exit $ac_status); } &&
87557 { ac_try='test -z "$ac_c_werror_flag"
87558 || test ! -s conftest.err'
87559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87560 (eval $ac_try) 2>&5
87561 ac_status=$?
87562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87563 (exit $ac_status); }; } &&
87564 { ac_try='test -s conftest.$ac_objext'
87565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87566 (eval $ac_try) 2>&5
87567 ac_status=$?
87568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87569 (exit $ac_status); }; }; then
87570 glibcxx_ptrdiff_t_is_i=yes
87571 else
87572 echo "$as_me: failed program was:" >&5
87573 sed 's/^/| /' conftest.$ac_ext >&5
87575 glibcxx_ptrdiff_t_is_i=no
87577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87578 CFLAGS=$ac_save_CFLAGS
87579 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87581 cat >>confdefs.h <<\_ACEOF
87582 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87583 _ACEOF
87586 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87587 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87593 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87594 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87597 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87599 if $GLIBCXX_IS_NATIVE ; then
87600 # Do checks for resource limit functions.
87602 setrlimit_have_headers=yes
87606 for ac_header in unistd.h sys/time.h sys/resource.h
87608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87610 echo "$as_me:$LINENO: checking for $ac_header" >&5
87611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87613 echo $ECHO_N "(cached) $ECHO_C" >&6
87615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87617 else
87618 # Is the header compilable?
87619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87621 cat >conftest.$ac_ext <<_ACEOF
87622 /* confdefs.h. */
87623 _ACEOF
87624 cat confdefs.h >>conftest.$ac_ext
87625 cat >>conftest.$ac_ext <<_ACEOF
87626 /* end confdefs.h. */
87627 $ac_includes_default
87628 #include <$ac_header>
87629 _ACEOF
87630 rm -f conftest.$ac_objext
87631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87632 (eval $ac_compile) 2>conftest.er1
87633 ac_status=$?
87634 grep -v '^ *+' conftest.er1 >conftest.err
87635 rm -f conftest.er1
87636 cat conftest.err >&5
87637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87638 (exit $ac_status); } &&
87639 { ac_try='test -z "$ac_c_werror_flag"
87640 || test ! -s conftest.err'
87641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87642 (eval $ac_try) 2>&5
87643 ac_status=$?
87644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645 (exit $ac_status); }; } &&
87646 { ac_try='test -s conftest.$ac_objext'
87647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87648 (eval $ac_try) 2>&5
87649 ac_status=$?
87650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87651 (exit $ac_status); }; }; then
87652 ac_header_compiler=yes
87653 else
87654 echo "$as_me: failed program was:" >&5
87655 sed 's/^/| /' conftest.$ac_ext >&5
87657 ac_header_compiler=no
87659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87661 echo "${ECHO_T}$ac_header_compiler" >&6
87663 # Is the header present?
87664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87666 cat >conftest.$ac_ext <<_ACEOF
87667 /* confdefs.h. */
87668 _ACEOF
87669 cat confdefs.h >>conftest.$ac_ext
87670 cat >>conftest.$ac_ext <<_ACEOF
87671 /* end confdefs.h. */
87672 #include <$ac_header>
87673 _ACEOF
87674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87676 ac_status=$?
87677 grep -v '^ *+' conftest.er1 >conftest.err
87678 rm -f conftest.er1
87679 cat conftest.err >&5
87680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87681 (exit $ac_status); } >/dev/null; then
87682 if test -s conftest.err; then
87683 ac_cpp_err=$ac_c_preproc_warn_flag
87684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87685 else
87686 ac_cpp_err=
87688 else
87689 ac_cpp_err=yes
87691 if test -z "$ac_cpp_err"; then
87692 ac_header_preproc=yes
87693 else
87694 echo "$as_me: failed program was:" >&5
87695 sed 's/^/| /' conftest.$ac_ext >&5
87697 ac_header_preproc=no
87699 rm -f conftest.err conftest.$ac_ext
87700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87701 echo "${ECHO_T}$ac_header_preproc" >&6
87703 # So? What about this header?
87704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87705 yes:no: )
87706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87710 ac_header_preproc=yes
87712 no:yes:* )
87713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87726 cat <<\_ASBOX
87727 ## ----------------------------------------- ##
87728 ## Report this to the package-unused lists. ##
87729 ## ----------------------------------------- ##
87730 _ASBOX
87732 sed "s/^/$as_me: WARNING: /" >&2
87734 esac
87735 echo "$as_me:$LINENO: checking for $ac_header" >&5
87736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87738 echo $ECHO_N "(cached) $ECHO_C" >&6
87739 else
87740 eval "$as_ac_Header=\$ac_header_preproc"
87742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87747 cat >>confdefs.h <<_ACEOF
87748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87749 _ACEOF
87751 else
87752 setrlimit_have_headers=no
87755 done
87757 # If don't have the headers, then we can't run the tests now, and we
87758 # won't be seeing any of these during testsuite compilation.
87759 if test $setrlimit_have_headers = yes; then
87760 # Can't do these in a loop, else the resulting syntax is wrong.
87762 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
87763 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
87764 cat >conftest.$ac_ext <<_ACEOF
87765 /* confdefs.h. */
87766 _ACEOF
87767 cat confdefs.h >>conftest.$ac_ext
87768 cat >>conftest.$ac_ext <<_ACEOF
87769 /* end confdefs.h. */
87770 #include <unistd.h>
87771 #include <sys/time.h>
87772 #include <sys/resource.h>
87775 main ()
87777 int f = RLIMIT_DATA ;
87779 return 0;
87781 _ACEOF
87782 rm -f conftest.$ac_objext
87783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87784 (eval $ac_compile) 2>conftest.er1
87785 ac_status=$?
87786 grep -v '^ *+' conftest.er1 >conftest.err
87787 rm -f conftest.er1
87788 cat conftest.err >&5
87789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87790 (exit $ac_status); } &&
87791 { ac_try='test -z "$ac_c_werror_flag"
87792 || test ! -s conftest.err'
87793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87794 (eval $ac_try) 2>&5
87795 ac_status=$?
87796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87797 (exit $ac_status); }; } &&
87798 { ac_try='test -s conftest.$ac_objext'
87799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87800 (eval $ac_try) 2>&5
87801 ac_status=$?
87802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87803 (exit $ac_status); }; }; then
87804 glibcxx_mresult=1
87805 else
87806 echo "$as_me: failed program was:" >&5
87807 sed 's/^/| /' conftest.$ac_ext >&5
87809 glibcxx_mresult=0
87811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87813 cat >>confdefs.h <<_ACEOF
87814 #define HAVE_LIMIT_DATA $glibcxx_mresult
87815 _ACEOF
87817 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87818 echo "$as_me:$LINENO: result: $res" >&5
87819 echo "${ECHO_T}$res" >&6
87822 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
87823 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
87824 cat >conftest.$ac_ext <<_ACEOF
87825 /* confdefs.h. */
87826 _ACEOF
87827 cat confdefs.h >>conftest.$ac_ext
87828 cat >>conftest.$ac_ext <<_ACEOF
87829 /* end confdefs.h. */
87830 #include <unistd.h>
87831 #include <sys/time.h>
87832 #include <sys/resource.h>
87835 main ()
87837 int f = RLIMIT_RSS ;
87839 return 0;
87841 _ACEOF
87842 rm -f conftest.$ac_objext
87843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87844 (eval $ac_compile) 2>conftest.er1
87845 ac_status=$?
87846 grep -v '^ *+' conftest.er1 >conftest.err
87847 rm -f conftest.er1
87848 cat conftest.err >&5
87849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87850 (exit $ac_status); } &&
87851 { ac_try='test -z "$ac_c_werror_flag"
87852 || test ! -s conftest.err'
87853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87854 (eval $ac_try) 2>&5
87855 ac_status=$?
87856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87857 (exit $ac_status); }; } &&
87858 { ac_try='test -s conftest.$ac_objext'
87859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87860 (eval $ac_try) 2>&5
87861 ac_status=$?
87862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87863 (exit $ac_status); }; }; then
87864 glibcxx_mresult=1
87865 else
87866 echo "$as_me: failed program was:" >&5
87867 sed 's/^/| /' conftest.$ac_ext >&5
87869 glibcxx_mresult=0
87871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87873 cat >>confdefs.h <<_ACEOF
87874 #define HAVE_LIMIT_RSS $glibcxx_mresult
87875 _ACEOF
87877 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87878 echo "$as_me:$LINENO: result: $res" >&5
87879 echo "${ECHO_T}$res" >&6
87882 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
87883 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
87884 cat >conftest.$ac_ext <<_ACEOF
87885 /* confdefs.h. */
87886 _ACEOF
87887 cat confdefs.h >>conftest.$ac_ext
87888 cat >>conftest.$ac_ext <<_ACEOF
87889 /* end confdefs.h. */
87890 #include <unistd.h>
87891 #include <sys/time.h>
87892 #include <sys/resource.h>
87895 main ()
87897 int f = RLIMIT_VMEM ;
87899 return 0;
87901 _ACEOF
87902 rm -f conftest.$ac_objext
87903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87904 (eval $ac_compile) 2>conftest.er1
87905 ac_status=$?
87906 grep -v '^ *+' conftest.er1 >conftest.err
87907 rm -f conftest.er1
87908 cat conftest.err >&5
87909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87910 (exit $ac_status); } &&
87911 { ac_try='test -z "$ac_c_werror_flag"
87912 || test ! -s conftest.err'
87913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87914 (eval $ac_try) 2>&5
87915 ac_status=$?
87916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87917 (exit $ac_status); }; } &&
87918 { ac_try='test -s conftest.$ac_objext'
87919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87920 (eval $ac_try) 2>&5
87921 ac_status=$?
87922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87923 (exit $ac_status); }; }; then
87924 glibcxx_mresult=1
87925 else
87926 echo "$as_me: failed program was:" >&5
87927 sed 's/^/| /' conftest.$ac_ext >&5
87929 glibcxx_mresult=0
87931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87933 cat >>confdefs.h <<_ACEOF
87934 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87935 _ACEOF
87937 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87938 echo "$as_me:$LINENO: result: $res" >&5
87939 echo "${ECHO_T}$res" >&6
87942 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
87943 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
87944 cat >conftest.$ac_ext <<_ACEOF
87945 /* confdefs.h. */
87946 _ACEOF
87947 cat confdefs.h >>conftest.$ac_ext
87948 cat >>conftest.$ac_ext <<_ACEOF
87949 /* end confdefs.h. */
87950 #include <unistd.h>
87951 #include <sys/time.h>
87952 #include <sys/resource.h>
87955 main ()
87957 int f = RLIMIT_AS ;
87959 return 0;
87961 _ACEOF
87962 rm -f conftest.$ac_objext
87963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87964 (eval $ac_compile) 2>conftest.er1
87965 ac_status=$?
87966 grep -v '^ *+' conftest.er1 >conftest.err
87967 rm -f conftest.er1
87968 cat conftest.err >&5
87969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87970 (exit $ac_status); } &&
87971 { ac_try='test -z "$ac_c_werror_flag"
87972 || test ! -s conftest.err'
87973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87974 (eval $ac_try) 2>&5
87975 ac_status=$?
87976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87977 (exit $ac_status); }; } &&
87978 { ac_try='test -s conftest.$ac_objext'
87979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87980 (eval $ac_try) 2>&5
87981 ac_status=$?
87982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87983 (exit $ac_status); }; }; then
87984 glibcxx_mresult=1
87985 else
87986 echo "$as_me: failed program was:" >&5
87987 sed 's/^/| /' conftest.$ac_ext >&5
87989 glibcxx_mresult=0
87991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87993 cat >>confdefs.h <<_ACEOF
87994 #define HAVE_LIMIT_AS $glibcxx_mresult
87995 _ACEOF
87997 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87998 echo "$as_me:$LINENO: result: $res" >&5
87999 echo "${ECHO_T}$res" >&6
88002 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88003 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88004 cat >conftest.$ac_ext <<_ACEOF
88005 /* confdefs.h. */
88006 _ACEOF
88007 cat confdefs.h >>conftest.$ac_ext
88008 cat >>conftest.$ac_ext <<_ACEOF
88009 /* end confdefs.h. */
88010 #include <unistd.h>
88011 #include <sys/time.h>
88012 #include <sys/resource.h>
88015 main ()
88017 int f = RLIMIT_FSIZE ;
88019 return 0;
88021 _ACEOF
88022 rm -f conftest.$ac_objext
88023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88024 (eval $ac_compile) 2>conftest.er1
88025 ac_status=$?
88026 grep -v '^ *+' conftest.er1 >conftest.err
88027 rm -f conftest.er1
88028 cat conftest.err >&5
88029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88030 (exit $ac_status); } &&
88031 { ac_try='test -z "$ac_c_werror_flag"
88032 || test ! -s conftest.err'
88033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88034 (eval $ac_try) 2>&5
88035 ac_status=$?
88036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88037 (exit $ac_status); }; } &&
88038 { ac_try='test -s conftest.$ac_objext'
88039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88040 (eval $ac_try) 2>&5
88041 ac_status=$?
88042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88043 (exit $ac_status); }; }; then
88044 glibcxx_mresult=1
88045 else
88046 echo "$as_me: failed program was:" >&5
88047 sed 's/^/| /' conftest.$ac_ext >&5
88049 glibcxx_mresult=0
88051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88053 cat >>confdefs.h <<_ACEOF
88054 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88055 _ACEOF
88057 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88058 echo "$as_me:$LINENO: result: $res" >&5
88059 echo "${ECHO_T}$res" >&6
88062 # Check for rlimit, setrlimit.
88063 if test "${ac_setrlimit+set}" = set; then
88064 echo $ECHO_N "(cached) $ECHO_C" >&6
88065 else
88067 cat >conftest.$ac_ext <<_ACEOF
88068 /* confdefs.h. */
88069 _ACEOF
88070 cat confdefs.h >>conftest.$ac_ext
88071 cat >>conftest.$ac_ext <<_ACEOF
88072 /* end confdefs.h. */
88073 #include <unistd.h>
88074 #include <sys/time.h>
88075 #include <sys/resource.h>
88078 main ()
88080 struct rlimit r;
88081 setrlimit(0, &r);
88083 return 0;
88085 _ACEOF
88086 rm -f conftest.$ac_objext
88087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88088 (eval $ac_compile) 2>conftest.er1
88089 ac_status=$?
88090 grep -v '^ *+' conftest.er1 >conftest.err
88091 rm -f conftest.er1
88092 cat conftest.err >&5
88093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88094 (exit $ac_status); } &&
88095 { ac_try='test -z "$ac_c_werror_flag"
88096 || test ! -s conftest.err'
88097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88098 (eval $ac_try) 2>&5
88099 ac_status=$?
88100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88101 (exit $ac_status); }; } &&
88102 { ac_try='test -s conftest.$ac_objext'
88103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88104 (eval $ac_try) 2>&5
88105 ac_status=$?
88106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88107 (exit $ac_status); }; }; then
88108 ac_setrlimit=yes
88109 else
88110 echo "$as_me: failed program was:" >&5
88111 sed 's/^/| /' conftest.$ac_ext >&5
88113 ac_setrlimit=no
88115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88121 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88122 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88123 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88124 ac_res_limits=yes
88126 cat >>confdefs.h <<\_ACEOF
88127 #define _GLIBCXX_RES_LIMITS 1
88128 _ACEOF
88130 else
88131 ac_res_limits=no
88133 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88134 echo "${ECHO_T}$ac_res_limits" >&6
88137 # Look for setenv, so that extended locale tests can be performed.
88139 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88140 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88141 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88142 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88143 echo $ECHO_N "(cached) $ECHO_C" >&6
88144 else
88148 ac_ext=cc
88149 ac_cpp='$CXXCPP $CPPFLAGS'
88150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88154 cat >conftest.$ac_ext <<_ACEOF
88155 /* confdefs.h. */
88156 _ACEOF
88157 cat confdefs.h >>conftest.$ac_ext
88158 cat >>conftest.$ac_ext <<_ACEOF
88159 /* end confdefs.h. */
88160 #include <stdlib.h>
88162 main ()
88164 setenv(0, 0, 0);
88166 return 0;
88168 _ACEOF
88169 rm -f conftest.$ac_objext
88170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88171 (eval $ac_compile) 2>conftest.er1
88172 ac_status=$?
88173 grep -v '^ *+' conftest.er1 >conftest.err
88174 rm -f conftest.er1
88175 cat conftest.err >&5
88176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88177 (exit $ac_status); } &&
88178 { ac_try='test -z "$ac_cxx_werror_flag"
88179 || test ! -s conftest.err'
88180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88181 (eval $ac_try) 2>&5
88182 ac_status=$?
88183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184 (exit $ac_status); }; } &&
88185 { ac_try='test -s conftest.$ac_objext'
88186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88187 (eval $ac_try) 2>&5
88188 ac_status=$?
88189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88190 (exit $ac_status); }; }; then
88191 glibcxx_cv_func_setenv_use=yes
88192 else
88193 echo "$as_me: failed program was:" >&5
88194 sed 's/^/| /' conftest.$ac_ext >&5
88196 glibcxx_cv_func_setenv_use=no
88198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88199 ac_ext=c
88200 ac_cpp='$CPP $CPPFLAGS'
88201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88210 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88211 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88213 for ac_func in setenv
88215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88216 echo "$as_me:$LINENO: checking for $ac_func" >&5
88217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88218 if eval "test \"\${$as_ac_var+set}\" = set"; then
88219 echo $ECHO_N "(cached) $ECHO_C" >&6
88220 else
88221 if test x$gcc_no_link = xyes; then
88222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88224 { (exit 1); exit 1; }; }
88226 cat >conftest.$ac_ext <<_ACEOF
88227 /* confdefs.h. */
88228 _ACEOF
88229 cat confdefs.h >>conftest.$ac_ext
88230 cat >>conftest.$ac_ext <<_ACEOF
88231 /* end confdefs.h. */
88232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88234 #define $ac_func innocuous_$ac_func
88236 /* System header to define __stub macros and hopefully few prototypes,
88237 which can conflict with char $ac_func (); below.
88238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88239 <limits.h> exists even on freestanding compilers. */
88241 #ifdef __STDC__
88242 # include <limits.h>
88243 #else
88244 # include <assert.h>
88245 #endif
88247 #undef $ac_func
88249 /* Override any gcc2 internal prototype to avoid an error. */
88250 #ifdef __cplusplus
88251 extern "C"
88253 #endif
88254 /* We use char because int might match the return type of a gcc2
88255 builtin and then its argument prototype would still apply. */
88256 char $ac_func ();
88257 /* The GNU C library defines this for functions which it implements
88258 to always fail with ENOSYS. Some functions are actually named
88259 something starting with __ and the normal name is an alias. */
88260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88261 choke me
88262 #else
88263 char (*f) () = $ac_func;
88264 #endif
88265 #ifdef __cplusplus
88267 #endif
88270 main ()
88272 return f != $ac_func;
88274 return 0;
88276 _ACEOF
88277 rm -f conftest.$ac_objext conftest$ac_exeext
88278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88279 (eval $ac_link) 2>conftest.er1
88280 ac_status=$?
88281 grep -v '^ *+' conftest.er1 >conftest.err
88282 rm -f conftest.er1
88283 cat conftest.err >&5
88284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285 (exit $ac_status); } &&
88286 { ac_try='test -z "$ac_c_werror_flag"
88287 || test ! -s conftest.err'
88288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88289 (eval $ac_try) 2>&5
88290 ac_status=$?
88291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292 (exit $ac_status); }; } &&
88293 { ac_try='test -s conftest$ac_exeext'
88294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88295 (eval $ac_try) 2>&5
88296 ac_status=$?
88297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88298 (exit $ac_status); }; }; then
88299 eval "$as_ac_var=yes"
88300 else
88301 echo "$as_me: failed program was:" >&5
88302 sed 's/^/| /' conftest.$ac_ext >&5
88304 eval "$as_ac_var=no"
88306 rm -f conftest.err conftest.$ac_objext \
88307 conftest$ac_exeext conftest.$ac_ext
88309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88311 if test `eval echo '${'$as_ac_var'}'` = yes; then
88312 cat >>confdefs.h <<_ACEOF
88313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88314 _ACEOF
88317 done
88323 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88324 test $enable_symvers != no; then
88325 case "$host" in
88326 *-*-cygwin*)
88327 enable_abi_check=no ;;
88329 enable_abi_check=yes ;;
88330 esac
88331 else
88332 # Only build this as native, since automake does not understand
88333 # CXX_FOR_BUILD.
88334 enable_abi_check=no
88337 # Export file names for ABI checking.
88338 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88342 # Propagate the target-specific source directories through the build chain.
88343 ATOMICITY_SRCDIR=config/${atomicity_dir}
88344 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88345 OS_INC_SRCDIR=config/${os_include_dir}
88346 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88352 # Determine cross-compile flags and AM_CONDITIONALs.
88353 #AC_SUBST(GLIBCXX_IS_NATIVE)
88354 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88355 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88356 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88359 if test $is_hosted = yes; then
88360 GLIBCXX_HOSTED_TRUE=
88361 GLIBCXX_HOSTED_FALSE='#'
88362 else
88363 GLIBCXX_HOSTED_TRUE='#'
88364 GLIBCXX_HOSTED_FALSE=
88370 if test $enable_libstdcxx_pch = yes; then
88371 GLIBCXX_BUILD_PCH_TRUE=
88372 GLIBCXX_BUILD_PCH_FALSE='#'
88373 else
88374 GLIBCXX_BUILD_PCH_TRUE='#'
88375 GLIBCXX_BUILD_PCH_FALSE=
88381 if test $enable_cheaders = c; then
88382 GLIBCXX_C_HEADERS_C_TRUE=
88383 GLIBCXX_C_HEADERS_C_FALSE='#'
88384 else
88385 GLIBCXX_C_HEADERS_C_TRUE='#'
88386 GLIBCXX_C_HEADERS_C_FALSE=
88392 if test $enable_cheaders = c_std; then
88393 GLIBCXX_C_HEADERS_C_STD_TRUE=
88394 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88395 else
88396 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88397 GLIBCXX_C_HEADERS_C_STD_FALSE=
88403 if test $c_compatibility = yes; then
88404 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88405 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88406 else
88407 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88408 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88414 if test $enable_libstdcxx_debug = yes; then
88415 GLIBCXX_BUILD_DEBUG_TRUE=
88416 GLIBCXX_BUILD_DEBUG_FALSE='#'
88417 else
88418 GLIBCXX_BUILD_DEBUG_TRUE='#'
88419 GLIBCXX_BUILD_DEBUG_FALSE=
88425 if test $enable_symvers == gnu; then
88426 ENABLE_SYMVERS_GNU_TRUE=
88427 ENABLE_SYMVERS_GNU_FALSE='#'
88428 else
88429 ENABLE_SYMVERS_GNU_TRUE='#'
88430 ENABLE_SYMVERS_GNU_FALSE=
88436 if test $enable_symvers == darwin-export; then
88437 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE=
88438 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE='#'
88439 else
88440 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE='#'
88441 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE=
88447 cat >confcache <<\_ACEOF
88448 # This file is a shell script that caches the results of configure
88449 # tests run on this system so they can be shared between configure
88450 # scripts and configure runs, see configure's option --config-cache.
88451 # It is not useful on other systems. If it contains results you don't
88452 # want to keep, you may remove or edit it.
88454 # config.status only pays attention to the cache file if you give it
88455 # the --recheck option to rerun configure.
88457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88459 # following values.
88461 _ACEOF
88463 # The following way of writing the cache mishandles newlines in values,
88464 # but we know of no workaround that is simple, portable, and efficient.
88465 # So, don't put newlines in cache variables' values.
88466 # Ultrix sh set writes to stderr and can't be redirected directly,
88467 # and sets the high bit in the cache file unless we assign to the vars.
88469 (set) 2>&1 |
88470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88471 *ac_space=\ *)
88472 # `set' does not quote correctly, so add quotes (double-quote
88473 # substitution turns \\\\ into \\, and sed turns \\ into \).
88474 sed -n \
88475 "s/'/'\\\\''/g;
88476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88479 # `set' quotes correctly as required by POSIX, so do not add quotes.
88480 sed -n \
88481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88483 esac;
88485 sed '
88486 t clear
88487 : clear
88488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88489 t end
88490 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88491 : end' >>confcache
88492 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88493 if test -w $cache_file; then
88494 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88495 cat confcache >$cache_file
88496 else
88497 echo "not updating unwritable cache $cache_file"
88500 rm -f confcache
88502 if test ${multilib} = yes; then
88503 multilib_arg="--enable-multilib"
88504 else
88505 multilib_arg=
88508 # Export all the install information.
88510 glibcxx_toolexecdir=no
88511 glibcxx_toolexeclibdir=no
88512 glibcxx_prefixdir=$prefix
88514 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88515 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88517 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88518 if test "${with_gxx_include_dir+set}" = set; then
88519 withval="$with_gxx_include_dir"
88520 case "$withval" in
88521 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88522 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88523 { (exit 1); exit 1; }; } ;;
88524 no) gxx_include_dir=no ;;
88525 *) gxx_include_dir=$withval ;;
88526 esac
88527 else
88528 gxx_include_dir=no
88530 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88531 echo "${ECHO_T}$gxx_include_dir" >&6
88533 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88534 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88535 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88536 if test "${enable_version_specific_runtime_libs+set}" = set; then
88537 enableval="$enable_version_specific_runtime_libs"
88538 case "$enableval" in
88539 yes) version_specific_libs=yes ;;
88540 no) version_specific_libs=no ;;
88541 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88542 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88543 { (exit 1); exit 1; }; };;
88544 esac
88545 else
88546 version_specific_libs=no
88548 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88549 echo "${ECHO_T}$version_specific_libs" >&6
88551 # Default case for install directory for include files.
88552 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88553 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88556 # Version-specific runtime libs processing.
88557 if test $version_specific_libs = yes; then
88558 # Need the gcc compiler version to know where to install libraries
88559 # and header files if --enable-version-specific-runtime-libs option
88560 # is selected. FIXME: these variables are misnamed, there are
88561 # no executables installed in _toolexecdir or _toolexeclibdir.
88562 if test x"$gxx_include_dir" = x"no"; then
88563 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88565 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88566 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88569 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88570 # Install a library built with a cross compiler in tooldir, not libdir.
88571 if test x"$glibcxx_toolexecdir" = x"no"; then
88572 if test -n "$with_cross_host" &&
88573 test x"$with_cross_host" != x"no"; then
88574 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88575 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88576 else
88577 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88578 glibcxx_toolexeclibdir='${libdir}'
88580 multi_os_directory=`$CXX -print-multi-os-directory`
88581 case $multi_os_directory in
88582 .) ;; # Avoid trailing /.
88583 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88584 esac
88587 echo "$as_me:$LINENO: checking for install location" >&5
88588 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88589 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88590 echo "${ECHO_T}$gxx_include_dir" >&6
88598 # Export all the include and flag information to Makefiles.
88600 # Used for every C++ compile we perform.
88601 GLIBCXX_INCLUDES="\
88602 -I$glibcxx_builddir/include/$host_alias \
88603 -I$glibcxx_builddir/include \
88604 -I$glibcxx_srcdir/libsupc++"
88606 # For Canadian crosses, pick this up too.
88607 if test $CANADIAN = yes; then
88608 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88611 # Stuff in the actual top level. Currently only used by libsupc++ to
88612 # get unwind* headers from the gcc dir.
88613 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88614 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88616 # Now, export this to all the little Makefiles....
88621 # Optimization flags that are probably a good idea for thrill-seekers. Just
88622 # uncomment the lines below and make, everything else is ready to go...
88623 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88624 OPTIMIZE_CXXFLAGS=
88627 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88631 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88632 grep "enable shared" > /dev/null;
88633 then
88634 LIBSUPCXX_PICFLAGS=-prefer-pic
88635 else
88636 LIBSUPCXX_PICFLAGS=
88640 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88642 ac_config_files="$ac_config_files scripts/testsuite_flags"
88645 ac_config_commands="$ac_config_commands default"
88648 cat >confcache <<\_ACEOF
88649 # This file is a shell script that caches the results of configure
88650 # tests run on this system so they can be shared between configure
88651 # scripts and configure runs, see configure's option --config-cache.
88652 # It is not useful on other systems. If it contains results you don't
88653 # want to keep, you may remove or edit it.
88655 # config.status only pays attention to the cache file if you give it
88656 # the --recheck option to rerun configure.
88658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88660 # following values.
88662 _ACEOF
88664 # The following way of writing the cache mishandles newlines in values,
88665 # but we know of no workaround that is simple, portable, and efficient.
88666 # So, don't put newlines in cache variables' values.
88667 # Ultrix sh set writes to stderr and can't be redirected directly,
88668 # and sets the high bit in the cache file unless we assign to the vars.
88670 (set) 2>&1 |
88671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88672 *ac_space=\ *)
88673 # `set' does not quote correctly, so add quotes (double-quote
88674 # substitution turns \\\\ into \\, and sed turns \\ into \).
88675 sed -n \
88676 "s/'/'\\\\''/g;
88677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88680 # `set' quotes correctly as required by POSIX, so do not add quotes.
88681 sed -n \
88682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88684 esac;
88686 sed '
88687 t clear
88688 : clear
88689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88690 t end
88691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88692 : end' >>confcache
88693 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88694 if test -w $cache_file; then
88695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88696 cat confcache >$cache_file
88697 else
88698 echo "not updating unwritable cache $cache_file"
88701 rm -f confcache
88703 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88704 # Let make expand exec_prefix.
88705 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88707 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88708 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88709 # trailing colons and then remove the whole line if VPATH becomes empty
88710 # (actually we leave an empty line to preserve line numbers).
88711 if test "x$srcdir" = x.; then
88712 ac_vpsub='/^[ ]*VPATH[ ]*=/{
88713 s/:*\$(srcdir):*/:/;
88714 s/:*\${srcdir}:*/:/;
88715 s/:*@srcdir@:*/:/;
88716 s/^\([^=]*=[ ]*\):*/\1/;
88717 s/:*$//;
88718 s/^[^=]*=[ ]*$//;
88722 DEFS=-DHAVE_CONFIG_H
88724 ac_libobjs=
88725 ac_ltlibobjs=
88726 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88727 # 1. Remove the extension, and $U if already installed.
88728 ac_i=`echo "$ac_i" |
88729 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88730 # 2. Add them.
88731 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88732 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88733 done
88734 LIBOBJS=$ac_libobjs
88736 LTLIBOBJS=$ac_ltlibobjs
88739 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88740 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88741 Usually this means the macro was only invoked conditionally." >&5
88742 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88743 Usually this means the macro was only invoked conditionally." >&2;}
88744 { (exit 1); exit 1; }; }
88746 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88747 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88748 Usually this means the macro was only invoked conditionally." >&5
88749 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88750 Usually this means the macro was only invoked conditionally." >&2;}
88751 { (exit 1); exit 1; }; }
88753 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88754 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88755 Usually this means the macro was only invoked conditionally." >&5
88756 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88757 Usually this means the macro was only invoked conditionally." >&2;}
88758 { (exit 1); exit 1; }; }
88760 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88761 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88762 Usually this means the macro was only invoked conditionally." >&5
88763 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88764 Usually this means the macro was only invoked conditionally." >&2;}
88765 { (exit 1); exit 1; }; }
88767 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88768 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88769 Usually this means the macro was only invoked conditionally." >&5
88770 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88771 Usually this means the macro was only invoked conditionally." >&2;}
88772 { (exit 1); exit 1; }; }
88774 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88775 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88776 Usually this means the macro was only invoked conditionally." >&5
88777 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88778 Usually this means the macro was only invoked conditionally." >&2;}
88779 { (exit 1); exit 1; }; }
88781 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88782 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88783 Usually this means the macro was only invoked conditionally." >&5
88784 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88785 Usually this means the macro was only invoked conditionally." >&2;}
88786 { (exit 1); exit 1; }; }
88788 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
88789 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88790 Usually this means the macro was only invoked conditionally." >&5
88791 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88792 Usually this means the macro was only invoked conditionally." >&2;}
88793 { (exit 1); exit 1; }; }
88795 if test -z "${ENABLE_SYMVERS_DARWIN_EXPORT_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_EXPORT_FALSE}"; then
88796 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN_EXPORT\" was never defined.
88797 Usually this means the macro was only invoked conditionally." >&5
88798 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN_EXPORT\" was never defined.
88799 Usually this means the macro was only invoked conditionally." >&2;}
88800 { (exit 1); exit 1; }; }
88803 : ${CONFIG_STATUS=./config.status}
88804 ac_clean_files_save=$ac_clean_files
88805 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88806 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88807 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88808 cat >$CONFIG_STATUS <<_ACEOF
88809 #! $SHELL
88810 # Generated by $as_me.
88811 # Run this file to recreate the current configuration.
88812 # Compiler output produced by configure, useful for debugging
88813 # configure, is in config.log if it exists.
88815 debug=false
88816 ac_cs_recheck=false
88817 ac_cs_silent=false
88818 SHELL=\${CONFIG_SHELL-$SHELL}
88819 _ACEOF
88821 cat >>$CONFIG_STATUS <<\_ACEOF
88822 ## --------------------- ##
88823 ## M4sh Initialization. ##
88824 ## --------------------- ##
88826 # Be Bourne compatible
88827 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88828 emulate sh
88829 NULLCMD=:
88830 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88831 # is contrary to our usage. Disable this feature.
88832 alias -g '${1+"$@"}'='"$@"'
88833 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88834 set -o posix
88836 DUALCASE=1; export DUALCASE # for MKS sh
88838 # Support unset when possible.
88839 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88840 as_unset=unset
88841 else
88842 as_unset=false
88846 # Work around bugs in pre-3.0 UWIN ksh.
88847 $as_unset ENV MAIL MAILPATH
88848 PS1='$ '
88849 PS2='> '
88850 PS4='+ '
88852 # NLS nuisances.
88853 for as_var in \
88854 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88855 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88856 LC_TELEPHONE LC_TIME
88858 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88859 eval $as_var=C; export $as_var
88860 else
88861 $as_unset $as_var
88863 done
88865 # Required to use basename.
88866 if expr a : '\(a\)' >/dev/null 2>&1; then
88867 as_expr=expr
88868 else
88869 as_expr=false
88872 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88873 as_basename=basename
88874 else
88875 as_basename=false
88879 # Name of the executable.
88880 as_me=`$as_basename "$0" ||
88881 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88882 X"$0" : 'X\(//\)$' \| \
88883 X"$0" : 'X\(/\)$' \| \
88884 . : '\(.\)' 2>/dev/null ||
88885 echo X/"$0" |
88886 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88887 /^X\/\(\/\/\)$/{ s//\1/; q; }
88888 /^X\/\(\/\).*/{ s//\1/; q; }
88889 s/.*/./; q'`
88892 # PATH needs CR, and LINENO needs CR and PATH.
88893 # Avoid depending upon Character Ranges.
88894 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88895 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88896 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88897 as_cr_digits='0123456789'
88898 as_cr_alnum=$as_cr_Letters$as_cr_digits
88900 # The user is always right.
88901 if test "${PATH_SEPARATOR+set}" != set; then
88902 echo "#! /bin/sh" >conf$$.sh
88903 echo "exit 0" >>conf$$.sh
88904 chmod +x conf$$.sh
88905 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88906 PATH_SEPARATOR=';'
88907 else
88908 PATH_SEPARATOR=:
88910 rm -f conf$$.sh
88914 as_lineno_1=$LINENO
88915 as_lineno_2=$LINENO
88916 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88917 test "x$as_lineno_1" != "x$as_lineno_2" &&
88918 test "x$as_lineno_3" = "x$as_lineno_2" || {
88919 # Find who we are. Look in the path if we contain no path at all
88920 # relative or not.
88921 case $0 in
88922 *[\\/]* ) as_myself=$0 ;;
88923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88924 for as_dir in $PATH
88926 IFS=$as_save_IFS
88927 test -z "$as_dir" && as_dir=.
88928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88929 done
88932 esac
88933 # We did not find ourselves, most probably we were run as `sh COMMAND'
88934 # in which case we are not to be found in the path.
88935 if test "x$as_myself" = x; then
88936 as_myself=$0
88938 if test ! -f "$as_myself"; then
88939 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88940 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88941 { (exit 1); exit 1; }; }
88943 case $CONFIG_SHELL in
88945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88946 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88948 IFS=$as_save_IFS
88949 test -z "$as_dir" && as_dir=.
88950 for as_base in sh bash ksh sh5; do
88951 case $as_dir in
88953 if ("$as_dir/$as_base" -c '
88954 as_lineno_1=$LINENO
88955 as_lineno_2=$LINENO
88956 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88957 test "x$as_lineno_1" != "x$as_lineno_2" &&
88958 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
88959 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88960 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88961 CONFIG_SHELL=$as_dir/$as_base
88962 export CONFIG_SHELL
88963 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88964 fi;;
88965 esac
88966 done
88967 done
88969 esac
88971 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88972 # uniformly replaced by the line number. The first 'sed' inserts a
88973 # line-number line before each line; the second 'sed' does the real
88974 # work. The second script uses 'N' to pair each line-number line
88975 # with the numbered line, and appends trailing '-' during
88976 # substitution so that $LINENO is not a special case at line end.
88977 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88978 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
88979 sed '=' <$as_myself |
88980 sed '
88982 s,$,-,
88983 : loop
88984 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88985 t loop
88986 s,-$,,
88987 s,^['$as_cr_digits']*\n,,
88988 ' >$as_me.lineno &&
88989 chmod +x $as_me.lineno ||
88990 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88991 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88992 { (exit 1); exit 1; }; }
88994 # Don't try to exec as it changes $[0], causing all sort of problems
88995 # (the dirname of $[0] is not the place where we might find the
88996 # original and so on. Autoconf is especially sensible to this).
88997 . ./$as_me.lineno
88998 # Exit status is that of the last command.
88999 exit
89003 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89004 *c*,-n*) ECHO_N= ECHO_C='
89005 ' ECHO_T=' ' ;;
89006 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89007 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89008 esac
89010 if expr a : '\(a\)' >/dev/null 2>&1; then
89011 as_expr=expr
89012 else
89013 as_expr=false
89016 rm -f conf$$ conf$$.exe conf$$.file
89017 echo >conf$$.file
89018 if ln -s conf$$.file conf$$ 2>/dev/null; then
89019 # We could just check for DJGPP; but this test a) works b) is more generic
89020 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89021 if test -f conf$$.exe; then
89022 # Don't use ln at all; we don't have any links
89023 as_ln_s='cp -p'
89024 else
89025 as_ln_s='ln -s'
89027 elif ln conf$$.file conf$$ 2>/dev/null; then
89028 as_ln_s=ln
89029 else
89030 as_ln_s='cp -p'
89032 rm -f conf$$ conf$$.exe conf$$.file
89034 if mkdir -p . 2>/dev/null; then
89035 as_mkdir_p=:
89036 else
89037 test -d ./-p && rmdir ./-p
89038 as_mkdir_p=false
89041 as_executable_p="test -f"
89043 # Sed expression to map a string onto a valid CPP name.
89044 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89046 # Sed expression to map a string onto a valid variable name.
89047 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89050 # IFS
89051 # We need space, tab and new line, in precisely that order.
89052 as_nl='
89054 IFS=" $as_nl"
89056 # CDPATH.
89057 $as_unset CDPATH
89059 exec 6>&1
89061 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89062 # report actual input values of CONFIG_FILES etc. instead of their
89063 # values after options handling. Logging --version etc. is OK.
89064 exec 5>>config.log
89066 echo
89067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89068 ## Running $as_me. ##
89069 _ASBOX
89070 } >&5
89071 cat >&5 <<_CSEOF
89073 This file was extended by package-unused $as_me version-unused, which was
89074 generated by GNU Autoconf 2.59. Invocation command line was
89076 CONFIG_FILES = $CONFIG_FILES
89077 CONFIG_HEADERS = $CONFIG_HEADERS
89078 CONFIG_LINKS = $CONFIG_LINKS
89079 CONFIG_COMMANDS = $CONFIG_COMMANDS
89080 $ $0 $@
89082 _CSEOF
89083 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89084 echo >&5
89085 _ACEOF
89087 # Files that config.status was made for.
89088 if test -n "$ac_config_files"; then
89089 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89092 if test -n "$ac_config_headers"; then
89093 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89096 if test -n "$ac_config_links"; then
89097 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89100 if test -n "$ac_config_commands"; then
89101 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89104 cat >>$CONFIG_STATUS <<\_ACEOF
89106 ac_cs_usage="\
89107 \`$as_me' instantiates files from templates according to the
89108 current configuration.
89110 Usage: $0 [OPTIONS] [FILE]...
89112 -h, --help print this help, then exit
89113 -V, --version print version number, then exit
89114 -q, --quiet do not print progress messages
89115 -d, --debug don't remove temporary files
89116 --recheck update $as_me by reconfiguring in the same conditions
89117 --file=FILE[:TEMPLATE]
89118 instantiate the configuration file FILE
89119 --header=FILE[:TEMPLATE]
89120 instantiate the configuration header FILE
89122 Configuration files:
89123 $config_files
89125 Configuration headers:
89126 $config_headers
89128 Configuration commands:
89129 $config_commands
89131 Report bugs to <bug-autoconf@gnu.org>."
89132 _ACEOF
89134 cat >>$CONFIG_STATUS <<_ACEOF
89135 ac_cs_version="\\
89136 package-unused config.status version-unused
89137 configured by $0, generated by GNU Autoconf 2.59,
89138 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89140 Copyright (C) 2003 Free Software Foundation, Inc.
89141 This config.status script is free software; the Free Software Foundation
89142 gives unlimited permission to copy, distribute and modify it."
89143 srcdir=$srcdir
89144 INSTALL="$INSTALL"
89145 _ACEOF
89147 cat >>$CONFIG_STATUS <<\_ACEOF
89148 # If no file are specified by the user, then we need to provide default
89149 # value. By we need to know if files were specified by the user.
89150 ac_need_defaults=:
89151 while test $# != 0
89153 case $1 in
89154 --*=*)
89155 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89156 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89157 ac_shift=:
89160 ac_option=$1
89161 ac_optarg=$2
89162 ac_shift=shift
89164 *) # This is not an option, so the user has probably given explicit
89165 # arguments.
89166 ac_option=$1
89167 ac_need_defaults=false;;
89168 esac
89170 case $ac_option in
89171 # Handling of the options.
89172 _ACEOF
89173 cat >>$CONFIG_STATUS <<\_ACEOF
89174 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89175 ac_cs_recheck=: ;;
89176 --version | --vers* | -V )
89177 echo "$ac_cs_version"; exit 0 ;;
89178 --he | --h)
89179 # Conflict between --help and --header
89180 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89181 Try \`$0 --help' for more information." >&5
89182 echo "$as_me: error: ambiguous option: $1
89183 Try \`$0 --help' for more information." >&2;}
89184 { (exit 1); exit 1; }; };;
89185 --help | --hel | -h )
89186 echo "$ac_cs_usage"; exit 0 ;;
89187 --debug | --d* | -d )
89188 debug=: ;;
89189 --file | --fil | --fi | --f )
89190 $ac_shift
89191 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89192 ac_need_defaults=false;;
89193 --header | --heade | --head | --hea )
89194 $ac_shift
89195 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89196 ac_need_defaults=false;;
89197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89198 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89199 ac_cs_silent=: ;;
89201 # This is an error.
89202 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89203 Try \`$0 --help' for more information." >&5
89204 echo "$as_me: error: unrecognized option: $1
89205 Try \`$0 --help' for more information." >&2;}
89206 { (exit 1); exit 1; }; } ;;
89208 *) ac_config_targets="$ac_config_targets $1" ;;
89210 esac
89211 shift
89212 done
89214 ac_configure_extra_args=
89216 if $ac_cs_silent; then
89217 exec 6>/dev/null
89218 ac_configure_extra_args="$ac_configure_extra_args --silent"
89221 _ACEOF
89222 cat >>$CONFIG_STATUS <<_ACEOF
89223 if \$ac_cs_recheck; then
89224 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89225 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89228 _ACEOF
89230 cat >>$CONFIG_STATUS <<_ACEOF
89232 # INIT-COMMANDS section.
89236 srcdir="$srcdir"
89237 host="$host"
89238 target="$target"
89239 with_multisubdir="$with_multisubdir"
89240 with_multisrctop="$with_multisrctop"
89241 with_target_subdir="$with_target_subdir"
89242 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89243 multi_basedir="$multi_basedir"
89244 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89245 CC="$CC"
89247 # Variables needed in config.status (file generation) which aren't already
89248 # passed by autoconf.
89249 SUBDIRS="$SUBDIRS"
89252 _ACEOF
89256 cat >>$CONFIG_STATUS <<\_ACEOF
89257 for ac_config_target in $ac_config_targets
89259 case "$ac_config_target" in
89260 # Handling of arguments.
89261 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89262 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89263 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89264 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89265 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89266 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89267 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89268 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89269 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89270 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89271 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89272 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89273 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89274 { (exit 1); exit 1; }; };;
89275 esac
89276 done
89278 # If the user did not use the arguments to specify the items to instantiate,
89279 # then the envvar interface is used. Set only those that are not.
89280 # We use the long form for the default assignment because of an extremely
89281 # bizarre bug on SunOS 4.1.3.
89282 if $ac_need_defaults; then
89283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89285 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89288 # Have a temporary directory for convenience. Make it in the build tree
89289 # simply because there is no reason to put it here, and in addition,
89290 # creating and moving files from /tmp can sometimes cause problems.
89291 # Create a temporary directory, and hook for its removal unless debugging.
89292 $debug ||
89294 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89295 trap '{ (exit 1); exit 1; }' 1 2 13 15
89298 # Create a (secure) tmp directory for tmp files.
89301 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89302 test -n "$tmp" && test -d "$tmp"
89303 } ||
89305 tmp=./confstat$$-$RANDOM
89306 (umask 077 && mkdir $tmp)
89307 } ||
89309 echo "$me: cannot create a temporary directory in ." >&2
89310 { (exit 1); exit 1; }
89313 _ACEOF
89315 cat >>$CONFIG_STATUS <<_ACEOF
89318 # CONFIG_FILES section.
89321 # No need to generate the scripts if there are no CONFIG_FILES.
89322 # This happens for instance when ./config.status config.h
89323 if test -n "\$CONFIG_FILES"; then
89324 # Protect against being on the right side of a sed subst in config.status.
89325 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89326 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89327 s,@SHELL@,$SHELL,;t t
89328 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89329 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89330 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89331 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89332 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89333 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89334 s,@exec_prefix@,$exec_prefix,;t t
89335 s,@prefix@,$prefix,;t t
89336 s,@program_transform_name@,$program_transform_name,;t t
89337 s,@bindir@,$bindir,;t t
89338 s,@sbindir@,$sbindir,;t t
89339 s,@libexecdir@,$libexecdir,;t t
89340 s,@datadir@,$datadir,;t t
89341 s,@sysconfdir@,$sysconfdir,;t t
89342 s,@sharedstatedir@,$sharedstatedir,;t t
89343 s,@localstatedir@,$localstatedir,;t t
89344 s,@libdir@,$libdir,;t t
89345 s,@includedir@,$includedir,;t t
89346 s,@oldincludedir@,$oldincludedir,;t t
89347 s,@infodir@,$infodir,;t t
89348 s,@mandir@,$mandir,;t t
89349 s,@build_alias@,$build_alias,;t t
89350 s,@host_alias@,$host_alias,;t t
89351 s,@target_alias@,$target_alias,;t t
89352 s,@DEFS@,$DEFS,;t t
89353 s,@ECHO_C@,$ECHO_C,;t t
89354 s,@ECHO_N@,$ECHO_N,;t t
89355 s,@ECHO_T@,$ECHO_T,;t t
89356 s,@LIBS@,$LIBS,;t t
89357 s,@libtool_VERSION@,$libtool_VERSION,;t t
89358 s,@multi_basedir@,$multi_basedir,;t t
89359 s,@build@,$build,;t t
89360 s,@build_cpu@,$build_cpu,;t t
89361 s,@build_vendor@,$build_vendor,;t t
89362 s,@build_os@,$build_os,;t t
89363 s,@host@,$host,;t t
89364 s,@host_cpu@,$host_cpu,;t t
89365 s,@host_vendor@,$host_vendor,;t t
89366 s,@host_os@,$host_os,;t t
89367 s,@target@,$target,;t t
89368 s,@target_cpu@,$target_cpu,;t t
89369 s,@target_vendor@,$target_vendor,;t t
89370 s,@target_os@,$target_os,;t t
89371 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89372 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89373 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89374 s,@CYGPATH_W@,$CYGPATH_W,;t t
89375 s,@PACKAGE@,$PACKAGE,;t t
89376 s,@VERSION@,$VERSION,;t t
89377 s,@ACLOCAL@,$ACLOCAL,;t t
89378 s,@AUTOCONF@,$AUTOCONF,;t t
89379 s,@AUTOMAKE@,$AUTOMAKE,;t t
89380 s,@AUTOHEADER@,$AUTOHEADER,;t t
89381 s,@MAKEINFO@,$MAKEINFO,;t t
89382 s,@install_sh@,$install_sh,;t t
89383 s,@STRIP@,$STRIP,;t t
89384 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89385 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89386 s,@mkdir_p@,$mkdir_p,;t t
89387 s,@AWK@,$AWK,;t t
89388 s,@SET_MAKE@,$SET_MAKE,;t t
89389 s,@am__leading_dot@,$am__leading_dot,;t t
89390 s,@AMTAR@,$AMTAR,;t t
89391 s,@am__tar@,$am__tar,;t t
89392 s,@am__untar@,$am__untar,;t t
89393 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89394 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89395 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89396 s,@CC@,$CC,;t t
89397 s,@ac_ct_CC@,$ac_ct_CC,;t t
89398 s,@EXEEXT@,$EXEEXT,;t t
89399 s,@OBJEXT@,$OBJEXT,;t t
89400 s,@CXX@,$CXX,;t t
89401 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89402 s,@CFLAGS@,$CFLAGS,;t t
89403 s,@CXXFLAGS@,$CXXFLAGS,;t t
89404 s,@LN_S@,$LN_S,;t t
89405 s,@AS@,$AS,;t t
89406 s,@ac_ct_AS@,$ac_ct_AS,;t t
89407 s,@AR@,$AR,;t t
89408 s,@ac_ct_AR@,$ac_ct_AR,;t t
89409 s,@RANLIB@,$RANLIB,;t t
89410 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89411 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89412 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89413 s,@MAINT@,$MAINT,;t t
89414 s,@LIBTOOL@,$LIBTOOL,;t t
89415 s,@CXXCPP@,$CXXCPP,;t t
89416 s,@CPPFLAGS@,$CPPFLAGS,;t t
89417 s,@enable_shared@,$enable_shared,;t t
89418 s,@enable_static@,$enable_static,;t t
89419 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89420 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89421 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89422 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89423 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89424 s,@CSTDIO_H@,$CSTDIO_H,;t t
89425 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89426 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89427 s,@CPP@,$CPP,;t t
89428 s,@EGREP@,$EGREP,;t t
89429 s,@check_msgfmt@,$check_msgfmt,;t t
89430 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89431 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89432 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89433 s,@USE_NLS@,$USE_NLS,;t t
89434 s,@CLOCALE_H@,$CLOCALE_H,;t t
89435 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89436 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89437 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89438 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89439 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89440 s,@CMONEY_CC@,$CMONEY_CC,;t t
89441 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89442 s,@CTIME_H@,$CTIME_H,;t t
89443 s,@CTIME_CC@,$CTIME_CC,;t t
89444 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89445 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89446 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89447 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89448 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89449 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89450 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89451 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89452 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89453 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89454 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89455 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89456 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89457 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89458 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89459 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89460 s,@WERROR@,$WERROR,;t t
89461 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89462 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89463 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89464 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89465 s,@LIBICONV@,$LIBICONV,;t t
89466 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89467 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89468 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89469 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89470 s,@ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@,$ENABLE_SYMVERS_DARWIN_EXPORT_TRUE,;t t
89471 s,@ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@,$ENABLE_SYMVERS_DARWIN_EXPORT_FALSE,;t t
89472 s,@baseline_dir@,$baseline_dir,;t t
89473 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89474 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89475 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89476 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89477 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89478 s,@gxx_include_dir@,$gxx_include_dir,;t t
89479 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89480 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89481 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89482 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89483 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89484 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89485 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89486 s,@LIBOBJS@,$LIBOBJS,;t t
89487 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89488 CEOF
89490 _ACEOF
89492 cat >>$CONFIG_STATUS <<\_ACEOF
89493 # Split the substitutions into bite-sized pieces for seds with
89494 # small command number limits, like on Digital OSF/1 and HP-UX.
89495 ac_max_sed_lines=48
89496 ac_sed_frag=1 # Number of current file.
89497 ac_beg=1 # First line for current file.
89498 ac_end=$ac_max_sed_lines # Line after last line for current file.
89499 ac_more_lines=:
89500 ac_sed_cmds=
89501 while $ac_more_lines; do
89502 if test $ac_beg -gt 1; then
89503 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89504 else
89505 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89507 if test ! -s $tmp/subs.frag; then
89508 ac_more_lines=false
89509 else
89510 # The purpose of the label and of the branching condition is to
89511 # speed up the sed processing (if there are no `@' at all, there
89512 # is no need to browse any of the substitutions).
89513 # These are the two extra sed commands mentioned above.
89514 (echo ':t
89515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89516 if test -z "$ac_sed_cmds"; then
89517 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89518 else
89519 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89521 ac_sed_frag=`expr $ac_sed_frag + 1`
89522 ac_beg=$ac_end
89523 ac_end=`expr $ac_end + $ac_max_sed_lines`
89525 done
89526 if test -z "$ac_sed_cmds"; then
89527 ac_sed_cmds=cat
89529 fi # test -n "$CONFIG_FILES"
89531 _ACEOF
89532 cat >>$CONFIG_STATUS <<\_ACEOF
89533 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89534 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89535 case $ac_file in
89536 - | *:- | *:-:* ) # input from stdin
89537 cat >$tmp/stdin
89538 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89539 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89540 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89541 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89542 * ) ac_file_in=$ac_file.in ;;
89543 esac
89545 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89546 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89548 X"$ac_file" : 'X\(//\)[^/]' \| \
89549 X"$ac_file" : 'X\(//\)$' \| \
89550 X"$ac_file" : 'X\(/\)' \| \
89551 . : '\(.\)' 2>/dev/null ||
89552 echo X"$ac_file" |
89553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89555 /^X\(\/\/\)$/{ s//\1/; q; }
89556 /^X\(\/\).*/{ s//\1/; q; }
89557 s/.*/./; q'`
89558 { if $as_mkdir_p; then
89559 mkdir -p "$ac_dir"
89560 else
89561 as_dir="$ac_dir"
89562 as_dirs=
89563 while test ! -d "$as_dir"; do
89564 as_dirs="$as_dir $as_dirs"
89565 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89567 X"$as_dir" : 'X\(//\)[^/]' \| \
89568 X"$as_dir" : 'X\(//\)$' \| \
89569 X"$as_dir" : 'X\(/\)' \| \
89570 . : '\(.\)' 2>/dev/null ||
89571 echo X"$as_dir" |
89572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89574 /^X\(\/\/\)$/{ s//\1/; q; }
89575 /^X\(\/\).*/{ s//\1/; q; }
89576 s/.*/./; q'`
89577 done
89578 test ! -n "$as_dirs" || mkdir $as_dirs
89579 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89581 { (exit 1); exit 1; }; }; }
89583 ac_builddir=.
89585 if test "$ac_dir" != .; then
89586 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89587 # A "../" for each directory in $ac_dir_suffix.
89588 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89589 else
89590 ac_dir_suffix= ac_top_builddir=
89593 case $srcdir in
89594 .) # No --srcdir option. We are building in place.
89595 ac_srcdir=.
89596 if test -z "$ac_top_builddir"; then
89597 ac_top_srcdir=.
89598 else
89599 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89600 fi ;;
89601 [\\/]* | ?:[\\/]* ) # Absolute path.
89602 ac_srcdir=$srcdir$ac_dir_suffix;
89603 ac_top_srcdir=$srcdir ;;
89604 *) # Relative path.
89605 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89606 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89607 esac
89609 # Do not use `cd foo && pwd` to compute absolute paths, because
89610 # the directories may not exist.
89611 case `pwd` in
89612 .) ac_abs_builddir="$ac_dir";;
89614 case "$ac_dir" in
89615 .) ac_abs_builddir=`pwd`;;
89616 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89617 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89618 esac;;
89619 esac
89620 case $ac_abs_builddir in
89621 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89623 case ${ac_top_builddir}. in
89624 .) ac_abs_top_builddir=$ac_abs_builddir;;
89625 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89626 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89627 esac;;
89628 esac
89629 case $ac_abs_builddir in
89630 .) ac_abs_srcdir=$ac_srcdir;;
89632 case $ac_srcdir in
89633 .) ac_abs_srcdir=$ac_abs_builddir;;
89634 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89635 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89636 esac;;
89637 esac
89638 case $ac_abs_builddir in
89639 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89641 case $ac_top_srcdir in
89642 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89643 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89644 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89645 esac;;
89646 esac
89649 case $INSTALL in
89650 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89651 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89652 esac
89654 if test x"$ac_file" != x-; then
89655 { echo "$as_me:$LINENO: creating $ac_file" >&5
89656 echo "$as_me: creating $ac_file" >&6;}
89657 rm -f "$ac_file"
89659 # Let's still pretend it is `configure' which instantiates (i.e., don't
89660 # use $as_me), people would be surprised to read:
89661 # /* config.h. Generated by config.status. */
89662 if test x"$ac_file" = x-; then
89663 configure_input=
89664 else
89665 configure_input="$ac_file. "
89667 configure_input=$configure_input"Generated from `echo $ac_file_in |
89668 sed 's,.*/,,'` by configure."
89670 # First look for the input files in the build tree, otherwise in the
89671 # src tree.
89672 ac_file_inputs=`IFS=:
89673 for f in $ac_file_in; do
89674 case $f in
89675 -) echo $tmp/stdin ;;
89676 [\\/$]*)
89677 # Absolute (can't be DOS-style, as IFS=:)
89678 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89679 echo "$as_me: error: cannot find input file: $f" >&2;}
89680 { (exit 1); exit 1; }; }
89681 echo "$f";;
89682 *) # Relative
89683 if test -f "$f"; then
89684 # Build tree
89685 echo "$f"
89686 elif test -f "$srcdir/$f"; then
89687 # Source tree
89688 echo "$srcdir/$f"
89689 else
89690 # /dev/null tree
89691 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89692 echo "$as_me: error: cannot find input file: $f" >&2;}
89693 { (exit 1); exit 1; }; }
89694 fi;;
89695 esac
89696 done` || { (exit 1); exit 1; }
89697 _ACEOF
89698 cat >>$CONFIG_STATUS <<_ACEOF
89699 sed "$ac_vpsub
89700 $extrasub
89701 _ACEOF
89702 cat >>$CONFIG_STATUS <<\_ACEOF
89704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89705 s,@configure_input@,$configure_input,;t t
89706 s,@srcdir@,$ac_srcdir,;t t
89707 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89708 s,@top_srcdir@,$ac_top_srcdir,;t t
89709 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89710 s,@builddir@,$ac_builddir,;t t
89711 s,@abs_builddir@,$ac_abs_builddir,;t t
89712 s,@top_builddir@,$ac_top_builddir,;t t
89713 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89714 s,@INSTALL@,$ac_INSTALL,;t t
89715 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89716 rm -f $tmp/stdin
89717 if test x"$ac_file" != x-; then
89718 mv $tmp/out $ac_file
89719 else
89720 cat $tmp/out
89721 rm -f $tmp/out
89724 # Run the commands associated with the file.
89725 case $ac_file in
89726 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89727 esac
89728 done
89729 _ACEOF
89730 cat >>$CONFIG_STATUS <<\_ACEOF
89733 # CONFIG_HEADER section.
89736 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89737 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89739 # ac_d sets the value in "#define NAME VALUE" lines.
89740 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89741 ac_dB='[ ].*$,\1#\2'
89742 ac_dC=' '
89743 ac_dD=',;t'
89744 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89745 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89746 ac_uB='$,\1#\2define\3'
89747 ac_uC=' '
89748 ac_uD=',;t'
89750 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89751 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89752 case $ac_file in
89753 - | *:- | *:-:* ) # input from stdin
89754 cat >$tmp/stdin
89755 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89756 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89757 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89758 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89759 * ) ac_file_in=$ac_file.in ;;
89760 esac
89762 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89763 echo "$as_me: creating $ac_file" >&6;}
89765 # First look for the input files in the build tree, otherwise in the
89766 # src tree.
89767 ac_file_inputs=`IFS=:
89768 for f in $ac_file_in; do
89769 case $f in
89770 -) echo $tmp/stdin ;;
89771 [\\/$]*)
89772 # Absolute (can't be DOS-style, as IFS=:)
89773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89774 echo "$as_me: error: cannot find input file: $f" >&2;}
89775 { (exit 1); exit 1; }; }
89776 # Do quote $f, to prevent DOS paths from being IFS'd.
89777 echo "$f";;
89778 *) # Relative
89779 if test -f "$f"; then
89780 # Build tree
89781 echo "$f"
89782 elif test -f "$srcdir/$f"; then
89783 # Source tree
89784 echo "$srcdir/$f"
89785 else
89786 # /dev/null tree
89787 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89788 echo "$as_me: error: cannot find input file: $f" >&2;}
89789 { (exit 1); exit 1; }; }
89790 fi;;
89791 esac
89792 done` || { (exit 1); exit 1; }
89793 # Remove the trailing spaces.
89794 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89796 _ACEOF
89798 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89799 # `conftest.undefs', that substitutes the proper values into
89800 # config.h.in to produce config.h. The first handles `#define'
89801 # templates, and the second `#undef' templates.
89802 # And first: Protect against being on the right side of a sed subst in
89803 # config.status. Protect against being in an unquoted here document
89804 # in config.status.
89805 rm -f conftest.defines conftest.undefs
89806 # Using a here document instead of a string reduces the quoting nightmare.
89807 # Putting comments in sed scripts is not portable.
89809 # `end' is used to avoid that the second main sed command (meant for
89810 # 0-ary CPP macros) applies to n-ary macro definitions.
89811 # See the Autoconf documentation for `clear'.
89812 cat >confdef2sed.sed <<\_ACEOF
89813 s/[\\&,]/\\&/g
89814 s,[\\$`],\\&,g
89815 t clear
89816 : clear
89817 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89818 t end
89819 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89820 : end
89821 _ACEOF
89822 # If some macros were called several times there might be several times
89823 # the same #defines, which is useless. Nevertheless, we may not want to
89824 # sort them, since we want the *last* AC-DEFINE to be honored.
89825 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89826 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89827 rm -f confdef2sed.sed
89829 # This sed command replaces #undef with comments. This is necessary, for
89830 # example, in the case of _POSIX_SOURCE, which is predefined and required
89831 # on some systems where configure will not decide to define it.
89832 cat >>conftest.undefs <<\_ACEOF
89833 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89834 _ACEOF
89836 # Break up conftest.defines because some shells have a limit on the size
89837 # of here documents, and old seds have small limits too (100 cmds).
89838 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89839 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89840 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89841 echo ' :' >>$CONFIG_STATUS
89842 rm -f conftest.tail
89843 while grep . conftest.defines >/dev/null
89845 # Write a limited-size here document to $tmp/defines.sed.
89846 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89847 # Speed up: don't consider the non `#define' lines.
89848 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
89849 # Work around the forget-to-reset-the-flag bug.
89850 echo 't clr' >>$CONFIG_STATUS
89851 echo ': clr' >>$CONFIG_STATUS
89852 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89853 echo 'CEOF
89854 sed -f $tmp/defines.sed $tmp/in >$tmp/out
89855 rm -f $tmp/in
89856 mv $tmp/out $tmp/in
89857 ' >>$CONFIG_STATUS
89858 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89859 rm -f conftest.defines
89860 mv conftest.tail conftest.defines
89861 done
89862 rm -f conftest.defines
89863 echo ' fi # grep' >>$CONFIG_STATUS
89864 echo >>$CONFIG_STATUS
89866 # Break up conftest.undefs because some shells have a limit on the size
89867 # of here documents, and old seds have small limits too (100 cmds).
89868 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
89869 rm -f conftest.tail
89870 while grep . conftest.undefs >/dev/null
89872 # Write a limited-size here document to $tmp/undefs.sed.
89873 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89874 # Speed up: don't consider the non `#undef'
89875 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
89876 # Work around the forget-to-reset-the-flag bug.
89877 echo 't clr' >>$CONFIG_STATUS
89878 echo ': clr' >>$CONFIG_STATUS
89879 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89880 echo 'CEOF
89881 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89882 rm -f $tmp/in
89883 mv $tmp/out $tmp/in
89884 ' >>$CONFIG_STATUS
89885 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89886 rm -f conftest.undefs
89887 mv conftest.tail conftest.undefs
89888 done
89889 rm -f conftest.undefs
89891 cat >>$CONFIG_STATUS <<\_ACEOF
89892 # Let's still pretend it is `configure' which instantiates (i.e., don't
89893 # use $as_me), people would be surprised to read:
89894 # /* config.h. Generated by config.status. */
89895 if test x"$ac_file" = x-; then
89896 echo "/* Generated by configure. */" >$tmp/config.h
89897 else
89898 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
89900 cat $tmp/in >>$tmp/config.h
89901 rm -f $tmp/in
89902 if test x"$ac_file" != x-; then
89903 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89904 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89905 echo "$as_me: $ac_file is unchanged" >&6;}
89906 else
89907 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89909 X"$ac_file" : 'X\(//\)[^/]' \| \
89910 X"$ac_file" : 'X\(//\)$' \| \
89911 X"$ac_file" : 'X\(/\)' \| \
89912 . : '\(.\)' 2>/dev/null ||
89913 echo X"$ac_file" |
89914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89916 /^X\(\/\/\)$/{ s//\1/; q; }
89917 /^X\(\/\).*/{ s//\1/; q; }
89918 s/.*/./; q'`
89919 { if $as_mkdir_p; then
89920 mkdir -p "$ac_dir"
89921 else
89922 as_dir="$ac_dir"
89923 as_dirs=
89924 while test ! -d "$as_dir"; do
89925 as_dirs="$as_dir $as_dirs"
89926 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89928 X"$as_dir" : 'X\(//\)[^/]' \| \
89929 X"$as_dir" : 'X\(//\)$' \| \
89930 X"$as_dir" : 'X\(/\)' \| \
89931 . : '\(.\)' 2>/dev/null ||
89932 echo X"$as_dir" |
89933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89934 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89935 /^X\(\/\/\)$/{ s//\1/; q; }
89936 /^X\(\/\).*/{ s//\1/; q; }
89937 s/.*/./; q'`
89938 done
89939 test ! -n "$as_dirs" || mkdir $as_dirs
89940 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89941 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89942 { (exit 1); exit 1; }; }; }
89944 rm -f $ac_file
89945 mv $tmp/config.h $ac_file
89947 else
89948 cat $tmp/config.h
89949 rm -f $tmp/config.h
89951 # Compute $ac_file's index in $config_headers.
89952 _am_stamp_count=1
89953 for _am_header in $config_headers :; do
89954 case $_am_header in
89955 $ac_file | $ac_file:* )
89956 break ;;
89958 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89959 esac
89960 done
89961 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89962 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89963 X$ac_file : 'X\(//\)[^/]' \| \
89964 X$ac_file : 'X\(//\)$' \| \
89965 X$ac_file : 'X\(/\)' \| \
89966 . : '\(.\)' 2>/dev/null ||
89967 echo X$ac_file |
89968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89969 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89970 /^X\(\/\/\)$/{ s//\1/; q; }
89971 /^X\(\/\).*/{ s//\1/; q; }
89972 s/.*/./; q'`/stamp-h$_am_stamp_count
89973 done
89974 _ACEOF
89975 cat >>$CONFIG_STATUS <<\_ACEOF
89978 # CONFIG_COMMANDS section.
89980 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89981 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89982 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89983 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89984 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89985 X"$ac_dest" : 'X\(//\)[^/]' \| \
89986 X"$ac_dest" : 'X\(//\)$' \| \
89987 X"$ac_dest" : 'X\(/\)' \| \
89988 . : '\(.\)' 2>/dev/null ||
89989 echo X"$ac_dest" |
89990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89992 /^X\(\/\/\)$/{ s//\1/; q; }
89993 /^X\(\/\).*/{ s//\1/; q; }
89994 s/.*/./; q'`
89995 { if $as_mkdir_p; then
89996 mkdir -p "$ac_dir"
89997 else
89998 as_dir="$ac_dir"
89999 as_dirs=
90000 while test ! -d "$as_dir"; do
90001 as_dirs="$as_dir $as_dirs"
90002 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90004 X"$as_dir" : 'X\(//\)[^/]' \| \
90005 X"$as_dir" : 'X\(//\)$' \| \
90006 X"$as_dir" : 'X\(/\)' \| \
90007 . : '\(.\)' 2>/dev/null ||
90008 echo X"$as_dir" |
90009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90011 /^X\(\/\/\)$/{ s//\1/; q; }
90012 /^X\(\/\).*/{ s//\1/; q; }
90013 s/.*/./; q'`
90014 done
90015 test ! -n "$as_dirs" || mkdir $as_dirs
90016 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90017 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90018 { (exit 1); exit 1; }; }; }
90020 ac_builddir=.
90022 if test "$ac_dir" != .; then
90023 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90024 # A "../" for each directory in $ac_dir_suffix.
90025 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90026 else
90027 ac_dir_suffix= ac_top_builddir=
90030 case $srcdir in
90031 .) # No --srcdir option. We are building in place.
90032 ac_srcdir=.
90033 if test -z "$ac_top_builddir"; then
90034 ac_top_srcdir=.
90035 else
90036 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90037 fi ;;
90038 [\\/]* | ?:[\\/]* ) # Absolute path.
90039 ac_srcdir=$srcdir$ac_dir_suffix;
90040 ac_top_srcdir=$srcdir ;;
90041 *) # Relative path.
90042 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90043 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90044 esac
90046 # Do not use `cd foo && pwd` to compute absolute paths, because
90047 # the directories may not exist.
90048 case `pwd` in
90049 .) ac_abs_builddir="$ac_dir";;
90051 case "$ac_dir" in
90052 .) ac_abs_builddir=`pwd`;;
90053 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90054 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90055 esac;;
90056 esac
90057 case $ac_abs_builddir in
90058 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90060 case ${ac_top_builddir}. in
90061 .) ac_abs_top_builddir=$ac_abs_builddir;;
90062 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90063 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90064 esac;;
90065 esac
90066 case $ac_abs_builddir in
90067 .) ac_abs_srcdir=$ac_srcdir;;
90069 case $ac_srcdir in
90070 .) ac_abs_srcdir=$ac_abs_builddir;;
90071 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90072 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90073 esac;;
90074 esac
90075 case $ac_abs_builddir in
90076 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90078 case $ac_top_srcdir in
90079 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90080 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90081 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90082 esac;;
90083 esac
90086 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90087 echo "$as_me: executing $ac_dest commands" >&6;}
90088 case $ac_dest in
90089 default-1 )
90090 # Only add multilib support code if we just rebuilt the top-level
90091 # Makefile.
90092 case " $CONFIG_FILES " in
90093 *" Makefile "*)
90094 ac_file=Makefile . ${multi_basedir}/config-ml.in
90096 esac ;;
90097 default ) if test -n "$CONFIG_FILES"; then
90098 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90099 # that multilib installs will end up installed in the correct place.
90100 # The testsuite needs it for multilib-aware ABI baseline files.
90101 # To work around this not being passed down from config-ml.in ->
90102 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90103 # append it here. Only modify Makefiles that have just been created.
90105 # Also, get rid of this simulated-VPATH thing that automake does.
90106 cat > vpsed << \_EOF
90107 s!`test -f '$<' || echo '$(srcdir)/'`!!
90108 _EOF
90109 for i in $SUBDIRS; do
90110 case $CONFIG_FILES in
90111 *${i}/Makefile*)
90112 #echo "Adding MULTISUBDIR to $i/Makefile"
90113 sed -f vpsed $i/Makefile > tmp
90114 grep '^MULTISUBDIR =' Makefile >> tmp
90115 mv tmp $i/Makefile
90117 esac
90118 done
90119 rm vpsed
90121 (cd include && ${MAKE-make})
90123 esac
90124 done
90125 _ACEOF
90127 cat >>$CONFIG_STATUS <<\_ACEOF
90129 { (exit 0); exit 0; }
90130 _ACEOF
90131 chmod +x $CONFIG_STATUS
90132 ac_clean_files=$ac_clean_files_save
90135 # configure is writing to config.log, and then calls config.status.
90136 # config.status does its own redirection, appending to config.log.
90137 # Unfortunately, on DOS this fails, as config.log is still kept open
90138 # by configure, so config.status won't be able to write to it; its
90139 # output is simply discarded. So we exec the FD to /dev/null,
90140 # effectively closing config.log, so it can be properly (re)opened and
90141 # appended to by config.status. When coming back to configure, we
90142 # need to make the FD available again.
90143 if test "$no_create" != yes; then
90144 ac_cs_success=:
90145 ac_config_status_args=
90146 test "$silent" = yes &&
90147 ac_config_status_args="$ac_config_status_args --quiet"
90148 exec 5>/dev/null
90149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90150 exec 5>>config.log
90151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90152 # would make configure fail if this is the last instruction.
90153 $ac_cs_success || { (exit 1); exit 1; }