2004-07-12 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / libstdc++-v3 / configure
blob139f06afc7c27e934d3c8a2284c73ae3bbad0d96
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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 CCODECVT_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 glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
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-symvers=STYLE enables symbol versioning of the shared library
888 [default=yes]
889 --enable-version-specific-runtime-libs
890 Specify that runtime libraries should be installed
891 in a compiler-specific directory
893 Optional Packages:
894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
896 --with-target-subdir=SUBDIR
897 configuring in a subdirectory
898 --with-cross-host=HOST configuring with a cross compiler
899 --with-newlib assume newlib as a system C library
900 --with-gnu-ld assume the C compiler uses GNU ld default=no
901 --with-pic try to use only PIC/non-PIC objects default=use both
902 --with-gxx-include-dir=DIR
903 installation directory for include files
905 Some influential environment variables:
906 CC C compiler command
907 CFLAGS C compiler flags
908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909 nonstandard directory <lib dir>
910 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911 headers in a nonstandard directory <include dir>
912 CXX C++ compiler command
913 CXXFLAGS C++ compiler flags
914 CXXCPP C++ preprocessor
915 CPP C preprocessor
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
920 _ACEOF
923 if test "$ac_init_help" = "recursive"; then
924 # If there are subdirs, report their specific --help.
925 ac_popdir=`pwd`
926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927 test -d $ac_dir || continue
928 ac_builddir=.
930 if test "$ac_dir" != .; then
931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932 # A "../" for each directory in $ac_dir_suffix.
933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 else
935 ac_dir_suffix= ac_top_builddir=
938 case $srcdir in
939 .) # No --srcdir option. We are building in place.
940 ac_srcdir=.
941 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir=.
943 else
944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945 fi ;;
946 [\\/]* | ?:[\\/]* ) # Absolute path.
947 ac_srcdir=$srcdir$ac_dir_suffix;
948 ac_top_srcdir=$srcdir ;;
949 *) # Relative path.
950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 esac
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
956 case `pwd` in
957 .) ac_abs_builddir="$ac_dir";;
959 case "$ac_dir" in
960 .) ac_abs_builddir=`pwd`;;
961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962 *) ac_abs_builddir=`pwd`/"$ac_dir";;
963 esac;;
964 esac
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
968 case ${ac_top_builddir}. in
969 .) ac_abs_top_builddir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972 esac;;
973 esac
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
977 case $ac_srcdir in
978 .) ac_abs_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981 esac;;
982 esac
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
986 case $ac_top_srcdir in
987 .) ac_abs_top_srcdir=$ac_abs_builddir;;
988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990 esac;;
991 esac
993 cd $ac_dir
994 # Check for guested configure; otherwise get Cygnus style configure.
995 if test -f $ac_srcdir/configure.gnu; then
996 echo
997 $SHELL $ac_srcdir/configure.gnu --help=recursive
998 elif test -f $ac_srcdir/configure; then
999 echo
1000 $SHELL $ac_srcdir/configure --help=recursive
1001 elif test -f $ac_srcdir/configure.ac ||
1002 test -f $ac_srcdir/configure.in; then
1003 echo
1004 $ac_configure --help
1005 else
1006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1008 cd "$ac_popdir"
1009 done
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1014 cat <<\_ACEOF
1015 package-unused configure version-unused
1016 generated by GNU Autoconf 2.59
1018 Copyright (C) 2003 Free Software Foundation, Inc.
1019 This configure script is free software; the Free Software Foundation
1020 gives unlimited permission to copy, distribute and modify it.
1021 _ACEOF
1022 exit 0
1024 exec 5>config.log
1025 cat >&5 <<_ACEOF
1026 This file contains any messages produced by compilers while
1027 running configure, to aid debugging if configure makes a mistake.
1029 It was created by package-unused $as_me version-unused, which was
1030 generated by GNU Autoconf 2.59. Invocation command line was
1032 $ $0 $@
1034 _ACEOF
1036 cat <<_ASUNAME
1037 ## --------- ##
1038 ## Platform. ##
1039 ## --------- ##
1041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 _ASUNAME
1060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061 for as_dir in $PATH
1063 IFS=$as_save_IFS
1064 test -z "$as_dir" && as_dir=.
1065 echo "PATH: $as_dir"
1066 done
1068 } >&5
1070 cat >&5 <<_ACEOF
1073 ## ----------- ##
1074 ## Core tests. ##
1075 ## ----------- ##
1077 _ACEOF
1080 # Keep a trace of the command line.
1081 # Strip out --no-create and --no-recursion so they do not pile up.
1082 # Strip out --silent because we don't want to record it for future runs.
1083 # Also quote any args containing shell meta-characters.
1084 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_configure_args=
1086 ac_configure_args0=
1087 ac_configure_args1=
1088 ac_sep=
1089 ac_must_keep_next=false
1090 for ac_pass in 1 2
1092 for ac_arg
1094 case $ac_arg in
1095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097 | -silent | --silent | --silen | --sile | --sil)
1098 continue ;;
1099 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 esac
1102 case $ac_pass in
1103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106 if test $ac_must_keep_next = true; then
1107 ac_must_keep_next=false # Got value, back to normal.
1108 else
1109 case $ac_arg in
1110 *=* | --config-cache | -C | -disable-* | --disable-* \
1111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113 | -with-* | --with-* | -without-* | --without-* | --x)
1114 case "$ac_configure_args0 " in
1115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 esac
1118 -* ) ac_must_keep_next=true ;;
1119 esac
1121 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122 # Get rid of the leading space.
1123 ac_sep=" "
1125 esac
1126 done
1127 done
1128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1131 # When interrupted or exit'd, cleanup temporary files, and complete
1132 # config.log. We remove comments because anyway the quotes in there
1133 # would cause problems or look ugly.
1134 # WARNING: Be sure not to use single quotes in there, as some shells,
1135 # such as our DU 5.0 friend, will then `close' the trap.
1136 trap 'exit_status=$?
1137 # Save into config.log some information that might help in debugging.
1139 echo
1141 cat <<\_ASBOX
1142 ## ---------------- ##
1143 ## Cache variables. ##
1144 ## ---------------- ##
1145 _ASBOX
1146 echo
1147 # The following way of writing the cache mishandles newlines in values,
1149 (set) 2>&1 |
1150 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 *ac_space=\ *)
1152 sed -n \
1153 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1157 sed -n \
1158 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1160 esac;
1162 echo
1164 cat <<\_ASBOX
1165 ## ----------------- ##
1166 ## Output variables. ##
1167 ## ----------------- ##
1168 _ASBOX
1169 echo
1170 for ac_var in $ac_subst_vars
1172 eval ac_val=$`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1174 done | sort
1175 echo
1177 if test -n "$ac_subst_files"; then
1178 cat <<\_ASBOX
1179 ## ------------- ##
1180 ## Output files. ##
1181 ## ------------- ##
1182 _ASBOX
1183 echo
1184 for ac_var in $ac_subst_files
1186 eval ac_val=$`echo $ac_var`
1187 echo "$ac_var='"'"'$ac_val'"'"'"
1188 done | sort
1189 echo
1192 if test -s confdefs.h; then
1193 cat <<\_ASBOX
1194 ## ----------- ##
1195 ## confdefs.h. ##
1196 ## ----------- ##
1197 _ASBOX
1198 echo
1199 sed "/^$/d" confdefs.h | sort
1200 echo
1202 test "$ac_signal" != 0 &&
1203 echo "$as_me: caught signal $ac_signal"
1204 echo "$as_me: exit $exit_status"
1205 } >&5
1206 rm -f core *.core &&
1207 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 exit $exit_status
1210 for ac_signal in 1 2 13 15; do
1211 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 done
1213 ac_signal=0
1215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1216 rm -rf conftest* confdefs.h
1217 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 echo >confdefs.h
1220 # Predefined preprocessor variables.
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 _ACEOF
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 _ACEOF
1247 # Let the site file select an alternate cache file if it wants to.
1248 # Prefer explicitly selected file to automatically selected ones.
1249 if test -z "$CONFIG_SITE"; then
1250 if test "x$prefix" != xNONE; then
1251 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252 else
1253 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1256 for ac_site_file in $CONFIG_SITE; do
1257 if test -r "$ac_site_file"; then
1258 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259 echo "$as_me: loading site script $ac_site_file" >&6;}
1260 sed 's/^/| /' "$ac_site_file" >&5
1261 . "$ac_site_file"
1263 done
1265 if test -r "$cache_file"; then
1266 # Some versions of bash will fail to source /dev/null (special
1267 # files actually), so we avoid doing that.
1268 if test -f "$cache_file"; then
1269 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270 echo "$as_me: loading cache $cache_file" >&6;}
1271 case $cache_file in
1272 [\\/]* | ?:[\\/]* ) . $cache_file;;
1273 *) . ./$cache_file;;
1274 esac
1276 else
1277 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278 echo "$as_me: creating cache $cache_file" >&6;}
1279 >$cache_file
1282 # Check that the precious variables saved in the cache have kept the same
1283 # value.
1284 ac_cache_corrupted=false
1285 for ac_var in `(set) 2>&1 |
1286 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288 eval ac_new_set=\$ac_env_${ac_var}_set
1289 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290 eval ac_new_val="\$ac_env_${ac_var}_value"
1291 case $ac_old_set,$ac_new_set in
1292 set,)
1293 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295 ac_cache_corrupted=: ;;
1296 ,set)
1297 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299 ac_cache_corrupted=: ;;
1300 ,);;
1302 if test "x$ac_old_val" != "x$ac_new_val"; then
1303 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1306 echo "$as_me: former value: $ac_old_val" >&2;}
1307 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1308 echo "$as_me: current value: $ac_new_val" >&2;}
1309 ac_cache_corrupted=:
1310 fi;;
1311 esac
1312 # Pass precious variables to config.status.
1313 if test "$ac_new_set" = set; then
1314 case $ac_new_val in
1315 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317 *) ac_arg=$ac_var=$ac_new_val ;;
1318 esac
1319 case " $ac_configure_args " in
1320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322 esac
1324 done
1325 if $ac_cache_corrupted; then
1326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330 { (exit 1); exit 1; }; }
1333 ac_ext=c
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1366 ac_config_headers="$ac_config_headers config.h"
1369 # This works around the fact that libtool configuration may change LD
1370 # for this particular configuration, but some shells, instead of
1371 # keeping the changes in LD private, export them just because LD is
1372 # exported. Only used at the end of this file.
1373 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1375 # For libtool versioning info, format is CURRENT:REVISION:AGE
1376 libtool_VERSION=6:2:0
1379 # Find the rest of the source tree framework.
1380 # Default to --enable-multilib
1381 # Check whether --enable-multilib or --disable-multilib was given.
1382 if test "${enable_multilib+set}" = set; then
1383 enableval="$enable_multilib"
1384 case "$enableval" in
1385 yes) multilib=yes ;;
1386 no) multilib=no ;;
1387 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1388 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1389 { (exit 1); exit 1; }; } ;;
1390 esac
1391 else
1392 multilib=yes
1395 # We may get other options which we leave undocumented:
1396 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1397 # See config-ml.in if you want the gory details.
1399 if test "$srcdir" = "."; then
1400 if test "$with_target_subdir" != "."; then
1401 multi_basedir="$srcdir/$with_multisrctop../.."
1402 else
1403 multi_basedir="$srcdir/$with_multisrctop.."
1405 else
1406 multi_basedir="$srcdir/.."
1410 ac_config_commands="$ac_config_commands default-1"
1413 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1415 # You will slowly go insane if you do not grok the following fact: when
1416 # building v3 as part of the compiler, the top-level /target/ becomes the
1417 # library's /host/. configure then causes --target to default to --host,
1418 # exactly like any other package using autoconf. Therefore, 'target' and
1419 # 'host' will always be the same. This makes sense both for native and
1420 # cross compilers, just think about it for a little while. :-)
1422 # Also, if v3 is being configured as part of a cross compiler, the top-level
1423 # configure script will pass the "real" host as $with_cross_host.
1425 # Do not delete or change the following two lines. For why, see
1426 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1427 ac_aux_dir=
1428 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1429 if test -f $ac_dir/install-sh; then
1430 ac_aux_dir=$ac_dir
1431 ac_install_sh="$ac_aux_dir/install-sh -c"
1432 break
1433 elif test -f $ac_dir/install.sh; then
1434 ac_aux_dir=$ac_dir
1435 ac_install_sh="$ac_aux_dir/install.sh -c"
1436 break
1437 elif test -f $ac_dir/shtool; then
1438 ac_aux_dir=$ac_dir
1439 ac_install_sh="$ac_aux_dir/shtool install -c"
1440 break
1442 done
1443 if test -z "$ac_aux_dir"; then
1444 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1445 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1446 { (exit 1); exit 1; }; }
1448 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1449 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1450 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1452 # Make sure we can run config.sub.
1453 $ac_config_sub sun4 >/dev/null 2>&1 ||
1454 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1455 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1456 { (exit 1); exit 1; }; }
1458 echo "$as_me:$LINENO: checking build system type" >&5
1459 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1460 if test "${ac_cv_build+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 else
1463 ac_cv_build_alias=$build_alias
1464 test -z "$ac_cv_build_alias" &&
1465 ac_cv_build_alias=`$ac_config_guess`
1466 test -z "$ac_cv_build_alias" &&
1467 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1468 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1469 { (exit 1); exit 1; }; }
1470 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1471 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1473 { (exit 1); exit 1; }; }
1476 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1477 echo "${ECHO_T}$ac_cv_build" >&6
1478 build=$ac_cv_build
1479 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1480 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1481 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1484 echo "$as_me:$LINENO: checking host system type" >&5
1485 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1486 if test "${ac_cv_host+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 else
1489 ac_cv_host_alias=$host_alias
1490 test -z "$ac_cv_host_alias" &&
1491 ac_cv_host_alias=$ac_cv_build_alias
1492 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1495 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1499 echo "${ECHO_T}$ac_cv_host" >&6
1500 host=$ac_cv_host
1501 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1506 echo "$as_me:$LINENO: checking target system type" >&5
1507 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1508 if test "${ac_cv_target+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511 ac_cv_target_alias=$target_alias
1512 test "x$ac_cv_target_alias" = "x" &&
1513 ac_cv_target_alias=$ac_cv_host_alias
1514 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1521 echo "${ECHO_T}$ac_cv_target" >&6
1522 target=$ac_cv_target
1523 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 # The aliases save the names the user supplied, while $host etc.
1529 # will get canonicalized.
1530 test -n "$target_alias" &&
1531 test "$program_prefix$program_suffix$program_transform_name" = \
1532 NONENONEs,x,x, &&
1533 program_prefix=${target_alias}-
1534 target_alias=${target_alias-$host_alias}
1536 # Handy for debugging:
1537 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1539 if test "$build" != "$host"; then
1540 # We are being configured with some form of cross compiler.
1541 GLIBCXX_IS_NATIVE=false
1543 else
1544 GLIBCXX_IS_NATIVE=true
1547 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 # 1.x: minimum required version
1550 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 # of other PACKAGE_* variables will, however, and there's nothing
1552 # we can do about that; they come from AC_INIT).
1553 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1554 # file in the top srcdir, etc, etc), so stop complaining.
1555 # no-dependencies: turns off auto dependency generation (just for now)
1556 # -Wall: turns on all automake warnings...
1557 # -Wno-portability: ...except this one, since GNU make is now required.
1558 am__api_version="1.8"
1559 # Find a good install program. We prefer a C program (faster),
1560 # so one script is as good as another. But avoid the broken or
1561 # incompatible versions:
1562 # SysV /etc/install, /usr/sbin/install
1563 # SunOS /usr/etc/install
1564 # IRIX /sbin/install
1565 # AIX /bin/install
1566 # AmigaOS /C/install, which installs bootblocks on floppy discs
1567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1570 # OS/2's system install, which has a completely different semantic
1571 # ./install, which can be erroneously created by make from ./install.sh.
1572 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1574 if test -z "$INSTALL"; then
1575 if test "${ac_cv_path_install+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 else
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 for as_dir in $PATH
1581 IFS=$as_save_IFS
1582 test -z "$as_dir" && as_dir=.
1583 # Account for people who put trailing slashes in PATH elements.
1584 case $as_dir/ in
1585 ./ | .// | /cC/* | \
1586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1588 /usr/ucb/* ) ;;
1590 # OSF1 and SCO ODT 3.0 have their own names for install.
1591 # Don't use installbsd from OSF since it installs stuff as root
1592 # by default.
1593 for ac_prog in ginstall scoinst install; do
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1596 if test $ac_prog = install &&
1597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1598 # AIX install. It has an incompatible calling convention.
1600 elif test $ac_prog = install &&
1601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1602 # program-specific install script used by HP pwplus--don't use.
1604 else
1605 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1606 break 3
1609 done
1610 done
1612 esac
1613 done
1617 if test "${ac_cv_path_install+set}" = set; then
1618 INSTALL=$ac_cv_path_install
1619 else
1620 # As a last resort, use the slow shell script. We don't cache a
1621 # path for INSTALL within a source directory, because that will
1622 # break other packages using the cache if that directory is
1623 # removed, or if the path is relative.
1624 INSTALL=$ac_install_sh
1627 echo "$as_me:$LINENO: result: $INSTALL" >&5
1628 echo "${ECHO_T}$INSTALL" >&6
1630 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1631 # It thinks the first close brace ends the variable substitution.
1632 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1634 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1636 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1638 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1639 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1640 # Just in case
1641 sleep 1
1642 echo timestamp > conftest.file
1643 # Do `set' in a subshell so we don't clobber the current shell's
1644 # arguments. Must try -L first in case configure is actually a
1645 # symlink; some systems play weird games with the mod time of symlinks
1646 # (eg FreeBSD returns the mod time of the symlink's containing
1647 # directory).
1648 if (
1649 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1650 if test "$*" = "X"; then
1651 # -L didn't work.
1652 set X `ls -t $srcdir/configure conftest.file`
1654 rm -f conftest.file
1655 if test "$*" != "X $srcdir/configure conftest.file" \
1656 && test "$*" != "X conftest.file $srcdir/configure"; then
1658 # If neither matched, then we have a broken ls. This can happen
1659 # if, for instance, CONFIG_SHELL is bash and it inherits a
1660 # broken ls alias from the environment. This has actually
1661 # happened. Such a system could not be considered "sane".
1662 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1663 alias in your environment" >&5
1664 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1665 alias in your environment" >&2;}
1666 { (exit 1); exit 1; }; }
1669 test "$2" = conftest.file
1671 then
1672 # Ok.
1674 else
1675 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1676 Check your system clock" >&5
1677 echo "$as_me: error: newly created file is older than distributed files!
1678 Check your system clock" >&2;}
1679 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: yes" >&5
1682 echo "${ECHO_T}yes" >&6
1683 test "$program_prefix" != NONE &&
1684 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1685 # Use a double $ so make ignores it.
1686 test "$program_suffix" != NONE &&
1687 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1688 # Double any \ or $. echo might interpret backslashes.
1689 # By default was `s,x,x', remove it if useless.
1690 cat <<\_ACEOF >conftest.sed
1691 s/[\\$]/&&/g;s/;s,x,x,$//
1692 _ACEOF
1693 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 rm conftest.sed
1696 # expand $ac_aux_dir to an absolute path
1697 am_aux_dir=`cd $ac_aux_dir && pwd`
1699 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1700 # Use eval to expand $SHELL
1701 if eval "$MISSING --run true"; then
1702 am_missing_run="$MISSING --run "
1703 else
1704 am_missing_run=
1705 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1706 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1709 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1710 # Keeping the `.' argument allows $(mkdir_p) to be used without
1711 # argument. Indeed, we sometimes output rules like
1712 # $(mkdir_p) $(somedir)
1713 # where $(somedir) is conditionally defined.
1714 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1715 # expensive solution, as it forces Make to start a sub-shell.)
1716 mkdir_p='mkdir -p -- .'
1717 else
1718 # On NextStep and OpenStep, the `mkdir' command does not
1719 # recognize any option. It will interpret all options as
1720 # directories to create, and then abort because `.' already
1721 # exists.
1722 for d in ./-p ./--version;
1724 test -d $d && rmdir $d
1725 done
1726 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1727 if test -f "$ac_aux_dir/mkinstalldirs"; then
1728 mkdir_p='$(mkinstalldirs)'
1729 else
1730 mkdir_p='$(install_sh) -d'
1734 for ac_prog in gawk mawk nawk awk
1736 # Extract the first word of "$ac_prog", so it can be a program name with args.
1737 set dummy $ac_prog; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_AWK+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 if test -n "$AWK"; then
1744 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1745 else
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 for as_dir in $PATH
1749 IFS=$as_save_IFS
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_AWK="$ac_prog"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 break 2
1757 done
1758 done
1762 AWK=$ac_cv_prog_AWK
1763 if test -n "$AWK"; then
1764 echo "$as_me:$LINENO: result: $AWK" >&5
1765 echo "${ECHO_T}$AWK" >&6
1766 else
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1771 test -n "$AWK" && break
1772 done
1774 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1775 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1776 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1777 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780 cat >conftest.make <<\_ACEOF
1781 all:
1782 @echo 'ac_maketemp="$(MAKE)"'
1783 _ACEOF
1784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1785 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1786 if test -n "$ac_maketemp"; then
1787 eval ac_cv_prog_make_${ac_make}_set=yes
1788 else
1789 eval ac_cv_prog_make_${ac_make}_set=no
1791 rm -f conftest.make
1793 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1794 echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1796 SET_MAKE=
1797 else
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1800 SET_MAKE="MAKE=${MAKE-make}"
1803 rm -rf .tst 2>/dev/null
1804 mkdir .tst 2>/dev/null
1805 if test -d .tst; then
1806 am__leading_dot=.
1807 else
1808 am__leading_dot=_
1810 rmdir .tst 2>/dev/null
1812 # test to see if srcdir already configured
1813 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1814 test -f $srcdir/config.status; then
1815 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1816 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1817 { (exit 1); exit 1; }; }
1820 # test whether we have cygpath
1821 if test -z "$CYGPATH_W"; then
1822 if (cygpath --version) >/dev/null 2>/dev/null; then
1823 CYGPATH_W='cygpath -w'
1824 else
1825 CYGPATH_W=echo
1830 # Define the identity of the package.
1831 PACKAGE='libstdc++'
1832 VERSION='version-unused'
1835 # Some tools Automake needs.
1837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1852 AMTAR=${AMTAR-"${am_missing_run}tar"}
1854 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1856 # Installed binaries are usually stripped using `strip' when the user
1857 # run `make install-strip'. However `strip' might not be the right
1858 # tool to use in cross-compilation environments, therefore Automake
1859 # will honor the `STRIP' environment variable to overrule this program.
1860 if test "$cross_compiling" != no; then
1861 if test -n "$ac_tool_prefix"; then
1862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1863 set dummy ${ac_tool_prefix}strip; ac_word=$2
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866 if test "${ac_cv_prog_STRIP+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 else
1869 if test -n "$STRIP"; then
1870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1871 else
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1875 IFS=$as_save_IFS
1876 test -z "$as_dir" && as_dir=.
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 break 2
1883 done
1884 done
1888 STRIP=$ac_cv_prog_STRIP
1889 if test -n "$STRIP"; then
1890 echo "$as_me:$LINENO: result: $STRIP" >&5
1891 echo "${ECHO_T}$STRIP" >&6
1892 else
1893 echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1898 if test -z "$ac_cv_prog_STRIP"; then
1899 ac_ct_STRIP=$STRIP
1900 # Extract the first word of "strip", so it can be a program name with args.
1901 set dummy strip; ac_word=$2
1902 echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 else
1907 if test -n "$ac_ct_STRIP"; then
1908 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917 ac_cv_prog_ac_ct_STRIP="strip"
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 break 2
1921 done
1922 done
1924 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1928 if test -n "$ac_ct_STRIP"; then
1929 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1930 echo "${ECHO_T}$ac_ct_STRIP" >&6
1931 else
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 STRIP=$ac_ct_STRIP
1937 else
1938 STRIP="$ac_cv_prog_STRIP"
1942 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1944 # We need awk for the "check" target. The system "awk" is bad on
1945 # some platforms.
1950 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1951 # up critical shell variables.
1953 # Keep these sync'd with the list in Makefile.am. The first provides an
1954 # expandable list at autoconf time; the second provides an expandable list
1955 # (i.e., shell variable) at configure time.
1957 SUBDIRS='include libmath libsupc++ src po testsuite'
1959 # These need to be absolute paths, yet at the same time need to
1960 # canonicalize only relative paths, because then amd will not unmount
1961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1962 glibcxx_builddir=`${PWDCMD-pwd}`
1963 case $srcdir in
1964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1966 esac
1967 toplevel_srcdir=${glibcxx_srcdir}/..
1972 # We use these options to decide which functions to include. They are
1973 # set from the top level.
1975 # Check whether --with-target-subdir or --without-target-subdir was given.
1976 if test "${with_target_subdir+set}" = set; then
1977 withval="$with_target_subdir"
1982 # Check whether --with-cross-host or --without-cross-host was given.
1983 if test "${with_cross_host+set}" = set; then
1984 withval="$with_cross_host"
1989 # Check whether --with-newlib or --without-newlib was given.
1990 if test "${with_newlib+set}" = set; then
1991 withval="$with_newlib"
1995 # We're almost certainly being configured before anything else which uses
1996 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1997 # we not cache the value of CXX that we "discover" here, because it's set
1998 # to something unique for us and libjava. Other target libraries need to
1999 # find CXX for themselves. We yank the rug out from under the normal AC_*
2000 # process by sneakily renaming the cache variable. This also lets us debug
2001 # the value of "our" CXX in postmortems.
2003 # We must also force CXX to /not/ be a precious variable, otherwise the
2004 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2005 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2006 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2007 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2009 # -fno-builtin must be present here so that a non-conflicting form of
2010 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2015 save_CXXFLAGS="$CXXFLAGS"
2016 CXXFLAGS="$CXXFLAGS -fno-builtin"
2017 ac_ext=c
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2022 if test -n "$ac_tool_prefix"; then
2023 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2024 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027 if test "${ac_cv_prog_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC="$CC" # Let the user override the test.
2032 else
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2044 done
2045 done
2049 CC=$ac_cv_prog_CC
2050 if test -n "$CC"; then
2051 echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6
2053 else
2054 echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6
2059 if test -z "$ac_cv_prog_CC"; then
2060 ac_ct_CC=$CC
2061 # Extract the first word of "gcc", so it can be a program name with args.
2062 set dummy gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_ac_ct_CC="gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2096 CC=$ac_ct_CC
2097 else
2098 CC="$ac_cv_prog_CC"
2101 if test -z "$CC"; then
2102 if test -n "$ac_tool_prefix"; then
2103 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2104 set dummy ${ac_tool_prefix}cc; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC="$CC" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_CC="${ac_tool_prefix}cc"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2129 CC=$ac_cv_prog_CC
2130 if test -n "$CC"; then
2131 echo "$as_me:$LINENO: result: $CC" >&5
2132 echo "${ECHO_T}$CC" >&6
2133 else
2134 echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6
2139 if test -z "$ac_cv_prog_CC"; then
2140 ac_ct_CC=$CC
2141 # Extract the first word of "cc", so it can be a program name with args.
2142 set dummy cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$ac_ct_CC"; then
2149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_ac_ct_CC="cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168 if test -n "$ac_ct_CC"; then
2169 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2170 echo "${ECHO_T}$ac_ct_CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2176 CC=$ac_ct_CC
2177 else
2178 CC="$ac_cv_prog_CC"
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc; ac_word=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 else
2193 ac_prog_rejected=no
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected=yes
2203 continue
2205 ac_cv_prog_CC="cc"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2209 done
2210 done
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6
2230 else
2231 echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2266 CC=$ac_cv_prog_CC
2267 if test -n "$CC"; then
2268 echo "$as_me:$LINENO: result: $CC" >&5
2269 echo "${ECHO_T}$CC" >&6
2270 else
2271 echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6
2275 test -n "$CC" && break
2276 done
2278 if test -z "$CC"; then
2279 ac_ct_CC=$CC
2280 for ac_prog in cl
2282 # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 if test -n "$ac_ct_CC"; then
2290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 else
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH
2295 IFS=$as_save_IFS
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299 ac_cv_prog_ac_ct_CC="$ac_prog"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 break 2
2303 done
2304 done
2308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2309 if test -n "$ac_ct_CC"; then
2310 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2311 echo "${ECHO_T}$ac_ct_CC" >&6
2312 else
2313 echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6
2317 test -n "$ac_ct_CC" && break
2318 done
2320 CC=$ac_ct_CC
2326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2332 # Provide some information about the compiler.
2333 echo "$as_me:$LINENO:" \
2334 "checking for C compiler version" >&5
2335 ac_compiler=`set X $ac_compile; echo $2`
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2337 (eval $ac_compiler --version </dev/null >&5) 2>&5
2338 ac_status=$?
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2342 (eval $ac_compiler -v </dev/null >&5) 2>&5
2343 ac_status=$?
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2347 (eval $ac_compiler -V </dev/null >&5) 2>&5
2348 ac_status=$?
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2352 cat >conftest.$ac_ext <<_ACEOF
2353 /* confdefs.h. */
2354 _ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2360 main ()
2364 return 0;
2366 _ACEOF
2367 # FIXME: Cleanup?
2368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2369 (eval $ac_link) 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; then
2373 gcc_no_link=no
2374 else
2375 gcc_no_link=yes
2378 if test x$gcc_no_link = xyes; then
2379 # Setting cross_compile will disable run tests; it will
2380 # also disable AC_CHECK_FILE but that's generally
2381 # correct if we can't link.
2382 cross_compiling=yes
2383 EXEEXT=
2384 else
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2409 (eval $ac_link_default) 2>&5
2410 ac_status=$?
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; then
2413 # Find the output, starting from the most likely. This scheme is
2414 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2415 # resort.
2417 # Be careful to initialize this variable, since it used to be cached.
2418 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2419 ac_cv_exeext=
2420 # b.out is created by i960 compilers.
2421 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2423 test -f "$ac_file" || continue
2424 case $ac_file in
2425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2427 conftest.$ac_ext )
2428 # This is the source file.
2430 [ab].out )
2431 # We found the default executable, but exeext='' is most
2432 # certainly right.
2433 break;;
2434 *.* )
2435 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2436 # FIXME: I believe we export ac_cv_exeext for Libtool,
2437 # but it would be cool to find out if it's true. Does anybody
2438 # maintain Libtool? --akim.
2439 export ac_cv_exeext
2440 break;;
2442 break;;
2443 esac
2444 done
2445 else
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: C compiler cannot create executables
2452 See \`config.log' for more details." >&2;}
2453 { (exit 77); exit 77; }; }
2456 ac_exeext=$ac_cv_exeext
2457 echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6
2460 # Check the compiler produces executables we can run. If not, either
2461 # the compiler is broken, or we cross compile.
2462 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2463 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2464 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2465 # If not cross compiling, check that we can run a simple program.
2466 if test "$cross_compiling" != yes; then
2467 if { ac_try='./$ac_file'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 (eval $ac_try) 2>&5
2470 ac_status=$?
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 cross_compiling=no
2474 else
2475 if test "$cross_compiling" = maybe; then
2476 cross_compiling=yes
2477 else
2478 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2479 If you meant to cross compile, use \`--host'.
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; }
2488 echo "$as_me:$LINENO: result: yes" >&5
2489 echo "${ECHO_T}yes" >&6
2491 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2492 ac_clean_files=$ac_clean_files_save
2493 # Check the compiler produces executables we can run. If not, either
2494 # the compiler is broken, or we cross compile.
2495 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2496 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2497 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2498 echo "${ECHO_T}$cross_compiling" >&6
2500 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2501 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2503 (eval $ac_link) 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; then
2507 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2508 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2509 # work properly (i.e., refer to `conftest.exe'), while it won't with
2510 # `rm'.
2511 for ac_file in conftest.exe conftest conftest.*; do
2512 test -f "$ac_file" || continue
2513 case $ac_file in
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2515 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2516 export ac_cv_exeext
2517 break;;
2518 * ) break;;
2519 esac
2520 done
2521 else
2522 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details." >&2;}
2526 { (exit 1); exit 1; }; }
2529 rm -f conftest$ac_cv_exeext
2530 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2531 echo "${ECHO_T}$ac_cv_exeext" >&6
2533 rm -f conftest.$ac_ext
2534 EXEEXT=$ac_cv_exeext
2535 ac_exeext=$EXEEXT
2537 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2538 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2539 if test "${ac_cv_objext+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542 cat >conftest.$ac_ext <<_ACEOF
2543 /* confdefs.h. */
2544 _ACEOF
2545 cat confdefs.h >>conftest.$ac_ext
2546 cat >>conftest.$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2550 main ()
2554 return 0;
2556 _ACEOF
2557 rm -f conftest.o conftest.obj
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>&5
2560 ac_status=$?
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2564 case $ac_file in
2565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2566 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2567 break;;
2568 esac
2569 done
2570 else
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }
2581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2583 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2584 echo "${ECHO_T}$ac_cv_objext" >&6
2585 OBJEXT=$ac_cv_objext
2586 ac_objext=$OBJEXT
2587 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2588 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2589 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 else
2592 cat >conftest.$ac_ext <<_ACEOF
2593 /* confdefs.h. */
2594 _ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2600 main ()
2602 #ifndef __GNUC__
2603 choke me
2604 #endif
2607 return 0;
2609 _ACEOF
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2613 ac_status=$?
2614 grep -v '^ *+' conftest.er1 >conftest.err
2615 rm -f conftest.er1
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 (eval $ac_try) 2>&5
2622 ac_status=$?
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; } &&
2625 { ac_try='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 (eval $ac_try) 2>&5
2628 ac_status=$?
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2631 ac_compiler_gnu=yes
2632 else
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 ac_compiler_gnu=no
2638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2642 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2643 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2644 GCC=`test $ac_compiler_gnu = yes && echo yes`
2645 ac_test_CFLAGS=${CFLAGS+set}
2646 ac_save_CFLAGS=$CFLAGS
2647 CFLAGS="-g"
2648 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2649 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2650 if test "${ac_cv_prog_cc_g+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 else
2653 cat >conftest.$ac_ext <<_ACEOF
2654 /* confdefs.h. */
2655 _ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2661 main ()
2665 return 0;
2667 _ACEOF
2668 rm -f conftest.$ac_objext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2670 (eval $ac_compile) 2>conftest.er1
2671 ac_status=$?
2672 grep -v '^ *+' conftest.er1 >conftest.err
2673 rm -f conftest.er1
2674 cat conftest.err >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 (eval $ac_try) 2>&5
2680 ac_status=$?
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; } &&
2683 { ac_try='test -s conftest.$ac_objext'
2684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 (eval $ac_try) 2>&5
2686 ac_status=$?
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; }; then
2689 ac_cv_prog_cc_g=yes
2690 else
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_cv_prog_cc_g=no
2696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2698 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2699 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2700 if test "$ac_test_CFLAGS" = set; then
2701 CFLAGS=$ac_save_CFLAGS
2702 elif test $ac_cv_prog_cc_g = yes; then
2703 if test "$GCC" = yes; then
2704 CFLAGS="-g -O2"
2705 else
2706 CFLAGS="-g"
2708 else
2709 if test "$GCC" = yes; then
2710 CFLAGS="-O2"
2711 else
2712 CFLAGS=
2715 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2716 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2717 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 else
2720 ac_cv_prog_cc_stdc=no
2721 ac_save_CC=$CC
2722 cat >conftest.$ac_ext <<_ACEOF
2723 /* confdefs.h. */
2724 _ACEOF
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2728 #include <stdarg.h>
2729 #include <stdio.h>
2730 #include <sys/types.h>
2731 #include <sys/stat.h>
2732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2733 struct buf { int x; };
2734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2735 static char *e (p, i)
2736 char **p;
2737 int i;
2739 return p[i];
2741 static char *f (char * (*g) (char **, int), char **p, ...)
2743 char *s;
2744 va_list v;
2745 va_start (v,p);
2746 s = g (p, va_arg (v,int));
2747 va_end (v);
2748 return s;
2751 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2752 function prototypes and stuff, but not '\xHH' hex character constants.
2753 These don't provoke an error unfortunately, instead are silently treated
2754 as 'x'. The following induces an error, until -std1 is added to get
2755 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2756 array size at least. It's necessary to write '\x00'==0 to get something
2757 that's true only with -std1. */
2758 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2760 int test (int i, double x);
2761 struct s1 {int (*f) (int a);};
2762 struct s2 {int (*f) (double a);};
2763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2764 int argc;
2765 char **argv;
2767 main ()
2769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2771 return 0;
2773 _ACEOF
2774 # Don't try gcc -ansi; that turns off useful extensions and
2775 # breaks some systems' header files.
2776 # AIX -qlanglvl=ansi
2777 # Ultrix and OSF/1 -std1
2778 # HP-UX 10.20 and later -Ae
2779 # HP-UX older versions -Aa -D_HPUX_SOURCE
2780 # SVR4 -Xc -D__EXTENSIONS__
2781 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2783 CC="$ac_save_CC $ac_arg"
2784 rm -f conftest.$ac_objext
2785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 (eval $ac_compile) 2>conftest.er1
2787 ac_status=$?
2788 grep -v '^ *+' conftest.er1 >conftest.err
2789 rm -f conftest.er1
2790 cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 (eval $ac_try) 2>&5
2796 ac_status=$?
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; } &&
2799 { ac_try='test -s conftest.$ac_objext'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 (eval $ac_try) 2>&5
2802 ac_status=$?
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2805 ac_cv_prog_cc_stdc=$ac_arg
2806 break
2807 else
2808 echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2812 rm -f conftest.err conftest.$ac_objext
2813 done
2814 rm -f conftest.$ac_ext conftest.$ac_objext
2815 CC=$ac_save_CC
2819 case "x$ac_cv_prog_cc_stdc" in
2820 x|xno)
2821 echo "$as_me:$LINENO: result: none needed" >&5
2822 echo "${ECHO_T}none needed" >&6 ;;
2824 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2825 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2826 CC="$CC $ac_cv_prog_cc_stdc" ;;
2827 esac
2829 # Some people use a C++ compiler to compile C. Since we use `exit',
2830 # in C++ we need to declare it. In case someone uses the same compiler
2831 # for both compiling C and C++ we need to have the C++ compiler decide
2832 # the declaration of exit, since it's the most demanding environment.
2833 cat >conftest.$ac_ext <<_ACEOF
2834 #ifndef __cplusplus
2835 choke me
2836 #endif
2837 _ACEOF
2838 rm -f conftest.$ac_objext
2839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840 (eval $ac_compile) 2>conftest.er1
2841 ac_status=$?
2842 grep -v '^ *+' conftest.er1 >conftest.err
2843 rm -f conftest.er1
2844 cat conftest.err >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } &&
2847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 (eval $ac_try) 2>&5
2850 ac_status=$?
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; } &&
2853 { ac_try='test -s conftest.$ac_objext'
2854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 (eval $ac_try) 2>&5
2856 ac_status=$?
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; }; then
2859 for ac_declaration in \
2860 '' \
2861 'extern "C" void std::exit (int) throw (); using std::exit;' \
2862 'extern "C" void std::exit (int); using std::exit;' \
2863 'extern "C" void exit (int) throw ();' \
2864 'extern "C" void exit (int);' \
2865 'void exit (int);'
2867 cat >conftest.$ac_ext <<_ACEOF
2868 /* confdefs.h. */
2869 _ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2873 $ac_declaration
2874 #include <stdlib.h>
2876 main ()
2878 exit (42);
2880 return 0;
2882 _ACEOF
2883 rm -f conftest.$ac_objext
2884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2885 (eval $ac_compile) 2>conftest.er1
2886 ac_status=$?
2887 grep -v '^ *+' conftest.er1 >conftest.err
2888 rm -f conftest.er1
2889 cat conftest.err >&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } &&
2892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 (eval $ac_try) 2>&5
2895 ac_status=$?
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }; } &&
2898 { ac_try='test -s conftest.$ac_objext'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 (eval $ac_try) 2>&5
2901 ac_status=$?
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; }; then
2905 else
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 continue
2911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2912 cat >conftest.$ac_ext <<_ACEOF
2913 /* confdefs.h. */
2914 _ACEOF
2915 cat confdefs.h >>conftest.$ac_ext
2916 cat >>conftest.$ac_ext <<_ACEOF
2917 /* end confdefs.h. */
2918 $ac_declaration
2920 main ()
2922 exit (42);
2924 return 0;
2926 _ACEOF
2927 rm -f conftest.$ac_objext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2929 (eval $ac_compile) 2>conftest.er1
2930 ac_status=$?
2931 grep -v '^ *+' conftest.er1 >conftest.err
2932 rm -f conftest.er1
2933 cat conftest.err >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } &&
2936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 (eval $ac_try) 2>&5
2939 ac_status=$?
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 (eval $ac_try) 2>&5
2945 ac_status=$?
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2948 break
2949 else
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 done
2956 rm -f conftest*
2957 if test -n "$ac_declaration"; then
2958 echo '#ifdef __cplusplus' >>confdefs.h
2959 echo $ac_declaration >>confdefs.h
2960 echo '#endif' >>confdefs.h
2963 else
2964 echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2969 ac_ext=c
2970 ac_cpp='$CPP $CPPFLAGS'
2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975 ac_ext=cc
2976 ac_cpp='$CXXCPP $CPPFLAGS'
2977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2980 if test -n "$ac_tool_prefix"; then
2981 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2985 echo "$as_me:$LINENO: checking for $ac_word" >&5
2986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2987 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 else
2990 if test -n "$CXX"; then
2991 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2992 else
2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 for as_dir in $PATH
2996 IFS=$as_save_IFS
2997 test -z "$as_dir" && as_dir=.
2998 for ac_exec_ext in '' $ac_executable_extensions; do
2999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3000 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 break 2
3004 done
3005 done
3009 CXX=$glibcxx_cv_prog_CXX
3010 if test -n "$CXX"; then
3011 echo "$as_me:$LINENO: result: $CXX" >&5
3012 echo "${ECHO_T}$CXX" >&6
3013 else
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3018 test -n "$CXX" && break
3019 done
3021 if test -z "$CXX"; then
3022 ac_ct_CXX=$CXX
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_prog", so it can be a program name with args.
3026 set dummy $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 "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 else
3032 if test -n "$ac_ct_CXX"; then
3033 ac_cv_prog_ac_ct_CXX="$ac_ct_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 ac_cv_prog_ac_ct_CXX="$ac_prog"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3046 done
3047 done
3051 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3052 if test -n "$ac_ct_CXX"; then
3053 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3054 echo "${ECHO_T}$ac_ct_CXX" >&6
3055 else
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3060 test -n "$ac_ct_CXX" && break
3061 done
3062 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3064 CXX=$ac_ct_CXX
3068 # Provide some information about the compiler.
3069 echo "$as_me:$LINENO:" \
3070 "checking for C++ compiler version" >&5
3071 ac_compiler=`set X $ac_compile; echo $2`
3072 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3073 (eval $ac_compiler --version </dev/null >&5) 2>&5
3074 ac_status=$?
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }
3077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3078 (eval $ac_compiler -v </dev/null >&5) 2>&5
3079 ac_status=$?
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }
3082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3083 (eval $ac_compiler -V </dev/null >&5) 2>&5
3084 ac_status=$?
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }
3088 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3089 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3090 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 else
3093 cat >conftest.$ac_ext <<_ACEOF
3094 /* confdefs.h. */
3095 _ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3101 main ()
3103 #ifndef __GNUC__
3104 choke me
3105 #endif
3108 return 0;
3110 _ACEOF
3111 rm -f conftest.$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3114 ac_status=$?
3115 grep -v '^ *+' conftest.er1 >conftest.err
3116 rm -f conftest.er1
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 (eval $ac_try) 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; } &&
3126 { ac_try='test -s conftest.$ac_objext'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 (eval $ac_try) 2>&5
3129 ac_status=$?
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; }; then
3132 ac_compiler_gnu=yes
3133 else
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 ac_compiler_gnu=no
3139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3140 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3143 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3144 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3145 GXX=`test $ac_compiler_gnu = yes && echo yes`
3146 ac_test_CXXFLAGS=${CXXFLAGS+set}
3147 ac_save_CXXFLAGS=$CXXFLAGS
3148 CXXFLAGS="-g"
3149 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3150 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3151 if test "${ac_cv_prog_cxx_g+set}" = set; then
3152 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 else
3154 cat >conftest.$ac_ext <<_ACEOF
3155 /* confdefs.h. */
3156 _ACEOF
3157 cat confdefs.h >>conftest.$ac_ext
3158 cat >>conftest.$ac_ext <<_ACEOF
3159 /* end confdefs.h. */
3162 main ()
3166 return 0;
3168 _ACEOF
3169 rm -f conftest.$ac_objext
3170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3171 (eval $ac_compile) 2>conftest.er1
3172 ac_status=$?
3173 grep -v '^ *+' conftest.er1 >conftest.err
3174 rm -f conftest.er1
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 (eval $ac_try) 2>&5
3181 ac_status=$?
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; } &&
3184 { ac_try='test -s conftest.$ac_objext'
3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3186 (eval $ac_try) 2>&5
3187 ac_status=$?
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); }; }; then
3190 ac_cv_prog_cxx_g=yes
3191 else
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3195 ac_cv_prog_cxx_g=no
3197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3199 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3200 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3201 if test "$ac_test_CXXFLAGS" = set; then
3202 CXXFLAGS=$ac_save_CXXFLAGS
3203 elif test $ac_cv_prog_cxx_g = yes; then
3204 if test "$GXX" = yes; then
3205 CXXFLAGS="-g -O2"
3206 else
3207 CXXFLAGS="-g"
3209 else
3210 if test "$GXX" = yes; then
3211 CXXFLAGS="-O2"
3212 else
3213 CXXFLAGS=
3216 for ac_declaration in \
3217 '' \
3218 'extern "C" void std::exit (int) throw (); using std::exit;' \
3219 'extern "C" void std::exit (int); using std::exit;' \
3220 'extern "C" void exit (int) throw ();' \
3221 'extern "C" void exit (int);' \
3222 'void exit (int);'
3224 cat >conftest.$ac_ext <<_ACEOF
3225 /* confdefs.h. */
3226 _ACEOF
3227 cat confdefs.h >>conftest.$ac_ext
3228 cat >>conftest.$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3230 $ac_declaration
3231 #include <stdlib.h>
3233 main ()
3235 exit (42);
3237 return 0;
3239 _ACEOF
3240 rm -f conftest.$ac_objext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242 (eval $ac_compile) 2>conftest.er1
3243 ac_status=$?
3244 grep -v '^ *+' conftest.er1 >conftest.err
3245 rm -f conftest.er1
3246 cat conftest.err >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251 (eval $ac_try) 2>&5
3252 ac_status=$?
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; } &&
3255 { ac_try='test -s conftest.$ac_objext'
3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257 (eval $ac_try) 2>&5
3258 ac_status=$?
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; }; then
3262 else
3263 echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 continue
3268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3269 cat >conftest.$ac_ext <<_ACEOF
3270 /* confdefs.h. */
3271 _ACEOF
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3275 $ac_declaration
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" || test ! -s conftest.err'
3294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 (eval $ac_try) 2>&5
3296 ac_status=$?
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try='test -s conftest.$ac_objext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 (eval $ac_try) 2>&5
3302 ac_status=$?
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 break
3306 else
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3312 done
3313 rm -f conftest*
3314 if test -n "$ac_declaration"; then
3315 echo '#ifdef __cplusplus' >>confdefs.h
3316 echo $ac_declaration >>confdefs.h
3317 echo '#endif' >>confdefs.h
3320 ac_ext=c
3321 ac_cpp='$CPP $CPPFLAGS'
3322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3326 CXXFLAGS="$save_CXXFLAGS"
3331 # For directory versioning (e.g., headers) and other variables.
3332 echo "$as_me:$LINENO: checking for GCC version number" >&5
3333 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3334 gcc_version=`$CXX -dumpversion`
3335 echo "$as_me:$LINENO: result: $gcc_version" >&5
3336 echo "${ECHO_T}$gcc_version" >&6
3338 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3339 # available). Uncomment the next line to force a particular method.
3340 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3341 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3342 LN_S=$as_ln_s
3343 if test "$LN_S" = "ln -s"; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3346 else
3347 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3348 echo "${ECHO_T}no, using $LN_S" >&6
3351 #LN_S='cp -p'
3353 if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}as; ac_word=$2
3356 echo "$as_me:$LINENO: checking for $ac_word" >&5
3357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3358 if test "${ac_cv_prog_AS+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361 if test -n "$AS"; then
3362 ac_cv_prog_AS="$AS" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3371 ac_cv_prog_AS="${ac_tool_prefix}as"
3372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3375 done
3376 done
3380 AS=$ac_cv_prog_AS
3381 if test -n "$AS"; then
3382 echo "$as_me:$LINENO: result: $AS" >&5
3383 echo "${ECHO_T}$AS" >&6
3384 else
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3390 if test -z "$ac_cv_prog_AS"; then
3391 ac_ct_AS=$AS
3392 # Extract the first word of "as", so it can be a program name with args.
3393 set dummy as; ac_word=$2
3394 echo "$as_me:$LINENO: checking for $ac_word" >&5
3395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3396 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 else
3399 if test -n "$ac_ct_AS"; then
3400 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409 ac_cv_prog_ac_ct_AS="as"
3410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3413 done
3414 done
3418 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3419 if test -n "$ac_ct_AS"; then
3420 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3421 echo "${ECHO_T}$ac_ct_AS" >&6
3422 else
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3427 AS=$ac_ct_AS
3428 else
3429 AS="$ac_cv_prog_AS"
3432 if test -n "$ac_tool_prefix"; then
3433 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3434 set dummy ${ac_tool_prefix}ar; ac_word=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_AR+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 else
3440 if test -n "$AR"; then
3441 ac_cv_prog_AR="$AR" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_AR="${ac_tool_prefix}ar"
3451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 break 2
3454 done
3455 done
3459 AR=$ac_cv_prog_AR
3460 if test -n "$AR"; then
3461 echo "$as_me:$LINENO: result: $AR" >&5
3462 echo "${ECHO_T}$AR" >&6
3463 else
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3469 if test -z "$ac_cv_prog_AR"; then
3470 ac_ct_AR=$AR
3471 # Extract the first word of "ar", so it can be a program name with args.
3472 set dummy ar; ac_word=$2
3473 echo "$as_me:$LINENO: checking for $ac_word" >&5
3474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3475 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 else
3478 if test -n "$ac_ct_AR"; then
3479 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3480 else
3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482 for as_dir in $PATH
3484 IFS=$as_save_IFS
3485 test -z "$as_dir" && as_dir=.
3486 for ac_exec_ext in '' $ac_executable_extensions; do
3487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3488 ac_cv_prog_ac_ct_AR="ar"
3489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 break 2
3492 done
3493 done
3497 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3498 if test -n "$ac_ct_AR"; then
3499 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3500 echo "${ECHO_T}$ac_ct_AR" >&6
3501 else
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3506 AR=$ac_ct_AR
3507 else
3508 AR="$ac_cv_prog_AR"
3511 if test -n "$ac_tool_prefix"; then
3512 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3513 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_RANLIB+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 else
3519 if test -n "$RANLIB"; then
3520 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3525 IFS=$as_save_IFS
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 break 2
3533 done
3534 done
3538 RANLIB=$ac_cv_prog_RANLIB
3539 if test -n "$RANLIB"; then
3540 echo "$as_me:$LINENO: result: $RANLIB" >&5
3541 echo "${ECHO_T}$RANLIB" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3548 if test -z "$ac_cv_prog_RANLIB"; then
3549 ac_ct_RANLIB=$RANLIB
3550 # Extract the first word of "ranlib", so it can be a program name with args.
3551 set dummy ranlib; ac_word=$2
3552 echo "$as_me:$LINENO: checking for $ac_word" >&5
3553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3554 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 else
3557 if test -n "$ac_ct_RANLIB"; then
3558 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_ac_ct_RANLIB="ranlib"
3568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3574 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3577 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3578 if test -n "$ac_ct_RANLIB"; then
3579 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3580 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3581 else
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3586 RANLIB=$ac_ct_RANLIB
3587 else
3588 RANLIB="$ac_cv_prog_RANLIB"
3592 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3593 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3594 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3595 if test "${enable_maintainer_mode+set}" = set; then
3596 enableval="$enable_maintainer_mode"
3597 USE_MAINTAINER_MODE=$enableval
3598 else
3599 USE_MAINTAINER_MODE=no
3601 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3602 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3605 if test $USE_MAINTAINER_MODE = yes; then
3606 MAINTAINER_MODE_TRUE=
3607 MAINTAINER_MODE_FALSE='#'
3608 else
3609 MAINTAINER_MODE_TRUE='#'
3610 MAINTAINER_MODE_FALSE=
3613 MAINT=$MAINTAINER_MODE_TRUE
3617 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3618 # which are themselves conditionally expanded.
3619 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3620 ## other macros from doing the same. This should be automated.) -pme
3621 need_libmath=no
3622 enable_wchar_t=no
3623 #enable_libstdcxx_debug=no
3624 #enable_libstdcxx_pch=no
3625 #enable_cheaders=c
3626 #c_compatibility=no
3627 #enable_abi_check=no
3628 #enable_symvers=no
3629 #enable_hosted_libstdcxx=yes
3631 # Find platform-specific directories containing configuration info.
3632 # Also possibly modify flags used elsewhere, as needed by the platform.
3634 . $glibcxx_srcdir/configure.host
3635 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3636 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3637 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3638 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3642 #AC_MSG_NOTICE([====== Starting libtool configuration])
3644 # Check whether --enable-shared or --disable-shared was given.
3645 if test "${enable_shared+set}" = set; then
3646 enableval="$enable_shared"
3647 p=${PACKAGE-default}
3648 case $enableval in
3649 yes) enable_shared=yes ;;
3650 no) enable_shared=no ;;
3652 enable_shared=no
3653 # Look at the argument we got. We use all the common list separators.
3654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3655 for pkg in $enableval; do
3656 if test "X$pkg" = "X$p"; then
3657 enable_shared=yes
3659 done
3660 IFS="$ac_save_ifs"
3662 esac
3663 else
3664 enable_shared=yes
3666 # Check whether --enable-static or --disable-static was given.
3667 if test "${enable_static+set}" = set; then
3668 enableval="$enable_static"
3669 p=${PACKAGE-default}
3670 case $enableval in
3671 yes) enable_static=yes ;;
3672 no) enable_static=no ;;
3674 enable_static=no
3675 # Look at the argument we got. We use all the common list separators.
3676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3677 for pkg in $enableval; do
3678 if test "X$pkg" = "X$p"; then
3679 enable_static=yes
3681 done
3682 IFS="$ac_save_ifs"
3684 esac
3685 else
3686 enable_static=yes
3688 # Check whether --enable-fast-install or --disable-fast-install was given.
3689 if test "${enable_fast_install+set}" = set; then
3690 enableval="$enable_fast_install"
3691 p=${PACKAGE-default}
3692 case $enableval in
3693 yes) enable_fast_install=yes ;;
3694 no) enable_fast_install=no ;;
3696 enable_fast_install=no
3697 # Look at the argument we got. We use all the common list separators.
3698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3699 for pkg in $enableval; do
3700 if test "X$pkg" = "X$p"; then
3701 enable_fast_install=yes
3703 done
3704 IFS="$ac_save_ifs"
3706 esac
3707 else
3708 enable_fast_install=yes
3711 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3712 if test "${with_gnu_ld+set}" = set; then
3713 withval="$with_gnu_ld"
3714 test "$withval" = no || with_gnu_ld=yes
3715 else
3716 with_gnu_ld=no
3718 ac_prog=ld
3719 if test "$GCC" = yes; then
3720 # Check if gcc -print-prog-name=ld gives a path.
3721 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3722 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3723 case $host in
3724 *-*-mingw*)
3725 # gcc leaves a trailing carriage return which upsets mingw
3726 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3728 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3729 esac
3730 case $ac_prog in
3731 # Accept absolute paths.
3732 [\\/]* | [A-Za-z]:[\\/]*)
3733 re_direlt='/[^/][^/]*/\.\./'
3734 # Canonicalize the path of ld
3735 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3736 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3737 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3738 done
3739 test -z "$LD" && LD="$ac_prog"
3742 # If it fails, then pretend we aren't using GCC.
3743 ac_prog=ld
3746 # If it is relative, then search for the first ld in PATH.
3747 with_gnu_ld=unknown
3749 esac
3750 elif test "$with_gnu_ld" = yes; then
3751 echo "$as_me:$LINENO: checking for GNU ld" >&5
3752 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3753 else
3754 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3755 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3757 if test "${lt_cv_path_LD+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 else
3760 if test -z "$LD"; then
3761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3762 for ac_dir in $PATH; do
3763 test -z "$ac_dir" && ac_dir=.
3764 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3765 lt_cv_path_LD="$ac_dir/$ac_prog"
3766 # Check to see if the program is GNU ld. I'd rather use --version,
3767 # but apparently some GNU ld's only accept -v.
3768 # Break only if it was the GNU/non-GNU ld that we prefer.
3769 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3770 test "$with_gnu_ld" != no && break
3771 else
3772 test "$with_gnu_ld" != yes && break
3775 done
3776 IFS="$ac_save_ifs"
3777 else
3778 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3782 LD="$lt_cv_path_LD"
3783 if test -n "$LD"; then
3784 echo "$as_me:$LINENO: result: $LD" >&5
3785 echo "${ECHO_T}$LD" >&6
3786 else
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3790 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3791 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3792 { (exit 1); exit 1; }; }
3793 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3794 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3795 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 else
3798 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3799 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3800 lt_cv_prog_gnu_ld=yes
3801 else
3802 lt_cv_prog_gnu_ld=no
3805 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3806 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3807 with_gnu_ld=$lt_cv_prog_gnu_ld
3810 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3811 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3812 if test "${lt_cv_ld_reload_flag+set}" = set; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 else
3815 lt_cv_ld_reload_flag='-r'
3817 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3818 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3819 reload_flag=$lt_cv_ld_reload_flag
3820 test -n "$reload_flag" && reload_flag=" $reload_flag"
3822 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3823 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3824 if test "${lt_cv_path_NM+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 else
3827 if test -n "$NM"; then
3828 # Let the user override the test.
3829 lt_cv_path_NM="$NM"
3830 else
3831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3832 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3833 test -z "$ac_dir" && ac_dir=.
3834 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3835 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3836 # Check to see if the nm accepts a BSD-compat flag.
3837 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3838 # nm: unknown option "B" ignored
3839 # Tru64's nm complains that /dev/null is an invalid object file
3840 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3841 lt_cv_path_NM="$tmp_nm -B"
3842 break
3843 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3844 lt_cv_path_NM="$tmp_nm -p"
3845 break
3846 else
3847 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3848 continue # so that we can try to find one that supports BSD flags
3851 done
3852 IFS="$ac_save_ifs"
3853 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3857 NM="$lt_cv_path_NM"
3858 echo "$as_me:$LINENO: result: $NM" >&5
3859 echo "${ECHO_T}$NM" >&6
3861 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3862 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3863 if test "${lt_cv_deplibs_check_method+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 else
3866 lt_cv_file_magic_cmd='$MAGIC_CMD'
3867 lt_cv_file_magic_test_file=
3868 lt_cv_deplibs_check_method='unknown'
3869 # Need to set the preceding variable on all platforms that support
3870 # interlibrary dependencies.
3871 # 'none' -- dependencies not supported.
3872 # `unknown' -- same as none, but documents that we really don't know.
3873 # 'pass_all' -- all dependencies passed with no checks.
3874 # 'test_compile' -- check by making test program.
3875 # 'file_magic [regex]' -- check by looking for files in library path
3876 # which responds to the $file_magic_cmd with a given egrep regex.
3877 # If you have `file' or equivalent on your system and you're not sure
3878 # whether `pass_all' will *always* work, you probably want this one.
3880 case $host_os in
3881 aix*)
3882 lt_cv_deplibs_check_method=pass_all
3885 beos*)
3886 lt_cv_deplibs_check_method=pass_all
3889 bsdi4*)
3890 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3891 lt_cv_file_magic_cmd='/usr/bin/file -L'
3892 lt_cv_file_magic_test_file=/shlib/libc.so
3895 cygwin* | mingw* |pw32*)
3896 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3897 lt_cv_file_magic_cmd='$OBJDUMP -f'
3900 darwin* | rhapsody*)
3901 # this will be overwritten by pass_all, but leave it in just in case
3902 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3903 lt_cv_file_magic_cmd='/usr/bin/file -L'
3904 case "$host_os" in
3905 rhapsody* | darwin1.012)
3906 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3908 *) # Darwin 1.3 on
3909 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3911 esac
3912 lt_cv_deplibs_check_method=pass_all
3915 freebsd* | kfreebsd*-gnu)
3916 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3917 case $host_cpu in
3918 i*86 )
3919 # Not sure whether the presence of OpenBSD here was a mistake.
3920 # Let's accept both of them until this is cleared up.
3921 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3922 lt_cv_file_magic_cmd=/usr/bin/file
3923 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3925 esac
3926 else
3927 lt_cv_deplibs_check_method=pass_all
3931 gnu*)
3932 lt_cv_deplibs_check_method=pass_all
3935 hpux10.20*|hpux11*)
3936 case $host_cpu in
3937 hppa*)
3938 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3939 lt_cv_file_magic_cmd=/usr/bin/file
3940 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3942 ia64*)
3943 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3944 lt_cv_file_magic_cmd=/usr/bin/file
3945 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3947 esac
3950 irix5* | irix6*)
3951 case $host_os in
3952 irix5*)
3953 # this will be overridden with pass_all, but let us keep it just in case
3954 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3957 case $LD in
3958 *-32|*"-32 ") libmagic=32-bit;;
3959 *-n32|*"-n32 ") libmagic=N32;;
3960 *-64|*"-64 ") libmagic=64-bit;;
3961 *) libmagic=never-match;;
3962 esac
3963 # this will be overridden with pass_all, but let us keep it just in case
3964 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3966 esac
3967 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3968 lt_cv_deplibs_check_method=pass_all
3971 # This must be Linux ELF.
3972 linux-gnu*)
3973 case $host_cpu in
3974 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3975 lt_cv_deplibs_check_method=pass_all ;;
3977 # glibc up to 2.1.1 does not perform some relocations on ARM
3978 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3979 esac
3980 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3983 netbsd* | knetbsd*-gnu)
3984 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3985 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3986 else
3987 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3991 newsos6)
3992 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3993 lt_cv_file_magic_cmd=/usr/bin/file
3994 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3997 osf3* | osf4* | osf5*)
3998 # this will be overridden with pass_all, but let us keep it just in case
3999 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4000 lt_cv_file_magic_test_file=/shlib/libc.so
4001 lt_cv_deplibs_check_method=pass_all
4004 sco3.2v5*)
4005 lt_cv_deplibs_check_method=pass_all
4008 solaris*)
4009 lt_cv_deplibs_check_method=pass_all
4010 lt_cv_file_magic_test_file=/lib/libc.so
4013 sysv5uw[78]* | sysv4*uw2*)
4014 lt_cv_deplibs_check_method=pass_all
4017 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4018 case $host_vendor in
4019 ncr)
4020 lt_cv_deplibs_check_method=pass_all
4022 motorola)
4023 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]'
4024 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4026 esac
4028 esac
4031 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4032 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4033 file_magic_cmd=$lt_cv_file_magic_cmd
4034 deplibs_check_method=$lt_cv_deplibs_check_method
4040 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4042 # Only perform the check for file, if the check method requires it
4043 case $deplibs_check_method in
4044 file_magic*)
4045 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4046 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4047 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4048 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 else
4051 case $MAGIC_CMD in
4053 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4055 ?:/*)
4056 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4059 ac_save_MAGIC_CMD="$MAGIC_CMD"
4060 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4061 ac_dummy="/usr/bin:$PATH"
4062 for ac_dir in $ac_dummy; do
4063 test -z "$ac_dir" && ac_dir=.
4064 if test -f $ac_dir/${ac_tool_prefix}file; then
4065 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4066 if test -n "$file_magic_test_file"; then
4067 case $deplibs_check_method in
4068 "file_magic "*)
4069 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4071 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4072 egrep "$file_magic_regex" > /dev/null; then
4074 else
4075 cat <<EOF 1>&2
4077 *** Warning: the command libtool uses to detect shared libraries,
4078 *** $file_magic_cmd, produces output that libtool cannot recognize.
4079 *** The result is that libtool may fail to recognize shared libraries
4080 *** as such. This will affect the creation of libtool libraries that
4081 *** depend on shared libraries, but programs linked with such libtool
4082 *** libraries will work regardless of this problem. Nevertheless, you
4083 *** may want to report the problem to your system manager and/or to
4084 *** bug-libtool@gnu.org
4087 fi ;;
4088 esac
4090 break
4092 done
4093 IFS="$ac_save_ifs"
4094 MAGIC_CMD="$ac_save_MAGIC_CMD"
4096 esac
4099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4100 if test -n "$MAGIC_CMD"; then
4101 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4102 echo "${ECHO_T}$MAGIC_CMD" >&6
4103 else
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4108 if test -z "$lt_cv_path_MAGIC_CMD"; then
4109 if test -n "$ac_tool_prefix"; then
4110 echo "$as_me:$LINENO: checking for file" >&5
4111 echo $ECHO_N "checking for file... $ECHO_C" >&6
4112 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 else
4115 case $MAGIC_CMD in
4117 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4119 ?:/*)
4120 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4123 ac_save_MAGIC_CMD="$MAGIC_CMD"
4124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4125 ac_dummy="/usr/bin:$PATH"
4126 for ac_dir in $ac_dummy; do
4127 test -z "$ac_dir" && ac_dir=.
4128 if test -f $ac_dir/file; then
4129 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4130 if test -n "$file_magic_test_file"; then
4131 case $deplibs_check_method in
4132 "file_magic "*)
4133 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4135 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4136 egrep "$file_magic_regex" > /dev/null; then
4138 else
4139 cat <<EOF 1>&2
4141 *** Warning: the command libtool uses to detect shared libraries,
4142 *** $file_magic_cmd, produces output that libtool cannot recognize.
4143 *** The result is that libtool may fail to recognize shared libraries
4144 *** as such. This will affect the creation of libtool libraries that
4145 *** depend on shared libraries, but programs linked with such libtool
4146 *** libraries will work regardless of this problem. Nevertheless, you
4147 *** may want to report the problem to your system manager and/or to
4148 *** bug-libtool@gnu.org
4151 fi ;;
4152 esac
4154 break
4156 done
4157 IFS="$ac_save_ifs"
4158 MAGIC_CMD="$ac_save_MAGIC_CMD"
4160 esac
4163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4164 if test -n "$MAGIC_CMD"; then
4165 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4166 echo "${ECHO_T}$MAGIC_CMD" >&6
4167 else
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4172 else
4173 MAGIC_CMD=:
4179 esac
4181 if test -n "$ac_tool_prefix"; then
4182 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4183 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4184 echo "$as_me:$LINENO: checking for $ac_word" >&5
4185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4186 if test "${ac_cv_prog_RANLIB+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 else
4189 if test -n "$RANLIB"; then
4190 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4191 else
4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 for as_dir in $PATH
4195 IFS=$as_save_IFS
4196 test -z "$as_dir" && as_dir=.
4197 for ac_exec_ext in '' $ac_executable_extensions; do
4198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4199 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 break 2
4203 done
4204 done
4208 RANLIB=$ac_cv_prog_RANLIB
4209 if test -n "$RANLIB"; then
4210 echo "$as_me:$LINENO: result: $RANLIB" >&5
4211 echo "${ECHO_T}$RANLIB" >&6
4212 else
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4218 if test -z "$ac_cv_prog_RANLIB"; then
4219 ac_ct_RANLIB=$RANLIB
4220 # Extract the first word of "ranlib", so it can be a program name with args.
4221 set dummy ranlib; ac_word=$2
4222 echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4224 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 else
4227 if test -n "$ac_ct_RANLIB"; then
4228 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH
4233 IFS=$as_save_IFS
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_ac_ct_RANLIB="ranlib"
4238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 break 2
4241 done
4242 done
4244 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4247 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4248 if test -n "$ac_ct_RANLIB"; then
4249 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4250 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4256 RANLIB=$ac_ct_RANLIB
4257 else
4258 RANLIB="$ac_cv_prog_RANLIB"
4261 if test -n "$ac_tool_prefix"; then
4262 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4263 set dummy ${ac_tool_prefix}strip; ac_word=$2
4264 echo "$as_me:$LINENO: checking for $ac_word" >&5
4265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4266 if test "${ac_cv_prog_STRIP+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 if test -n "$STRIP"; then
4270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4271 else
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 for as_dir in $PATH
4275 IFS=$as_save_IFS
4276 test -z "$as_dir" && as_dir=.
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 break 2
4283 done
4284 done
4288 STRIP=$ac_cv_prog_STRIP
4289 if test -n "$STRIP"; then
4290 echo "$as_me:$LINENO: result: $STRIP" >&5
4291 echo "${ECHO_T}$STRIP" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4298 if test -z "$ac_cv_prog_STRIP"; then
4299 ac_ct_STRIP=$STRIP
4300 # Extract the first word of "strip", so it can be a program name with args.
4301 set dummy strip; ac_word=$2
4302 echo "$as_me:$LINENO: checking for $ac_word" >&5
4303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4304 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 else
4307 if test -n "$ac_ct_STRIP"; then
4308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4309 else
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH
4313 IFS=$as_save_IFS
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_ac_ct_STRIP="strip"
4318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 break 2
4321 done
4322 done
4324 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4328 if test -n "$ac_ct_STRIP"; then
4329 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4330 echo "${ECHO_T}$ac_ct_STRIP" >&6
4331 else
4332 echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6
4336 STRIP=$ac_ct_STRIP
4337 else
4338 STRIP="$ac_cv_prog_STRIP"
4342 # Check for any special flags to pass to ltconfig.
4343 libtool_flags="--cache-file=$cache_file"
4344 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4345 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4346 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4347 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4348 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4351 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4352 if test "${enable_libtool_lock+set}" = set; then
4353 enableval="$enable_libtool_lock"
4356 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4357 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4360 # Check whether --with-pic or --without-pic was given.
4361 if test "${with_pic+set}" = set; then
4362 withval="$with_pic"
4363 pic_mode="$withval"
4364 else
4365 pic_mode=default
4367 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4368 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4370 # Some flags need to be propagated to the compiler or linker for good
4371 # libtool support.
4372 case $host in
4373 *-*-irix6*)
4374 # Find out which ABI we are using.
4375 echo '#line 4375 "configure"' > conftest.$ac_ext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>&5
4378 ac_status=$?
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; then
4381 if test "$lt_cv_prog_gnu_ld" = yes; then
4382 case `/usr/bin/file conftest.$ac_objext` in
4383 *32-bit*)
4384 LD="${LD-ld} -melf32bsmip"
4386 *N32*)
4387 LD="${LD-ld} -melf32bmipn32"
4389 *64-bit*)
4390 LD="${LD-ld} -melf64bmip"
4392 esac
4393 else
4394 case `/usr/bin/file conftest.$ac_objext` in
4395 *32-bit*)
4396 LD="${LD-ld} -32"
4398 *N32*)
4399 LD="${LD-ld} -n32"
4401 *64-bit*)
4402 LD="${LD-ld} -64"
4404 esac
4407 rm -rf conftest*
4410 ia64-*-hpux*)
4411 # Find out which ABI we are using.
4412 echo 'int i;' > conftest.$ac_ext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4414 (eval $ac_compile) 2>&5
4415 ac_status=$?
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; then
4418 case "`/usr/bin/file conftest.o`" in
4419 *ELF-32*)
4420 HPUX_IA64_MODE="32"
4422 *ELF-64*)
4423 HPUX_IA64_MODE="64"
4425 esac
4427 rm -rf conftest*
4430 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4431 # Find out which ABI we are using.
4432 echo 'int i;' > conftest.$ac_ext
4433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4434 (eval $ac_compile) 2>&5
4435 ac_status=$?
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; then
4438 case "`/usr/bin/file conftest.o`" in
4439 *32-bit*)
4440 case $host in
4441 x86_64-*linux*)
4442 LD="${LD-ld} -m elf_i386"
4444 ppc64-*linux*|powerpc64-*linux*)
4445 LD="${LD-ld} -m elf32ppclinux"
4447 s390x-*linux*)
4448 LD="${LD-ld} -m elf_s390"
4450 sparc64-*linux*)
4451 LD="${LD-ld} -m elf32_sparc"
4453 esac
4455 *64-bit*)
4456 case $host in
4457 x86_64-*linux*)
4458 LD="${LD-ld} -m elf_x86_64"
4460 ppc*-*linux*|powerpc*-*linux*)
4461 LD="${LD-ld} -m elf64ppc"
4463 s390*-*linux*)
4464 LD="${LD-ld} -m elf64_s390"
4466 sparc*-*linux*)
4467 LD="${LD-ld} -m elf64_sparc"
4469 esac
4471 esac
4473 rm -rf conftest*
4476 *-*-sco3.2v5*)
4477 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4478 SAVE_CFLAGS="$CFLAGS"
4479 CFLAGS="$CFLAGS -belf"
4480 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4481 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4482 if test "${lt_cv_cc_needs_belf+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4487 ac_ext=c
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 if test x$gcc_no_link = xyes; then
4494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4496 { (exit 1); exit 1; }; }
4498 cat >conftest.$ac_ext <<_ACEOF
4499 /* confdefs.h. */
4500 _ACEOF
4501 cat confdefs.h >>conftest.$ac_ext
4502 cat >>conftest.$ac_ext <<_ACEOF
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4515 (eval $ac_link) 2>conftest.er1
4516 ac_status=$?
4517 grep -v '^ *+' conftest.er1 >conftest.err
4518 rm -f conftest.er1
4519 cat conftest.err >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 (eval $ac_try) 2>&5
4525 ac_status=$?
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try='test -s conftest$ac_exeext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 (eval $ac_try) 2>&5
4531 ac_status=$?
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 lt_cv_cc_needs_belf=yes
4535 else
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 lt_cv_cc_needs_belf=no
4541 rm -f conftest.err conftest.$ac_objext \
4542 conftest$ac_exeext conftest.$ac_ext
4543 ac_ext=c
4544 ac_cpp='$CPP $CPPFLAGS'
4545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4551 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4552 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4553 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4554 CFLAGS="$SAVE_CFLAGS"
4559 esac
4562 # Save cache, so that ltconfig can load it
4563 cat >confcache <<\_ACEOF
4564 # This file is a shell script that caches the results of configure
4565 # tests run on this system so they can be shared between configure
4566 # scripts and configure runs, see configure's option --config-cache.
4567 # It is not useful on other systems. If it contains results you don't
4568 # want to keep, you may remove or edit it.
4570 # config.status only pays attention to the cache file if you give it
4571 # the --recheck option to rerun configure.
4573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4575 # following values.
4577 _ACEOF
4579 # The following way of writing the cache mishandles newlines in values,
4580 # but we know of no workaround that is simple, portable, and efficient.
4581 # So, don't put newlines in cache variables' values.
4582 # Ultrix sh set writes to stderr and can't be redirected directly,
4583 # and sets the high bit in the cache file unless we assign to the vars.
4585 (set) 2>&1 |
4586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4587 *ac_space=\ *)
4588 # `set' does not quote correctly, so add quotes (double-quote
4589 # substitution turns \\\\ into \\, and sed turns \\ into \).
4590 sed -n \
4591 "s/'/'\\\\''/g;
4592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4595 # `set' quotes correctly as required by POSIX, so do not add quotes.
4596 sed -n \
4597 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4599 esac;
4601 sed '
4602 t clear
4603 : clear
4604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4605 t end
4606 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4607 : end' >>confcache
4608 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4609 if test -w $cache_file; then
4610 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4611 cat confcache >$cache_file
4612 else
4613 echo "not updating unwritable cache $cache_file"
4616 rm -f confcache
4618 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4619 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4624 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4625 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4626 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4627 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4628 echo "$as_me: error: libtool configure failed" >&2;}
4629 { (exit 1); exit 1; }; }
4631 # Reload cache, that may have been modified by ltconfig
4632 if test -r "$cache_file"; then
4633 # Some versions of bash will fail to source /dev/null (special
4634 # files actually), so we avoid doing that.
4635 if test -f "$cache_file"; then
4636 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4637 echo "$as_me: loading cache $cache_file" >&6;}
4638 case $cache_file in
4639 [\\/]* | ?:[\\/]* ) . $cache_file;;
4640 *) . ./$cache_file;;
4641 esac
4643 else
4644 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4645 echo "$as_me: creating cache $cache_file" >&6;}
4646 >$cache_file
4650 # This can be used to rebuild libtool when needed
4651 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4653 # Always use our own libtool.
4654 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4656 # Redirect the config.log output again, so that the ltconfig log is not
4657 # clobbered by the next message.
4658 exec 5>>./config.log
4660 ac_ext=cc
4661 ac_cpp='$CXXCPP $CPPFLAGS'
4662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4665 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4666 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4667 if test -z "$CXXCPP"; then
4668 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4669 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 else
4671 # Double quotes because CXXCPP needs to be expanded
4672 for CXXCPP in "$CXX -E" "/lib/cpp"
4674 ac_preproc_ok=false
4675 for ac_cxx_preproc_warn_flag in '' yes
4677 # Use a header file that comes with gcc, so configuring glibc
4678 # with a fresh cross-compiler works.
4679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4680 # <limits.h> exists even on freestanding compilers.
4681 # On the NeXT, cc -E runs the code through the compiler's parser,
4682 # not just through cpp. "Syntax error" is here to catch this case.
4683 cat >conftest.$ac_ext <<_ACEOF
4684 /* confdefs.h. */
4685 _ACEOF
4686 cat confdefs.h >>conftest.$ac_ext
4687 cat >>conftest.$ac_ext <<_ACEOF
4688 /* end confdefs.h. */
4689 #ifdef __STDC__
4690 # include <limits.h>
4691 #else
4692 # include <assert.h>
4693 #endif
4694 Syntax error
4695 _ACEOF
4696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4698 ac_status=$?
4699 grep -v '^ *+' conftest.er1 >conftest.err
4700 rm -f conftest.er1
4701 cat conftest.err >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } >/dev/null; then
4704 if test -s conftest.err; then
4705 ac_cpp_err=$ac_cxx_preproc_warn_flag
4706 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4707 else
4708 ac_cpp_err=
4710 else
4711 ac_cpp_err=yes
4713 if test -z "$ac_cpp_err"; then
4715 else
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 # Broken: fails on valid input.
4720 continue
4722 rm -f conftest.err conftest.$ac_ext
4724 # OK, works on sane cases. Now check whether non-existent headers
4725 # can be detected and how.
4726 cat >conftest.$ac_ext <<_ACEOF
4727 /* confdefs.h. */
4728 _ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4736 ac_status=$?
4737 grep -v '^ *+' conftest.er1 >conftest.err
4738 rm -f conftest.er1
4739 cat conftest.err >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } >/dev/null; then
4742 if test -s conftest.err; then
4743 ac_cpp_err=$ac_cxx_preproc_warn_flag
4744 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4745 else
4746 ac_cpp_err=
4748 else
4749 ac_cpp_err=yes
4751 if test -z "$ac_cpp_err"; then
4752 # Broken: success on invalid input.
4753 continue
4754 else
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 # Passes both tests.
4759 ac_preproc_ok=:
4760 break
4762 rm -f conftest.err conftest.$ac_ext
4764 done
4765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4766 rm -f conftest.err conftest.$ac_ext
4767 if $ac_preproc_ok; then
4768 break
4771 done
4772 ac_cv_prog_CXXCPP=$CXXCPP
4775 CXXCPP=$ac_cv_prog_CXXCPP
4776 else
4777 ac_cv_prog_CXXCPP=$CXXCPP
4779 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4780 echo "${ECHO_T}$CXXCPP" >&6
4781 ac_preproc_ok=false
4782 for ac_cxx_preproc_warn_flag in '' yes
4784 # Use a header file that comes with gcc, so configuring glibc
4785 # with a fresh cross-compiler works.
4786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4787 # <limits.h> exists even on freestanding compilers.
4788 # On the NeXT, cc -E runs the code through the compiler's parser,
4789 # not just through cpp. "Syntax error" is here to catch this case.
4790 cat >conftest.$ac_ext <<_ACEOF
4791 /* confdefs.h. */
4792 _ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 #ifdef __STDC__
4797 # include <limits.h>
4798 #else
4799 # include <assert.h>
4800 #endif
4801 Syntax error
4802 _ACEOF
4803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4805 ac_status=$?
4806 grep -v '^ *+' conftest.er1 >conftest.err
4807 rm -f conftest.er1
4808 cat conftest.err >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } >/dev/null; then
4811 if test -s conftest.err; then
4812 ac_cpp_err=$ac_cxx_preproc_warn_flag
4813 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4814 else
4815 ac_cpp_err=
4817 else
4818 ac_cpp_err=yes
4820 if test -z "$ac_cpp_err"; then
4822 else
4823 echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4826 # Broken: fails on valid input.
4827 continue
4829 rm -f conftest.err conftest.$ac_ext
4831 # OK, works on sane cases. Now check whether non-existent headers
4832 # can be detected and how.
4833 cat >conftest.$ac_ext <<_ACEOF
4834 /* confdefs.h. */
4835 _ACEOF
4836 cat confdefs.h >>conftest.$ac_ext
4837 cat >>conftest.$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4839 #include <ac_nonexistent.h>
4840 _ACEOF
4841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4843 ac_status=$?
4844 grep -v '^ *+' conftest.er1 >conftest.err
4845 rm -f conftest.er1
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } >/dev/null; then
4849 if test -s conftest.err; then
4850 ac_cpp_err=$ac_cxx_preproc_warn_flag
4851 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4852 else
4853 ac_cpp_err=
4855 else
4856 ac_cpp_err=yes
4858 if test -z "$ac_cpp_err"; then
4859 # Broken: success on invalid input.
4860 continue
4861 else
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.$ac_ext >&5
4865 # Passes both tests.
4866 ac_preproc_ok=:
4867 break
4869 rm -f conftest.err conftest.$ac_ext
4871 done
4872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4873 rm -f conftest.err conftest.$ac_ext
4874 if $ac_preproc_ok; then
4876 else
4877 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4878 See \`config.log' for more details." >&5
4879 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4880 See \`config.log' for more details." >&2;}
4881 { (exit 1); exit 1; }; }
4884 ac_ext=c
4885 ac_cpp='$CPP $CPPFLAGS'
4886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4892 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4893 lt_save_CC="$CC"
4894 lt_save_CFLAGS="$CFLAGS"
4895 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4896 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4897 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4898 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4899 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4900 deplibs_check_method="$deplibs_check_method" \
4901 file_magic_cmd="$file_magic_cmd" \
4902 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4903 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4904 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4905 echo "$as_me: error: libtool tag configuration failed" >&2;}
4906 { (exit 1); exit 1; }; }
4907 CC="$lt_save_CC"
4908 CFLAGS="$lt_save_CFLAGS"
4910 # Redirect the config.log output again, so that the ltconfig log is not
4911 # clobbered by the next message.
4912 exec 5>>./config.log
4921 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4923 # Possibly disable most of the library.
4924 ## XXX Consider skipping unncessary tests altogether in this case, rather
4925 ## than just ignoring the results. Faster /and/ more correct, win win.
4927 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4928 if test "${enable_hosted_libstdcxx+set}" = set; then
4929 enableval="$enable_hosted_libstdcxx"
4931 else
4932 enable_hosted_libstdcxx=yes
4934 if test "$enable_hosted_libstdcxx" = no; then
4935 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4936 echo "$as_me: Only freestanding libraries will be built" >&6;}
4937 is_hosted=no
4938 hosted_define=0
4939 enable_abi_check=no
4940 enable_libstdcxx_pch=no
4941 else
4942 is_hosted=yes
4943 hosted_define=1
4947 cat >>confdefs.h <<_ACEOF
4948 #define _GLIBCXX_HOSTED $hosted_define
4949 _ACEOF
4953 # Check for support bits and g++ features that don't require linking.
4955 echo "$as_me:$LINENO: checking for exception model to use" >&5
4956 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4959 ac_ext=cc
4960 ac_cpp='$CXXCPP $CPPFLAGS'
4961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4965 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4966 if test "${enable_sjlj_exceptions+set}" = set; then
4967 enableval="$enable_sjlj_exceptions"
4969 case "$enableval" in
4970 yes|no|auto) ;;
4971 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4972 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4973 { (exit 1); exit 1; }; } ;;
4974 esac
4976 else
4977 enable_sjlj_exceptions=auto
4981 if test $enable_sjlj_exceptions = auto; then
4982 # Botheration. Now we've got to detect the exception model. Link tests
4983 # against libgcc.a are problematic since we've not been given proper -L
4984 # bits for single-tree newlib and libgloss.
4986 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4987 cat > conftest.$ac_ext << EOF
4988 #line 4988 "configure"
4989 struct S { ~S(); };
4990 void bar();
4991 void foo()
4993 S s;
4994 bar();
4997 old_CXXFLAGS="$CXXFLAGS"
4998 CXXFLAGS=-S
4999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5000 (eval $ac_compile) 2>&5
5001 ac_status=$?
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; then
5004 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5005 enable_sjlj_exceptions=yes
5006 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5007 enable_sjlj_exceptions=no
5010 CXXFLAGS="$old_CXXFLAGS"
5011 rm -f conftest*
5014 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5015 # to two different models.
5016 case $enable_sjlj_exceptions in
5017 yes)
5019 cat >>confdefs.h <<\_ACEOF
5020 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5021 _ACEOF
5023 ac_exception_model_name=sjlj
5026 ac_exception_model_name="call frame"
5029 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5030 echo "$as_me: error: unable to detect exception model" >&2;}
5031 { (exit 1); exit 1; }; }
5033 esac
5034 ac_ext=c
5035 ac_cpp='$CPP $CPPFLAGS'
5036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5040 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5041 echo "${ECHO_T}$ac_exception_model_name" >&6
5044 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5045 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5046 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5047 if test "${enable_libstdcxx_pch+set}" = set; then
5048 enableval="$enable_libstdcxx_pch"
5050 case "$enableval" in
5051 yes|no) ;;
5052 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5053 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5054 { (exit 1); exit 1; }; } ;;
5055 esac
5057 else
5058 enable_libstdcxx_pch=$is_hosted
5061 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5062 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5064 if test $enable_libstdcxx_pch = yes; then
5065 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5066 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5067 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 else
5070 ac_save_CXXFLAGS="$CXXFLAGS"
5071 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5074 ac_ext=cc
5075 ac_cpp='$CXXCPP $CPPFLAGS'
5076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5080 echo '#include <math.h>' > conftest.h
5081 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5082 -o conftest.h.gch 1>&5 2>&1 &&
5083 echo '#error "pch failed"' > conftest.h &&
5084 echo '#include "conftest.h"' > conftest.cc &&
5085 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5086 then
5087 glibcxx_cv_prog_CXX_pch=yes
5088 else
5089 glibcxx_cv_prog_CXX_pch=no
5091 rm -f conftest*
5092 CXXFLAGS=$ac_save_CXXFLAGS
5093 ac_ext=c
5094 ac_cpp='$CPP $CPPFLAGS'
5095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5101 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5102 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5103 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5107 if test $enable_libstdcxx_pch = yes; then
5108 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5109 else
5110 glibcxx_PCHFLAGS=""
5115 # Enable all the variable C++ runtime options.
5116 # NB: C_MBCHAR must come early.
5118 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5119 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5120 # Check whether --enable-cstdio or --disable-cstdio was given.
5121 if test "${enable_cstdio+set}" = set; then
5122 enableval="$enable_cstdio"
5124 case "$enableval" in
5125 stdio) ;;
5126 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5127 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5128 { (exit 1); exit 1; }; } ;;
5129 esac
5131 else
5132 enable_cstdio=stdio
5136 # Now that libio has been removed, you can have any color you want as long
5137 # as it's black. This is one big no-op until other packages are added, but
5138 # showing the framework never hurts.
5139 case ${enable_cstdio} in
5140 stdio)
5141 CSTDIO_H=config/io/c_io_stdio.h
5142 BASIC_FILE_H=config/io/basic_file_stdio.h
5143 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5144 echo "$as_me:$LINENO: result: stdio" >&5
5145 echo "${ECHO_T}stdio" >&6
5147 esac
5153 ac_ext=c
5154 ac_cpp='$CPP $CPPFLAGS'
5155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5158 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5159 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5160 # On Suns, sometimes $CPP names a directory.
5161 if test -n "$CPP" && test -d "$CPP"; then
5162 CPP=
5164 if test -z "$CPP"; then
5165 if test "${ac_cv_prog_CPP+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 else
5168 # Double quotes because CPP needs to be expanded
5169 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5171 ac_preproc_ok=false
5172 for ac_c_preproc_warn_flag in '' yes
5174 # Use a header file that comes with gcc, so configuring glibc
5175 # with a fresh cross-compiler works.
5176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5177 # <limits.h> exists even on freestanding compilers.
5178 # On the NeXT, cc -E runs the code through the compiler's parser,
5179 # not just through cpp. "Syntax error" is here to catch this case.
5180 cat >conftest.$ac_ext <<_ACEOF
5181 /* confdefs.h. */
5182 _ACEOF
5183 cat confdefs.h >>conftest.$ac_ext
5184 cat >>conftest.$ac_ext <<_ACEOF
5185 /* end confdefs.h. */
5186 #ifdef __STDC__
5187 # include <limits.h>
5188 #else
5189 # include <assert.h>
5190 #endif
5191 Syntax error
5192 _ACEOF
5193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5195 ac_status=$?
5196 grep -v '^ *+' conftest.er1 >conftest.err
5197 rm -f conftest.er1
5198 cat conftest.err >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } >/dev/null; then
5201 if test -s conftest.err; then
5202 ac_cpp_err=$ac_c_preproc_warn_flag
5203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5204 else
5205 ac_cpp_err=
5207 else
5208 ac_cpp_err=yes
5210 if test -z "$ac_cpp_err"; then
5212 else
5213 echo "$as_me: failed program was:" >&5
5214 sed 's/^/| /' conftest.$ac_ext >&5
5216 # Broken: fails on valid input.
5217 continue
5219 rm -f conftest.err conftest.$ac_ext
5221 # OK, works on sane cases. Now check whether non-existent headers
5222 # can be detected and how.
5223 cat >conftest.$ac_ext <<_ACEOF
5224 /* confdefs.h. */
5225 _ACEOF
5226 cat confdefs.h >>conftest.$ac_ext
5227 cat >>conftest.$ac_ext <<_ACEOF
5228 /* end confdefs.h. */
5229 #include <ac_nonexistent.h>
5230 _ACEOF
5231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5233 ac_status=$?
5234 grep -v '^ *+' conftest.er1 >conftest.err
5235 rm -f conftest.er1
5236 cat conftest.err >&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } >/dev/null; then
5239 if test -s conftest.err; then
5240 ac_cpp_err=$ac_c_preproc_warn_flag
5241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5242 else
5243 ac_cpp_err=
5245 else
5246 ac_cpp_err=yes
5248 if test -z "$ac_cpp_err"; then
5249 # Broken: success on invalid input.
5250 continue
5251 else
5252 echo "$as_me: failed program was:" >&5
5253 sed 's/^/| /' conftest.$ac_ext >&5
5255 # Passes both tests.
5256 ac_preproc_ok=:
5257 break
5259 rm -f conftest.err conftest.$ac_ext
5261 done
5262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5263 rm -f conftest.err conftest.$ac_ext
5264 if $ac_preproc_ok; then
5265 break
5268 done
5269 ac_cv_prog_CPP=$CPP
5272 CPP=$ac_cv_prog_CPP
5273 else
5274 ac_cv_prog_CPP=$CPP
5276 echo "$as_me:$LINENO: result: $CPP" >&5
5277 echo "${ECHO_T}$CPP" >&6
5278 ac_preproc_ok=false
5279 for ac_c_preproc_warn_flag in '' yes
5281 # Use a header file that comes with gcc, so configuring glibc
5282 # with a fresh cross-compiler works.
5283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5284 # <limits.h> exists even on freestanding compilers.
5285 # On the NeXT, cc -E runs the code through the compiler's parser,
5286 # not just through cpp. "Syntax error" is here to catch this case.
5287 cat >conftest.$ac_ext <<_ACEOF
5288 /* confdefs.h. */
5289 _ACEOF
5290 cat confdefs.h >>conftest.$ac_ext
5291 cat >>conftest.$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5293 #ifdef __STDC__
5294 # include <limits.h>
5295 #else
5296 # include <assert.h>
5297 #endif
5298 Syntax error
5299 _ACEOF
5300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5302 ac_status=$?
5303 grep -v '^ *+' conftest.er1 >conftest.err
5304 rm -f conftest.er1
5305 cat conftest.err >&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } >/dev/null; then
5308 if test -s conftest.err; then
5309 ac_cpp_err=$ac_c_preproc_warn_flag
5310 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5311 else
5312 ac_cpp_err=
5314 else
5315 ac_cpp_err=yes
5317 if test -z "$ac_cpp_err"; then
5319 else
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.$ac_ext >&5
5323 # Broken: fails on valid input.
5324 continue
5326 rm -f conftest.err conftest.$ac_ext
5328 # OK, works on sane cases. Now check whether non-existent headers
5329 # can be detected and how.
5330 cat >conftest.$ac_ext <<_ACEOF
5331 /* confdefs.h. */
5332 _ACEOF
5333 cat confdefs.h >>conftest.$ac_ext
5334 cat >>conftest.$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 #include <ac_nonexistent.h>
5337 _ACEOF
5338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5340 ac_status=$?
5341 grep -v '^ *+' conftest.er1 >conftest.err
5342 rm -f conftest.er1
5343 cat conftest.err >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } >/dev/null; then
5346 if test -s conftest.err; then
5347 ac_cpp_err=$ac_c_preproc_warn_flag
5348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5349 else
5350 ac_cpp_err=
5352 else
5353 ac_cpp_err=yes
5355 if test -z "$ac_cpp_err"; then
5356 # Broken: success on invalid input.
5357 continue
5358 else
5359 echo "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5362 # Passes both tests.
5363 ac_preproc_ok=:
5364 break
5366 rm -f conftest.err conftest.$ac_ext
5368 done
5369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5370 rm -f conftest.err conftest.$ac_ext
5371 if $ac_preproc_ok; then
5373 else
5374 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5375 See \`config.log' for more details." >&5
5376 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5377 See \`config.log' for more details." >&2;}
5378 { (exit 1); exit 1; }; }
5381 ac_ext=c
5382 ac_cpp='$CPP $CPPFLAGS'
5383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5388 echo "$as_me:$LINENO: checking for egrep" >&5
5389 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5390 if test "${ac_cv_prog_egrep+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 else
5393 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5394 then ac_cv_prog_egrep='grep -E'
5395 else ac_cv_prog_egrep='egrep'
5398 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5399 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5400 EGREP=$ac_cv_prog_egrep
5403 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5404 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5405 if test "${ac_cv_header_stdc+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 else
5408 cat >conftest.$ac_ext <<_ACEOF
5409 /* confdefs.h. */
5410 _ACEOF
5411 cat confdefs.h >>conftest.$ac_ext
5412 cat >>conftest.$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5414 #include <stdlib.h>
5415 #include <stdarg.h>
5416 #include <string.h>
5417 #include <float.h>
5420 main ()
5424 return 0;
5426 _ACEOF
5427 rm -f conftest.$ac_objext
5428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5429 (eval $ac_compile) 2>conftest.er1
5430 ac_status=$?
5431 grep -v '^ *+' conftest.er1 >conftest.err
5432 rm -f conftest.er1
5433 cat conftest.err >&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); } &&
5436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438 (eval $ac_try) 2>&5
5439 ac_status=$?
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; } &&
5442 { ac_try='test -s conftest.$ac_objext'
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 (eval $ac_try) 2>&5
5445 ac_status=$?
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }; }; then
5448 ac_cv_header_stdc=yes
5449 else
5450 echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.$ac_ext >&5
5453 ac_cv_header_stdc=no
5455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5457 if test $ac_cv_header_stdc = yes; then
5458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5459 cat >conftest.$ac_ext <<_ACEOF
5460 /* confdefs.h. */
5461 _ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5465 #include <string.h>
5467 _ACEOF
5468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5469 $EGREP "memchr" >/dev/null 2>&1; then
5471 else
5472 ac_cv_header_stdc=no
5474 rm -f conftest*
5478 if test $ac_cv_header_stdc = yes; then
5479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5480 cat >conftest.$ac_ext <<_ACEOF
5481 /* confdefs.h. */
5482 _ACEOF
5483 cat confdefs.h >>conftest.$ac_ext
5484 cat >>conftest.$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5486 #include <stdlib.h>
5488 _ACEOF
5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5490 $EGREP "free" >/dev/null 2>&1; then
5492 else
5493 ac_cv_header_stdc=no
5495 rm -f conftest*
5499 if test $ac_cv_header_stdc = yes; then
5500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5501 if test "$cross_compiling" = yes; then
5503 else
5504 cat >conftest.$ac_ext <<_ACEOF
5505 /* confdefs.h. */
5506 _ACEOF
5507 cat confdefs.h >>conftest.$ac_ext
5508 cat >>conftest.$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5510 #include <ctype.h>
5511 #if ((' ' & 0x0FF) == 0x020)
5512 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5513 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5514 #else
5515 # define ISLOWER(c) \
5516 (('a' <= (c) && (c) <= 'i') \
5517 || ('j' <= (c) && (c) <= 'r') \
5518 || ('s' <= (c) && (c) <= 'z'))
5519 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5520 #endif
5522 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5524 main ()
5526 int i;
5527 for (i = 0; i < 256; i++)
5528 if (XOR (islower (i), ISLOWER (i))
5529 || toupper (i) != TOUPPER (i))
5530 exit(2);
5531 exit (0);
5533 _ACEOF
5534 rm -f conftest$ac_exeext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5536 (eval $ac_link) 2>&5
5537 ac_status=$?
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5541 (eval $ac_try) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; }; then
5546 else
5547 echo "$as_me: program exited with status $ac_status" >&5
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.$ac_ext >&5
5551 ( exit $ac_status )
5552 ac_cv_header_stdc=no
5554 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5558 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5559 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5560 if test $ac_cv_header_stdc = yes; then
5562 cat >>confdefs.h <<\_ACEOF
5563 #define STDC_HEADERS 1
5564 _ACEOF
5568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5579 inttypes.h stdint.h unistd.h
5581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5582 echo "$as_me:$LINENO: checking for $ac_header" >&5
5583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5586 else
5587 cat >conftest.$ac_ext <<_ACEOF
5588 /* confdefs.h. */
5589 _ACEOF
5590 cat confdefs.h >>conftest.$ac_ext
5591 cat >>conftest.$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5593 $ac_includes_default
5595 #include <$ac_header>
5596 _ACEOF
5597 rm -f conftest.$ac_objext
5598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5599 (eval $ac_compile) 2>conftest.er1
5600 ac_status=$?
5601 grep -v '^ *+' conftest.er1 >conftest.err
5602 rm -f conftest.er1
5603 cat conftest.err >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); } &&
5606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5608 (eval $ac_try) 2>&5
5609 ac_status=$?
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; } &&
5612 { ac_try='test -s conftest.$ac_objext'
5613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614 (eval $ac_try) 2>&5
5615 ac_status=$?
5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617 (exit $ac_status); }; }; then
5618 eval "$as_ac_Header=yes"
5619 else
5620 echo "$as_me: failed program was:" >&5
5621 sed 's/^/| /' conftest.$ac_ext >&5
5623 eval "$as_ac_Header=no"
5625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5630 cat >>confdefs.h <<_ACEOF
5631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5632 _ACEOF
5636 done
5640 echo "$as_me:$LINENO: checking for C locale to use" >&5
5641 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5642 # Check whether --enable-clocale or --disable-clocale was given.
5643 if test "${enable_clocale+set}" = set; then
5644 enableval="$enable_clocale"
5646 case "$enableval" in
5647 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5648 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5649 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5650 { (exit 1); exit 1; }; } ;;
5651 esac
5653 else
5654 enable_clocale=auto
5658 # If they didn't use this option switch, or if they specified --enable
5659 # with no specific model, we'll have to look for one. If they
5660 # specified --disable (???), do likewise.
5661 if test $enable_clocale = no || test $enable_clocale = yes; then
5662 enable_clocale=auto
5665 # Either a known package, or "auto"
5666 enable_clocale_flag=$enable_clocale
5668 # Probe for locale support if no specific model is specified.
5669 # Default to "generic".
5670 if test $enable_clocale_flag = auto; then
5671 case ${target_os} in
5672 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5673 cat >conftest.$ac_ext <<_ACEOF
5674 /* confdefs.h. */
5675 _ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5680 #include <features.h>
5681 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5682 _GLIBCXX_ok
5683 #endif
5685 _ACEOF
5686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5687 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5688 enable_clocale_flag=gnu
5689 else
5690 enable_clocale_flag=generic
5692 rm -f conftest*
5695 # Test for bugs early in glibc-2.2.x series
5696 if test $enable_clocale_flag = gnu; then
5697 if test "$cross_compiling" = yes; then
5698 enable_clocale_flag=generic
5699 else
5700 cat >conftest.$ac_ext <<_ACEOF
5701 /* confdefs.h. */
5702 _ACEOF
5703 cat confdefs.h >>conftest.$ac_ext
5704 cat >>conftest.$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5707 #define _GNU_SOURCE 1
5708 #include <locale.h>
5709 #include <string.h>
5710 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5711 extern __typeof(newlocale) __newlocale;
5712 extern __typeof(duplocale) __duplocale;
5713 extern __typeof(strcoll_l) __strcoll_l;
5714 #endif
5715 int main()
5717 const char __one[] = "Äuglein Augmen";
5718 const char __two[] = "Äuglein";
5719 int i;
5720 int j;
5721 __locale_t loc;
5722 __locale_t loc_dup;
5723 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5724 loc_dup = __duplocale(loc);
5725 i = __strcoll_l(__one, __two, loc);
5726 j = __strcoll_l(__one, __two, loc_dup);
5727 return 0;
5730 _ACEOF
5731 rm -f conftest$ac_exeext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5733 (eval $ac_link) 2>&5
5734 ac_status=$?
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 (eval $ac_try) 2>&5
5739 ac_status=$?
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; }; then
5742 enable_clocale_flag=gnu
5743 else
5744 echo "$as_me: program exited with status $ac_status" >&5
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.$ac_ext >&5
5748 ( exit $ac_status )
5749 enable_clocale_flag=generic
5751 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5755 # ... at some point put __strxfrm_l tests in as well.
5758 enable_clocale_flag=generic
5760 esac
5763 # Deal with gettext issues. Default to not using it (=no) until we detect
5764 # support for it later. Let the user turn it off via --e/d, but let that
5765 # default to on for easier handling.
5766 USE_NLS=no
5767 # Check whether --enable-nls or --disable-nls was given.
5768 if test "${enable_nls+set}" = set; then
5769 enableval="$enable_nls"
5771 else
5772 enable_nls=yes
5775 # Set configure bits for specified locale package
5776 case ${enable_clocale_flag} in
5777 generic)
5778 echo "$as_me:$LINENO: result: generic" >&5
5779 echo "${ECHO_T}generic" >&6
5781 CLOCALE_H=config/locale/generic/c_locale.h
5782 CLOCALE_CC=config/locale/generic/c_locale.cc
5783 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5784 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5785 CCOLLATE_CC=config/locale/generic/collate_members.cc
5786 CCTYPE_CC=config/locale/generic/ctype_members.cc
5787 CMESSAGES_H=config/locale/generic/messages_members.h
5788 CMESSAGES_CC=config/locale/generic/messages_members.cc
5789 CMONEY_CC=config/locale/generic/monetary_members.cc
5790 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5791 CTIME_H=config/locale/generic/time_members.h
5792 CTIME_CC=config/locale/generic/time_members.cc
5793 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5795 gnu)
5796 echo "$as_me:$LINENO: result: gnu" >&5
5797 echo "${ECHO_T}gnu" >&6
5799 # Declare intention to use gettext, and add support for specific
5800 # languages.
5801 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5802 ALL_LINGUAS="de fr"
5804 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5805 # Extract the first word of "msgfmt", so it can be a program name with args.
5806 set dummy msgfmt; ac_word=$2
5807 echo "$as_me:$LINENO: checking for $ac_word" >&5
5808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5809 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 else
5812 if test -n "$check_msgfmt"; then
5813 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_check_msgfmt="yes"
5823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5829 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5832 check_msgfmt=$ac_cv_prog_check_msgfmt
5833 if test -n "$check_msgfmt"; then
5834 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5835 echo "${ECHO_T}$check_msgfmt" >&6
5836 else
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5841 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5842 USE_NLS=yes
5844 # Export the build objects.
5845 for ling in $ALL_LINGUAS; do \
5846 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5847 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5848 done
5852 CLOCALE_H=config/locale/gnu/c_locale.h
5853 CLOCALE_CC=config/locale/gnu/c_locale.cc
5854 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5855 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5856 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5857 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5858 CMESSAGES_H=config/locale/gnu/messages_members.h
5859 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5860 CMONEY_CC=config/locale/gnu/monetary_members.cc
5861 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5862 CTIME_H=config/locale/gnu/time_members.h
5863 CTIME_CC=config/locale/gnu/time_members.cc
5864 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5866 ieee_1003.1-2001)
5867 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5868 echo "${ECHO_T}IEEE 1003.1" >&6
5870 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5871 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5872 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5873 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5874 CCOLLATE_CC=config/locale/generic/collate_members.cc
5875 CCTYPE_CC=config/locale/generic/ctype_members.cc
5876 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5877 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5878 CMONEY_CC=config/locale/generic/monetary_members.cc
5879 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5880 CTIME_H=config/locale/generic/time_members.h
5881 CTIME_CC=config/locale/generic/time_members.cc
5882 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5884 esac
5886 # This is where the testsuite looks for locale catalogs, using the
5887 # -DLOCALEDIR define during testsuite compilation.
5888 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5891 # A standalone libintl (e.g., GNU libintl) may be in use.
5892 if test $USE_NLS = yes; then
5894 for ac_header in libintl.h
5896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5898 echo "$as_me:$LINENO: checking for $ac_header" >&5
5899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5905 else
5906 # Is the header compilable?
5907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5909 cat >conftest.$ac_ext <<_ACEOF
5910 /* confdefs.h. */
5911 _ACEOF
5912 cat confdefs.h >>conftest.$ac_ext
5913 cat >>conftest.$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5915 $ac_includes_default
5916 #include <$ac_header>
5917 _ACEOF
5918 rm -f conftest.$ac_objext
5919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5920 (eval $ac_compile) 2>conftest.er1
5921 ac_status=$?
5922 grep -v '^ *+' conftest.er1 >conftest.err
5923 rm -f conftest.er1
5924 cat conftest.err >&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } &&
5927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; } &&
5933 { ac_try='test -s conftest.$ac_objext'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 (eval $ac_try) 2>&5
5936 ac_status=$?
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; }; then
5939 ac_header_compiler=yes
5940 else
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5944 ac_header_compiler=no
5946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5948 echo "${ECHO_T}$ac_header_compiler" >&6
5950 # Is the header present?
5951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5953 cat >conftest.$ac_ext <<_ACEOF
5954 /* confdefs.h. */
5955 _ACEOF
5956 cat confdefs.h >>conftest.$ac_ext
5957 cat >>conftest.$ac_ext <<_ACEOF
5958 /* end confdefs.h. */
5959 #include <$ac_header>
5960 _ACEOF
5961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5963 ac_status=$?
5964 grep -v '^ *+' conftest.er1 >conftest.err
5965 rm -f conftest.er1
5966 cat conftest.err >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); } >/dev/null; then
5969 if test -s conftest.err; then
5970 ac_cpp_err=$ac_c_preproc_warn_flag
5971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5972 else
5973 ac_cpp_err=
5975 else
5976 ac_cpp_err=yes
5978 if test -z "$ac_cpp_err"; then
5979 ac_header_preproc=yes
5980 else
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.$ac_ext >&5
5984 ac_header_preproc=no
5986 rm -f conftest.err conftest.$ac_ext
5987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5988 echo "${ECHO_T}$ac_header_preproc" >&6
5990 # So? What about this header?
5991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5992 yes:no: )
5993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5997 ac_header_preproc=yes
5999 no:yes:* )
6000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6013 cat <<\_ASBOX
6014 ## ----------------------------------------- ##
6015 ## Report this to the package-unused lists. ##
6016 ## ----------------------------------------- ##
6017 _ASBOX
6019 sed "s/^/$as_me: WARNING: /" >&2
6021 esac
6022 echo "$as_me:$LINENO: checking for $ac_header" >&5
6023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 else
6027 eval "$as_ac_Header=\$ac_header_preproc"
6029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6034 cat >>confdefs.h <<_ACEOF
6035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6036 _ACEOF
6038 else
6039 USE_NLS=no
6042 done
6044 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6045 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6046 if test "${ac_cv_search_gettext+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 else
6049 ac_func_search_save_LIBS=$LIBS
6050 ac_cv_search_gettext=no
6051 if test x$gcc_no_link = xyes; then
6052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6054 { (exit 1); exit 1; }; }
6056 cat >conftest.$ac_ext <<_ACEOF
6057 /* confdefs.h. */
6058 _ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6063 /* Override any gcc2 internal prototype to avoid an error. */
6064 #ifdef __cplusplus
6065 extern "C"
6066 #endif
6067 /* We use char because int might match the return type of a gcc2
6068 builtin and then its argument prototype would still apply. */
6069 char gettext ();
6071 main ()
6073 gettext ();
6075 return 0;
6077 _ACEOF
6078 rm -f conftest.$ac_objext conftest$ac_exeext
6079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6080 (eval $ac_link) 2>conftest.er1
6081 ac_status=$?
6082 grep -v '^ *+' conftest.er1 >conftest.err
6083 rm -f conftest.er1
6084 cat conftest.err >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); } &&
6087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6089 (eval $ac_try) 2>&5
6090 ac_status=$?
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); }; } &&
6093 { ac_try='test -s conftest$ac_exeext'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6095 (eval $ac_try) 2>&5
6096 ac_status=$?
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; }; then
6099 ac_cv_search_gettext="none required"
6100 else
6101 echo "$as_me: failed program was:" >&5
6102 sed 's/^/| /' conftest.$ac_ext >&5
6105 rm -f conftest.err conftest.$ac_objext \
6106 conftest$ac_exeext conftest.$ac_ext
6107 if test "$ac_cv_search_gettext" = no; then
6108 for ac_lib in intl; do
6109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6110 if test x$gcc_no_link = xyes; then
6111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6113 { (exit 1); exit 1; }; }
6115 cat >conftest.$ac_ext <<_ACEOF
6116 /* confdefs.h. */
6117 _ACEOF
6118 cat confdefs.h >>conftest.$ac_ext
6119 cat >>conftest.$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6122 /* Override any gcc2 internal prototype to avoid an error. */
6123 #ifdef __cplusplus
6124 extern "C"
6125 #endif
6126 /* We use char because int might match the return type of a gcc2
6127 builtin and then its argument prototype would still apply. */
6128 char gettext ();
6130 main ()
6132 gettext ();
6134 return 0;
6136 _ACEOF
6137 rm -f conftest.$ac_objext conftest$ac_exeext
6138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6139 (eval $ac_link) 2>conftest.er1
6140 ac_status=$?
6141 grep -v '^ *+' conftest.er1 >conftest.err
6142 rm -f conftest.er1
6143 cat conftest.err >&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); } &&
6146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6148 (eval $ac_try) 2>&5
6149 ac_status=$?
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; } &&
6152 { ac_try='test -s conftest$ac_exeext'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154 (eval $ac_try) 2>&5
6155 ac_status=$?
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; }; then
6158 ac_cv_search_gettext="-l$ac_lib"
6159 break
6160 else
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6165 rm -f conftest.err conftest.$ac_objext \
6166 conftest$ac_exeext conftest.$ac_ext
6167 done
6169 LIBS=$ac_func_search_save_LIBS
6171 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6172 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6173 if test "$ac_cv_search_gettext" != no; then
6174 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6176 else
6177 USE_NLS=no
6181 if test $USE_NLS = yes; then
6182 cat >>confdefs.h <<\_ACEOF
6183 #define _GLIBCXX_USE_NLS 1
6184 _ACEOF
6204 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6205 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6206 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6207 if test "${enable_libstdcxx_allocator+set}" = set; then
6208 enableval="$enable_libstdcxx_allocator"
6210 case "$enableval" in
6211 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6212 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6213 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6214 { (exit 1); exit 1; }; } ;;
6215 esac
6217 else
6218 enable_libstdcxx_allocator=auto
6222 # If they didn't use this option switch, or if they specified --enable
6223 # with no specific model, we'll have to look for one. If they
6224 # specified --disable (???), do likewise.
6225 if test $enable_libstdcxx_allocator = no ||
6226 test $enable_libstdcxx_allocator = yes;
6227 then
6228 enable_libstdcxx_allocator=auto
6231 # Either a known package, or "auto"
6232 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6234 # Probe for host-specific support if no specific model is specified.
6235 # Default to "new".
6236 if test $enable_libstdcxx_allocator_flag = auto; then
6237 case ${target_os} in
6239 enable_libstdcxx_allocator_flag=new
6241 esac
6243 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6244 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6247 # Set configure bits for specified locale package
6248 case ${enable_libstdcxx_allocator_flag} in
6249 bitmap)
6250 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6251 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6253 malloc)
6254 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6255 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6258 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6259 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6261 new)
6262 ALLOCATOR_H=config/allocator/new_allocator_base.h
6263 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6265 pool)
6266 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6267 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6269 esac
6275 # Check whether --enable-cheaders or --disable-cheaders was given.
6276 if test "${enable_cheaders+set}" = set; then
6277 enableval="$enable_cheaders"
6279 case "$enableval" in
6280 c|c_std) ;;
6281 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6282 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6283 { (exit 1); exit 1; }; } ;;
6284 esac
6286 else
6287 enable_cheaders=$c_model
6290 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6291 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6293 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6300 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6301 if test "${enable_c_mbchar+set}" = set; then
6302 enableval="$enable_c_mbchar"
6304 case "$enableval" in
6305 yes|no) ;;
6306 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6307 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6308 { (exit 1); exit 1; }; } ;;
6309 esac
6311 else
6312 enable_c_mbchar=yes
6315 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6319 # Check whether --enable-c99 or --disable-c99 was given.
6320 if test "${enable_c99+set}" = set; then
6321 enableval="$enable_c99"
6323 case "$enableval" in
6324 yes|no) ;;
6325 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6326 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6327 { (exit 1); exit 1; }; } ;;
6328 esac
6330 else
6331 enable_c99=yes
6337 ac_ext=cc
6338 ac_cpp='$CXXCPP $CPPFLAGS'
6339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6344 # Check for the existence of <math.h> functions used if C99 is enabled.
6345 ac_c99_math=yes;
6346 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6347 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6348 cat >conftest.$ac_ext <<_ACEOF
6349 /* confdefs.h. */
6350 _ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6354 #include <math.h>
6356 main ()
6358 fpclassify(0.0);
6360 return 0;
6362 _ACEOF
6363 rm -f conftest.$ac_objext
6364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6365 (eval $ac_compile) 2>conftest.er1
6366 ac_status=$?
6367 grep -v '^ *+' conftest.er1 >conftest.err
6368 rm -f conftest.er1
6369 cat conftest.err >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); } &&
6372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 (eval $ac_try) 2>&5
6375 ac_status=$?
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }; } &&
6378 { ac_try='test -s conftest.$ac_objext'
6379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 (eval $ac_try) 2>&5
6381 ac_status=$?
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); }; }; then
6385 else
6386 echo "$as_me: failed program was:" >&5
6387 sed 's/^/| /' conftest.$ac_ext >&5
6389 ac_c99_math=no
6391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6392 cat >conftest.$ac_ext <<_ACEOF
6393 /* confdefs.h. */
6394 _ACEOF
6395 cat confdefs.h >>conftest.$ac_ext
6396 cat >>conftest.$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 #include <math.h>
6400 main ()
6402 isfinite(0.0);
6404 return 0;
6406 _ACEOF
6407 rm -f conftest.$ac_objext
6408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6409 (eval $ac_compile) 2>conftest.er1
6410 ac_status=$?
6411 grep -v '^ *+' conftest.er1 >conftest.err
6412 rm -f conftest.er1
6413 cat conftest.err >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); } &&
6416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 (eval $ac_try) 2>&5
6419 ac_status=$?
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; } &&
6422 { ac_try='test -s conftest.$ac_objext'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 (eval $ac_try) 2>&5
6425 ac_status=$?
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6429 else
6430 echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.$ac_ext >&5
6433 ac_c99_math=no
6435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6436 cat >conftest.$ac_ext <<_ACEOF
6437 /* confdefs.h. */
6438 _ACEOF
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 #include <math.h>
6444 main ()
6446 isinf(0.0);
6448 return 0;
6450 _ACEOF
6451 rm -f conftest.$ac_objext
6452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 (eval $ac_compile) 2>conftest.er1
6454 ac_status=$?
6455 grep -v '^ *+' conftest.er1 >conftest.err
6456 rm -f conftest.er1
6457 cat conftest.err >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } &&
6460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 (eval $ac_try) 2>&5
6463 ac_status=$?
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; } &&
6466 { ac_try='test -s conftest.$ac_objext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 (eval $ac_try) 2>&5
6469 ac_status=$?
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6473 else
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_c99_math=no
6479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6480 cat >conftest.$ac_ext <<_ACEOF
6481 /* confdefs.h. */
6482 _ACEOF
6483 cat confdefs.h >>conftest.$ac_ext
6484 cat >>conftest.$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 #include <math.h>
6488 main ()
6490 isnan(0.0);
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6497 (eval $ac_compile) 2>conftest.er1
6498 ac_status=$?
6499 grep -v '^ *+' conftest.er1 >conftest.err
6500 rm -f conftest.er1
6501 cat conftest.err >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } &&
6504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506 (eval $ac_try) 2>&5
6507 ac_status=$?
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; } &&
6510 { ac_try='test -s conftest.$ac_objext'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; }; then
6517 else
6518 echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.$ac_ext >&5
6521 ac_c99_math=no
6523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <math.h>
6532 main ()
6534 isnormal(0.0);
6536 return 0;
6538 _ACEOF
6539 rm -f conftest.$ac_objext
6540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6541 (eval $ac_compile) 2>conftest.er1
6542 ac_status=$?
6543 grep -v '^ *+' conftest.er1 >conftest.err
6544 rm -f conftest.er1
6545 cat conftest.err >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); } &&
6548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 (eval $ac_try) 2>&5
6551 ac_status=$?
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; } &&
6554 { ac_try='test -s conftest.$ac_objext'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 (eval $ac_try) 2>&5
6557 ac_status=$?
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; }; then
6561 else
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6565 ac_c99_math=no
6567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6568 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */
6570 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <math.h>
6576 main ()
6578 signbit(0.0);
6580 return 0;
6582 _ACEOF
6583 rm -f conftest.$ac_objext
6584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6585 (eval $ac_compile) 2>conftest.er1
6586 ac_status=$?
6587 grep -v '^ *+' conftest.er1 >conftest.err
6588 rm -f conftest.er1
6589 cat conftest.err >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } &&
6592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 (eval $ac_try) 2>&5
6595 ac_status=$?
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; } &&
6598 { ac_try='test -s conftest.$ac_objext'
6599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 (eval $ac_try) 2>&5
6601 ac_status=$?
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); }; }; then
6605 else
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.$ac_ext >&5
6609 ac_c99_math=no
6611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <math.h>
6620 main ()
6622 isgreater(0.0,0.0);
6624 return 0;
6626 _ACEOF
6627 rm -f conftest.$ac_objext
6628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6629 (eval $ac_compile) 2>conftest.er1
6630 ac_status=$?
6631 grep -v '^ *+' conftest.er1 >conftest.err
6632 rm -f conftest.er1
6633 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6638 (eval $ac_try) 2>&5
6639 ac_status=$?
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; } &&
6642 { ac_try='test -s conftest.$ac_objext'
6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644 (eval $ac_try) 2>&5
6645 ac_status=$?
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; }; then
6649 else
6650 echo "$as_me: failed program was:" >&5
6651 sed 's/^/| /' conftest.$ac_ext >&5
6653 ac_c99_math=no
6655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6656 cat >conftest.$ac_ext <<_ACEOF
6657 /* confdefs.h. */
6658 _ACEOF
6659 cat confdefs.h >>conftest.$ac_ext
6660 cat >>conftest.$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6662 #include <math.h>
6664 main ()
6666 isgreaterequal(0.0,0.0);
6668 return 0;
6670 _ACEOF
6671 rm -f conftest.$ac_objext
6672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6673 (eval $ac_compile) 2>conftest.er1
6674 ac_status=$?
6675 grep -v '^ *+' conftest.er1 >conftest.err
6676 rm -f conftest.er1
6677 cat conftest.err >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } &&
6680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 (eval $ac_try) 2>&5
6683 ac_status=$?
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try='test -s conftest.$ac_objext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 (eval $ac_try) 2>&5
6689 ac_status=$?
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6693 else
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6697 ac_c99_math=no
6699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6700 cat >conftest.$ac_ext <<_ACEOF
6701 /* confdefs.h. */
6702 _ACEOF
6703 cat confdefs.h >>conftest.$ac_ext
6704 cat >>conftest.$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6706 #include <math.h>
6708 main ()
6710 isless(0.0,0.0);
6712 return 0;
6714 _ACEOF
6715 rm -f conftest.$ac_objext
6716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6717 (eval $ac_compile) 2>conftest.er1
6718 ac_status=$?
6719 grep -v '^ *+' conftest.er1 >conftest.err
6720 rm -f conftest.er1
6721 cat conftest.err >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } &&
6724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 (eval $ac_try) 2>&5
6727 ac_status=$?
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; } &&
6730 { ac_try='test -s conftest.$ac_objext'
6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 (eval $ac_try) 2>&5
6733 ac_status=$?
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); }; }; then
6737 else
6738 echo "$as_me: failed program was:" >&5
6739 sed 's/^/| /' conftest.$ac_ext >&5
6741 ac_c99_math=no
6743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6744 cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h. */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 #include <math.h>
6752 main ()
6754 islessequal(0.0,0.0);
6756 return 0;
6758 _ACEOF
6759 rm -f conftest.$ac_objext
6760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6761 (eval $ac_compile) 2>conftest.er1
6762 ac_status=$?
6763 grep -v '^ *+' conftest.er1 >conftest.err
6764 rm -f conftest.er1
6765 cat conftest.err >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } &&
6768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 (eval $ac_try) 2>&5
6771 ac_status=$?
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; } &&
6774 { ac_try='test -s conftest.$ac_objext'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 (eval $ac_try) 2>&5
6777 ac_status=$?
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6781 else
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 ac_c99_math=no
6787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6788 cat >conftest.$ac_ext <<_ACEOF
6789 /* confdefs.h. */
6790 _ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6794 #include <math.h>
6796 main ()
6798 islessgreater(0.0,0.0);
6800 return 0;
6802 _ACEOF
6803 rm -f conftest.$ac_objext
6804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6805 (eval $ac_compile) 2>conftest.er1
6806 ac_status=$?
6807 grep -v '^ *+' conftest.er1 >conftest.err
6808 rm -f conftest.er1
6809 cat conftest.err >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); } &&
6812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 (eval $ac_try) 2>&5
6815 ac_status=$?
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); }; } &&
6818 { ac_try='test -s conftest.$ac_objext'
6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 (eval $ac_try) 2>&5
6821 ac_status=$?
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); }; }; then
6825 else
6826 echo "$as_me: failed program was:" >&5
6827 sed 's/^/| /' conftest.$ac_ext >&5
6829 ac_c99_math=no
6831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6832 cat >conftest.$ac_ext <<_ACEOF
6833 /* confdefs.h. */
6834 _ACEOF
6835 cat confdefs.h >>conftest.$ac_ext
6836 cat >>conftest.$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6838 #include <math.h>
6840 main ()
6842 isunordered(0.0,0.0);
6844 return 0;
6846 _ACEOF
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>conftest.er1
6850 ac_status=$?
6851 grep -v '^ *+' conftest.er1 >conftest.err
6852 rm -f conftest.er1
6853 cat conftest.err >&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } &&
6856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 (eval $ac_try) 2>&5
6859 ac_status=$?
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); }; } &&
6862 { ac_try='test -s conftest.$ac_objext'
6863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 (eval $ac_try) 2>&5
6865 ac_status=$?
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); }; }; then
6869 else
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.$ac_ext >&5
6873 ac_c99_math=no
6875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6876 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6877 echo "${ECHO_T}$ac_c99_math" >&6
6879 if test x"$ac_c99_math" = x"yes"; then
6880 cat >>confdefs.h <<\_ACEOF
6881 #define _GLIBCXX_USE_C99_MATH 1
6882 _ACEOF
6886 # Check for the existence in <stdio.h> of vscanf, et. al.
6887 ac_c99_stdio=yes;
6888 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6889 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6890 cat >conftest.$ac_ext <<_ACEOF
6891 /* confdefs.h. */
6892 _ACEOF
6893 cat confdefs.h >>conftest.$ac_ext
6894 cat >>conftest.$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6896 #include <stdio.h>
6898 main ()
6900 snprintf("12", 0, "%i");
6902 return 0;
6904 _ACEOF
6905 rm -f conftest.$ac_objext
6906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6907 (eval $ac_compile) 2>conftest.er1
6908 ac_status=$?
6909 grep -v '^ *+' conftest.er1 >conftest.err
6910 rm -f conftest.er1
6911 cat conftest.err >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 (eval $ac_try) 2>&5
6917 ac_status=$?
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; } &&
6920 { ac_try='test -s conftest.$ac_objext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 (eval $ac_try) 2>&5
6923 ac_status=$?
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6927 else
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 ac_c99_stdio=no
6933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6934 cat >conftest.$ac_ext <<_ACEOF
6935 /* confdefs.h. */
6936 _ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 #include <stdio.h>
6941 #include <stdarg.h>
6942 void foo(char* fmt, ...)
6943 {va_list args; va_start(args, fmt);
6944 vfscanf(stderr, "%i", args);}
6946 main ()
6950 return 0;
6952 _ACEOF
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>conftest.er1
6956 ac_status=$?
6957 grep -v '^ *+' conftest.er1 >conftest.err
6958 rm -f conftest.er1
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 (eval $ac_try) 2>&5
6965 ac_status=$?
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; } &&
6968 { ac_try='test -s conftest.$ac_objext'
6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970 (eval $ac_try) 2>&5
6971 ac_status=$?
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; }; then
6975 else
6976 echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6979 ac_c99_stdio=no
6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6982 cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h. */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 #include <stdio.h>
6989 #include <stdarg.h>
6990 void foo(char* fmt, ...)
6991 {va_list args; va_start(args, fmt);
6992 vscanf("%i", args);}
6994 main ()
6998 return 0;
7000 _ACEOF
7001 rm -f conftest.$ac_objext
7002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7003 (eval $ac_compile) 2>conftest.er1
7004 ac_status=$?
7005 grep -v '^ *+' conftest.er1 >conftest.err
7006 rm -f conftest.er1
7007 cat conftest.err >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 (eval $ac_try) 2>&5
7013 ac_status=$?
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; } &&
7016 { ac_try='test -s conftest.$ac_objext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 (eval $ac_try) 2>&5
7019 ac_status=$?
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7023 else
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.$ac_ext >&5
7027 ac_c99_stdio=no
7029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7030 cat >conftest.$ac_ext <<_ACEOF
7031 /* confdefs.h. */
7032 _ACEOF
7033 cat confdefs.h >>conftest.$ac_ext
7034 cat >>conftest.$ac_ext <<_ACEOF
7035 /* end confdefs.h. */
7036 #include <stdio.h>
7037 #include <stdarg.h>
7038 void foo(char* fmt, ...)
7039 {va_list args; va_start(args, fmt);
7040 vsnprintf(fmt, 0, "%i", args);}
7042 main ()
7046 return 0;
7048 _ACEOF
7049 rm -f conftest.$ac_objext
7050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7051 (eval $ac_compile) 2>conftest.er1
7052 ac_status=$?
7053 grep -v '^ *+' conftest.er1 >conftest.err
7054 rm -f conftest.er1
7055 cat conftest.err >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 (eval $ac_try) 2>&5
7061 ac_status=$?
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; } &&
7064 { ac_try='test -s conftest.$ac_objext'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; }; then
7071 else
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7075 ac_c99_stdio=no
7077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7078 cat >conftest.$ac_ext <<_ACEOF
7079 /* confdefs.h. */
7080 _ACEOF
7081 cat confdefs.h >>conftest.$ac_ext
7082 cat >>conftest.$ac_ext <<_ACEOF
7083 /* end confdefs.h. */
7084 #include <stdio.h>
7085 #include <stdarg.h>
7086 void foo(char* fmt, ...)
7087 {va_list args; va_start(args, fmt);
7088 vsscanf(fmt, "%i", args);}
7090 main ()
7094 return 0;
7096 _ACEOF
7097 rm -f conftest.$ac_objext
7098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7099 (eval $ac_compile) 2>conftest.er1
7100 ac_status=$?
7101 grep -v '^ *+' conftest.er1 >conftest.err
7102 rm -f conftest.er1
7103 cat conftest.err >&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } &&
7106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
7112 { ac_try='test -s conftest.$ac_objext'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7114 (eval $ac_try) 2>&5
7115 ac_status=$?
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; }; then
7119 else
7120 echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.$ac_ext >&5
7123 ac_c99_stdio=no
7125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7126 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7127 echo "${ECHO_T}$ac_c99_stdio" >&6
7129 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7130 ac_c99_stdlib=yes;
7131 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7132 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7133 if test "${ac_c99_lldiv_t+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 else
7137 cat >conftest.$ac_ext <<_ACEOF
7138 /* confdefs.h. */
7139 _ACEOF
7140 cat confdefs.h >>conftest.$ac_ext
7141 cat >>conftest.$ac_ext <<_ACEOF
7142 /* end confdefs.h. */
7143 #include <stdlib.h>
7145 main ()
7147 lldiv_t mydivt;
7149 return 0;
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" || test ! -s conftest.err'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 (eval $ac_try) 2>&5
7164 ac_status=$?
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; } &&
7167 { ac_try='test -s conftest.$ac_objext'
7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169 (eval $ac_try) 2>&5
7170 ac_status=$?
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; }; then
7173 ac_c99_lldiv_t=yes
7174 else
7175 echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.$ac_ext >&5
7178 ac_c99_lldiv_t=no
7180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7184 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7185 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7187 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7188 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7189 cat >conftest.$ac_ext <<_ACEOF
7190 /* confdefs.h. */
7191 _ACEOF
7192 cat confdefs.h >>conftest.$ac_ext
7193 cat >>conftest.$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7195 #include <stdlib.h>
7197 main ()
7199 char* tmp; strtof("gnu", &tmp);
7201 return 0;
7203 _ACEOF
7204 rm -f conftest.$ac_objext
7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206 (eval $ac_compile) 2>conftest.er1
7207 ac_status=$?
7208 grep -v '^ *+' conftest.er1 >conftest.err
7209 rm -f conftest.er1
7210 cat conftest.err >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } &&
7213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 (eval $ac_try) 2>&5
7216 ac_status=$?
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); }; } &&
7219 { ac_try='test -s conftest.$ac_objext'
7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 (eval $ac_try) 2>&5
7222 ac_status=$?
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; }; then
7226 else
7227 echo "$as_me: failed program was:" >&5
7228 sed 's/^/| /' conftest.$ac_ext >&5
7230 ac_c99_stdlib=no
7232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7233 cat >conftest.$ac_ext <<_ACEOF
7234 /* confdefs.h. */
7235 _ACEOF
7236 cat confdefs.h >>conftest.$ac_ext
7237 cat >>conftest.$ac_ext <<_ACEOF
7238 /* end confdefs.h. */
7239 #include <stdlib.h>
7241 main ()
7243 char* tmp; strtold("gnu", &tmp);
7245 return 0;
7247 _ACEOF
7248 rm -f conftest.$ac_objext
7249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7250 (eval $ac_compile) 2>conftest.er1
7251 ac_status=$?
7252 grep -v '^ *+' conftest.er1 >conftest.err
7253 rm -f conftest.er1
7254 cat conftest.err >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } &&
7257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 (eval $ac_try) 2>&5
7260 ac_status=$?
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; } &&
7263 { ac_try='test -s conftest.$ac_objext'
7264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7265 (eval $ac_try) 2>&5
7266 ac_status=$?
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); }; }; then
7270 else
7271 echo "$as_me: failed program was:" >&5
7272 sed 's/^/| /' conftest.$ac_ext >&5
7274 ac_c99_stdlib=no
7276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7277 cat >conftest.$ac_ext <<_ACEOF
7278 /* confdefs.h. */
7279 _ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 #include <stdlib.h>
7285 main ()
7287 llabs(10);
7289 return 0;
7291 _ACEOF
7292 rm -f conftest.$ac_objext
7293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7294 (eval $ac_compile) 2>conftest.er1
7295 ac_status=$?
7296 grep -v '^ *+' conftest.er1 >conftest.err
7297 rm -f conftest.er1
7298 cat conftest.err >&5
7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); } &&
7301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 (eval $ac_try) 2>&5
7304 ac_status=$?
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); }; } &&
7307 { ac_try='test -s conftest.$ac_objext'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 (eval $ac_try) 2>&5
7310 ac_status=$?
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; }; then
7314 else
7315 echo "$as_me: failed program was:" >&5
7316 sed 's/^/| /' conftest.$ac_ext >&5
7318 ac_c99_stdlib=no
7320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7321 cat >conftest.$ac_ext <<_ACEOF
7322 /* confdefs.h. */
7323 _ACEOF
7324 cat confdefs.h >>conftest.$ac_ext
7325 cat >>conftest.$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7327 #include <stdlib.h>
7329 main ()
7331 lldiv(10,1);
7333 return 0;
7335 _ACEOF
7336 rm -f conftest.$ac_objext
7337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7338 (eval $ac_compile) 2>conftest.er1
7339 ac_status=$?
7340 grep -v '^ *+' conftest.er1 >conftest.err
7341 rm -f conftest.er1
7342 cat conftest.err >&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } &&
7345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 (eval $ac_try) 2>&5
7348 ac_status=$?
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); }; } &&
7351 { ac_try='test -s conftest.$ac_objext'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 (eval $ac_try) 2>&5
7354 ac_status=$?
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; }; then
7358 else
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.$ac_ext >&5
7362 ac_c99_stdlib=no
7364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7365 cat >conftest.$ac_ext <<_ACEOF
7366 /* confdefs.h. */
7367 _ACEOF
7368 cat confdefs.h >>conftest.$ac_ext
7369 cat >>conftest.$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7371 #include <stdlib.h>
7373 main ()
7375 atoll("10");
7377 return 0;
7379 _ACEOF
7380 rm -f conftest.$ac_objext
7381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7382 (eval $ac_compile) 2>conftest.er1
7383 ac_status=$?
7384 grep -v '^ *+' conftest.er1 >conftest.err
7385 rm -f conftest.er1
7386 cat conftest.err >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); } &&
7389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391 (eval $ac_try) 2>&5
7392 ac_status=$?
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); }; } &&
7395 { ac_try='test -s conftest.$ac_objext'
7396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7397 (eval $ac_try) 2>&5
7398 ac_status=$?
7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 (exit $ac_status); }; }; then
7402 else
7403 echo "$as_me: failed program was:" >&5
7404 sed 's/^/| /' conftest.$ac_ext >&5
7406 ac_c99_stdlib=no
7408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7409 cat >conftest.$ac_ext <<_ACEOF
7410 /* confdefs.h. */
7411 _ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7415 #include <stdlib.h>
7417 main ()
7419 _Exit(0);
7421 return 0;
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7426 (eval $ac_compile) 2>conftest.er1
7427 ac_status=$?
7428 grep -v '^ *+' conftest.er1 >conftest.err
7429 rm -f conftest.er1
7430 cat conftest.err >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); } &&
7433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7435 (eval $ac_try) 2>&5
7436 ac_status=$?
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }; } &&
7439 { ac_try='test -s conftest.$ac_objext'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 (eval $ac_try) 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; }; then
7446 else
7447 echo "$as_me: failed program was:" >&5
7448 sed 's/^/| /' conftest.$ac_ext >&5
7450 ac_c99_stdlib=no
7452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7453 if test x"$ac_c99_lldiv_t" = x"no"; then
7454 ac_c99_stdlib=no;
7456 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7457 echo "${ECHO_T}$ac_c99_stdlib" >&6
7459 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7460 # XXX the wchar.h checks should be rolled into the general C99 bits.
7461 ac_c99_wchar=yes;
7462 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7463 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7464 cat >conftest.$ac_ext <<_ACEOF
7465 /* confdefs.h. */
7466 _ACEOF
7467 cat confdefs.h >>conftest.$ac_ext
7468 cat >>conftest.$ac_ext <<_ACEOF
7469 /* end confdefs.h. */
7470 #include <wchar.h>
7472 main ()
7474 wcstold(L"10.0", NULL);
7476 return 0;
7478 _ACEOF
7479 rm -f conftest.$ac_objext
7480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7481 (eval $ac_compile) 2>conftest.er1
7482 ac_status=$?
7483 grep -v '^ *+' conftest.er1 >conftest.err
7484 rm -f conftest.er1
7485 cat conftest.err >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); } &&
7488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7490 (eval $ac_try) 2>&5
7491 ac_status=$?
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; } &&
7494 { ac_try='test -s conftest.$ac_objext'
7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7496 (eval $ac_try) 2>&5
7497 ac_status=$?
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); }; }; then
7501 else
7502 echo "$as_me: failed program was:" >&5
7503 sed 's/^/| /' conftest.$ac_ext >&5
7505 ac_c99_wchar=no
7507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <wchar.h>
7516 main ()
7518 wcstoll(L"10", NULL, 10);
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534 (eval $ac_try) 2>&5
7535 ac_status=$?
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; } &&
7538 { ac_try='test -s conftest.$ac_objext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7540 (eval $ac_try) 2>&5
7541 ac_status=$?
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7545 else
7546 echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.$ac_ext >&5
7549 ac_c99_wchar=no
7551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7552 cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h. */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 #include <wchar.h>
7560 main ()
7562 wcstoull(L"10", NULL, 10);
7564 return 0;
7566 _ACEOF
7567 rm -f conftest.$ac_objext
7568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7569 (eval $ac_compile) 2>conftest.er1
7570 ac_status=$?
7571 grep -v '^ *+' conftest.er1 >conftest.err
7572 rm -f conftest.er1
7573 cat conftest.err >&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } &&
7576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578 (eval $ac_try) 2>&5
7579 ac_status=$?
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); }; } &&
7582 { ac_try='test -s conftest.$ac_objext'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 (eval $ac_try) 2>&5
7585 ac_status=$?
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; }; then
7589 else
7590 echo "$as_me: failed program was:" >&5
7591 sed 's/^/| /' conftest.$ac_ext >&5
7593 ac_c99_wchar=no
7595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7596 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7597 echo "${ECHO_T}$ac_c99_wchar" >&6
7599 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7600 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7601 if test x"$ac_c99_math" = x"no" ||
7602 test x"$ac_c99_stdio" = x"no" ||
7603 test x"$ac_c99_stdlib" = x"no" ||
7604 test x"$ac_c99_wchar" = x"no"; then
7605 enable_c99=no;
7607 echo "$as_me:$LINENO: result: $enable_c99" >&5
7608 echo "${ECHO_T}$enable_c99" >&6
7610 if test x"$ac_99_math" = x"yes"; then
7611 cat >>confdefs.h <<\_ACEOF
7612 #define _GLIBCXX_USE_C99_MATH 1
7613 _ACEOF
7617 # Option parsed, now set things appropriately
7618 if test x"$enable_c99" = x"yes"; then
7619 cat >>confdefs.h <<\_ACEOF
7620 #define _GLIBCXX_USE_C99 1
7621 _ACEOF
7625 ac_ext=c
7626 ac_cpp='$CPP $CPPFLAGS'
7627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7633 # Check whether --enable-long-long or --disable-long-long was given.
7634 if test "${enable_long_long+set}" = set; then
7635 enableval="$enable_long_long"
7637 case "$enableval" in
7638 yes|no) ;;
7639 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7640 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7641 { (exit 1); exit 1; }; } ;;
7642 esac
7644 else
7645 enable_long_long=yes
7648 if test $enable_long_long = yes; then
7649 cat >>confdefs.h <<\_ACEOF
7650 #define _GLIBCXX_USE_LONG_LONG 1
7651 _ACEOF
7656 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7657 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7658 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7659 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7660 echo "${ECHO_T}$target_thread_file" >&6
7662 if test $target_thread_file != single; then
7663 cat >>confdefs.h <<\_ACEOF
7664 #define HAVE_GTHR_DEFAULT 1
7665 _ACEOF
7669 glibcxx_thread_h=gthr-$target_thread_file.h
7673 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7674 if test "${enable_concept_checks+set}" = set; then
7675 enableval="$enable_concept_checks"
7677 case "$enableval" in
7678 yes|no) ;;
7679 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7680 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7681 { (exit 1); exit 1; }; } ;;
7682 esac
7684 else
7685 enable_concept_checks=no
7688 if test $enable_concept_checks = yes; then
7689 cat >>confdefs.h <<\_ACEOF
7690 #define _GLIBCXX_CONCEPT_CHECKS 1
7691 _ACEOF
7696 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7697 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7698 enableval="$enable_libstdcxx_debug_flags"
7699 case "x$enable_libstdcxx_debug_flags" in
7700 xno | x) enable_libstdcxx_debug_flags= ;;
7701 x-*) ;;
7702 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7703 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7704 { (exit 1); exit 1; }; } ;;
7705 esac
7706 else
7707 enable_libstdcxx_debug_flags="-g3 -O0"
7711 # Option parsed, now set things appropriately
7712 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7715 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7716 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7719 echo "$as_me:$LINENO: checking for additional debug build" >&5
7720 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7721 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7722 if test "${enable_libstdcxx_debug+set}" = set; then
7723 enableval="$enable_libstdcxx_debug"
7725 case "$enableval" in
7726 yes|no) ;;
7727 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7728 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7729 { (exit 1); exit 1; }; } ;;
7730 esac
7732 else
7733 enable_libstdcxx_debug=no
7736 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7737 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7740 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7741 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7742 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7743 if test "${enable_cxx_flags+set}" = set; then
7744 enableval="$enable_cxx_flags"
7745 case "x$enable_cxx_flags" in
7746 xno | x) enable_cxx_flags= ;;
7747 x-*) ;;
7748 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7749 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7750 { (exit 1); exit 1; }; } ;;
7751 esac
7752 else
7753 enable_cxx_flags=
7757 # Run through flags (either default or command-line) and set anything
7758 # extra (e.g., #defines) that must accompany particular g++ options.
7759 if test -n "$enable_cxx_flags"; then
7760 for f in $enable_cxx_flags; do
7761 case "$f" in
7762 -fhonor-std) ;;
7763 -*) ;;
7764 *) # and we're trying to pass /what/ exactly?
7765 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7766 echo "$as_me: error: compiler flags start with a -" >&2;}
7767 { (exit 1); exit 1; }; } ;;
7768 esac
7769 done
7772 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7773 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7774 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7778 # No surprises, no surprises...
7779 if test $atomicity_dir = cpu/generic ; then
7780 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7781 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7782 if test $target_thread_file = single; then
7783 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7784 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7785 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7786 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7787 else
7788 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7789 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7790 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7791 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7796 if $GLIBCXX_IS_NATIVE; then
7798 # We can do more elaborate tests that assume a working linker.
7799 CANADIAN=no
7801 # Check for available headers.
7815 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7816 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7817 sys/types.h
7819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7821 echo "$as_me:$LINENO: checking for $ac_header" >&5
7822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7824 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7828 else
7829 # Is the header compilable?
7830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7832 cat >conftest.$ac_ext <<_ACEOF
7833 /* confdefs.h. */
7834 _ACEOF
7835 cat confdefs.h >>conftest.$ac_ext
7836 cat >>conftest.$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7838 $ac_includes_default
7839 #include <$ac_header>
7840 _ACEOF
7841 rm -f conftest.$ac_objext
7842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7843 (eval $ac_compile) 2>conftest.er1
7844 ac_status=$?
7845 grep -v '^ *+' conftest.er1 >conftest.err
7846 rm -f conftest.er1
7847 cat conftest.err >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); } &&
7850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7852 (eval $ac_try) 2>&5
7853 ac_status=$?
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); }; } &&
7856 { ac_try='test -s conftest.$ac_objext'
7857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 (eval $ac_try) 2>&5
7859 ac_status=$?
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); }; }; then
7862 ac_header_compiler=yes
7863 else
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7867 ac_header_compiler=no
7869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7871 echo "${ECHO_T}$ac_header_compiler" >&6
7873 # Is the header present?
7874 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7876 cat >conftest.$ac_ext <<_ACEOF
7877 /* confdefs.h. */
7878 _ACEOF
7879 cat confdefs.h >>conftest.$ac_ext
7880 cat >>conftest.$ac_ext <<_ACEOF
7881 /* end confdefs.h. */
7882 #include <$ac_header>
7883 _ACEOF
7884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7886 ac_status=$?
7887 grep -v '^ *+' conftest.er1 >conftest.err
7888 rm -f conftest.er1
7889 cat conftest.err >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } >/dev/null; then
7892 if test -s conftest.err; then
7893 ac_cpp_err=$ac_c_preproc_warn_flag
7894 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7895 else
7896 ac_cpp_err=
7898 else
7899 ac_cpp_err=yes
7901 if test -z "$ac_cpp_err"; then
7902 ac_header_preproc=yes
7903 else
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7907 ac_header_preproc=no
7909 rm -f conftest.err conftest.$ac_ext
7910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7911 echo "${ECHO_T}$ac_header_preproc" >&6
7913 # So? What about this header?
7914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7915 yes:no: )
7916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7919 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7920 ac_header_preproc=yes
7922 no:yes:* )
7923 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7924 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7925 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7926 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7927 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7928 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7929 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7930 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7933 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7934 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7936 cat <<\_ASBOX
7937 ## ----------------------------------------- ##
7938 ## Report this to the package-unused lists. ##
7939 ## ----------------------------------------- ##
7940 _ASBOX
7942 sed "s/^/$as_me: WARNING: /" >&2
7944 esac
7945 echo "$as_me:$LINENO: checking for $ac_header" >&5
7946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7949 else
7950 eval "$as_ac_Header=\$ac_header_preproc"
7952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7957 cat >>confdefs.h <<_ACEOF
7958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7959 _ACEOF
7963 done
7967 # All these tests are for C++; save the language and the compiler flags.
7968 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7969 # found in GLIBCXX_CONFIGURE.
7972 ac_ext=cc
7973 ac_cpp='$CXXCPP $CPPFLAGS'
7974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7978 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7979 ac_save_CXXFLAGS="$CXXFLAGS"
7981 # Check for maintainer-mode bits.
7982 if test x"$USE_MAINTAINER_MODE" = xno; then
7983 WERROR=''
7984 else
7985 WERROR='-Werror'
7988 # Check for -ffunction-sections -fdata-sections
7989 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7990 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7991 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7992 cat >conftest.$ac_ext <<_ACEOF
7993 /* confdefs.h. */
7994 _ACEOF
7995 cat confdefs.h >>conftest.$ac_ext
7996 cat >>conftest.$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
8000 main ()
8002 int foo;
8004 return 0;
8006 _ACEOF
8007 rm -f conftest.$ac_objext
8008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8009 (eval $ac_compile) 2>conftest.er1
8010 ac_status=$?
8011 grep -v '^ *+' conftest.er1 >conftest.err
8012 rm -f conftest.er1
8013 cat conftest.err >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } &&
8016 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 (eval $ac_try) 2>&5
8019 ac_status=$?
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); }; } &&
8022 { ac_try='test -s conftest.$ac_objext'
8023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8024 (eval $ac_try) 2>&5
8025 ac_status=$?
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); }; }; then
8028 ac_fdsections=yes
8029 else
8030 echo "$as_me: failed program was:" >&5
8031 sed 's/^/| /' conftest.$ac_ext >&5
8033 ac_fdsections=no
8035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8036 if test "$ac_test_CXXFLAGS" = set; then
8037 CXXFLAGS="$ac_save_CXXFLAGS"
8038 else
8039 # this is the suspicious part
8040 CXXFLAGS=''
8042 if test x"$ac_fdsections" = x"yes"; then
8043 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8045 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8046 echo "${ECHO_T}$ac_fdsections" >&6
8048 ac_ext=c
8049 ac_cpp='$CPP $CPPFLAGS'
8050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8058 # If we're not using GNU ld, then there's no point in even trying these
8059 # tests. Check for that first. We should have already tested for gld
8060 # by now (in libtool), but require it now just to be safe...
8061 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8062 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8066 # The name set by libtool depends on the version of libtool. Shame on us
8067 # for depending on an impl detail, but c'est la vie. Older versions used
8068 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8069 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8070 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8071 # set (hence we're using an older libtool), then set it.
8072 if test x${with_gnu_ld+set} != xset; then
8073 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8074 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8075 with_gnu_ld=no
8076 else
8077 with_gnu_ld=$ac_cv_prog_gnu_ld
8081 # Start by getting the version number. I think the libtool test already
8082 # does some of this, but throws away the result.
8084 ldver=`$LD --version 2>/dev/null | head -1 | \
8085 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8087 glibcxx_gnu_ld_version=`echo $ldver | \
8088 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8090 # Set --gc-sections.
8091 if test "$with_gnu_ld" = "notbroken"; then
8092 # GNU ld it is! Joy and bunny rabbits!
8094 # All these tests are for C++; save the language and the compiler flags.
8095 # Need to do this so that g++ won't try to link in libstdc++
8096 ac_test_CFLAGS="${CFLAGS+set}"
8097 ac_save_CFLAGS="$CFLAGS"
8098 CFLAGS='-x c++ -Wl,--gc-sections'
8100 # Check for -Wl,--gc-sections
8101 # XXX This test is broken at the moment, as symbols required for linking
8102 # are now in libsupc++ (not built yet). In addition, this test has
8103 # cored on solaris in the past. In addition, --gc-sections doesn't
8104 # really work at the moment (keeps on discarding used sections, first
8105 # .eh_frame and now some of the glibc sections for iconv).
8106 # Bzzzzt. Thanks for playing, maybe next time.
8107 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8108 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8109 if test "$cross_compiling" = yes; then
8110 ac_sectionLDflags=yes
8111 else
8112 cat >conftest.$ac_ext <<_ACEOF
8113 /* confdefs.h. */
8114 _ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8119 int main(void)
8121 try { throw 1; }
8122 catch (...) { };
8123 return 0;
8126 _ACEOF
8127 rm -f conftest$ac_exeext
8128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8129 (eval $ac_link) 2>&5
8130 ac_status=$?
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8134 (eval $ac_try) 2>&5
8135 ac_status=$?
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; }; then
8138 ac_sectionLDflags=yes
8139 else
8140 echo "$as_me: program exited with status $ac_status" >&5
8141 echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8144 ( exit $ac_status )
8145 ac_sectionLDflags=no
8147 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8149 if test "$ac_test_CFLAGS" = set; then
8150 CFLAGS="$ac_save_CFLAGS"
8151 else
8152 # this is the suspicious part
8153 CFLAGS=''
8155 if test "$ac_sectionLDflags" = "yes"; then
8156 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8158 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8159 echo "${ECHO_T}$ac_sectionLDflags" >&6
8162 # Set linker optimization flags.
8163 if test x"$with_gnu_ld" = x"yes"; then
8164 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8172 ac_save_CXXFLAGS="$CXXFLAGS"
8173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8175 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8176 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8177 if test "${ac_cv_lib_m_sin+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 else
8180 ac_check_lib_save_LIBS=$LIBS
8181 LIBS="-lm $LIBS"
8182 if test x$gcc_no_link = xyes; then
8183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8185 { (exit 1); exit 1; }; }
8187 cat >conftest.$ac_ext <<_ACEOF
8188 /* confdefs.h. */
8189 _ACEOF
8190 cat confdefs.h >>conftest.$ac_ext
8191 cat >>conftest.$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8194 /* Override any gcc2 internal prototype to avoid an error. */
8195 #ifdef __cplusplus
8196 extern "C"
8197 #endif
8198 /* We use char because int might match the return type of a gcc2
8199 builtin and then its argument prototype would still apply. */
8200 char sin ();
8202 main ()
8204 sin ();
8206 return 0;
8208 _ACEOF
8209 rm -f conftest.$ac_objext conftest$ac_exeext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8211 (eval $ac_link) 2>conftest.er1
8212 ac_status=$?
8213 grep -v '^ *+' conftest.er1 >conftest.err
8214 rm -f conftest.er1
8215 cat conftest.err >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8220 (eval $ac_try) 2>&5
8221 ac_status=$?
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; } &&
8224 { ac_try='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 (eval $ac_try) 2>&5
8227 ac_status=$?
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then
8230 ac_cv_lib_m_sin=yes
8231 else
8232 echo "$as_me: failed program was:" >&5
8233 sed 's/^/| /' conftest.$ac_ext >&5
8235 ac_cv_lib_m_sin=no
8237 rm -f conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
8239 LIBS=$ac_check_lib_save_LIBS
8241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8242 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8243 if test $ac_cv_lib_m_sin = yes; then
8244 libm="-lm"
8247 ac_save_LIBS="$LIBS"
8248 LIBS="$LIBS $libm"
8252 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8253 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8254 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8255 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 else
8261 ac_ext=cc
8262 ac_cpp='$CXXCPP $CPPFLAGS'
8263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8267 cat >conftest.$ac_ext <<_ACEOF
8268 /* confdefs.h. */
8269 _ACEOF
8270 cat confdefs.h >>conftest.$ac_ext
8271 cat >>conftest.$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8273 #include <math.h>
8274 #ifdef HAVE_IEEEFP_H
8275 #include <ieeefp.h>
8276 #endif
8279 main ()
8281 isinf(0);
8283 return 0;
8285 _ACEOF
8286 rm -f conftest.$ac_objext
8287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8288 (eval $ac_compile) 2>conftest.er1
8289 ac_status=$?
8290 grep -v '^ *+' conftest.er1 >conftest.err
8291 rm -f conftest.er1
8292 cat conftest.err >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); } &&
8295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 (eval $ac_try) 2>&5
8298 ac_status=$?
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try='test -s conftest.$ac_objext'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 (eval $ac_try) 2>&5
8304 ac_status=$?
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; }; then
8307 glibcxx_cv_func_isinf_use=yes
8308 else
8309 echo "$as_me: failed program was:" >&5
8310 sed 's/^/| /' conftest.$ac_ext >&5
8312 glibcxx_cv_func_isinf_use=no
8314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8315 ac_ext=c
8316 ac_cpp='$CPP $CPPFLAGS'
8317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8326 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8328 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8330 for ac_func in isinf
8332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8333 echo "$as_me:$LINENO: checking for $ac_func" >&5
8334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8335 if eval "test \"\${$as_ac_var+set}\" = set"; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 else
8338 if test x$gcc_no_link = xyes; then
8339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8341 { (exit 1); exit 1; }; }
8343 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h. */
8345 _ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8351 #define $ac_func innocuous_$ac_func
8353 /* System header to define __stub macros and hopefully few prototypes,
8354 which can conflict with char $ac_func (); below.
8355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8356 <limits.h> exists even on freestanding compilers. */
8358 #ifdef __STDC__
8359 # include <limits.h>
8360 #else
8361 # include <assert.h>
8362 #endif
8364 #undef $ac_func
8366 /* Override any gcc2 internal prototype to avoid an error. */
8367 #ifdef __cplusplus
8368 extern "C"
8370 #endif
8371 /* We use char because int might match the return type of a gcc2
8372 builtin and then its argument prototype would still apply. */
8373 char $ac_func ();
8374 /* The GNU C library defines this for functions which it implements
8375 to always fail with ENOSYS. Some functions are actually named
8376 something starting with __ and the normal name is an alias. */
8377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8378 choke me
8379 #else
8380 char (*f) () = $ac_func;
8381 #endif
8382 #ifdef __cplusplus
8384 #endif
8387 main ()
8389 return f != $ac_func;
8391 return 0;
8393 _ACEOF
8394 rm -f conftest.$ac_objext conftest$ac_exeext
8395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8396 (eval $ac_link) 2>conftest.er1
8397 ac_status=$?
8398 grep -v '^ *+' conftest.er1 >conftest.err
8399 rm -f conftest.er1
8400 cat conftest.err >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); } &&
8403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 (eval $ac_try) 2>&5
8406 ac_status=$?
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; } &&
8409 { ac_try='test -s conftest$ac_exeext'
8410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 (eval $ac_try) 2>&5
8412 ac_status=$?
8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); }; }; then
8415 eval "$as_ac_var=yes"
8416 else
8417 echo "$as_me: failed program was:" >&5
8418 sed 's/^/| /' conftest.$ac_ext >&5
8420 eval "$as_ac_var=no"
8422 rm -f conftest.err conftest.$ac_objext \
8423 conftest$ac_exeext conftest.$ac_ext
8425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8427 if test `eval echo '${'$as_ac_var'}'` = yes; then
8428 cat >>confdefs.h <<_ACEOF
8429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8430 _ACEOF
8433 done
8435 else
8437 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8438 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8439 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8440 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 else
8446 ac_ext=cc
8447 ac_cpp='$CXXCPP $CPPFLAGS'
8448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8452 cat >conftest.$ac_ext <<_ACEOF
8453 /* confdefs.h. */
8454 _ACEOF
8455 cat confdefs.h >>conftest.$ac_ext
8456 cat >>conftest.$ac_ext <<_ACEOF
8457 /* end confdefs.h. */
8458 #include <math.h>
8459 #ifdef HAVE_IEEEFP_H
8460 #include <ieeefp.h>
8461 #endif
8464 main ()
8466 _isinf(0);
8468 return 0;
8470 _ACEOF
8471 rm -f conftest.$ac_objext
8472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8473 (eval $ac_compile) 2>conftest.er1
8474 ac_status=$?
8475 grep -v '^ *+' conftest.er1 >conftest.err
8476 rm -f conftest.er1
8477 cat conftest.err >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } &&
8480 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 (eval $ac_try) 2>&5
8483 ac_status=$?
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; } &&
8486 { ac_try='test -s conftest.$ac_objext'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 (eval $ac_try) 2>&5
8489 ac_status=$?
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; }; then
8492 glibcxx_cv_func__isinf_use=yes
8493 else
8494 echo "$as_me: failed program was:" >&5
8495 sed 's/^/| /' conftest.$ac_ext >&5
8497 glibcxx_cv_func__isinf_use=no
8499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8500 ac_ext=c
8501 ac_cpp='$CPP $CPPFLAGS'
8502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8510 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8511 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8513 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8515 for ac_func in _isinf
8517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8518 echo "$as_me:$LINENO: checking for $ac_func" >&5
8519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8520 if eval "test \"\${$as_ac_var+set}\" = set"; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8522 else
8523 if test x$gcc_no_link = xyes; then
8524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8526 { (exit 1); exit 1; }; }
8528 cat >conftest.$ac_ext <<_ACEOF
8529 /* confdefs.h. */
8530 _ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8536 #define $ac_func innocuous_$ac_func
8538 /* System header to define __stub macros and hopefully few prototypes,
8539 which can conflict with char $ac_func (); below.
8540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8541 <limits.h> exists even on freestanding compilers. */
8543 #ifdef __STDC__
8544 # include <limits.h>
8545 #else
8546 # include <assert.h>
8547 #endif
8549 #undef $ac_func
8551 /* Override any gcc2 internal prototype to avoid an error. */
8552 #ifdef __cplusplus
8553 extern "C"
8555 #endif
8556 /* We use char because int might match the return type of a gcc2
8557 builtin and then its argument prototype would still apply. */
8558 char $ac_func ();
8559 /* The GNU C library defines this for functions which it implements
8560 to always fail with ENOSYS. Some functions are actually named
8561 something starting with __ and the normal name is an alias. */
8562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8563 choke me
8564 #else
8565 char (*f) () = $ac_func;
8566 #endif
8567 #ifdef __cplusplus
8569 #endif
8572 main ()
8574 return f != $ac_func;
8576 return 0;
8578 _ACEOF
8579 rm -f conftest.$ac_objext conftest$ac_exeext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8581 (eval $ac_link) 2>conftest.er1
8582 ac_status=$?
8583 grep -v '^ *+' conftest.er1 >conftest.err
8584 rm -f conftest.er1
8585 cat conftest.err >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } &&
8588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8590 (eval $ac_try) 2>&5
8591 ac_status=$?
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); }; } &&
8594 { ac_try='test -s conftest$ac_exeext'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596 (eval $ac_try) 2>&5
8597 ac_status=$?
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; }; then
8600 eval "$as_ac_var=yes"
8601 else
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.$ac_ext >&5
8605 eval "$as_ac_var=no"
8607 rm -f conftest.err conftest.$ac_objext \
8608 conftest$ac_exeext conftest.$ac_ext
8610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8612 if test `eval echo '${'$as_ac_var'}'` = yes; then
8613 cat >>confdefs.h <<_ACEOF
8614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8615 _ACEOF
8618 done
8625 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8626 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8627 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8628 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8634 ac_ext=cc
8635 ac_cpp='$CXXCPP $CPPFLAGS'
8636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8640 cat >conftest.$ac_ext <<_ACEOF
8641 /* confdefs.h. */
8642 _ACEOF
8643 cat confdefs.h >>conftest.$ac_ext
8644 cat >>conftest.$ac_ext <<_ACEOF
8645 /* end confdefs.h. */
8646 #include <math.h>
8647 #ifdef HAVE_IEEEFP_H
8648 #include <ieeefp.h>
8649 #endif
8652 main ()
8654 isnan(0);
8656 return 0;
8658 _ACEOF
8659 rm -f conftest.$ac_objext
8660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8661 (eval $ac_compile) 2>conftest.er1
8662 ac_status=$?
8663 grep -v '^ *+' conftest.er1 >conftest.err
8664 rm -f conftest.er1
8665 cat conftest.err >&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); } &&
8668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 (eval $ac_try) 2>&5
8671 ac_status=$?
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); }; } &&
8674 { ac_try='test -s conftest.$ac_objext'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676 (eval $ac_try) 2>&5
8677 ac_status=$?
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; }; then
8680 glibcxx_cv_func_isnan_use=yes
8681 else
8682 echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.$ac_ext >&5
8685 glibcxx_cv_func_isnan_use=no
8687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8688 ac_ext=c
8689 ac_cpp='$CPP $CPPFLAGS'
8690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8699 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8701 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8703 for ac_func in isnan
8705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8706 echo "$as_me:$LINENO: checking for $ac_func" >&5
8707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8708 if eval "test \"\${$as_ac_var+set}\" = set"; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8710 else
8711 if test x$gcc_no_link = xyes; then
8712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8714 { (exit 1); exit 1; }; }
8716 cat >conftest.$ac_ext <<_ACEOF
8717 /* confdefs.h. */
8718 _ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8724 #define $ac_func innocuous_$ac_func
8726 /* System header to define __stub macros and hopefully few prototypes,
8727 which can conflict with char $ac_func (); below.
8728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8729 <limits.h> exists even on freestanding compilers. */
8731 #ifdef __STDC__
8732 # include <limits.h>
8733 #else
8734 # include <assert.h>
8735 #endif
8737 #undef $ac_func
8739 /* Override any gcc2 internal prototype to avoid an error. */
8740 #ifdef __cplusplus
8741 extern "C"
8743 #endif
8744 /* We use char because int might match the return type of a gcc2
8745 builtin and then its argument prototype would still apply. */
8746 char $ac_func ();
8747 /* The GNU C library defines this for functions which it implements
8748 to always fail with ENOSYS. Some functions are actually named
8749 something starting with __ and the normal name is an alias. */
8750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8751 choke me
8752 #else
8753 char (*f) () = $ac_func;
8754 #endif
8755 #ifdef __cplusplus
8757 #endif
8760 main ()
8762 return f != $ac_func;
8764 return 0;
8766 _ACEOF
8767 rm -f conftest.$ac_objext conftest$ac_exeext
8768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8769 (eval $ac_link) 2>conftest.er1
8770 ac_status=$?
8771 grep -v '^ *+' conftest.er1 >conftest.err
8772 rm -f conftest.er1
8773 cat conftest.err >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); } &&
8776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 (eval $ac_try) 2>&5
8779 ac_status=$?
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; } &&
8782 { ac_try='test -s conftest$ac_exeext'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 (eval $ac_try) 2>&5
8785 ac_status=$?
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; }; then
8788 eval "$as_ac_var=yes"
8789 else
8790 echo "$as_me: failed program was:" >&5
8791 sed 's/^/| /' conftest.$ac_ext >&5
8793 eval "$as_ac_var=no"
8795 rm -f conftest.err conftest.$ac_objext \
8796 conftest$ac_exeext conftest.$ac_ext
8798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8800 if test `eval echo '${'$as_ac_var'}'` = yes; then
8801 cat >>confdefs.h <<_ACEOF
8802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8803 _ACEOF
8806 done
8808 else
8810 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8811 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8812 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8813 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8814 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 else
8819 ac_ext=cc
8820 ac_cpp='$CXXCPP $CPPFLAGS'
8821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8825 cat >conftest.$ac_ext <<_ACEOF
8826 /* confdefs.h. */
8827 _ACEOF
8828 cat confdefs.h >>conftest.$ac_ext
8829 cat >>conftest.$ac_ext <<_ACEOF
8830 /* end confdefs.h. */
8831 #include <math.h>
8832 #ifdef HAVE_IEEEFP_H
8833 #include <ieeefp.h>
8834 #endif
8837 main ()
8839 _isnan(0);
8841 return 0;
8843 _ACEOF
8844 rm -f conftest.$ac_objext
8845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8846 (eval $ac_compile) 2>conftest.er1
8847 ac_status=$?
8848 grep -v '^ *+' conftest.er1 >conftest.err
8849 rm -f conftest.er1
8850 cat conftest.err >&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); } &&
8853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8855 (eval $ac_try) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }; } &&
8859 { ac_try='test -s conftest.$ac_objext'
8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861 (eval $ac_try) 2>&5
8862 ac_status=$?
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; }; then
8865 glibcxx_cv_func__isnan_use=yes
8866 else
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 glibcxx_cv_func__isnan_use=no
8872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8873 ac_ext=c
8874 ac_cpp='$CPP $CPPFLAGS'
8875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8883 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8884 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8886 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8888 for ac_func in _isnan
8890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8891 echo "$as_me:$LINENO: checking for $ac_func" >&5
8892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8893 if eval "test \"\${$as_ac_var+set}\" = set"; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 else
8896 if test x$gcc_no_link = xyes; then
8897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8899 { (exit 1); exit 1; }; }
8901 cat >conftest.$ac_ext <<_ACEOF
8902 /* confdefs.h. */
8903 _ACEOF
8904 cat confdefs.h >>conftest.$ac_ext
8905 cat >>conftest.$ac_ext <<_ACEOF
8906 /* end confdefs.h. */
8907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8909 #define $ac_func innocuous_$ac_func
8911 /* System header to define __stub macros and hopefully few prototypes,
8912 which can conflict with char $ac_func (); below.
8913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8914 <limits.h> exists even on freestanding compilers. */
8916 #ifdef __STDC__
8917 # include <limits.h>
8918 #else
8919 # include <assert.h>
8920 #endif
8922 #undef $ac_func
8924 /* Override any gcc2 internal prototype to avoid an error. */
8925 #ifdef __cplusplus
8926 extern "C"
8928 #endif
8929 /* We use char because int might match the return type of a gcc2
8930 builtin and then its argument prototype would still apply. */
8931 char $ac_func ();
8932 /* The GNU C library defines this for functions which it implements
8933 to always fail with ENOSYS. Some functions are actually named
8934 something starting with __ and the normal name is an alias. */
8935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8936 choke me
8937 #else
8938 char (*f) () = $ac_func;
8939 #endif
8940 #ifdef __cplusplus
8942 #endif
8945 main ()
8947 return f != $ac_func;
8949 return 0;
8951 _ACEOF
8952 rm -f conftest.$ac_objext conftest$ac_exeext
8953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8954 (eval $ac_link) 2>conftest.er1
8955 ac_status=$?
8956 grep -v '^ *+' conftest.er1 >conftest.err
8957 rm -f conftest.er1
8958 cat conftest.err >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } &&
8961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 (eval $ac_try) 2>&5
8964 ac_status=$?
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; } &&
8967 { ac_try='test -s conftest$ac_exeext'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 (eval $ac_try) 2>&5
8970 ac_status=$?
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
8973 eval "$as_ac_var=yes"
8974 else
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.$ac_ext >&5
8978 eval "$as_ac_var=no"
8980 rm -f conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8985 if test `eval echo '${'$as_ac_var'}'` = yes; then
8986 cat >>confdefs.h <<_ACEOF
8987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8988 _ACEOF
8991 done
8998 echo "$as_me:$LINENO: checking for finite declaration" >&5
8999 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9000 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9001 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9003 else
9007 ac_ext=cc
9008 ac_cpp='$CXXCPP $CPPFLAGS'
9009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9013 cat >conftest.$ac_ext <<_ACEOF
9014 /* confdefs.h. */
9015 _ACEOF
9016 cat confdefs.h >>conftest.$ac_ext
9017 cat >>conftest.$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9019 #include <math.h>
9020 #ifdef HAVE_IEEEFP_H
9021 #include <ieeefp.h>
9022 #endif
9025 main ()
9027 finite(0);
9029 return 0;
9031 _ACEOF
9032 rm -f conftest.$ac_objext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9034 (eval $ac_compile) 2>conftest.er1
9035 ac_status=$?
9036 grep -v '^ *+' conftest.er1 >conftest.err
9037 rm -f conftest.er1
9038 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 (eval $ac_try) 2>&5
9044 ac_status=$?
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); }; } &&
9047 { ac_try='test -s conftest.$ac_objext'
9048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 (eval $ac_try) 2>&5
9050 ac_status=$?
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); }; }; then
9053 glibcxx_cv_func_finite_use=yes
9054 else
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9058 glibcxx_cv_func_finite_use=no
9060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9061 ac_ext=c
9062 ac_cpp='$CPP $CPPFLAGS'
9063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9072 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9074 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9076 for ac_func in finite
9078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9079 echo "$as_me:$LINENO: checking for $ac_func" >&5
9080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9081 if eval "test \"\${$as_ac_var+set}\" = set"; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 else
9084 if test x$gcc_no_link = xyes; then
9085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9087 { (exit 1); exit 1; }; }
9089 cat >conftest.$ac_ext <<_ACEOF
9090 /* confdefs.h. */
9091 _ACEOF
9092 cat confdefs.h >>conftest.$ac_ext
9093 cat >>conftest.$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9097 #define $ac_func innocuous_$ac_func
9099 /* System header to define __stub macros and hopefully few prototypes,
9100 which can conflict with char $ac_func (); below.
9101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9102 <limits.h> exists even on freestanding compilers. */
9104 #ifdef __STDC__
9105 # include <limits.h>
9106 #else
9107 # include <assert.h>
9108 #endif
9110 #undef $ac_func
9112 /* Override any gcc2 internal prototype to avoid an error. */
9113 #ifdef __cplusplus
9114 extern "C"
9116 #endif
9117 /* We use char because int might match the return type of a gcc2
9118 builtin and then its argument prototype would still apply. */
9119 char $ac_func ();
9120 /* The GNU C library defines this for functions which it implements
9121 to always fail with ENOSYS. Some functions are actually named
9122 something starting with __ and the normal name is an alias. */
9123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9124 choke me
9125 #else
9126 char (*f) () = $ac_func;
9127 #endif
9128 #ifdef __cplusplus
9130 #endif
9133 main ()
9135 return f != $ac_func;
9137 return 0;
9139 _ACEOF
9140 rm -f conftest.$ac_objext conftest$ac_exeext
9141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9142 (eval $ac_link) 2>conftest.er1
9143 ac_status=$?
9144 grep -v '^ *+' conftest.er1 >conftest.err
9145 rm -f conftest.er1
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } &&
9149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9151 (eval $ac_try) 2>&5
9152 ac_status=$?
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); }; } &&
9155 { ac_try='test -s conftest$ac_exeext'
9156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9157 (eval $ac_try) 2>&5
9158 ac_status=$?
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; }; then
9161 eval "$as_ac_var=yes"
9162 else
9163 echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9166 eval "$as_ac_var=no"
9168 rm -f conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9173 if test `eval echo '${'$as_ac_var'}'` = yes; then
9174 cat >>confdefs.h <<_ACEOF
9175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9176 _ACEOF
9179 done
9181 else
9183 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9184 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9185 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9186 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 else
9192 ac_ext=cc
9193 ac_cpp='$CXXCPP $CPPFLAGS'
9194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9198 cat >conftest.$ac_ext <<_ACEOF
9199 /* confdefs.h. */
9200 _ACEOF
9201 cat confdefs.h >>conftest.$ac_ext
9202 cat >>conftest.$ac_ext <<_ACEOF
9203 /* end confdefs.h. */
9204 #include <math.h>
9205 #ifdef HAVE_IEEEFP_H
9206 #include <ieeefp.h>
9207 #endif
9210 main ()
9212 _finite(0);
9214 return 0;
9216 _ACEOF
9217 rm -f conftest.$ac_objext
9218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9219 (eval $ac_compile) 2>conftest.er1
9220 ac_status=$?
9221 grep -v '^ *+' conftest.er1 >conftest.err
9222 rm -f conftest.er1
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } &&
9226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9228 (eval $ac_try) 2>&5
9229 ac_status=$?
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; } &&
9232 { ac_try='test -s conftest.$ac_objext'
9233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9234 (eval $ac_try) 2>&5
9235 ac_status=$?
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); }; }; then
9238 glibcxx_cv_func__finite_use=yes
9239 else
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 glibcxx_cv_func__finite_use=no
9245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9246 ac_ext=c
9247 ac_cpp='$CPP $CPPFLAGS'
9248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9257 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9259 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9261 for ac_func in _finite
9263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9264 echo "$as_me:$LINENO: checking for $ac_func" >&5
9265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9266 if eval "test \"\${$as_ac_var+set}\" = set"; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 if test x$gcc_no_link = xyes; then
9270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9272 { (exit 1); exit 1; }; }
9274 cat >conftest.$ac_ext <<_ACEOF
9275 /* confdefs.h. */
9276 _ACEOF
9277 cat confdefs.h >>conftest.$ac_ext
9278 cat >>conftest.$ac_ext <<_ACEOF
9279 /* end confdefs.h. */
9280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9282 #define $ac_func innocuous_$ac_func
9284 /* System header to define __stub macros and hopefully few prototypes,
9285 which can conflict with char $ac_func (); below.
9286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9287 <limits.h> exists even on freestanding compilers. */
9289 #ifdef __STDC__
9290 # include <limits.h>
9291 #else
9292 # include <assert.h>
9293 #endif
9295 #undef $ac_func
9297 /* Override any gcc2 internal prototype to avoid an error. */
9298 #ifdef __cplusplus
9299 extern "C"
9301 #endif
9302 /* We use char because int might match the return type of a gcc2
9303 builtin and then its argument prototype would still apply. */
9304 char $ac_func ();
9305 /* The GNU C library defines this for functions which it implements
9306 to always fail with ENOSYS. Some functions are actually named
9307 something starting with __ and the normal name is an alias. */
9308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9309 choke me
9310 #else
9311 char (*f) () = $ac_func;
9312 #endif
9313 #ifdef __cplusplus
9315 #endif
9318 main ()
9320 return f != $ac_func;
9322 return 0;
9324 _ACEOF
9325 rm -f conftest.$ac_objext conftest$ac_exeext
9326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9327 (eval $ac_link) 2>conftest.er1
9328 ac_status=$?
9329 grep -v '^ *+' conftest.er1 >conftest.err
9330 rm -f conftest.er1
9331 cat conftest.err >&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } &&
9334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 (eval $ac_try) 2>&5
9337 ac_status=$?
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; } &&
9340 { ac_try='test -s conftest$ac_exeext'
9341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 (eval $ac_try) 2>&5
9343 ac_status=$?
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then
9346 eval "$as_ac_var=yes"
9347 else
9348 echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9351 eval "$as_ac_var=no"
9353 rm -f conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9358 if test `eval echo '${'$as_ac_var'}'` = yes; then
9359 cat >>confdefs.h <<_ACEOF
9360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9361 _ACEOF
9364 done
9371 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9372 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9373 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9374 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9375 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 else
9380 ac_ext=cc
9381 ac_cpp='$CXXCPP $CPPFLAGS'
9382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9386 cat >conftest.$ac_ext <<_ACEOF
9387 /* confdefs.h. */
9388 _ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9392 #include <math.h>
9394 main ()
9396 copysign(0, 0);
9398 return 0;
9400 _ACEOF
9401 rm -f conftest.$ac_objext
9402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9403 (eval $ac_compile) 2>conftest.er1
9404 ac_status=$?
9405 grep -v '^ *+' conftest.er1 >conftest.err
9406 rm -f conftest.er1
9407 cat conftest.err >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); } &&
9410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 (eval $ac_try) 2>&5
9413 ac_status=$?
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; } &&
9416 { ac_try='test -s conftest.$ac_objext'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9418 (eval $ac_try) 2>&5
9419 ac_status=$?
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 glibcxx_cv_func_copysign_use=yes
9423 else
9424 echo "$as_me: failed program was:" >&5
9425 sed 's/^/| /' conftest.$ac_ext >&5
9427 glibcxx_cv_func_copysign_use=no
9429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9430 ac_ext=c
9431 ac_cpp='$CPP $CPPFLAGS'
9432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9441 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9443 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9445 for ac_func in copysign
9447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9448 echo "$as_me:$LINENO: checking for $ac_func" >&5
9449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9450 if eval "test \"\${$as_ac_var+set}\" = set"; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 else
9453 if test x$gcc_no_link = xyes; then
9454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9456 { (exit 1); exit 1; }; }
9458 cat >conftest.$ac_ext <<_ACEOF
9459 /* confdefs.h. */
9460 _ACEOF
9461 cat confdefs.h >>conftest.$ac_ext
9462 cat >>conftest.$ac_ext <<_ACEOF
9463 /* end confdefs.h. */
9464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9466 #define $ac_func innocuous_$ac_func
9468 /* System header to define __stub macros and hopefully few prototypes,
9469 which can conflict with char $ac_func (); below.
9470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9471 <limits.h> exists even on freestanding compilers. */
9473 #ifdef __STDC__
9474 # include <limits.h>
9475 #else
9476 # include <assert.h>
9477 #endif
9479 #undef $ac_func
9481 /* Override any gcc2 internal prototype to avoid an error. */
9482 #ifdef __cplusplus
9483 extern "C"
9485 #endif
9486 /* We use char because int might match the return type of a gcc2
9487 builtin and then its argument prototype would still apply. */
9488 char $ac_func ();
9489 /* The GNU C library defines this for functions which it implements
9490 to always fail with ENOSYS. Some functions are actually named
9491 something starting with __ and the normal name is an alias. */
9492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9493 choke me
9494 #else
9495 char (*f) () = $ac_func;
9496 #endif
9497 #ifdef __cplusplus
9499 #endif
9502 main ()
9504 return f != $ac_func;
9506 return 0;
9508 _ACEOF
9509 rm -f conftest.$ac_objext conftest$ac_exeext
9510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9511 (eval $ac_link) 2>conftest.er1
9512 ac_status=$?
9513 grep -v '^ *+' conftest.er1 >conftest.err
9514 rm -f conftest.er1
9515 cat conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } &&
9518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 (eval $ac_try) 2>&5
9521 ac_status=$?
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; } &&
9524 { ac_try='test -s conftest$ac_exeext'
9525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 (eval $ac_try) 2>&5
9527 ac_status=$?
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; }; then
9530 eval "$as_ac_var=yes"
9531 else
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9535 eval "$as_ac_var=no"
9537 rm -f conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9542 if test `eval echo '${'$as_ac_var'}'` = yes; then
9543 cat >>confdefs.h <<_ACEOF
9544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9545 _ACEOF
9548 done
9550 else
9552 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9553 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9554 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9555 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9556 echo $ECHO_N "(cached) $ECHO_C" >&6
9557 else
9561 ac_ext=cc
9562 ac_cpp='$CXXCPP $CPPFLAGS'
9563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9567 cat >conftest.$ac_ext <<_ACEOF
9568 /* confdefs.h. */
9569 _ACEOF
9570 cat confdefs.h >>conftest.$ac_ext
9571 cat >>conftest.$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9573 #include <math.h>
9575 main ()
9577 _copysign(0, 0);
9579 return 0;
9581 _ACEOF
9582 rm -f conftest.$ac_objext
9583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9584 (eval $ac_compile) 2>conftest.er1
9585 ac_status=$?
9586 grep -v '^ *+' conftest.er1 >conftest.err
9587 rm -f conftest.er1
9588 cat conftest.err >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); } &&
9591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 (eval $ac_try) 2>&5
9594 ac_status=$?
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; } &&
9597 { ac_try='test -s conftest.$ac_objext'
9598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599 (eval $ac_try) 2>&5
9600 ac_status=$?
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); }; }; then
9603 glibcxx_cv_func__copysign_use=yes
9604 else
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 glibcxx_cv_func__copysign_use=no
9610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9611 ac_ext=c
9612 ac_cpp='$CPP $CPPFLAGS'
9613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9622 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9624 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9626 for ac_func in _copysign
9628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9629 echo "$as_me:$LINENO: checking for $ac_func" >&5
9630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9631 if eval "test \"\${$as_ac_var+set}\" = set"; then
9632 echo $ECHO_N "(cached) $ECHO_C" >&6
9633 else
9634 if test x$gcc_no_link = xyes; then
9635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9637 { (exit 1); exit 1; }; }
9639 cat >conftest.$ac_ext <<_ACEOF
9640 /* confdefs.h. */
9641 _ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 cat >>conftest.$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9647 #define $ac_func innocuous_$ac_func
9649 /* System header to define __stub macros and hopefully few prototypes,
9650 which can conflict with char $ac_func (); below.
9651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9652 <limits.h> exists even on freestanding compilers. */
9654 #ifdef __STDC__
9655 # include <limits.h>
9656 #else
9657 # include <assert.h>
9658 #endif
9660 #undef $ac_func
9662 /* Override any gcc2 internal prototype to avoid an error. */
9663 #ifdef __cplusplus
9664 extern "C"
9666 #endif
9667 /* We use char because int might match the return type of a gcc2
9668 builtin and then its argument prototype would still apply. */
9669 char $ac_func ();
9670 /* The GNU C library defines this for functions which it implements
9671 to always fail with ENOSYS. Some functions are actually named
9672 something starting with __ and the normal name is an alias. */
9673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9674 choke me
9675 #else
9676 char (*f) () = $ac_func;
9677 #endif
9678 #ifdef __cplusplus
9680 #endif
9683 main ()
9685 return f != $ac_func;
9687 return 0;
9689 _ACEOF
9690 rm -f conftest.$ac_objext conftest$ac_exeext
9691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9692 (eval $ac_link) 2>conftest.er1
9693 ac_status=$?
9694 grep -v '^ *+' conftest.er1 >conftest.err
9695 rm -f conftest.er1
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } &&
9699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9701 (eval $ac_try) 2>&5
9702 ac_status=$?
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; } &&
9705 { ac_try='test -s conftest$ac_exeext'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 (eval $ac_try) 2>&5
9708 ac_status=$?
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; }; then
9711 eval "$as_ac_var=yes"
9712 else
9713 echo "$as_me: failed program was:" >&5
9714 sed 's/^/| /' conftest.$ac_ext >&5
9716 eval "$as_ac_var=no"
9718 rm -f conftest.err conftest.$ac_objext \
9719 conftest$ac_exeext conftest.$ac_ext
9721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9723 if test `eval echo '${'$as_ac_var'}'` = yes; then
9724 cat >>confdefs.h <<_ACEOF
9725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9726 _ACEOF
9729 done
9736 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9737 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9738 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9739 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9741 else
9745 ac_ext=cc
9746 ac_cpp='$CXXCPP $CPPFLAGS'
9747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9751 cat >conftest.$ac_ext <<_ACEOF
9752 /* confdefs.h. */
9753 _ACEOF
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9757 #include <math.h>
9759 main ()
9761 sincos(0, 0, 0);
9763 return 0;
9765 _ACEOF
9766 rm -f conftest.$ac_objext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9768 (eval $ac_compile) 2>conftest.er1
9769 ac_status=$?
9770 grep -v '^ *+' conftest.er1 >conftest.err
9771 rm -f conftest.er1
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 (eval $ac_try) 2>&5
9778 ac_status=$?
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); }; } &&
9781 { ac_try='test -s conftest.$ac_objext'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 (eval $ac_try) 2>&5
9784 ac_status=$?
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; }; then
9787 glibcxx_cv_func_sincos_use=yes
9788 else
9789 echo "$as_me: failed program was:" >&5
9790 sed 's/^/| /' conftest.$ac_ext >&5
9792 glibcxx_cv_func_sincos_use=no
9794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9795 ac_ext=c
9796 ac_cpp='$CPP $CPPFLAGS'
9797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9805 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9806 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9808 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9810 for ac_func in sincos
9812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9813 echo "$as_me:$LINENO: checking for $ac_func" >&5
9814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9815 if eval "test \"\${$as_ac_var+set}\" = set"; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 else
9818 if test x$gcc_no_link = xyes; then
9819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9821 { (exit 1); exit 1; }; }
9823 cat >conftest.$ac_ext <<_ACEOF
9824 /* confdefs.h. */
9825 _ACEOF
9826 cat confdefs.h >>conftest.$ac_ext
9827 cat >>conftest.$ac_ext <<_ACEOF
9828 /* end confdefs.h. */
9829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9831 #define $ac_func innocuous_$ac_func
9833 /* System header to define __stub macros and hopefully few prototypes,
9834 which can conflict with char $ac_func (); below.
9835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9836 <limits.h> exists even on freestanding compilers. */
9838 #ifdef __STDC__
9839 # include <limits.h>
9840 #else
9841 # include <assert.h>
9842 #endif
9844 #undef $ac_func
9846 /* Override any gcc2 internal prototype to avoid an error. */
9847 #ifdef __cplusplus
9848 extern "C"
9850 #endif
9851 /* We use char because int might match the return type of a gcc2
9852 builtin and then its argument prototype would still apply. */
9853 char $ac_func ();
9854 /* The GNU C library defines this for functions which it implements
9855 to always fail with ENOSYS. Some functions are actually named
9856 something starting with __ and the normal name is an alias. */
9857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9858 choke me
9859 #else
9860 char (*f) () = $ac_func;
9861 #endif
9862 #ifdef __cplusplus
9864 #endif
9867 main ()
9869 return f != $ac_func;
9871 return 0;
9873 _ACEOF
9874 rm -f conftest.$ac_objext conftest$ac_exeext
9875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9876 (eval $ac_link) 2>conftest.er1
9877 ac_status=$?
9878 grep -v '^ *+' conftest.er1 >conftest.err
9879 rm -f conftest.er1
9880 cat conftest.err >&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 (exit $ac_status); } &&
9883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 (eval $ac_try) 2>&5
9886 ac_status=$?
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); }; } &&
9889 { ac_try='test -s conftest$ac_exeext'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 (eval $ac_try) 2>&5
9892 ac_status=$?
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; }; then
9895 eval "$as_ac_var=yes"
9896 else
9897 echo "$as_me: failed program was:" >&5
9898 sed 's/^/| /' conftest.$ac_ext >&5
9900 eval "$as_ac_var=no"
9902 rm -f conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9907 if test `eval echo '${'$as_ac_var'}'` = yes; then
9908 cat >>confdefs.h <<_ACEOF
9909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9910 _ACEOF
9913 done
9915 else
9917 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9918 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9919 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9920 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 else
9926 ac_ext=cc
9927 ac_cpp='$CXXCPP $CPPFLAGS'
9928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 #include <math.h>
9940 main ()
9942 _sincos(0, 0, 0);
9944 return 0;
9946 _ACEOF
9947 rm -f conftest.$ac_objext
9948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9949 (eval $ac_compile) 2>conftest.er1
9950 ac_status=$?
9951 grep -v '^ *+' conftest.er1 >conftest.err
9952 rm -f conftest.er1
9953 cat conftest.err >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } &&
9956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 (eval $ac_try) 2>&5
9959 ac_status=$?
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); }; } &&
9962 { ac_try='test -s conftest.$ac_objext'
9963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 (eval $ac_try) 2>&5
9965 ac_status=$?
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }; }; then
9968 glibcxx_cv_func__sincos_use=yes
9969 else
9970 echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.$ac_ext >&5
9973 glibcxx_cv_func__sincos_use=no
9975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9976 ac_ext=c
9977 ac_cpp='$CPP $CPPFLAGS'
9978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9987 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9989 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9991 for ac_func in _sincos
9993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9994 echo "$as_me:$LINENO: checking for $ac_func" >&5
9995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9996 if eval "test \"\${$as_ac_var+set}\" = set"; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 else
9999 if test x$gcc_no_link = xyes; then
10000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10002 { (exit 1); exit 1; }; }
10004 cat >conftest.$ac_ext <<_ACEOF
10005 /* confdefs.h. */
10006 _ACEOF
10007 cat confdefs.h >>conftest.$ac_ext
10008 cat >>conftest.$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10012 #define $ac_func innocuous_$ac_func
10014 /* System header to define __stub macros and hopefully few prototypes,
10015 which can conflict with char $ac_func (); below.
10016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10017 <limits.h> exists even on freestanding compilers. */
10019 #ifdef __STDC__
10020 # include <limits.h>
10021 #else
10022 # include <assert.h>
10023 #endif
10025 #undef $ac_func
10027 /* Override any gcc2 internal prototype to avoid an error. */
10028 #ifdef __cplusplus
10029 extern "C"
10031 #endif
10032 /* We use char because int might match the return type of a gcc2
10033 builtin and then its argument prototype would still apply. */
10034 char $ac_func ();
10035 /* The GNU C library defines this for functions which it implements
10036 to always fail with ENOSYS. Some functions are actually named
10037 something starting with __ and the normal name is an alias. */
10038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10039 choke me
10040 #else
10041 char (*f) () = $ac_func;
10042 #endif
10043 #ifdef __cplusplus
10045 #endif
10048 main ()
10050 return f != $ac_func;
10052 return 0;
10054 _ACEOF
10055 rm -f conftest.$ac_objext conftest$ac_exeext
10056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10057 (eval $ac_link) 2>conftest.er1
10058 ac_status=$?
10059 grep -v '^ *+' conftest.er1 >conftest.err
10060 rm -f conftest.er1
10061 cat conftest.err >&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } &&
10064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066 (eval $ac_try) 2>&5
10067 ac_status=$?
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); }; } &&
10070 { ac_try='test -s conftest$ac_exeext'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; }; then
10076 eval "$as_ac_var=yes"
10077 else
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10081 eval "$as_ac_var=no"
10083 rm -f conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10088 if test `eval echo '${'$as_ac_var'}'` = yes; then
10089 cat >>confdefs.h <<_ACEOF
10090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10091 _ACEOF
10094 done
10101 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10102 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10103 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10104 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10105 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 else
10110 ac_ext=cc
10111 ac_cpp='$CXXCPP $CPPFLAGS'
10112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10116 cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h. */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h. */
10122 #include <math.h>
10123 #ifdef HAVE_IEEEFP_H
10124 #include <ieeefp.h>
10125 #endif
10128 main ()
10130 fpclass(0);
10132 return 0;
10134 _ACEOF
10135 rm -f conftest.$ac_objext
10136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10137 (eval $ac_compile) 2>conftest.er1
10138 ac_status=$?
10139 grep -v '^ *+' conftest.er1 >conftest.err
10140 rm -f conftest.er1
10141 cat conftest.err >&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); } &&
10144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10146 (eval $ac_try) 2>&5
10147 ac_status=$?
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); }; } &&
10150 { ac_try='test -s conftest.$ac_objext'
10151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10153 ac_status=$?
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; }; then
10156 glibcxx_cv_func_fpclass_use=yes
10157 else
10158 echo "$as_me: failed program was:" >&5
10159 sed 's/^/| /' conftest.$ac_ext >&5
10161 glibcxx_cv_func_fpclass_use=no
10163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10164 ac_ext=c
10165 ac_cpp='$CPP $CPPFLAGS'
10166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10175 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10177 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10179 for ac_func in fpclass
10181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10182 echo "$as_me:$LINENO: checking for $ac_func" >&5
10183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10184 if eval "test \"\${$as_ac_var+set}\" = set"; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 else
10187 if test x$gcc_no_link = xyes; then
10188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10190 { (exit 1); exit 1; }; }
10192 cat >conftest.$ac_ext <<_ACEOF
10193 /* confdefs.h. */
10194 _ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10200 #define $ac_func innocuous_$ac_func
10202 /* System header to define __stub macros and hopefully few prototypes,
10203 which can conflict with char $ac_func (); below.
10204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10205 <limits.h> exists even on freestanding compilers. */
10207 #ifdef __STDC__
10208 # include <limits.h>
10209 #else
10210 # include <assert.h>
10211 #endif
10213 #undef $ac_func
10215 /* Override any gcc2 internal prototype to avoid an error. */
10216 #ifdef __cplusplus
10217 extern "C"
10219 #endif
10220 /* We use char because int might match the return type of a gcc2
10221 builtin and then its argument prototype would still apply. */
10222 char $ac_func ();
10223 /* The GNU C library defines this for functions which it implements
10224 to always fail with ENOSYS. Some functions are actually named
10225 something starting with __ and the normal name is an alias. */
10226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10227 choke me
10228 #else
10229 char (*f) () = $ac_func;
10230 #endif
10231 #ifdef __cplusplus
10233 #endif
10236 main ()
10238 return f != $ac_func;
10240 return 0;
10242 _ACEOF
10243 rm -f conftest.$ac_objext conftest$ac_exeext
10244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10245 (eval $ac_link) 2>conftest.er1
10246 ac_status=$?
10247 grep -v '^ *+' conftest.er1 >conftest.err
10248 rm -f conftest.er1
10249 cat conftest.err >&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10255 ac_status=$?
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; } &&
10258 { ac_try='test -s conftest$ac_exeext'
10259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5
10261 ac_status=$?
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10264 eval "$as_ac_var=yes"
10265 else
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10269 eval "$as_ac_var=no"
10271 rm -f conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10276 if test `eval echo '${'$as_ac_var'}'` = yes; then
10277 cat >>confdefs.h <<_ACEOF
10278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10279 _ACEOF
10282 done
10284 else
10286 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10287 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10288 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10289 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 else
10295 ac_ext=cc
10296 ac_cpp='$CXXCPP $CPPFLAGS'
10297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10301 cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h. */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307 #include <math.h>
10308 #ifdef HAVE_IEEEFP_H
10309 #include <ieeefp.h>
10310 #endif
10313 main ()
10315 _fpclass(0);
10317 return 0;
10319 _ACEOF
10320 rm -f conftest.$ac_objext
10321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10322 (eval $ac_compile) 2>conftest.er1
10323 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } &&
10329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10332 ac_status=$?
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; } &&
10335 { ac_try='test -s conftest.$ac_objext'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10338 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10341 glibcxx_cv_func__fpclass_use=yes
10342 else
10343 echo "$as_me: failed program was:" >&5
10344 sed 's/^/| /' conftest.$ac_ext >&5
10346 glibcxx_cv_func__fpclass_use=no
10348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10349 ac_ext=c
10350 ac_cpp='$CPP $CPPFLAGS'
10351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10360 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10362 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10364 for ac_func in _fpclass
10366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10367 echo "$as_me:$LINENO: checking for $ac_func" >&5
10368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10369 if eval "test \"\${$as_ac_var+set}\" = set"; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 if test x$gcc_no_link = xyes; then
10373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10375 { (exit 1); exit 1; }; }
10377 cat >conftest.$ac_ext <<_ACEOF
10378 /* confdefs.h. */
10379 _ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10385 #define $ac_func innocuous_$ac_func
10387 /* System header to define __stub macros and hopefully few prototypes,
10388 which can conflict with char $ac_func (); below.
10389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10390 <limits.h> exists even on freestanding compilers. */
10392 #ifdef __STDC__
10393 # include <limits.h>
10394 #else
10395 # include <assert.h>
10396 #endif
10398 #undef $ac_func
10400 /* Override any gcc2 internal prototype to avoid an error. */
10401 #ifdef __cplusplus
10402 extern "C"
10404 #endif
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10407 char $ac_func ();
10408 /* The GNU C library defines this for functions which it implements
10409 to always fail with ENOSYS. Some functions are actually named
10410 something starting with __ and the normal name is an alias. */
10411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10412 choke me
10413 #else
10414 char (*f) () = $ac_func;
10415 #endif
10416 #ifdef __cplusplus
10418 #endif
10421 main ()
10423 return f != $ac_func;
10425 return 0;
10427 _ACEOF
10428 rm -f conftest.$ac_objext conftest$ac_exeext
10429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430 (eval $ac_link) 2>conftest.er1
10431 ac_status=$?
10432 grep -v '^ *+' conftest.er1 >conftest.err
10433 rm -f conftest.er1
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } &&
10437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10440 ac_status=$?
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; } &&
10443 { ac_try='test -s conftest$ac_exeext'
10444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5
10446 ac_status=$?
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; }; then
10449 eval "$as_ac_var=yes"
10450 else
10451 echo "$as_me: failed program was:" >&5
10452 sed 's/^/| /' conftest.$ac_ext >&5
10454 eval "$as_ac_var=no"
10456 rm -f conftest.err conftest.$ac_objext \
10457 conftest$ac_exeext conftest.$ac_ext
10459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10461 if test `eval echo '${'$as_ac_var'}'` = yes; then
10462 cat >>confdefs.h <<_ACEOF
10463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10464 _ACEOF
10467 done
10474 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10475 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10476 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10477 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10478 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 else
10483 ac_ext=cc
10484 ac_cpp='$CXXCPP $CPPFLAGS'
10485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10489 cat >conftest.$ac_ext <<_ACEOF
10490 /* confdefs.h. */
10491 _ACEOF
10492 cat confdefs.h >>conftest.$ac_ext
10493 cat >>conftest.$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10495 #include <math.h>
10496 #ifdef HAVE_IEEEFP_H
10497 #include <ieeefp.h>
10498 #endif
10501 main ()
10503 qfpclass(0);
10505 return 0;
10507 _ACEOF
10508 rm -f conftest.$ac_objext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10510 (eval $ac_compile) 2>conftest.er1
10511 ac_status=$?
10512 grep -v '^ *+' conftest.er1 >conftest.err
10513 rm -f conftest.er1
10514 cat conftest.err >&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); } &&
10517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10520 ac_status=$?
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; } &&
10523 { ac_try='test -s conftest.$ac_objext'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10526 ac_status=$?
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; }; then
10529 glibcxx_cv_func_qfpclass_use=yes
10530 else
10531 echo "$as_me: failed program was:" >&5
10532 sed 's/^/| /' conftest.$ac_ext >&5
10534 glibcxx_cv_func_qfpclass_use=no
10536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10537 ac_ext=c
10538 ac_cpp='$CPP $CPPFLAGS'
10539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10548 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10550 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10552 for ac_func in qfpclass
10554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10555 echo "$as_me:$LINENO: checking for $ac_func" >&5
10556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10557 if eval "test \"\${$as_ac_var+set}\" = set"; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 else
10560 if test x$gcc_no_link = xyes; then
10561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10563 { (exit 1); exit 1; }; }
10565 cat >conftest.$ac_ext <<_ACEOF
10566 /* confdefs.h. */
10567 _ACEOF
10568 cat confdefs.h >>conftest.$ac_ext
10569 cat >>conftest.$ac_ext <<_ACEOF
10570 /* end confdefs.h. */
10571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10573 #define $ac_func innocuous_$ac_func
10575 /* System header to define __stub macros and hopefully few prototypes,
10576 which can conflict with char $ac_func (); below.
10577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10578 <limits.h> exists even on freestanding compilers. */
10580 #ifdef __STDC__
10581 # include <limits.h>
10582 #else
10583 # include <assert.h>
10584 #endif
10586 #undef $ac_func
10588 /* Override any gcc2 internal prototype to avoid an error. */
10589 #ifdef __cplusplus
10590 extern "C"
10592 #endif
10593 /* We use char because int might match the return type of a gcc2
10594 builtin and then its argument prototype would still apply. */
10595 char $ac_func ();
10596 /* The GNU C library defines this for functions which it implements
10597 to always fail with ENOSYS. Some functions are actually named
10598 something starting with __ and the normal name is an alias. */
10599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10600 choke me
10601 #else
10602 char (*f) () = $ac_func;
10603 #endif
10604 #ifdef __cplusplus
10606 #endif
10609 main ()
10611 return f != $ac_func;
10613 return 0;
10615 _ACEOF
10616 rm -f conftest.$ac_objext conftest$ac_exeext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10618 (eval $ac_link) 2>conftest.er1
10619 ac_status=$?
10620 grep -v '^ *+' conftest.er1 >conftest.err
10621 rm -f conftest.er1
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10628 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try='test -s conftest$ac_exeext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10634 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 eval "$as_ac_var=yes"
10638 else
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.$ac_ext >&5
10642 eval "$as_ac_var=no"
10644 rm -f conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10649 if test `eval echo '${'$as_ac_var'}'` = yes; then
10650 cat >>confdefs.h <<_ACEOF
10651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10652 _ACEOF
10655 done
10657 else
10659 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10660 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10661 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10662 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 else
10668 ac_ext=cc
10669 ac_cpp='$CXXCPP $CPPFLAGS'
10670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10674 cat >conftest.$ac_ext <<_ACEOF
10675 /* confdefs.h. */
10676 _ACEOF
10677 cat confdefs.h >>conftest.$ac_ext
10678 cat >>conftest.$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10680 #include <math.h>
10681 #ifdef HAVE_IEEEFP_H
10682 #include <ieeefp.h>
10683 #endif
10686 main ()
10688 _qfpclass(0);
10690 return 0;
10692 _ACEOF
10693 rm -f conftest.$ac_objext
10694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10695 (eval $ac_compile) 2>conftest.er1
10696 ac_status=$?
10697 grep -v '^ *+' conftest.er1 >conftest.err
10698 rm -f conftest.er1
10699 cat conftest.err >&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10705 ac_status=$?
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; } &&
10708 { ac_try='test -s conftest.$ac_objext'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; }; then
10714 glibcxx_cv_func__qfpclass_use=yes
10715 else
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.$ac_ext >&5
10719 glibcxx_cv_func__qfpclass_use=no
10721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10722 ac_ext=c
10723 ac_cpp='$CPP $CPPFLAGS'
10724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10733 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10735 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10737 for ac_func in _qfpclass
10739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10740 echo "$as_me:$LINENO: checking for $ac_func" >&5
10741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10742 if eval "test \"\${$as_ac_var+set}\" = set"; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 else
10745 if test x$gcc_no_link = xyes; then
10746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10748 { (exit 1); exit 1; }; }
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10758 #define $ac_func innocuous_$ac_func
10760 /* System header to define __stub macros and hopefully few prototypes,
10761 which can conflict with char $ac_func (); below.
10762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10763 <limits.h> exists even on freestanding compilers. */
10765 #ifdef __STDC__
10766 # include <limits.h>
10767 #else
10768 # include <assert.h>
10769 #endif
10771 #undef $ac_func
10773 /* Override any gcc2 internal prototype to avoid an error. */
10774 #ifdef __cplusplus
10775 extern "C"
10777 #endif
10778 /* We use char because int might match the return type of a gcc2
10779 builtin and then its argument prototype would still apply. */
10780 char $ac_func ();
10781 /* The GNU C library defines this for functions which it implements
10782 to always fail with ENOSYS. Some functions are actually named
10783 something starting with __ and the normal name is an alias. */
10784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10785 choke me
10786 #else
10787 char (*f) () = $ac_func;
10788 #endif
10789 #ifdef __cplusplus
10791 #endif
10794 main ()
10796 return f != $ac_func;
10798 return 0;
10800 _ACEOF
10801 rm -f conftest.$ac_objext conftest$ac_exeext
10802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10803 (eval $ac_link) 2>conftest.er1
10804 ac_status=$?
10805 grep -v '^ *+' conftest.er1 >conftest.err
10806 rm -f conftest.er1
10807 cat conftest.err >&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } &&
10810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try='test -s conftest$ac_exeext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10819 ac_status=$?
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 eval "$as_ac_var=yes"
10823 else
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.$ac_ext >&5
10827 eval "$as_ac_var=no"
10829 rm -f conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10834 if test `eval echo '${'$as_ac_var'}'` = yes; then
10835 cat >>confdefs.h <<_ACEOF
10836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10837 _ACEOF
10840 done
10847 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10848 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10849 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10850 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 else
10856 ac_ext=cc
10857 ac_cpp='$CXXCPP $CPPFLAGS'
10858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10862 cat >conftest.$ac_ext <<_ACEOF
10863 /* confdefs.h. */
10864 _ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10868 #include <math.h>
10870 main ()
10872 hypot(0, 0);
10874 return 0;
10876 _ACEOF
10877 rm -f conftest.$ac_objext
10878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10879 (eval $ac_compile) 2>conftest.er1
10880 ac_status=$?
10881 grep -v '^ *+' conftest.er1 >conftest.err
10882 rm -f conftest.er1
10883 cat conftest.err >&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); } &&
10886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888 (eval $ac_try) 2>&5
10889 ac_status=$?
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); }; } &&
10892 { ac_try='test -s conftest.$ac_objext'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10895 ac_status=$?
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; }; then
10898 glibcxx_cv_func_hypot_use=yes
10899 else
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5
10903 glibcxx_cv_func_hypot_use=no
10905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10906 ac_ext=c
10907 ac_cpp='$CPP $CPPFLAGS'
10908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10917 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10919 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10921 for ac_func in hypot
10923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10924 echo "$as_me:$LINENO: checking for $ac_func" >&5
10925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10926 if eval "test \"\${$as_ac_var+set}\" = set"; then
10927 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 else
10929 if test x$gcc_no_link = xyes; then
10930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10932 { (exit 1); exit 1; }; }
10934 cat >conftest.$ac_ext <<_ACEOF
10935 /* confdefs.h. */
10936 _ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10942 #define $ac_func innocuous_$ac_func
10944 /* System header to define __stub macros and hopefully few prototypes,
10945 which can conflict with char $ac_func (); below.
10946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10947 <limits.h> exists even on freestanding compilers. */
10949 #ifdef __STDC__
10950 # include <limits.h>
10951 #else
10952 # include <assert.h>
10953 #endif
10955 #undef $ac_func
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 #ifdef __cplusplus
10959 extern "C"
10961 #endif
10962 /* We use char because int might match the return type of a gcc2
10963 builtin and then its argument prototype would still apply. */
10964 char $ac_func ();
10965 /* The GNU C library defines this for functions which it implements
10966 to always fail with ENOSYS. Some functions are actually named
10967 something starting with __ and the normal name is an alias. */
10968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10969 choke me
10970 #else
10971 char (*f) () = $ac_func;
10972 #endif
10973 #ifdef __cplusplus
10975 #endif
10978 main ()
10980 return f != $ac_func;
10982 return 0;
10984 _ACEOF
10985 rm -f conftest.$ac_objext conftest$ac_exeext
10986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10987 (eval $ac_link) 2>conftest.er1
10988 ac_status=$?
10989 grep -v '^ *+' conftest.er1 >conftest.err
10990 rm -f conftest.er1
10991 cat conftest.err >&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); } &&
10994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10997 ac_status=$?
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; } &&
11000 { ac_try='test -s conftest$ac_exeext'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11003 ac_status=$?
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; }; then
11006 eval "$as_ac_var=yes"
11007 else
11008 echo "$as_me: failed program was:" >&5
11009 sed 's/^/| /' conftest.$ac_ext >&5
11011 eval "$as_ac_var=no"
11013 rm -f conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11018 if test `eval echo '${'$as_ac_var'}'` = yes; then
11019 cat >>confdefs.h <<_ACEOF
11020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11021 _ACEOF
11024 done
11026 else
11028 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11029 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11030 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11031 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 else
11037 ac_ext=cc
11038 ac_cpp='$CXXCPP $CPPFLAGS'
11039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11043 cat >conftest.$ac_ext <<_ACEOF
11044 /* confdefs.h. */
11045 _ACEOF
11046 cat confdefs.h >>conftest.$ac_ext
11047 cat >>conftest.$ac_ext <<_ACEOF
11048 /* end confdefs.h. */
11049 #include <math.h>
11051 main ()
11053 _hypot(0, 0);
11055 return 0;
11057 _ACEOF
11058 rm -f conftest.$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11070 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; } &&
11073 { ac_try='test -s conftest.$ac_objext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11076 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11079 glibcxx_cv_func__hypot_use=yes
11080 else
11081 echo "$as_me: failed program was:" >&5
11082 sed 's/^/| /' conftest.$ac_ext >&5
11084 glibcxx_cv_func__hypot_use=no
11086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11087 ac_ext=c
11088 ac_cpp='$CPP $CPPFLAGS'
11089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11098 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11100 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11102 for ac_func in _hypot
11104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11105 echo "$as_me:$LINENO: checking for $ac_func" >&5
11106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11107 if eval "test \"\${$as_ac_var+set}\" = set"; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 else
11110 if test x$gcc_no_link = xyes; then
11111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11113 { (exit 1); exit 1; }; }
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11123 #define $ac_func innocuous_$ac_func
11125 /* System header to define __stub macros and hopefully few prototypes,
11126 which can conflict with char $ac_func (); below.
11127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11128 <limits.h> exists even on freestanding compilers. */
11130 #ifdef __STDC__
11131 # include <limits.h>
11132 #else
11133 # include <assert.h>
11134 #endif
11136 #undef $ac_func
11138 /* Override any gcc2 internal prototype to avoid an error. */
11139 #ifdef __cplusplus
11140 extern "C"
11142 #endif
11143 /* We use char because int might match the return type of a gcc2
11144 builtin and then its argument prototype would still apply. */
11145 char $ac_func ();
11146 /* The GNU C library defines this for functions which it implements
11147 to always fail with ENOSYS. Some functions are actually named
11148 something starting with __ and the normal name is an alias. */
11149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11150 choke me
11151 #else
11152 char (*f) () = $ac_func;
11153 #endif
11154 #ifdef __cplusplus
11156 #endif
11159 main ()
11161 return f != $ac_func;
11163 return 0;
11165 _ACEOF
11166 rm -f conftest.$ac_objext conftest$ac_exeext
11167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11168 (eval $ac_link) 2>conftest.er1
11169 ac_status=$?
11170 grep -v '^ *+' conftest.er1 >conftest.err
11171 rm -f conftest.er1
11172 cat conftest.err >&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } &&
11175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11177 (eval $ac_try) 2>&5
11178 ac_status=$?
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); }; } &&
11181 { ac_try='test -s conftest$ac_exeext'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; }; then
11187 eval "$as_ac_var=yes"
11188 else
11189 echo "$as_me: failed program was:" >&5
11190 sed 's/^/| /' conftest.$ac_ext >&5
11192 eval "$as_ac_var=no"
11194 rm -f conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11199 if test `eval echo '${'$as_ac_var'}'` = yes; then
11200 cat >>confdefs.h <<_ACEOF
11201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11202 _ACEOF
11205 done
11212 echo "$as_me:$LINENO: checking for float trig functions" >&5
11213 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11214 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11215 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 else
11220 ac_ext=cc
11221 ac_cpp='$CXXCPP $CPPFLAGS'
11222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11226 cat >conftest.$ac_ext <<_ACEOF
11227 /* confdefs.h. */
11228 _ACEOF
11229 cat confdefs.h >>conftest.$ac_ext
11230 cat >>conftest.$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 #include <math.h>
11234 main ()
11236 `for x in acosf asinf atanf \
11237 cosf sinf tanf \
11238 coshf sinhf tanhf; do echo "$x (0);"; done`
11240 return 0;
11242 _ACEOF
11243 rm -f conftest.$ac_objext
11244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11245 (eval $ac_compile) 2>conftest.er1
11246 ac_status=$?
11247 grep -v '^ *+' conftest.er1 >conftest.err
11248 rm -f conftest.er1
11249 cat conftest.err >&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } &&
11252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5
11255 ac_status=$?
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; } &&
11258 { ac_try='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11261 ac_status=$?
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 glibcxx_cv_func_float_trig_use=yes
11265 else
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.$ac_ext >&5
11269 glibcxx_cv_func_float_trig_use=no
11271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11272 ac_ext=c
11273 ac_cpp='$CPP $CPPFLAGS'
11274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11281 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11282 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11292 for ac_func in acosf asinf atanf \
11293 cosf sinf tanf \
11294 coshf sinhf tanhf
11296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11297 echo "$as_me:$LINENO: checking for $ac_func" >&5
11298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11299 if eval "test \"\${$as_ac_var+set}\" = set"; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 else
11302 if test x$gcc_no_link = xyes; then
11303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11305 { (exit 1); exit 1; }; }
11307 cat >conftest.$ac_ext <<_ACEOF
11308 /* confdefs.h. */
11309 _ACEOF
11310 cat confdefs.h >>conftest.$ac_ext
11311 cat >>conftest.$ac_ext <<_ACEOF
11312 /* end confdefs.h. */
11313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11315 #define $ac_func innocuous_$ac_func
11317 /* System header to define __stub macros and hopefully few prototypes,
11318 which can conflict with char $ac_func (); below.
11319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11320 <limits.h> exists even on freestanding compilers. */
11322 #ifdef __STDC__
11323 # include <limits.h>
11324 #else
11325 # include <assert.h>
11326 #endif
11328 #undef $ac_func
11330 /* Override any gcc2 internal prototype to avoid an error. */
11331 #ifdef __cplusplus
11332 extern "C"
11334 #endif
11335 /* We use char because int might match the return type of a gcc2
11336 builtin and then its argument prototype would still apply. */
11337 char $ac_func ();
11338 /* The GNU C library defines this for functions which it implements
11339 to always fail with ENOSYS. Some functions are actually named
11340 something starting with __ and the normal name is an alias. */
11341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11342 choke me
11343 #else
11344 char (*f) () = $ac_func;
11345 #endif
11346 #ifdef __cplusplus
11348 #endif
11351 main ()
11353 return f != $ac_func;
11355 return 0;
11357 _ACEOF
11358 rm -f conftest.$ac_objext conftest$ac_exeext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11360 (eval $ac_link) 2>conftest.er1
11361 ac_status=$?
11362 grep -v '^ *+' conftest.er1 >conftest.err
11363 rm -f conftest.er1
11364 cat conftest.err >&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } &&
11367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5
11370 ac_status=$?
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; } &&
11373 { ac_try='test -s conftest$ac_exeext'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11376 ac_status=$?
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; }; then
11379 eval "$as_ac_var=yes"
11380 else
11381 echo "$as_me: failed program was:" >&5
11382 sed 's/^/| /' conftest.$ac_ext >&5
11384 eval "$as_ac_var=no"
11386 rm -f conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11391 if test `eval echo '${'$as_ac_var'}'` = yes; then
11392 cat >>confdefs.h <<_ACEOF
11393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11394 _ACEOF
11397 done
11402 echo "$as_me:$LINENO: checking for float round functions" >&5
11403 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11404 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 else
11410 ac_ext=cc
11411 ac_cpp='$CXXCPP $CPPFLAGS'
11412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11416 cat >conftest.$ac_ext <<_ACEOF
11417 /* confdefs.h. */
11418 _ACEOF
11419 cat confdefs.h >>conftest.$ac_ext
11420 cat >>conftest.$ac_ext <<_ACEOF
11421 /* end confdefs.h. */
11422 #include <math.h>
11424 main ()
11426 `for x in ceilf floorf; do echo "$x (0);"; done`
11428 return 0;
11430 _ACEOF
11431 rm -f conftest.$ac_objext
11432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11433 (eval $ac_compile) 2>conftest.er1
11434 ac_status=$?
11435 grep -v '^ *+' conftest.er1 >conftest.err
11436 rm -f conftest.er1
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } &&
11440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442 (eval $ac_try) 2>&5
11443 ac_status=$?
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }; } &&
11446 { ac_try='test -s conftest.$ac_objext'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11449 ac_status=$?
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; }; then
11452 glibcxx_cv_func_float_round_use=yes
11453 else
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11457 glibcxx_cv_func_float_round_use=no
11459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11460 ac_ext=c
11461 ac_cpp='$CPP $CPPFLAGS'
11462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11469 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11470 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11473 for ac_func in ceilf floorf
11475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11476 echo "$as_me:$LINENO: checking for $ac_func" >&5
11477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11478 if eval "test \"\${$as_ac_var+set}\" = set"; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 if test x$gcc_no_link = xyes; then
11482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11484 { (exit 1); exit 1; }; }
11486 cat >conftest.$ac_ext <<_ACEOF
11487 /* confdefs.h. */
11488 _ACEOF
11489 cat confdefs.h >>conftest.$ac_ext
11490 cat >>conftest.$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11494 #define $ac_func innocuous_$ac_func
11496 /* System header to define __stub macros and hopefully few prototypes,
11497 which can conflict with char $ac_func (); below.
11498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11499 <limits.h> exists even on freestanding compilers. */
11501 #ifdef __STDC__
11502 # include <limits.h>
11503 #else
11504 # include <assert.h>
11505 #endif
11507 #undef $ac_func
11509 /* Override any gcc2 internal prototype to avoid an error. */
11510 #ifdef __cplusplus
11511 extern "C"
11513 #endif
11514 /* We use char because int might match the return type of a gcc2
11515 builtin and then its argument prototype would still apply. */
11516 char $ac_func ();
11517 /* The GNU C library defines this for functions which it implements
11518 to always fail with ENOSYS. Some functions are actually named
11519 something starting with __ and the normal name is an alias. */
11520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11521 choke me
11522 #else
11523 char (*f) () = $ac_func;
11524 #endif
11525 #ifdef __cplusplus
11527 #endif
11530 main ()
11532 return f != $ac_func;
11534 return 0;
11536 _ACEOF
11537 rm -f conftest.$ac_objext conftest$ac_exeext
11538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11539 (eval $ac_link) 2>conftest.er1
11540 ac_status=$?
11541 grep -v '^ *+' conftest.er1 >conftest.err
11542 rm -f conftest.er1
11543 cat conftest.err >&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
11552 { ac_try='test -s conftest$ac_exeext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11555 ac_status=$?
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 eval "$as_ac_var=yes"
11559 else
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.$ac_ext >&5
11563 eval "$as_ac_var=no"
11565 rm -f conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11570 if test `eval echo '${'$as_ac_var'}'` = yes; then
11571 cat >>confdefs.h <<_ACEOF
11572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11573 _ACEOF
11576 done
11582 echo "$as_me:$LINENO: checking for expf declaration" >&5
11583 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11584 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11585 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 else
11591 ac_ext=cc
11592 ac_cpp='$CXXCPP $CPPFLAGS'
11593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11597 cat >conftest.$ac_ext <<_ACEOF
11598 /* confdefs.h. */
11599 _ACEOF
11600 cat confdefs.h >>conftest.$ac_ext
11601 cat >>conftest.$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 #include <math.h>
11604 #ifdef HAVE_IEEEFP_H
11605 #include <ieeefp.h>
11606 #endif
11609 main ()
11611 expf(0);
11613 return 0;
11615 _ACEOF
11616 rm -f conftest.$ac_objext
11617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11618 (eval $ac_compile) 2>conftest.er1
11619 ac_status=$?
11620 grep -v '^ *+' conftest.er1 >conftest.err
11621 rm -f conftest.er1
11622 cat conftest.err >&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); } &&
11625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11628 ac_status=$?
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11634 ac_status=$?
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 glibcxx_cv_func_expf_use=yes
11638 else
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.$ac_ext >&5
11642 glibcxx_cv_func_expf_use=no
11644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11645 ac_ext=c
11646 ac_cpp='$CPP $CPPFLAGS'
11647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11656 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11658 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11660 for ac_func in expf
11662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11663 echo "$as_me:$LINENO: checking for $ac_func" >&5
11664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11665 if eval "test \"\${$as_ac_var+set}\" = set"; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 else
11668 if test x$gcc_no_link = xyes; then
11669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11671 { (exit 1); exit 1; }; }
11673 cat >conftest.$ac_ext <<_ACEOF
11674 /* confdefs.h. */
11675 _ACEOF
11676 cat confdefs.h >>conftest.$ac_ext
11677 cat >>conftest.$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11681 #define $ac_func innocuous_$ac_func
11683 /* System header to define __stub macros and hopefully few prototypes,
11684 which can conflict with char $ac_func (); below.
11685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11686 <limits.h> exists even on freestanding compilers. */
11688 #ifdef __STDC__
11689 # include <limits.h>
11690 #else
11691 # include <assert.h>
11692 #endif
11694 #undef $ac_func
11696 /* Override any gcc2 internal prototype to avoid an error. */
11697 #ifdef __cplusplus
11698 extern "C"
11700 #endif
11701 /* We use char because int might match the return type of a gcc2
11702 builtin and then its argument prototype would still apply. */
11703 char $ac_func ();
11704 /* The GNU C library defines this for functions which it implements
11705 to always fail with ENOSYS. Some functions are actually named
11706 something starting with __ and the normal name is an alias. */
11707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11708 choke me
11709 #else
11710 char (*f) () = $ac_func;
11711 #endif
11712 #ifdef __cplusplus
11714 #endif
11717 main ()
11719 return f != $ac_func;
11721 return 0;
11723 _ACEOF
11724 rm -f conftest.$ac_objext conftest$ac_exeext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11726 (eval $ac_link) 2>conftest.er1
11727 ac_status=$?
11728 grep -v '^ *+' conftest.er1 >conftest.err
11729 rm -f conftest.er1
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11736 ac_status=$?
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try='test -s conftest$ac_exeext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11742 ac_status=$?
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 eval "$as_ac_var=yes"
11746 else
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.$ac_ext >&5
11750 eval "$as_ac_var=no"
11752 rm -f conftest.err conftest.$ac_objext \
11753 conftest$ac_exeext conftest.$ac_ext
11755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11757 if test `eval echo '${'$as_ac_var'}'` = yes; then
11758 cat >>confdefs.h <<_ACEOF
11759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11760 _ACEOF
11763 done
11765 else
11767 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11768 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11769 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11770 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 else
11776 ac_ext=cc
11777 ac_cpp='$CXXCPP $CPPFLAGS'
11778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11782 cat >conftest.$ac_ext <<_ACEOF
11783 /* confdefs.h. */
11784 _ACEOF
11785 cat confdefs.h >>conftest.$ac_ext
11786 cat >>conftest.$ac_ext <<_ACEOF
11787 /* end confdefs.h. */
11788 #include <math.h>
11789 #ifdef HAVE_IEEEFP_H
11790 #include <ieeefp.h>
11791 #endif
11794 main ()
11796 _expf(0);
11798 return 0;
11800 _ACEOF
11801 rm -f conftest.$ac_objext
11802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11803 (eval $ac_compile) 2>conftest.er1
11804 ac_status=$?
11805 grep -v '^ *+' conftest.er1 >conftest.err
11806 rm -f conftest.er1
11807 cat conftest.err >&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } &&
11810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11812 (eval $ac_try) 2>&5
11813 ac_status=$?
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); }; } &&
11816 { ac_try='test -s conftest.$ac_objext'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11819 ac_status=$?
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; }; then
11822 glibcxx_cv_func__expf_use=yes
11823 else
11824 echo "$as_me: failed program was:" >&5
11825 sed 's/^/| /' conftest.$ac_ext >&5
11827 glibcxx_cv_func__expf_use=no
11829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11830 ac_ext=c
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11841 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11843 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11845 for ac_func in _expf
11847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11848 echo "$as_me:$LINENO: checking for $ac_func" >&5
11849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11850 if eval "test \"\${$as_ac_var+set}\" = set"; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11852 else
11853 if test x$gcc_no_link = xyes; then
11854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11856 { (exit 1); exit 1; }; }
11858 cat >conftest.$ac_ext <<_ACEOF
11859 /* confdefs.h. */
11860 _ACEOF
11861 cat confdefs.h >>conftest.$ac_ext
11862 cat >>conftest.$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11866 #define $ac_func innocuous_$ac_func
11868 /* System header to define __stub macros and hopefully few prototypes,
11869 which can conflict with char $ac_func (); below.
11870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11871 <limits.h> exists even on freestanding compilers. */
11873 #ifdef __STDC__
11874 # include <limits.h>
11875 #else
11876 # include <assert.h>
11877 #endif
11879 #undef $ac_func
11881 /* Override any gcc2 internal prototype to avoid an error. */
11882 #ifdef __cplusplus
11883 extern "C"
11885 #endif
11886 /* We use char because int might match the return type of a gcc2
11887 builtin and then its argument prototype would still apply. */
11888 char $ac_func ();
11889 /* The GNU C library defines this for functions which it implements
11890 to always fail with ENOSYS. Some functions are actually named
11891 something starting with __ and the normal name is an alias. */
11892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11893 choke me
11894 #else
11895 char (*f) () = $ac_func;
11896 #endif
11897 #ifdef __cplusplus
11899 #endif
11902 main ()
11904 return f != $ac_func;
11906 return 0;
11908 _ACEOF
11909 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11911 (eval $ac_link) 2>conftest.er1
11912 ac_status=$?
11913 grep -v '^ *+' conftest.er1 >conftest.err
11914 rm -f conftest.er1
11915 cat conftest.err >&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try='test -s conftest$ac_exeext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11927 ac_status=$?
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 eval "$as_ac_var=yes"
11931 else
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.$ac_ext >&5
11935 eval "$as_ac_var=no"
11937 rm -f conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11942 if test `eval echo '${'$as_ac_var'}'` = yes; then
11943 cat >>confdefs.h <<_ACEOF
11944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11945 _ACEOF
11948 done
11955 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11956 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11957 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11958 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 else
11964 ac_ext=cc
11965 ac_cpp='$CXXCPP $CPPFLAGS'
11966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11970 cat >conftest.$ac_ext <<_ACEOF
11971 /* confdefs.h. */
11972 _ACEOF
11973 cat confdefs.h >>conftest.$ac_ext
11974 cat >>conftest.$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11976 #include <math.h>
11977 #ifdef HAVE_IEEEFP_H
11978 #include <ieeefp.h>
11979 #endif
11982 main ()
11984 isnanf(0);
11986 return 0;
11988 _ACEOF
11989 rm -f conftest.$ac_objext
11990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11991 (eval $ac_compile) 2>conftest.er1
11992 ac_status=$?
11993 grep -v '^ *+' conftest.er1 >conftest.err
11994 rm -f conftest.er1
11995 cat conftest.err >&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } &&
11998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
12004 { ac_try='test -s conftest.$ac_objext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12010 glibcxx_cv_func_isnanf_use=yes
12011 else
12012 echo "$as_me: failed program was:" >&5
12013 sed 's/^/| /' conftest.$ac_ext >&5
12015 glibcxx_cv_func_isnanf_use=no
12017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12018 ac_ext=c
12019 ac_cpp='$CPP $CPPFLAGS'
12020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12029 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12031 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12033 for ac_func in isnanf
12035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12036 echo "$as_me:$LINENO: checking for $ac_func" >&5
12037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12038 if eval "test \"\${$as_ac_var+set}\" = set"; then
12039 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 else
12041 if test x$gcc_no_link = xyes; then
12042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12044 { (exit 1); exit 1; }; }
12046 cat >conftest.$ac_ext <<_ACEOF
12047 /* confdefs.h. */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12054 #define $ac_func innocuous_$ac_func
12056 /* System header to define __stub macros and hopefully few prototypes,
12057 which can conflict with char $ac_func (); below.
12058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12059 <limits.h> exists even on freestanding compilers. */
12061 #ifdef __STDC__
12062 # include <limits.h>
12063 #else
12064 # include <assert.h>
12065 #endif
12067 #undef $ac_func
12069 /* Override any gcc2 internal prototype to avoid an error. */
12070 #ifdef __cplusplus
12071 extern "C"
12073 #endif
12074 /* We use char because int might match the return type of a gcc2
12075 builtin and then its argument prototype would still apply. */
12076 char $ac_func ();
12077 /* The GNU C library defines this for functions which it implements
12078 to always fail with ENOSYS. Some functions are actually named
12079 something starting with __ and the normal name is an alias. */
12080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12081 choke me
12082 #else
12083 char (*f) () = $ac_func;
12084 #endif
12085 #ifdef __cplusplus
12087 #endif
12090 main ()
12092 return f != $ac_func;
12094 return 0;
12096 _ACEOF
12097 rm -f conftest.$ac_objext conftest$ac_exeext
12098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12099 (eval $ac_link) 2>conftest.er1
12100 ac_status=$?
12101 grep -v '^ *+' conftest.er1 >conftest.err
12102 rm -f conftest.er1
12103 cat conftest.err >&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } &&
12106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; } &&
12112 { ac_try='test -s conftest$ac_exeext'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 eval "$as_ac_var=yes"
12119 else
12120 echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.$ac_ext >&5
12123 eval "$as_ac_var=no"
12125 rm -f conftest.err conftest.$ac_objext \
12126 conftest$ac_exeext conftest.$ac_ext
12128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12130 if test `eval echo '${'$as_ac_var'}'` = yes; then
12131 cat >>confdefs.h <<_ACEOF
12132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12133 _ACEOF
12136 done
12138 else
12140 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12141 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12142 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12143 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12144 echo $ECHO_N "(cached) $ECHO_C" >&6
12145 else
12149 ac_ext=cc
12150 ac_cpp='$CXXCPP $CPPFLAGS'
12151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12155 cat >conftest.$ac_ext <<_ACEOF
12156 /* confdefs.h. */
12157 _ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #include <math.h>
12162 #ifdef HAVE_IEEEFP_H
12163 #include <ieeefp.h>
12164 #endif
12167 main ()
12169 _isnanf(0);
12171 return 0;
12173 _ACEOF
12174 rm -f conftest.$ac_objext
12175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12176 (eval $ac_compile) 2>conftest.er1
12177 ac_status=$?
12178 grep -v '^ *+' conftest.er1 >conftest.err
12179 rm -f conftest.er1
12180 cat conftest.err >&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } &&
12183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12186 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; } &&
12189 { ac_try='test -s conftest.$ac_objext'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12192 ac_status=$?
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 glibcxx_cv_func__isnanf_use=yes
12196 else
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12200 glibcxx_cv_func__isnanf_use=no
12202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12203 ac_ext=c
12204 ac_cpp='$CPP $CPPFLAGS'
12205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12214 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12216 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12218 for ac_func in _isnanf
12220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12221 echo "$as_me:$LINENO: checking for $ac_func" >&5
12222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12223 if eval "test \"\${$as_ac_var+set}\" = set"; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 else
12226 if test x$gcc_no_link = xyes; then
12227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12229 { (exit 1); exit 1; }; }
12231 cat >conftest.$ac_ext <<_ACEOF
12232 /* confdefs.h. */
12233 _ACEOF
12234 cat confdefs.h >>conftest.$ac_ext
12235 cat >>conftest.$ac_ext <<_ACEOF
12236 /* end confdefs.h. */
12237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12239 #define $ac_func innocuous_$ac_func
12241 /* System header to define __stub macros and hopefully few prototypes,
12242 which can conflict with char $ac_func (); below.
12243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12244 <limits.h> exists even on freestanding compilers. */
12246 #ifdef __STDC__
12247 # include <limits.h>
12248 #else
12249 # include <assert.h>
12250 #endif
12252 #undef $ac_func
12254 /* Override any gcc2 internal prototype to avoid an error. */
12255 #ifdef __cplusplus
12256 extern "C"
12258 #endif
12259 /* We use char because int might match the return type of a gcc2
12260 builtin and then its argument prototype would still apply. */
12261 char $ac_func ();
12262 /* The GNU C library defines this for functions which it implements
12263 to always fail with ENOSYS. Some functions are actually named
12264 something starting with __ and the normal name is an alias. */
12265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12266 choke me
12267 #else
12268 char (*f) () = $ac_func;
12269 #endif
12270 #ifdef __cplusplus
12272 #endif
12275 main ()
12277 return f != $ac_func;
12279 return 0;
12281 _ACEOF
12282 rm -f conftest.$ac_objext conftest$ac_exeext
12283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12284 (eval $ac_link) 2>conftest.er1
12285 ac_status=$?
12286 grep -v '^ *+' conftest.er1 >conftest.err
12287 rm -f conftest.er1
12288 cat conftest.err >&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); } &&
12291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12294 ac_status=$?
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; } &&
12297 { ac_try='test -s conftest$ac_exeext'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12300 ac_status=$?
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; }; then
12303 eval "$as_ac_var=yes"
12304 else
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.$ac_ext >&5
12308 eval "$as_ac_var=no"
12310 rm -f conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12315 if test `eval echo '${'$as_ac_var'}'` = yes; then
12316 cat >>confdefs.h <<_ACEOF
12317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12318 _ACEOF
12321 done
12328 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12329 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12330 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12331 if test "${glibcxx_cv_func_isinff_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 isinff(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" || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12374 ac_status=$?
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } &&
12377 { ac_try='test -s conftest.$ac_objext'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12380 ac_status=$?
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12383 glibcxx_cv_func_isinff_use=yes
12384 else
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.$ac_ext >&5
12388 glibcxx_cv_func_isinff_use=no
12390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12391 ac_ext=c
12392 ac_cpp='$CPP $CPPFLAGS'
12393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12402 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12404 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12406 for ac_func in isinff
12408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12409 echo "$as_me:$LINENO: checking for $ac_func" >&5
12410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12411 if eval "test \"\${$as_ac_var+set}\" = set"; then
12412 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 else
12414 if test x$gcc_no_link = xyes; then
12415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12417 { (exit 1); exit 1; }; }
12419 cat >conftest.$ac_ext <<_ACEOF
12420 /* confdefs.h. */
12421 _ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12427 #define $ac_func innocuous_$ac_func
12429 /* System header to define __stub macros and hopefully few prototypes,
12430 which can conflict with char $ac_func (); below.
12431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12432 <limits.h> exists even on freestanding compilers. */
12434 #ifdef __STDC__
12435 # include <limits.h>
12436 #else
12437 # include <assert.h>
12438 #endif
12440 #undef $ac_func
12442 /* Override any gcc2 internal prototype to avoid an error. */
12443 #ifdef __cplusplus
12444 extern "C"
12446 #endif
12447 /* We use char because int might match the return type of a gcc2
12448 builtin and then its argument prototype would still apply. */
12449 char $ac_func ();
12450 /* The GNU C library defines this for functions which it implements
12451 to always fail with ENOSYS. Some functions are actually named
12452 something starting with __ and the normal name is an alias. */
12453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12454 choke me
12455 #else
12456 char (*f) () = $ac_func;
12457 #endif
12458 #ifdef __cplusplus
12460 #endif
12463 main ()
12465 return f != $ac_func;
12467 return 0;
12469 _ACEOF
12470 rm -f conftest.$ac_objext conftest$ac_exeext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12472 (eval $ac_link) 2>conftest.er1
12473 ac_status=$?
12474 grep -v '^ *+' conftest.er1 >conftest.err
12475 rm -f conftest.er1
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try='test -s conftest$ac_exeext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12488 ac_status=$?
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 eval "$as_ac_var=yes"
12492 else
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 eval "$as_ac_var=no"
12498 rm -f conftest.err conftest.$ac_objext \
12499 conftest$ac_exeext conftest.$ac_ext
12501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12503 if test `eval echo '${'$as_ac_var'}'` = yes; then
12504 cat >>confdefs.h <<_ACEOF
12505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12506 _ACEOF
12509 done
12511 else
12513 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12514 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12515 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12516 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 else
12522 ac_ext=cc
12523 ac_cpp='$CXXCPP $CPPFLAGS'
12524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12528 cat >conftest.$ac_ext <<_ACEOF
12529 /* confdefs.h. */
12530 _ACEOF
12531 cat confdefs.h >>conftest.$ac_ext
12532 cat >>conftest.$ac_ext <<_ACEOF
12533 /* end confdefs.h. */
12534 #include <math.h>
12535 #ifdef HAVE_IEEEFP_H
12536 #include <ieeefp.h>
12537 #endif
12540 main ()
12542 _isinff(0);
12544 return 0;
12546 _ACEOF
12547 rm -f conftest.$ac_objext
12548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12549 (eval $ac_compile) 2>conftest.er1
12550 ac_status=$?
12551 grep -v '^ *+' conftest.er1 >conftest.err
12552 rm -f conftest.er1
12553 cat conftest.err >&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } &&
12556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; } &&
12562 { ac_try='test -s conftest.$ac_objext'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12565 ac_status=$?
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; }; then
12568 glibcxx_cv_func__isinff_use=yes
12569 else
12570 echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.$ac_ext >&5
12573 glibcxx_cv_func__isinff_use=no
12575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12576 ac_ext=c
12577 ac_cpp='$CPP $CPPFLAGS'
12578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12587 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12589 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12591 for ac_func in _isinff
12593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12594 echo "$as_me:$LINENO: checking for $ac_func" >&5
12595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12596 if eval "test \"\${$as_ac_var+set}\" = set"; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12598 else
12599 if test x$gcc_no_link = xyes; then
12600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12602 { (exit 1); exit 1; }; }
12604 cat >conftest.$ac_ext <<_ACEOF
12605 /* confdefs.h. */
12606 _ACEOF
12607 cat confdefs.h >>conftest.$ac_ext
12608 cat >>conftest.$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12612 #define $ac_func innocuous_$ac_func
12614 /* System header to define __stub macros and hopefully few prototypes,
12615 which can conflict with char $ac_func (); below.
12616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12617 <limits.h> exists even on freestanding compilers. */
12619 #ifdef __STDC__
12620 # include <limits.h>
12621 #else
12622 # include <assert.h>
12623 #endif
12625 #undef $ac_func
12627 /* Override any gcc2 internal prototype to avoid an error. */
12628 #ifdef __cplusplus
12629 extern "C"
12631 #endif
12632 /* We use char because int might match the return type of a gcc2
12633 builtin and then its argument prototype would still apply. */
12634 char $ac_func ();
12635 /* The GNU C library defines this for functions which it implements
12636 to always fail with ENOSYS. Some functions are actually named
12637 something starting with __ and the normal name is an alias. */
12638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12639 choke me
12640 #else
12641 char (*f) () = $ac_func;
12642 #endif
12643 #ifdef __cplusplus
12645 #endif
12648 main ()
12650 return f != $ac_func;
12652 return 0;
12654 _ACEOF
12655 rm -f conftest.$ac_objext conftest$ac_exeext
12656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12657 (eval $ac_link) 2>conftest.er1
12658 ac_status=$?
12659 grep -v '^ *+' conftest.er1 >conftest.err
12660 rm -f conftest.er1
12661 cat conftest.err >&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12667 ac_status=$?
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; } &&
12670 { ac_try='test -s conftest$ac_exeext'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12673 ac_status=$?
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 eval "$as_ac_var=yes"
12677 else
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 eval "$as_ac_var=no"
12683 rm -f conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12688 if test `eval echo '${'$as_ac_var'}'` = yes; then
12689 cat >>confdefs.h <<_ACEOF
12690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12691 _ACEOF
12694 done
12701 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12702 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12703 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12704 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12705 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 else
12710 ac_ext=cc
12711 ac_cpp='$CXXCPP $CPPFLAGS'
12712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12716 cat >conftest.$ac_ext <<_ACEOF
12717 /* confdefs.h. */
12718 _ACEOF
12719 cat confdefs.h >>conftest.$ac_ext
12720 cat >>conftest.$ac_ext <<_ACEOF
12721 /* end confdefs.h. */
12722 #include <math.h>
12724 main ()
12726 atan2f(0, 0);
12728 return 0;
12730 _ACEOF
12731 rm -f conftest.$ac_objext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>conftest.er1
12734 ac_status=$?
12735 grep -v '^ *+' conftest.er1 >conftest.err
12736 rm -f conftest.er1
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } &&
12740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12743 ac_status=$?
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 glibcxx_cv_func_atan2f_use=yes
12753 else
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12757 glibcxx_cv_func_atan2f_use=no
12759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12760 ac_ext=c
12761 ac_cpp='$CPP $CPPFLAGS'
12762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12771 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12773 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12775 for ac_func in atan2f
12777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12778 echo "$as_me:$LINENO: checking for $ac_func" >&5
12779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12780 if eval "test \"\${$as_ac_var+set}\" = set"; then
12781 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 else
12783 if test x$gcc_no_link = xyes; then
12784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12786 { (exit 1); exit 1; }; }
12788 cat >conftest.$ac_ext <<_ACEOF
12789 /* confdefs.h. */
12790 _ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12796 #define $ac_func innocuous_$ac_func
12798 /* System header to define __stub macros and hopefully few prototypes,
12799 which can conflict with char $ac_func (); below.
12800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12801 <limits.h> exists even on freestanding compilers. */
12803 #ifdef __STDC__
12804 # include <limits.h>
12805 #else
12806 # include <assert.h>
12807 #endif
12809 #undef $ac_func
12811 /* Override any gcc2 internal prototype to avoid an error. */
12812 #ifdef __cplusplus
12813 extern "C"
12815 #endif
12816 /* We use char because int might match the return type of a gcc2
12817 builtin and then its argument prototype would still apply. */
12818 char $ac_func ();
12819 /* The GNU C library defines this for functions which it implements
12820 to always fail with ENOSYS. Some functions are actually named
12821 something starting with __ and the normal name is an alias. */
12822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12823 choke me
12824 #else
12825 char (*f) () = $ac_func;
12826 #endif
12827 #ifdef __cplusplus
12829 #endif
12832 main ()
12834 return f != $ac_func;
12836 return 0;
12838 _ACEOF
12839 rm -f conftest.$ac_objext conftest$ac_exeext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12841 (eval $ac_link) 2>conftest.er1
12842 ac_status=$?
12843 grep -v '^ *+' conftest.er1 >conftest.err
12844 rm -f conftest.er1
12845 cat conftest.err >&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } &&
12848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12850 (eval $ac_try) 2>&5
12851 ac_status=$?
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); }; } &&
12854 { ac_try='test -s conftest$ac_exeext'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; }; then
12860 eval "$as_ac_var=yes"
12861 else
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.$ac_ext >&5
12865 eval "$as_ac_var=no"
12867 rm -f conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12872 if test `eval echo '${'$as_ac_var'}'` = yes; then
12873 cat >>confdefs.h <<_ACEOF
12874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12875 _ACEOF
12878 done
12880 else
12882 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12883 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12884 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12885 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12891 ac_ext=cc
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 #include <math.h>
12905 main ()
12907 _atan2f(0, 0);
12909 return 0;
12911 _ACEOF
12912 rm -f conftest.$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12915 ac_status=$?
12916 grep -v '^ *+' conftest.er1 >conftest.err
12917 rm -f conftest.er1
12918 cat conftest.err >&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 (eval $ac_try) 2>&5
12924 ac_status=$?
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; } &&
12927 { ac_try='test -s conftest.$ac_objext'
12928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12929 (eval $ac_try) 2>&5
12930 ac_status=$?
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); }; }; then
12933 glibcxx_cv_func__atan2f_use=yes
12934 else
12935 echo "$as_me: failed program was:" >&5
12936 sed 's/^/| /' conftest.$ac_ext >&5
12938 glibcxx_cv_func__atan2f_use=no
12940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12941 ac_ext=c
12942 ac_cpp='$CPP $CPPFLAGS'
12943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
12952 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
12954 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
12956 for ac_func in _atan2f
12958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12959 echo "$as_me:$LINENO: checking for $ac_func" >&5
12960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12961 if eval "test \"\${$as_ac_var+set}\" = set"; then
12962 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 else
12964 if test x$gcc_no_link = xyes; then
12965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12967 { (exit 1); exit 1; }; }
12969 cat >conftest.$ac_ext <<_ACEOF
12970 /* confdefs.h. */
12971 _ACEOF
12972 cat confdefs.h >>conftest.$ac_ext
12973 cat >>conftest.$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12977 #define $ac_func innocuous_$ac_func
12979 /* System header to define __stub macros and hopefully few prototypes,
12980 which can conflict with char $ac_func (); below.
12981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12982 <limits.h> exists even on freestanding compilers. */
12984 #ifdef __STDC__
12985 # include <limits.h>
12986 #else
12987 # include <assert.h>
12988 #endif
12990 #undef $ac_func
12992 /* Override any gcc2 internal prototype to avoid an error. */
12993 #ifdef __cplusplus
12994 extern "C"
12996 #endif
12997 /* We use char because int might match the return type of a gcc2
12998 builtin and then its argument prototype would still apply. */
12999 char $ac_func ();
13000 /* The GNU C library defines this for functions which it implements
13001 to always fail with ENOSYS. Some functions are actually named
13002 something starting with __ and the normal name is an alias. */
13003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13004 choke me
13005 #else
13006 char (*f) () = $ac_func;
13007 #endif
13008 #ifdef __cplusplus
13010 #endif
13013 main ()
13015 return f != $ac_func;
13017 return 0;
13019 _ACEOF
13020 rm -f conftest.$ac_objext conftest$ac_exeext
13021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13022 (eval $ac_link) 2>conftest.er1
13023 ac_status=$?
13024 grep -v '^ *+' conftest.er1 >conftest.err
13025 rm -f conftest.er1
13026 cat conftest.err >&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); } &&
13029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13032 ac_status=$?
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; } &&
13035 { ac_try='test -s conftest$ac_exeext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13038 ac_status=$?
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13041 eval "$as_ac_var=yes"
13042 else
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.$ac_ext >&5
13046 eval "$as_ac_var=no"
13048 rm -f conftest.err conftest.$ac_objext \
13049 conftest$ac_exeext conftest.$ac_ext
13051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13053 if test `eval echo '${'$as_ac_var'}'` = yes; then
13054 cat >>confdefs.h <<_ACEOF
13055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13056 _ACEOF
13059 done
13066 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13067 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13068 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13069 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 else
13075 ac_ext=cc
13076 ac_cpp='$CXXCPP $CPPFLAGS'
13077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13081 cat >conftest.$ac_ext <<_ACEOF
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 #include <math.h>
13088 #ifdef HAVE_IEEEFP_H
13089 #include <ieeefp.h>
13090 #endif
13093 main ()
13095 fabsf(0);
13097 return 0;
13099 _ACEOF
13100 rm -f conftest.$ac_objext
13101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13102 (eval $ac_compile) 2>conftest.er1
13103 ac_status=$?
13104 grep -v '^ *+' conftest.er1 >conftest.err
13105 rm -f conftest.er1
13106 cat conftest.err >&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); } &&
13109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; } &&
13115 { ac_try='test -s conftest.$ac_objext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 glibcxx_cv_func_fabsf_use=yes
13122 else
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.$ac_ext >&5
13126 glibcxx_cv_func_fabsf_use=no
13128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13129 ac_ext=c
13130 ac_cpp='$CPP $CPPFLAGS'
13131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13140 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13142 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13144 for ac_func in fabsf
13146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13147 echo "$as_me:$LINENO: checking for $ac_func" >&5
13148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13149 if eval "test \"\${$as_ac_var+set}\" = set"; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 else
13152 if test x$gcc_no_link = xyes; then
13153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13155 { (exit 1); exit 1; }; }
13157 cat >conftest.$ac_ext <<_ACEOF
13158 /* confdefs.h. */
13159 _ACEOF
13160 cat confdefs.h >>conftest.$ac_ext
13161 cat >>conftest.$ac_ext <<_ACEOF
13162 /* end confdefs.h. */
13163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13165 #define $ac_func innocuous_$ac_func
13167 /* System header to define __stub macros and hopefully few prototypes,
13168 which can conflict with char $ac_func (); below.
13169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13170 <limits.h> exists even on freestanding compilers. */
13172 #ifdef __STDC__
13173 # include <limits.h>
13174 #else
13175 # include <assert.h>
13176 #endif
13178 #undef $ac_func
13180 /* Override any gcc2 internal prototype to avoid an error. */
13181 #ifdef __cplusplus
13182 extern "C"
13184 #endif
13185 /* We use char because int might match the return type of a gcc2
13186 builtin and then its argument prototype would still apply. */
13187 char $ac_func ();
13188 /* The GNU C library defines this for functions which it implements
13189 to always fail with ENOSYS. Some functions are actually named
13190 something starting with __ and the normal name is an alias. */
13191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13192 choke me
13193 #else
13194 char (*f) () = $ac_func;
13195 #endif
13196 #ifdef __cplusplus
13198 #endif
13201 main ()
13203 return f != $ac_func;
13205 return 0;
13207 _ACEOF
13208 rm -f conftest.$ac_objext conftest$ac_exeext
13209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13210 (eval $ac_link) 2>conftest.er1
13211 ac_status=$?
13212 grep -v '^ *+' conftest.er1 >conftest.err
13213 rm -f conftest.er1
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13220 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; } &&
13223 { ac_try='test -s conftest$ac_exeext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13226 ac_status=$?
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 eval "$as_ac_var=yes"
13230 else
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.$ac_ext >&5
13234 eval "$as_ac_var=no"
13236 rm -f conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13241 if test `eval echo '${'$as_ac_var'}'` = yes; then
13242 cat >>confdefs.h <<_ACEOF
13243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13244 _ACEOF
13247 done
13249 else
13251 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13252 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13253 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13254 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 else
13260 ac_ext=cc
13261 ac_cpp='$CXXCPP $CPPFLAGS'
13262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 #include <math.h>
13273 #ifdef HAVE_IEEEFP_H
13274 #include <ieeefp.h>
13275 #endif
13278 main ()
13280 _fabsf(0);
13282 return 0;
13284 _ACEOF
13285 rm -f conftest.$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>conftest.er1
13288 ac_status=$?
13289 grep -v '^ *+' conftest.er1 >conftest.err
13290 rm -f conftest.er1
13291 cat conftest.err >&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13297 ac_status=$?
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; } &&
13300 { ac_try='test -s conftest.$ac_objext'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13303 ac_status=$?
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13306 glibcxx_cv_func__fabsf_use=yes
13307 else
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.$ac_ext >&5
13311 glibcxx_cv_func__fabsf_use=no
13313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13314 ac_ext=c
13315 ac_cpp='$CPP $CPPFLAGS'
13316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13325 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13327 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13329 for ac_func in _fabsf
13331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13332 echo "$as_me:$LINENO: checking for $ac_func" >&5
13333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13334 if eval "test \"\${$as_ac_var+set}\" = set"; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 else
13337 if test x$gcc_no_link = xyes; then
13338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13340 { (exit 1); exit 1; }; }
13342 cat >conftest.$ac_ext <<_ACEOF
13343 /* confdefs.h. */
13344 _ACEOF
13345 cat confdefs.h >>conftest.$ac_ext
13346 cat >>conftest.$ac_ext <<_ACEOF
13347 /* end confdefs.h. */
13348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13350 #define $ac_func innocuous_$ac_func
13352 /* System header to define __stub macros and hopefully few prototypes,
13353 which can conflict with char $ac_func (); below.
13354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13355 <limits.h> exists even on freestanding compilers. */
13357 #ifdef __STDC__
13358 # include <limits.h>
13359 #else
13360 # include <assert.h>
13361 #endif
13363 #undef $ac_func
13365 /* Override any gcc2 internal prototype to avoid an error. */
13366 #ifdef __cplusplus
13367 extern "C"
13369 #endif
13370 /* We use char because int might match the return type of a gcc2
13371 builtin and then its argument prototype would still apply. */
13372 char $ac_func ();
13373 /* The GNU C library defines this for functions which it implements
13374 to always fail with ENOSYS. Some functions are actually named
13375 something starting with __ and the normal name is an alias. */
13376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13377 choke me
13378 #else
13379 char (*f) () = $ac_func;
13380 #endif
13381 #ifdef __cplusplus
13383 #endif
13386 main ()
13388 return f != $ac_func;
13390 return 0;
13392 _ACEOF
13393 rm -f conftest.$ac_objext conftest$ac_exeext
13394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13395 (eval $ac_link) 2>conftest.er1
13396 ac_status=$?
13397 grep -v '^ *+' conftest.er1 >conftest.err
13398 rm -f conftest.er1
13399 cat conftest.err >&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } &&
13402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13405 ac_status=$?
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try='test -s conftest$ac_exeext'
13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410 (eval $ac_try) 2>&5
13411 ac_status=$?
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); }; }; then
13414 eval "$as_ac_var=yes"
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13419 eval "$as_ac_var=no"
13421 rm -f conftest.err conftest.$ac_objext \
13422 conftest$ac_exeext conftest.$ac_ext
13424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13426 if test `eval echo '${'$as_ac_var'}'` = yes; then
13427 cat >>confdefs.h <<_ACEOF
13428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13429 _ACEOF
13432 done
13439 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13440 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13441 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13442 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13444 else
13448 ac_ext=cc
13449 ac_cpp='$CXXCPP $CPPFLAGS'
13450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13454 cat >conftest.$ac_ext <<_ACEOF
13455 /* confdefs.h. */
13456 _ACEOF
13457 cat confdefs.h >>conftest.$ac_ext
13458 cat >>conftest.$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13460 #include <math.h>
13462 main ()
13464 fmodf(0, 0);
13466 return 0;
13468 _ACEOF
13469 rm -f conftest.$ac_objext
13470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13471 (eval $ac_compile) 2>conftest.er1
13472 ac_status=$?
13473 grep -v '^ *+' conftest.er1 >conftest.err
13474 rm -f conftest.er1
13475 cat conftest.err >&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } &&
13478 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; } &&
13484 { ac_try='test -s conftest.$ac_objext'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13487 ac_status=$?
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; }; then
13490 glibcxx_cv_func_fmodf_use=yes
13491 else
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.$ac_ext >&5
13495 glibcxx_cv_func_fmodf_use=no
13497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13498 ac_ext=c
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13509 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13511 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13513 for ac_func in fmodf
13515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13516 echo "$as_me:$LINENO: checking for $ac_func" >&5
13517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13518 if eval "test \"\${$as_ac_var+set}\" = set"; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 else
13521 if test x$gcc_no_link = xyes; then
13522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13524 { (exit 1); exit 1; }; }
13526 cat >conftest.$ac_ext <<_ACEOF
13527 /* confdefs.h. */
13528 _ACEOF
13529 cat confdefs.h >>conftest.$ac_ext
13530 cat >>conftest.$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13534 #define $ac_func innocuous_$ac_func
13536 /* System header to define __stub macros and hopefully few prototypes,
13537 which can conflict with char $ac_func (); below.
13538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13539 <limits.h> exists even on freestanding compilers. */
13541 #ifdef __STDC__
13542 # include <limits.h>
13543 #else
13544 # include <assert.h>
13545 #endif
13547 #undef $ac_func
13549 /* Override any gcc2 internal prototype to avoid an error. */
13550 #ifdef __cplusplus
13551 extern "C"
13553 #endif
13554 /* We use char because int might match the return type of a gcc2
13555 builtin and then its argument prototype would still apply. */
13556 char $ac_func ();
13557 /* The GNU C library defines this for functions which it implements
13558 to always fail with ENOSYS. Some functions are actually named
13559 something starting with __ and the normal name is an alias. */
13560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13561 choke me
13562 #else
13563 char (*f) () = $ac_func;
13564 #endif
13565 #ifdef __cplusplus
13567 #endif
13570 main ()
13572 return f != $ac_func;
13574 return 0;
13576 _ACEOF
13577 rm -f conftest.$ac_objext conftest$ac_exeext
13578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13579 (eval $ac_link) 2>conftest.er1
13580 ac_status=$?
13581 grep -v '^ *+' conftest.er1 >conftest.err
13582 rm -f conftest.er1
13583 cat conftest.err >&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); } &&
13586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 (eval $ac_try) 2>&5
13589 ac_status=$?
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; } &&
13592 { ac_try='test -s conftest$ac_exeext'
13593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594 (eval $ac_try) 2>&5
13595 ac_status=$?
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); }; }; then
13598 eval "$as_ac_var=yes"
13599 else
13600 echo "$as_me: failed program was:" >&5
13601 sed 's/^/| /' conftest.$ac_ext >&5
13603 eval "$as_ac_var=no"
13605 rm -f conftest.err conftest.$ac_objext \
13606 conftest$ac_exeext conftest.$ac_ext
13608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13610 if test `eval echo '${'$as_ac_var'}'` = yes; then
13611 cat >>confdefs.h <<_ACEOF
13612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13613 _ACEOF
13616 done
13618 else
13620 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13621 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13622 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13623 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 else
13629 ac_ext=cc
13630 ac_cpp='$CXXCPP $CPPFLAGS'
13631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13635 cat >conftest.$ac_ext <<_ACEOF
13636 /* confdefs.h. */
13637 _ACEOF
13638 cat confdefs.h >>conftest.$ac_ext
13639 cat >>conftest.$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 #include <math.h>
13643 main ()
13645 _fmodf(0, 0);
13647 return 0;
13649 _ACEOF
13650 rm -f conftest.$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>conftest.er1
13653 ac_status=$?
13654 grep -v '^ *+' conftest.er1 >conftest.err
13655 rm -f conftest.er1
13656 cat conftest.err >&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } &&
13659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; } &&
13665 { ac_try='test -s conftest.$ac_objext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13668 ac_status=$?
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 glibcxx_cv_func__fmodf_use=yes
13672 else
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.$ac_ext >&5
13676 glibcxx_cv_func__fmodf_use=no
13678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13679 ac_ext=c
13680 ac_cpp='$CPP $CPPFLAGS'
13681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13690 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13692 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13694 for ac_func in _fmodf
13696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13697 echo "$as_me:$LINENO: checking for $ac_func" >&5
13698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13699 if eval "test \"\${$as_ac_var+set}\" = set"; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 else
13702 if test x$gcc_no_link = xyes; then
13703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13705 { (exit 1); exit 1; }; }
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13715 #define $ac_func innocuous_$ac_func
13717 /* System header to define __stub macros and hopefully few prototypes,
13718 which can conflict with char $ac_func (); below.
13719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13720 <limits.h> exists even on freestanding compilers. */
13722 #ifdef __STDC__
13723 # include <limits.h>
13724 #else
13725 # include <assert.h>
13726 #endif
13728 #undef $ac_func
13730 /* Override any gcc2 internal prototype to avoid an error. */
13731 #ifdef __cplusplus
13732 extern "C"
13734 #endif
13735 /* We use char because int might match the return type of a gcc2
13736 builtin and then its argument prototype would still apply. */
13737 char $ac_func ();
13738 /* The GNU C library defines this for functions which it implements
13739 to always fail with ENOSYS. Some functions are actually named
13740 something starting with __ and the normal name is an alias. */
13741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13742 choke me
13743 #else
13744 char (*f) () = $ac_func;
13745 #endif
13746 #ifdef __cplusplus
13748 #endif
13751 main ()
13753 return f != $ac_func;
13755 return 0;
13757 _ACEOF
13758 rm -f conftest.$ac_objext conftest$ac_exeext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>conftest.er1
13761 ac_status=$?
13762 grep -v '^ *+' conftest.er1 >conftest.err
13763 rm -f conftest.er1
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; } &&
13773 { ac_try='test -s conftest$ac_exeext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13776 ac_status=$?
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 eval "$as_ac_var=yes"
13780 else
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.$ac_ext >&5
13784 eval "$as_ac_var=no"
13786 rm -f conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13791 if test `eval echo '${'$as_ac_var'}'` = yes; then
13792 cat >>confdefs.h <<_ACEOF
13793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13794 _ACEOF
13797 done
13804 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13805 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13806 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13807 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 else
13813 ac_ext=cc
13814 ac_cpp='$CXXCPP $CPPFLAGS'
13815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13819 cat >conftest.$ac_ext <<_ACEOF
13820 /* confdefs.h. */
13821 _ACEOF
13822 cat confdefs.h >>conftest.$ac_ext
13823 cat >>conftest.$ac_ext <<_ACEOF
13824 /* end confdefs.h. */
13825 #include <math.h>
13827 main ()
13829 frexpf(0, 0);
13831 return 0;
13833 _ACEOF
13834 rm -f conftest.$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>conftest.er1
13837 ac_status=$?
13838 grep -v '^ *+' conftest.er1 >conftest.err
13839 rm -f conftest.er1
13840 cat conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; } &&
13849 { ac_try='test -s conftest.$ac_objext'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 glibcxx_cv_func_frexpf_use=yes
13856 else
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13860 glibcxx_cv_func_frexpf_use=no
13862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13863 ac_ext=c
13864 ac_cpp='$CPP $CPPFLAGS'
13865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13874 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13876 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13878 for ac_func in frexpf
13880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13881 echo "$as_me:$LINENO: checking for $ac_func" >&5
13882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13883 if eval "test \"\${$as_ac_var+set}\" = set"; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 else
13886 if test x$gcc_no_link = xyes; then
13887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13889 { (exit 1); exit 1; }; }
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13899 #define $ac_func innocuous_$ac_func
13901 /* System header to define __stub macros and hopefully few prototypes,
13902 which can conflict with char $ac_func (); below.
13903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13904 <limits.h> exists even on freestanding compilers. */
13906 #ifdef __STDC__
13907 # include <limits.h>
13908 #else
13909 # include <assert.h>
13910 #endif
13912 #undef $ac_func
13914 /* Override any gcc2 internal prototype to avoid an error. */
13915 #ifdef __cplusplus
13916 extern "C"
13918 #endif
13919 /* We use char because int might match the return type of a gcc2
13920 builtin and then its argument prototype would still apply. */
13921 char $ac_func ();
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13926 choke me
13927 #else
13928 char (*f) () = $ac_func;
13929 #endif
13930 #ifdef __cplusplus
13932 #endif
13935 main ()
13937 return f != $ac_func;
13939 return 0;
13941 _ACEOF
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>conftest.er1
13945 ac_status=$?
13946 grep -v '^ *+' conftest.er1 >conftest.err
13947 rm -f conftest.er1
13948 cat conftest.err >&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; } &&
13957 { ac_try='test -s conftest$ac_exeext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13960 ac_status=$?
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 eval "$as_ac_var=yes"
13964 else
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.$ac_ext >&5
13968 eval "$as_ac_var=no"
13970 rm -f conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13975 if test `eval echo '${'$as_ac_var'}'` = yes; then
13976 cat >>confdefs.h <<_ACEOF
13977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13978 _ACEOF
13981 done
13983 else
13985 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
13986 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
13987 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
13988 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
13989 echo $ECHO_N "(cached) $ECHO_C" >&6
13990 else
13994 ac_ext=cc
13995 ac_cpp='$CXXCPP $CPPFLAGS'
13996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14000 cat >conftest.$ac_ext <<_ACEOF
14001 /* confdefs.h. */
14002 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006 #include <math.h>
14008 main ()
14010 _frexpf(0, 0);
14012 return 0;
14014 _ACEOF
14015 rm -f conftest.$ac_objext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>conftest.er1
14018 ac_status=$?
14019 grep -v '^ *+' conftest.er1 >conftest.err
14020 rm -f conftest.er1
14021 cat conftest.err >&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try='test -s conftest.$ac_objext'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14033 ac_status=$?
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; }; then
14036 glibcxx_cv_func__frexpf_use=yes
14037 else
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14041 glibcxx_cv_func__frexpf_use=no
14043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14044 ac_ext=c
14045 ac_cpp='$CPP $CPPFLAGS'
14046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14055 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14057 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14059 for ac_func in _frexpf
14061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14062 echo "$as_me:$LINENO: checking for $ac_func" >&5
14063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14064 if eval "test \"\${$as_ac_var+set}\" = set"; then
14065 echo $ECHO_N "(cached) $ECHO_C" >&6
14066 else
14067 if test x$gcc_no_link = xyes; then
14068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14070 { (exit 1); exit 1; }; }
14072 cat >conftest.$ac_ext <<_ACEOF
14073 /* confdefs.h. */
14074 _ACEOF
14075 cat confdefs.h >>conftest.$ac_ext
14076 cat >>conftest.$ac_ext <<_ACEOF
14077 /* end confdefs.h. */
14078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14080 #define $ac_func innocuous_$ac_func
14082 /* System header to define __stub macros and hopefully few prototypes,
14083 which can conflict with char $ac_func (); below.
14084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14085 <limits.h> exists even on freestanding compilers. */
14087 #ifdef __STDC__
14088 # include <limits.h>
14089 #else
14090 # include <assert.h>
14091 #endif
14093 #undef $ac_func
14095 /* Override any gcc2 internal prototype to avoid an error. */
14096 #ifdef __cplusplus
14097 extern "C"
14099 #endif
14100 /* We use char because int might match the return type of a gcc2
14101 builtin and then its argument prototype would still apply. */
14102 char $ac_func ();
14103 /* The GNU C library defines this for functions which it implements
14104 to always fail with ENOSYS. Some functions are actually named
14105 something starting with __ and the normal name is an alias. */
14106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14107 choke me
14108 #else
14109 char (*f) () = $ac_func;
14110 #endif
14111 #ifdef __cplusplus
14113 #endif
14116 main ()
14118 return f != $ac_func;
14120 return 0;
14122 _ACEOF
14123 rm -f conftest.$ac_objext conftest$ac_exeext
14124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14125 (eval $ac_link) 2>conftest.er1
14126 ac_status=$?
14127 grep -v '^ *+' conftest.er1 >conftest.err
14128 rm -f conftest.er1
14129 cat conftest.err >&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); } &&
14132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14134 (eval $ac_try) 2>&5
14135 ac_status=$?
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; } &&
14138 { ac_try='test -s conftest$ac_exeext'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; }; then
14144 eval "$as_ac_var=yes"
14145 else
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14149 eval "$as_ac_var=no"
14151 rm -f conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14156 if test `eval echo '${'$as_ac_var'}'` = yes; then
14157 cat >>confdefs.h <<_ACEOF
14158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14159 _ACEOF
14162 done
14169 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14170 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14171 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14172 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 else
14178 ac_ext=cc
14179 ac_cpp='$CXXCPP $CPPFLAGS'
14180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14184 cat >conftest.$ac_ext <<_ACEOF
14185 /* confdefs.h. */
14186 _ACEOF
14187 cat confdefs.h >>conftest.$ac_ext
14188 cat >>conftest.$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14190 #include <math.h>
14192 main ()
14194 hypotf(0, 0);
14196 return 0;
14198 _ACEOF
14199 rm -f conftest.$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201 (eval $ac_compile) 2>conftest.er1
14202 ac_status=$?
14203 grep -v '^ *+' conftest.er1 >conftest.err
14204 rm -f conftest.er1
14205 cat conftest.err >&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } &&
14208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14210 (eval $ac_try) 2>&5
14211 ac_status=$?
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); }; } &&
14214 { ac_try='test -s conftest.$ac_objext'
14215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216 (eval $ac_try) 2>&5
14217 ac_status=$?
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); }; }; then
14220 glibcxx_cv_func_hypotf_use=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 glibcxx_cv_func_hypotf_use=no
14227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14228 ac_ext=c
14229 ac_cpp='$CPP $CPPFLAGS'
14230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14239 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14241 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14243 for ac_func in hypotf
14245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14246 echo "$as_me:$LINENO: checking for $ac_func" >&5
14247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14248 if eval "test \"\${$as_ac_var+set}\" = set"; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 else
14251 if test x$gcc_no_link = xyes; then
14252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14254 { (exit 1); exit 1; }; }
14256 cat >conftest.$ac_ext <<_ACEOF
14257 /* confdefs.h. */
14258 _ACEOF
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14264 #define $ac_func innocuous_$ac_func
14266 /* System header to define __stub macros and hopefully few prototypes,
14267 which can conflict with char $ac_func (); below.
14268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14269 <limits.h> exists even on freestanding compilers. */
14271 #ifdef __STDC__
14272 # include <limits.h>
14273 #else
14274 # include <assert.h>
14275 #endif
14277 #undef $ac_func
14279 /* Override any gcc2 internal prototype to avoid an error. */
14280 #ifdef __cplusplus
14281 extern "C"
14283 #endif
14284 /* We use char because int might match the return type of a gcc2
14285 builtin and then its argument prototype would still apply. */
14286 char $ac_func ();
14287 /* The GNU C library defines this for functions which it implements
14288 to always fail with ENOSYS. Some functions are actually named
14289 something starting with __ and the normal name is an alias. */
14290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14291 choke me
14292 #else
14293 char (*f) () = $ac_func;
14294 #endif
14295 #ifdef __cplusplus
14297 #endif
14300 main ()
14302 return f != $ac_func;
14304 return 0;
14306 _ACEOF
14307 rm -f conftest.$ac_objext conftest$ac_exeext
14308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14309 (eval $ac_link) 2>conftest.er1
14310 ac_status=$?
14311 grep -v '^ *+' conftest.er1 >conftest.err
14312 rm -f conftest.er1
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; } &&
14322 { ac_try='test -s conftest$ac_exeext'
14323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14324 (eval $ac_try) 2>&5
14325 ac_status=$?
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; }; then
14328 eval "$as_ac_var=yes"
14329 else
14330 echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.$ac_ext >&5
14333 eval "$as_ac_var=no"
14335 rm -f conftest.err conftest.$ac_objext \
14336 conftest$ac_exeext conftest.$ac_ext
14338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14340 if test `eval echo '${'$as_ac_var'}'` = yes; then
14341 cat >>confdefs.h <<_ACEOF
14342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14343 _ACEOF
14346 done
14348 else
14350 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14351 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14352 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14353 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14359 ac_ext=cc
14360 ac_cpp='$CXXCPP $CPPFLAGS'
14361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14365 cat >conftest.$ac_ext <<_ACEOF
14366 /* confdefs.h. */
14367 _ACEOF
14368 cat confdefs.h >>conftest.$ac_ext
14369 cat >>conftest.$ac_ext <<_ACEOF
14370 /* end confdefs.h. */
14371 #include <math.h>
14373 main ()
14375 _hypotf(0, 0);
14377 return 0;
14379 _ACEOF
14380 rm -f conftest.$ac_objext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14382 (eval $ac_compile) 2>conftest.er1
14383 ac_status=$?
14384 grep -v '^ *+' conftest.er1 >conftest.err
14385 rm -f conftest.er1
14386 cat conftest.err >&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } &&
14389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14392 ac_status=$?
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try='test -s conftest.$ac_objext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14398 ac_status=$?
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 glibcxx_cv_func__hypotf_use=yes
14402 else
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14406 glibcxx_cv_func__hypotf_use=no
14408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14409 ac_ext=c
14410 ac_cpp='$CPP $CPPFLAGS'
14411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14420 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14422 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14424 for ac_func in _hypotf
14426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14427 echo "$as_me:$LINENO: checking for $ac_func" >&5
14428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14429 if eval "test \"\${$as_ac_var+set}\" = set"; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 else
14432 if test x$gcc_no_link = xyes; then
14433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14435 { (exit 1); exit 1; }; }
14437 cat >conftest.$ac_ext <<_ACEOF
14438 /* confdefs.h. */
14439 _ACEOF
14440 cat confdefs.h >>conftest.$ac_ext
14441 cat >>conftest.$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14445 #define $ac_func innocuous_$ac_func
14447 /* System header to define __stub macros and hopefully few prototypes,
14448 which can conflict with char $ac_func (); below.
14449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14450 <limits.h> exists even on freestanding compilers. */
14452 #ifdef __STDC__
14453 # include <limits.h>
14454 #else
14455 # include <assert.h>
14456 #endif
14458 #undef $ac_func
14460 /* Override any gcc2 internal prototype to avoid an error. */
14461 #ifdef __cplusplus
14462 extern "C"
14464 #endif
14465 /* We use char because int might match the return type of a gcc2
14466 builtin and then its argument prototype would still apply. */
14467 char $ac_func ();
14468 /* The GNU C library defines this for functions which it implements
14469 to always fail with ENOSYS. Some functions are actually named
14470 something starting with __ and the normal name is an alias. */
14471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14472 choke me
14473 #else
14474 char (*f) () = $ac_func;
14475 #endif
14476 #ifdef __cplusplus
14478 #endif
14481 main ()
14483 return f != $ac_func;
14485 return 0;
14487 _ACEOF
14488 rm -f conftest.$ac_objext conftest$ac_exeext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14490 (eval $ac_link) 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try='test -s conftest$ac_exeext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14506 ac_status=$?
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 eval "$as_ac_var=yes"
14510 else
14511 echo "$as_me: failed program was:" >&5
14512 sed 's/^/| /' conftest.$ac_ext >&5
14514 eval "$as_ac_var=no"
14516 rm -f conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14521 if test `eval echo '${'$as_ac_var'}'` = yes; then
14522 cat >>confdefs.h <<_ACEOF
14523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14524 _ACEOF
14527 done
14534 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14535 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14536 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14537 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 else
14543 ac_ext=cc
14544 ac_cpp='$CXXCPP $CPPFLAGS'
14545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14549 cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 #include <math.h>
14557 main ()
14559 ldexpf(0, 0);
14561 return 0;
14563 _ACEOF
14564 rm -f conftest.$ac_objext
14565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14566 (eval $ac_compile) 2>conftest.er1
14567 ac_status=$?
14568 grep -v '^ *+' conftest.er1 >conftest.err
14569 rm -f conftest.er1
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } &&
14573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14576 ac_status=$?
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; } &&
14579 { ac_try='test -s conftest.$ac_objext'
14580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14581 (eval $ac_try) 2>&5
14582 ac_status=$?
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; }; then
14585 glibcxx_cv_func_ldexpf_use=yes
14586 else
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.$ac_ext >&5
14590 glibcxx_cv_func_ldexpf_use=no
14592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14593 ac_ext=c
14594 ac_cpp='$CPP $CPPFLAGS'
14595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14604 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14606 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14608 for ac_func in ldexpf
14610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14611 echo "$as_me:$LINENO: checking for $ac_func" >&5
14612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14613 if eval "test \"\${$as_ac_var+set}\" = set"; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 else
14616 if test x$gcc_no_link = xyes; then
14617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14619 { (exit 1); exit 1; }; }
14621 cat >conftest.$ac_ext <<_ACEOF
14622 /* confdefs.h. */
14623 _ACEOF
14624 cat confdefs.h >>conftest.$ac_ext
14625 cat >>conftest.$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14629 #define $ac_func innocuous_$ac_func
14631 /* System header to define __stub macros and hopefully few prototypes,
14632 which can conflict with char $ac_func (); below.
14633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14634 <limits.h> exists even on freestanding compilers. */
14636 #ifdef __STDC__
14637 # include <limits.h>
14638 #else
14639 # include <assert.h>
14640 #endif
14642 #undef $ac_func
14644 /* Override any gcc2 internal prototype to avoid an error. */
14645 #ifdef __cplusplus
14646 extern "C"
14648 #endif
14649 /* We use char because int might match the return type of a gcc2
14650 builtin and then its argument prototype would still apply. */
14651 char $ac_func ();
14652 /* The GNU C library defines this for functions which it implements
14653 to always fail with ENOSYS. Some functions are actually named
14654 something starting with __ and the normal name is an alias. */
14655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14656 choke me
14657 #else
14658 char (*f) () = $ac_func;
14659 #endif
14660 #ifdef __cplusplus
14662 #endif
14665 main ()
14667 return f != $ac_func;
14669 return 0;
14671 _ACEOF
14672 rm -f conftest.$ac_objext conftest$ac_exeext
14673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14674 (eval $ac_link) 2>conftest.er1
14675 ac_status=$?
14676 grep -v '^ *+' conftest.er1 >conftest.err
14677 rm -f conftest.er1
14678 cat conftest.err >&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } &&
14681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14684 ac_status=$?
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; } &&
14687 { ac_try='test -s conftest$ac_exeext'
14688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14689 (eval $ac_try) 2>&5
14690 ac_status=$?
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); }; }; then
14693 eval "$as_ac_var=yes"
14694 else
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14698 eval "$as_ac_var=no"
14700 rm -f conftest.err conftest.$ac_objext \
14701 conftest$ac_exeext conftest.$ac_ext
14703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14705 if test `eval echo '${'$as_ac_var'}'` = yes; then
14706 cat >>confdefs.h <<_ACEOF
14707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14708 _ACEOF
14711 done
14713 else
14715 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14716 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14717 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14718 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 else
14724 ac_ext=cc
14725 ac_cpp='$CXXCPP $CPPFLAGS'
14726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14730 cat >conftest.$ac_ext <<_ACEOF
14731 /* confdefs.h. */
14732 _ACEOF
14733 cat confdefs.h >>conftest.$ac_ext
14734 cat >>conftest.$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14736 #include <math.h>
14738 main ()
14740 _ldexpf(0, 0);
14742 return 0;
14744 _ACEOF
14745 rm -f conftest.$ac_objext
14746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14747 (eval $ac_compile) 2>conftest.er1
14748 ac_status=$?
14749 grep -v '^ *+' conftest.er1 >conftest.err
14750 rm -f conftest.er1
14751 cat conftest.err >&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } &&
14754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 (eval $ac_try) 2>&5
14757 ac_status=$?
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; } &&
14760 { ac_try='test -s conftest.$ac_objext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14763 ac_status=$?
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then
14766 glibcxx_cv_func__ldexpf_use=yes
14767 else
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14771 glibcxx_cv_func__ldexpf_use=no
14773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14774 ac_ext=c
14775 ac_cpp='$CPP $CPPFLAGS'
14776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14785 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14787 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14789 for ac_func in _ldexpf
14791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14792 echo "$as_me:$LINENO: checking for $ac_func" >&5
14793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14794 if eval "test \"\${$as_ac_var+set}\" = set"; then
14795 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 else
14797 if test x$gcc_no_link = xyes; then
14798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14800 { (exit 1); exit 1; }; }
14802 cat >conftest.$ac_ext <<_ACEOF
14803 /* confdefs.h. */
14804 _ACEOF
14805 cat confdefs.h >>conftest.$ac_ext
14806 cat >>conftest.$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14810 #define $ac_func innocuous_$ac_func
14812 /* System header to define __stub macros and hopefully few prototypes,
14813 which can conflict with char $ac_func (); below.
14814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14815 <limits.h> exists even on freestanding compilers. */
14817 #ifdef __STDC__
14818 # include <limits.h>
14819 #else
14820 # include <assert.h>
14821 #endif
14823 #undef $ac_func
14825 /* Override any gcc2 internal prototype to avoid an error. */
14826 #ifdef __cplusplus
14827 extern "C"
14829 #endif
14830 /* We use char because int might match the return type of a gcc2
14831 builtin and then its argument prototype would still apply. */
14832 char $ac_func ();
14833 /* The GNU C library defines this for functions which it implements
14834 to always fail with ENOSYS. Some functions are actually named
14835 something starting with __ and the normal name is an alias. */
14836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14837 choke me
14838 #else
14839 char (*f) () = $ac_func;
14840 #endif
14841 #ifdef __cplusplus
14843 #endif
14846 main ()
14848 return f != $ac_func;
14850 return 0;
14852 _ACEOF
14853 rm -f conftest.$ac_objext conftest$ac_exeext
14854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14855 (eval $ac_link) 2>conftest.er1
14856 ac_status=$?
14857 grep -v '^ *+' conftest.er1 >conftest.err
14858 rm -f conftest.er1
14859 cat conftest.err >&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); } &&
14862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14865 ac_status=$?
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; } &&
14868 { ac_try='test -s conftest$ac_exeext'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14874 eval "$as_ac_var=yes"
14875 else
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14879 eval "$as_ac_var=no"
14881 rm -f conftest.err conftest.$ac_objext \
14882 conftest$ac_exeext conftest.$ac_ext
14884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14886 if test `eval echo '${'$as_ac_var'}'` = yes; then
14887 cat >>confdefs.h <<_ACEOF
14888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14889 _ACEOF
14892 done
14899 echo "$as_me:$LINENO: checking for logf declaration" >&5
14900 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
14901 if test x${glibcxx_cv_func_logf_use+set} != xset; then
14902 if test "${glibcxx_cv_func_logf_use+set}" = set; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 else
14908 ac_ext=cc
14909 ac_cpp='$CXXCPP $CPPFLAGS'
14910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h. */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 #include <math.h>
14921 #ifdef HAVE_IEEEFP_H
14922 #include <ieeefp.h>
14923 #endif
14926 main ()
14928 logf(0);
14930 return 0;
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14936 ac_status=$?
14937 grep -v '^ *+' conftest.er1 >conftest.err
14938 rm -f conftest.er1
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14954 glibcxx_cv_func_logf_use=yes
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14959 glibcxx_cv_func_logf_use=no
14961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14962 ac_ext=c
14963 ac_cpp='$CPP $CPPFLAGS'
14964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
14973 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
14975 if test x$glibcxx_cv_func_logf_use = x"yes"; then
14977 for ac_func in logf
14979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14980 echo "$as_me:$LINENO: checking for $ac_func" >&5
14981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14982 if eval "test \"\${$as_ac_var+set}\" = set"; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985 if test x$gcc_no_link = xyes; then
14986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14988 { (exit 1); exit 1; }; }
14990 cat >conftest.$ac_ext <<_ACEOF
14991 /* confdefs.h. */
14992 _ACEOF
14993 cat confdefs.h >>conftest.$ac_ext
14994 cat >>conftest.$ac_ext <<_ACEOF
14995 /* end confdefs.h. */
14996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14998 #define $ac_func innocuous_$ac_func
15000 /* System header to define __stub macros and hopefully few prototypes,
15001 which can conflict with char $ac_func (); below.
15002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15003 <limits.h> exists even on freestanding compilers. */
15005 #ifdef __STDC__
15006 # include <limits.h>
15007 #else
15008 # include <assert.h>
15009 #endif
15011 #undef $ac_func
15013 /* Override any gcc2 internal prototype to avoid an error. */
15014 #ifdef __cplusplus
15015 extern "C"
15017 #endif
15018 /* We use char because int might match the return type of a gcc2
15019 builtin and then its argument prototype would still apply. */
15020 char $ac_func ();
15021 /* The GNU C library defines this for functions which it implements
15022 to always fail with ENOSYS. Some functions are actually named
15023 something starting with __ and the normal name is an alias. */
15024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15025 choke me
15026 #else
15027 char (*f) () = $ac_func;
15028 #endif
15029 #ifdef __cplusplus
15031 #endif
15034 main ()
15036 return f != $ac_func;
15038 return 0;
15040 _ACEOF
15041 rm -f conftest.$ac_objext conftest$ac_exeext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15043 (eval $ac_link) 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15053 ac_status=$?
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; } &&
15056 { ac_try='test -s conftest$ac_exeext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 eval "$as_ac_var=yes"
15063 else
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.$ac_ext >&5
15067 eval "$as_ac_var=no"
15069 rm -f conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15074 if test `eval echo '${'$as_ac_var'}'` = yes; then
15075 cat >>confdefs.h <<_ACEOF
15076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15077 _ACEOF
15080 done
15082 else
15084 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15085 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15086 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15087 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 else
15093 ac_ext=cc
15094 ac_cpp='$CXXCPP $CPPFLAGS'
15095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15099 cat >conftest.$ac_ext <<_ACEOF
15100 /* confdefs.h. */
15101 _ACEOF
15102 cat confdefs.h >>conftest.$ac_ext
15103 cat >>conftest.$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 #include <math.h>
15106 #ifdef HAVE_IEEEFP_H
15107 #include <ieeefp.h>
15108 #endif
15111 main ()
15113 _logf(0);
15115 return 0;
15117 _ACEOF
15118 rm -f conftest.$ac_objext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15120 (eval $ac_compile) 2>conftest.er1
15121 ac_status=$?
15122 grep -v '^ *+' conftest.er1 >conftest.err
15123 rm -f conftest.er1
15124 cat conftest.err >&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15130 ac_status=$?
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; } &&
15133 { ac_try='test -s conftest.$ac_objext'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15136 ac_status=$?
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; }; then
15139 glibcxx_cv_func__logf_use=yes
15140 else
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15144 glibcxx_cv_func__logf_use=no
15146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15158 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15160 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15162 for ac_func in _logf
15164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15165 echo "$as_me:$LINENO: checking for $ac_func" >&5
15166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15167 if eval "test \"\${$as_ac_var+set}\" = set"; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15169 else
15170 if test x$gcc_no_link = xyes; then
15171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15173 { (exit 1); exit 1; }; }
15175 cat >conftest.$ac_ext <<_ACEOF
15176 /* confdefs.h. */
15177 _ACEOF
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15183 #define $ac_func innocuous_$ac_func
15185 /* System header to define __stub macros and hopefully few prototypes,
15186 which can conflict with char $ac_func (); below.
15187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15188 <limits.h> exists even on freestanding compilers. */
15190 #ifdef __STDC__
15191 # include <limits.h>
15192 #else
15193 # include <assert.h>
15194 #endif
15196 #undef $ac_func
15198 /* Override any gcc2 internal prototype to avoid an error. */
15199 #ifdef __cplusplus
15200 extern "C"
15202 #endif
15203 /* We use char because int might match the return type of a gcc2
15204 builtin and then its argument prototype would still apply. */
15205 char $ac_func ();
15206 /* The GNU C library defines this for functions which it implements
15207 to always fail with ENOSYS. Some functions are actually named
15208 something starting with __ and the normal name is an alias. */
15209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15210 choke me
15211 #else
15212 char (*f) () = $ac_func;
15213 #endif
15214 #ifdef __cplusplus
15216 #endif
15219 main ()
15221 return f != $ac_func;
15223 return 0;
15225 _ACEOF
15226 rm -f conftest.$ac_objext conftest$ac_exeext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15228 (eval $ac_link) 2>conftest.er1
15229 ac_status=$?
15230 grep -v '^ *+' conftest.er1 >conftest.err
15231 rm -f conftest.er1
15232 cat conftest.err >&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; } &&
15241 { ac_try='test -s conftest$ac_exeext'
15242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243 (eval $ac_try) 2>&5
15244 ac_status=$?
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); }; }; then
15247 eval "$as_ac_var=yes"
15248 else
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.$ac_ext >&5
15252 eval "$as_ac_var=no"
15254 rm -f conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15259 if test `eval echo '${'$as_ac_var'}'` = yes; then
15260 cat >>confdefs.h <<_ACEOF
15261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15262 _ACEOF
15265 done
15272 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15273 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15274 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15275 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 else
15281 ac_ext=cc
15282 ac_cpp='$CXXCPP $CPPFLAGS'
15283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15287 cat >conftest.$ac_ext <<_ACEOF
15288 /* confdefs.h. */
15289 _ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293 #include <math.h>
15294 #ifdef HAVE_IEEEFP_H
15295 #include <ieeefp.h>
15296 #endif
15299 main ()
15301 log10f(0);
15303 return 0;
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15309 ac_status=$?
15310 grep -v '^ *+' conftest.er1 >conftest.err
15311 rm -f conftest.er1
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 glibcxx_cv_func_log10f_use=yes
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 glibcxx_cv_func_log10f_use=no
15334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15335 ac_ext=c
15336 ac_cpp='$CPP $CPPFLAGS'
15337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15346 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15348 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15350 for ac_func in log10f
15352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15353 echo "$as_me:$LINENO: checking for $ac_func" >&5
15354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15355 if eval "test \"\${$as_ac_var+set}\" = set"; then
15356 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 else
15358 if test x$gcc_no_link = xyes; then
15359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15361 { (exit 1); exit 1; }; }
15363 cat >conftest.$ac_ext <<_ACEOF
15364 /* confdefs.h. */
15365 _ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15371 #define $ac_func innocuous_$ac_func
15373 /* System header to define __stub macros and hopefully few prototypes,
15374 which can conflict with char $ac_func (); below.
15375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15376 <limits.h> exists even on freestanding compilers. */
15378 #ifdef __STDC__
15379 # include <limits.h>
15380 #else
15381 # include <assert.h>
15382 #endif
15384 #undef $ac_func
15386 /* Override any gcc2 internal prototype to avoid an error. */
15387 #ifdef __cplusplus
15388 extern "C"
15390 #endif
15391 /* We use char because int might match the return type of a gcc2
15392 builtin and then its argument prototype would still apply. */
15393 char $ac_func ();
15394 /* The GNU C library defines this for functions which it implements
15395 to always fail with ENOSYS. Some functions are actually named
15396 something starting with __ and the normal name is an alias. */
15397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15398 choke me
15399 #else
15400 char (*f) () = $ac_func;
15401 #endif
15402 #ifdef __cplusplus
15404 #endif
15407 main ()
15409 return f != $ac_func;
15411 return 0;
15413 _ACEOF
15414 rm -f conftest.$ac_objext conftest$ac_exeext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15416 (eval $ac_link) 2>conftest.er1
15417 ac_status=$?
15418 grep -v '^ *+' conftest.er1 >conftest.err
15419 rm -f conftest.er1
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
15423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; } &&
15429 { ac_try='test -s conftest$ac_exeext'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15432 ac_status=$?
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 eval "$as_ac_var=yes"
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15440 eval "$as_ac_var=no"
15442 rm -f conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15447 if test `eval echo '${'$as_ac_var'}'` = yes; then
15448 cat >>confdefs.h <<_ACEOF
15449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15450 _ACEOF
15453 done
15455 else
15457 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15458 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15459 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15460 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15466 ac_ext=cc
15467 ac_cpp='$CXXCPP $CPPFLAGS'
15468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15472 cat >conftest.$ac_ext <<_ACEOF
15473 /* confdefs.h. */
15474 _ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478 #include <math.h>
15479 #ifdef HAVE_IEEEFP_H
15480 #include <ieeefp.h>
15481 #endif
15484 main ()
15486 _log10f(0);
15488 return 0;
15490 _ACEOF
15491 rm -f conftest.$ac_objext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15493 (eval $ac_compile) 2>conftest.er1
15494 ac_status=$?
15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
15500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15503 ac_status=$?
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; } &&
15506 { ac_try='test -s conftest.$ac_objext'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15509 ac_status=$?
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then
15512 glibcxx_cv_func__log10f_use=yes
15513 else
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.$ac_ext >&5
15517 glibcxx_cv_func__log10f_use=no
15519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15520 ac_ext=c
15521 ac_cpp='$CPP $CPPFLAGS'
15522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15531 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15533 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15535 for ac_func in _log10f
15537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15538 echo "$as_me:$LINENO: checking for $ac_func" >&5
15539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15540 if eval "test \"\${$as_ac_var+set}\" = set"; then
15541 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 else
15543 if test x$gcc_no_link = xyes; then
15544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15546 { (exit 1); exit 1; }; }
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15556 #define $ac_func innocuous_$ac_func
15558 /* System header to define __stub macros and hopefully few prototypes,
15559 which can conflict with char $ac_func (); below.
15560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15561 <limits.h> exists even on freestanding compilers. */
15563 #ifdef __STDC__
15564 # include <limits.h>
15565 #else
15566 # include <assert.h>
15567 #endif
15569 #undef $ac_func
15571 /* Override any gcc2 internal prototype to avoid an error. */
15572 #ifdef __cplusplus
15573 extern "C"
15575 #endif
15576 /* We use char because int might match the return type of a gcc2
15577 builtin and then its argument prototype would still apply. */
15578 char $ac_func ();
15579 /* The GNU C library defines this for functions which it implements
15580 to always fail with ENOSYS. Some functions are actually named
15581 something starting with __ and the normal name is an alias. */
15582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15583 choke me
15584 #else
15585 char (*f) () = $ac_func;
15586 #endif
15587 #ifdef __cplusplus
15589 #endif
15592 main ()
15594 return f != $ac_func;
15596 return 0;
15598 _ACEOF
15599 rm -f conftest.$ac_objext conftest$ac_exeext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15601 (eval $ac_link) 2>conftest.er1
15602 ac_status=$?
15603 grep -v '^ *+' conftest.er1 >conftest.err
15604 rm -f conftest.er1
15605 cat conftest.err >&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15611 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try='test -s conftest$ac_exeext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15617 ac_status=$?
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 eval "$as_ac_var=yes"
15621 else
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15625 eval "$as_ac_var=no"
15627 rm -f conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15632 if test `eval echo '${'$as_ac_var'}'` = yes; then
15633 cat >>confdefs.h <<_ACEOF
15634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15635 _ACEOF
15638 done
15645 echo "$as_me:$LINENO: checking for modff declaration" >&5
15646 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15647 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15648 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15654 ac_ext=cc
15655 ac_cpp='$CXXCPP $CPPFLAGS'
15656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 #include <math.h>
15668 main ()
15670 modff(0, 0);
15672 return 0;
15674 _ACEOF
15675 rm -f conftest.$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15678 ac_status=$?
15679 grep -v '^ *+' conftest.er1 >conftest.err
15680 rm -f conftest.er1
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15687 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15696 glibcxx_cv_func_modff_use=yes
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15701 glibcxx_cv_func_modff_use=no
15703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15704 ac_ext=c
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15715 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15717 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15719 for ac_func in modff
15721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15722 echo "$as_me:$LINENO: checking for $ac_func" >&5
15723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15724 if eval "test \"\${$as_ac_var+set}\" = set"; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 else
15727 if test x$gcc_no_link = xyes; then
15728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15730 { (exit 1); exit 1; }; }
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15740 #define $ac_func innocuous_$ac_func
15742 /* System header to define __stub macros and hopefully few prototypes,
15743 which can conflict with char $ac_func (); below.
15744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15745 <limits.h> exists even on freestanding compilers. */
15747 #ifdef __STDC__
15748 # include <limits.h>
15749 #else
15750 # include <assert.h>
15751 #endif
15753 #undef $ac_func
15755 /* Override any gcc2 internal prototype to avoid an error. */
15756 #ifdef __cplusplus
15757 extern "C"
15759 #endif
15760 /* We use char because int might match the return type of a gcc2
15761 builtin and then its argument prototype would still apply. */
15762 char $ac_func ();
15763 /* The GNU C library defines this for functions which it implements
15764 to always fail with ENOSYS. Some functions are actually named
15765 something starting with __ and the normal name is an alias. */
15766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15767 choke me
15768 #else
15769 char (*f) () = $ac_func;
15770 #endif
15771 #ifdef __cplusplus
15773 #endif
15776 main ()
15778 return f != $ac_func;
15780 return 0;
15782 _ACEOF
15783 rm -f conftest.$ac_objext conftest$ac_exeext
15784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15785 (eval $ac_link) 2>conftest.er1
15786 ac_status=$?
15787 grep -v '^ *+' conftest.er1 >conftest.err
15788 rm -f conftest.er1
15789 cat conftest.err >&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } &&
15792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15795 ac_status=$?
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; } &&
15798 { ac_try='test -s conftest$ac_exeext'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15801 ac_status=$?
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 eval "$as_ac_var=yes"
15805 else
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15809 eval "$as_ac_var=no"
15811 rm -f conftest.err conftest.$ac_objext \
15812 conftest$ac_exeext conftest.$ac_ext
15814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15816 if test `eval echo '${'$as_ac_var'}'` = yes; then
15817 cat >>confdefs.h <<_ACEOF
15818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15819 _ACEOF
15822 done
15824 else
15826 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15827 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15828 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15829 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15830 echo $ECHO_N "(cached) $ECHO_C" >&6
15831 else
15835 ac_ext=cc
15836 ac_cpp='$CXXCPP $CPPFLAGS'
15837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15841 cat >conftest.$ac_ext <<_ACEOF
15842 /* confdefs.h. */
15843 _ACEOF
15844 cat confdefs.h >>conftest.$ac_ext
15845 cat >>conftest.$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 #include <math.h>
15849 main ()
15851 _modff(0, 0);
15853 return 0;
15855 _ACEOF
15856 rm -f conftest.$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>conftest.er1
15859 ac_status=$?
15860 grep -v '^ *+' conftest.er1 >conftest.err
15861 rm -f conftest.er1
15862 cat conftest.err >&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15868 ac_status=$?
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; } &&
15871 { ac_try='test -s conftest.$ac_objext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 glibcxx_cv_func__modff_use=yes
15878 else
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15882 glibcxx_cv_func__modff_use=no
15884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15885 ac_ext=c
15886 ac_cpp='$CPP $CPPFLAGS'
15887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
15896 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
15898 if test x$glibcxx_cv_func__modff_use = x"yes"; then
15900 for ac_func in _modff
15902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15903 echo "$as_me:$LINENO: checking for $ac_func" >&5
15904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15905 if eval "test \"\${$as_ac_var+set}\" = set"; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 else
15908 if test x$gcc_no_link = xyes; then
15909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15911 { (exit 1); exit 1; }; }
15913 cat >conftest.$ac_ext <<_ACEOF
15914 /* confdefs.h. */
15915 _ACEOF
15916 cat confdefs.h >>conftest.$ac_ext
15917 cat >>conftest.$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15921 #define $ac_func innocuous_$ac_func
15923 /* System header to define __stub macros and hopefully few prototypes,
15924 which can conflict with char $ac_func (); below.
15925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15926 <limits.h> exists even on freestanding compilers. */
15928 #ifdef __STDC__
15929 # include <limits.h>
15930 #else
15931 # include <assert.h>
15932 #endif
15934 #undef $ac_func
15936 /* Override any gcc2 internal prototype to avoid an error. */
15937 #ifdef __cplusplus
15938 extern "C"
15940 #endif
15941 /* We use char because int might match the return type of a gcc2
15942 builtin and then its argument prototype would still apply. */
15943 char $ac_func ();
15944 /* The GNU C library defines this for functions which it implements
15945 to always fail with ENOSYS. Some functions are actually named
15946 something starting with __ and the normal name is an alias. */
15947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15948 choke me
15949 #else
15950 char (*f) () = $ac_func;
15951 #endif
15952 #ifdef __cplusplus
15954 #endif
15957 main ()
15959 return f != $ac_func;
15961 return 0;
15963 _ACEOF
15964 rm -f conftest.$ac_objext conftest$ac_exeext
15965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15966 (eval $ac_link) 2>conftest.er1
15967 ac_status=$?
15968 grep -v '^ *+' conftest.er1 >conftest.err
15969 rm -f conftest.er1
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } &&
15973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest$ac_exeext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 eval "$as_ac_var=yes"
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15990 eval "$as_ac_var=no"
15992 rm -f conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext conftest.$ac_ext
15995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15997 if test `eval echo '${'$as_ac_var'}'` = yes; then
15998 cat >>confdefs.h <<_ACEOF
15999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16000 _ACEOF
16003 done
16010 echo "$as_me:$LINENO: checking for powf declaration" >&5
16011 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16012 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16013 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16019 ac_ext=cc
16020 ac_cpp='$CXXCPP $CPPFLAGS'
16021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16025 cat >conftest.$ac_ext <<_ACEOF
16026 /* confdefs.h. */
16027 _ACEOF
16028 cat confdefs.h >>conftest.$ac_ext
16029 cat >>conftest.$ac_ext <<_ACEOF
16030 /* end confdefs.h. */
16031 #include <math.h>
16033 main ()
16035 powf(0, 0);
16037 return 0;
16039 _ACEOF
16040 rm -f conftest.$ac_objext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>conftest.er1
16043 ac_status=$?
16044 grep -v '^ *+' conftest.er1 >conftest.err
16045 rm -f conftest.er1
16046 cat conftest.err >&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; } &&
16055 { ac_try='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16058 ac_status=$?
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 glibcxx_cv_func_powf_use=yes
16062 else
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16066 glibcxx_cv_func_powf_use=no
16068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16069 ac_ext=c
16070 ac_cpp='$CPP $CPPFLAGS'
16071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16080 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16082 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16084 for ac_func in powf
16086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16087 echo "$as_me:$LINENO: checking for $ac_func" >&5
16088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16089 if eval "test \"\${$as_ac_var+set}\" = set"; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092 if test x$gcc_no_link = xyes; then
16093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16095 { (exit 1); exit 1; }; }
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16105 #define $ac_func innocuous_$ac_func
16107 /* System header to define __stub macros and hopefully few prototypes,
16108 which can conflict with char $ac_func (); below.
16109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16110 <limits.h> exists even on freestanding compilers. */
16112 #ifdef __STDC__
16113 # include <limits.h>
16114 #else
16115 # include <assert.h>
16116 #endif
16118 #undef $ac_func
16120 /* Override any gcc2 internal prototype to avoid an error. */
16121 #ifdef __cplusplus
16122 extern "C"
16124 #endif
16125 /* We use char because int might match the return type of a gcc2
16126 builtin and then its argument prototype would still apply. */
16127 char $ac_func ();
16128 /* The GNU C library defines this for functions which it implements
16129 to always fail with ENOSYS. Some functions are actually named
16130 something starting with __ and the normal name is an alias. */
16131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16132 choke me
16133 #else
16134 char (*f) () = $ac_func;
16135 #endif
16136 #ifdef __cplusplus
16138 #endif
16141 main ()
16143 return f != $ac_func;
16145 return 0;
16147 _ACEOF
16148 rm -f conftest.$ac_objext conftest$ac_exeext
16149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16150 (eval $ac_link) 2>conftest.er1
16151 ac_status=$?
16152 grep -v '^ *+' conftest.er1 >conftest.err
16153 rm -f conftest.er1
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } &&
16157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16160 ac_status=$?
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; } &&
16163 { ac_try='test -s conftest$ac_exeext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 eval "$as_ac_var=yes"
16170 else
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16174 eval "$as_ac_var=no"
16176 rm -f conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16181 if test `eval echo '${'$as_ac_var'}'` = yes; then
16182 cat >>confdefs.h <<_ACEOF
16183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16184 _ACEOF
16187 done
16189 else
16191 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16192 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16193 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16194 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 else
16200 ac_ext=cc
16201 ac_cpp='$CXXCPP $CPPFLAGS'
16202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16206 cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h. */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 #include <math.h>
16214 main ()
16216 _powf(0, 0);
16218 return 0;
16220 _ACEOF
16221 rm -f conftest.$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 glibcxx_cv_func__powf_use=yes
16243 else
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16247 glibcxx_cv_func__powf_use=no
16249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16250 ac_ext=c
16251 ac_cpp='$CPP $CPPFLAGS'
16252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16261 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16263 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16265 for ac_func in _powf
16267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16268 echo "$as_me:$LINENO: checking for $ac_func" >&5
16269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16270 if eval "test \"\${$as_ac_var+set}\" = set"; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16272 else
16273 if test x$gcc_no_link = xyes; then
16274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16276 { (exit 1); exit 1; }; }
16278 cat >conftest.$ac_ext <<_ACEOF
16279 /* confdefs.h. */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16286 #define $ac_func innocuous_$ac_func
16288 /* System header to define __stub macros and hopefully few prototypes,
16289 which can conflict with char $ac_func (); below.
16290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16291 <limits.h> exists even on freestanding compilers. */
16293 #ifdef __STDC__
16294 # include <limits.h>
16295 #else
16296 # include <assert.h>
16297 #endif
16299 #undef $ac_func
16301 /* Override any gcc2 internal prototype to avoid an error. */
16302 #ifdef __cplusplus
16303 extern "C"
16305 #endif
16306 /* We use char because int might match the return type of a gcc2
16307 builtin and then its argument prototype would still apply. */
16308 char $ac_func ();
16309 /* The GNU C library defines this for functions which it implements
16310 to always fail with ENOSYS. Some functions are actually named
16311 something starting with __ and the normal name is an alias. */
16312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16313 choke me
16314 #else
16315 char (*f) () = $ac_func;
16316 #endif
16317 #ifdef __cplusplus
16319 #endif
16322 main ()
16324 return f != $ac_func;
16326 return 0;
16328 _ACEOF
16329 rm -f conftest.$ac_objext conftest$ac_exeext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16331 (eval $ac_link) 2>conftest.er1
16332 ac_status=$?
16333 grep -v '^ *+' conftest.er1 >conftest.err
16334 rm -f conftest.er1
16335 cat conftest.err >&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } &&
16338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest$ac_exeext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16350 eval "$as_ac_var=yes"
16351 else
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16355 eval "$as_ac_var=no"
16357 rm -f conftest.err conftest.$ac_objext \
16358 conftest$ac_exeext conftest.$ac_ext
16360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16362 if test `eval echo '${'$as_ac_var'}'` = yes; then
16363 cat >>confdefs.h <<_ACEOF
16364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16365 _ACEOF
16368 done
16375 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16376 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16377 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16378 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 else
16384 ac_ext=cc
16385 ac_cpp='$CXXCPP $CPPFLAGS'
16386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 #include <math.h>
16397 #ifdef HAVE_IEEEFP_H
16398 #include <ieeefp.h>
16399 #endif
16402 main ()
16404 sqrtf(0);
16406 return 0;
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16412 ac_status=$?
16413 grep -v '^ *+' conftest.er1 >conftest.err
16414 rm -f conftest.er1
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16421 ac_status=$?
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; } &&
16424 { ac_try='test -s conftest.$ac_objext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16430 glibcxx_cv_func_sqrtf_use=yes
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16435 glibcxx_cv_func_sqrtf_use=no
16437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16438 ac_ext=c
16439 ac_cpp='$CPP $CPPFLAGS'
16440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16448 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16449 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16451 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16453 for ac_func in sqrtf
16455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16456 echo "$as_me:$LINENO: checking for $ac_func" >&5
16457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16458 if eval "test \"\${$as_ac_var+set}\" = set"; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 else
16461 if test x$gcc_no_link = xyes; then
16462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16464 { (exit 1); exit 1; }; }
16466 cat >conftest.$ac_ext <<_ACEOF
16467 /* confdefs.h. */
16468 _ACEOF
16469 cat confdefs.h >>conftest.$ac_ext
16470 cat >>conftest.$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16474 #define $ac_func innocuous_$ac_func
16476 /* System header to define __stub macros and hopefully few prototypes,
16477 which can conflict with char $ac_func (); below.
16478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16479 <limits.h> exists even on freestanding compilers. */
16481 #ifdef __STDC__
16482 # include <limits.h>
16483 #else
16484 # include <assert.h>
16485 #endif
16487 #undef $ac_func
16489 /* Override any gcc2 internal prototype to avoid an error. */
16490 #ifdef __cplusplus
16491 extern "C"
16493 #endif
16494 /* We use char because int might match the return type of a gcc2
16495 builtin and then its argument prototype would still apply. */
16496 char $ac_func ();
16497 /* The GNU C library defines this for functions which it implements
16498 to always fail with ENOSYS. Some functions are actually named
16499 something starting with __ and the normal name is an alias. */
16500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16501 choke me
16502 #else
16503 char (*f) () = $ac_func;
16504 #endif
16505 #ifdef __cplusplus
16507 #endif
16510 main ()
16512 return f != $ac_func;
16514 return 0;
16516 _ACEOF
16517 rm -f conftest.$ac_objext conftest$ac_exeext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16519 (eval $ac_link) 2>conftest.er1
16520 ac_status=$?
16521 grep -v '^ *+' conftest.er1 >conftest.err
16522 rm -f conftest.er1
16523 cat conftest.err >&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try='test -s conftest$ac_exeext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16538 eval "$as_ac_var=yes"
16539 else
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16543 eval "$as_ac_var=no"
16545 rm -f conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16550 if test `eval echo '${'$as_ac_var'}'` = yes; then
16551 cat >>confdefs.h <<_ACEOF
16552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16553 _ACEOF
16556 done
16558 else
16560 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16561 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16562 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16563 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 else
16569 ac_ext=cc
16570 ac_cpp='$CXXCPP $CPPFLAGS'
16571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16575 cat >conftest.$ac_ext <<_ACEOF
16576 /* confdefs.h. */
16577 _ACEOF
16578 cat confdefs.h >>conftest.$ac_ext
16579 cat >>conftest.$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 #include <math.h>
16582 #ifdef HAVE_IEEEFP_H
16583 #include <ieeefp.h>
16584 #endif
16587 main ()
16589 _sqrtf(0);
16591 return 0;
16593 _ACEOF
16594 rm -f conftest.$ac_objext
16595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16596 (eval $ac_compile) 2>conftest.er1
16597 ac_status=$?
16598 grep -v '^ *+' conftest.er1 >conftest.err
16599 rm -f conftest.er1
16600 cat conftest.err >&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } &&
16603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; } &&
16609 { ac_try='test -s conftest.$ac_objext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 glibcxx_cv_func__sqrtf_use=yes
16616 else
16617 echo "$as_me: failed program was:" >&5
16618 sed 's/^/| /' conftest.$ac_ext >&5
16620 glibcxx_cv_func__sqrtf_use=no
16622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16623 ac_ext=c
16624 ac_cpp='$CPP $CPPFLAGS'
16625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16634 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16636 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16638 for ac_func in _sqrtf
16640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16641 echo "$as_me:$LINENO: checking for $ac_func" >&5
16642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16643 if eval "test \"\${$as_ac_var+set}\" = set"; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 if test x$gcc_no_link = xyes; then
16647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16649 { (exit 1); exit 1; }; }
16651 cat >conftest.$ac_ext <<_ACEOF
16652 /* confdefs.h. */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16659 #define $ac_func innocuous_$ac_func
16661 /* System header to define __stub macros and hopefully few prototypes,
16662 which can conflict with char $ac_func (); below.
16663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16664 <limits.h> exists even on freestanding compilers. */
16666 #ifdef __STDC__
16667 # include <limits.h>
16668 #else
16669 # include <assert.h>
16670 #endif
16672 #undef $ac_func
16674 /* Override any gcc2 internal prototype to avoid an error. */
16675 #ifdef __cplusplus
16676 extern "C"
16678 #endif
16679 /* We use char because int might match the return type of a gcc2
16680 builtin and then its argument prototype would still apply. */
16681 char $ac_func ();
16682 /* The GNU C library defines this for functions which it implements
16683 to always fail with ENOSYS. Some functions are actually named
16684 something starting with __ and the normal name is an alias. */
16685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16686 choke me
16687 #else
16688 char (*f) () = $ac_func;
16689 #endif
16690 #ifdef __cplusplus
16692 #endif
16695 main ()
16697 return f != $ac_func;
16699 return 0;
16701 _ACEOF
16702 rm -f conftest.$ac_objext conftest$ac_exeext
16703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16704 (eval $ac_link) 2>conftest.er1
16705 ac_status=$?
16706 grep -v '^ *+' conftest.er1 >conftest.err
16707 rm -f conftest.er1
16708 cat conftest.err >&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } &&
16711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 eval "$as_ac_var=yes"
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 eval "$as_ac_var=no"
16730 rm -f conftest.err conftest.$ac_objext \
16731 conftest$ac_exeext conftest.$ac_ext
16733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16735 if test `eval echo '${'$as_ac_var'}'` = yes; then
16736 cat >>confdefs.h <<_ACEOF
16737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16738 _ACEOF
16741 done
16748 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16749 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16750 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16751 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 else
16757 ac_ext=cc
16758 ac_cpp='$CXXCPP $CPPFLAGS'
16759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16763 cat >conftest.$ac_ext <<_ACEOF
16764 /* confdefs.h. */
16765 _ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 #include <math.h>
16771 main ()
16773 sincosf(0, 0, 0);
16775 return 0;
16777 _ACEOF
16778 rm -f conftest.$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>conftest.er1
16781 ac_status=$?
16782 grep -v '^ *+' conftest.er1 >conftest.err
16783 rm -f conftest.er1
16784 cat conftest.err >&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } &&
16787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16790 ac_status=$?
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16796 ac_status=$?
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 glibcxx_cv_func_sincosf_use=yes
16800 else
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16804 glibcxx_cv_func_sincosf_use=no
16806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16807 ac_ext=c
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16818 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16820 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16822 for ac_func in sincosf
16824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16825 echo "$as_me:$LINENO: checking for $ac_func" >&5
16826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16827 if eval "test \"\${$as_ac_var+set}\" = set"; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 if test x$gcc_no_link = xyes; then
16831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16833 { (exit 1); exit 1; }; }
16835 cat >conftest.$ac_ext <<_ACEOF
16836 /* confdefs.h. */
16837 _ACEOF
16838 cat confdefs.h >>conftest.$ac_ext
16839 cat >>conftest.$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16843 #define $ac_func innocuous_$ac_func
16845 /* System header to define __stub macros and hopefully few prototypes,
16846 which can conflict with char $ac_func (); below.
16847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16848 <limits.h> exists even on freestanding compilers. */
16850 #ifdef __STDC__
16851 # include <limits.h>
16852 #else
16853 # include <assert.h>
16854 #endif
16856 #undef $ac_func
16858 /* Override any gcc2 internal prototype to avoid an error. */
16859 #ifdef __cplusplus
16860 extern "C"
16862 #endif
16863 /* We use char because int might match the return type of a gcc2
16864 builtin and then its argument prototype would still apply. */
16865 char $ac_func ();
16866 /* The GNU C library defines this for functions which it implements
16867 to always fail with ENOSYS. Some functions are actually named
16868 something starting with __ and the normal name is an alias. */
16869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16870 choke me
16871 #else
16872 char (*f) () = $ac_func;
16873 #endif
16874 #ifdef __cplusplus
16876 #endif
16879 main ()
16881 return f != $ac_func;
16883 return 0;
16885 _ACEOF
16886 rm -f conftest.$ac_objext conftest$ac_exeext
16887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16888 (eval $ac_link) 2>conftest.er1
16889 ac_status=$?
16890 grep -v '^ *+' conftest.er1 >conftest.err
16891 rm -f conftest.er1
16892 cat conftest.err >&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } &&
16895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16897 (eval $ac_try) 2>&5
16898 ac_status=$?
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }; } &&
16901 { ac_try='test -s conftest$ac_exeext'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16904 ac_status=$?
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; }; then
16907 eval "$as_ac_var=yes"
16908 else
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.$ac_ext >&5
16912 eval "$as_ac_var=no"
16914 rm -f conftest.err conftest.$ac_objext \
16915 conftest$ac_exeext conftest.$ac_ext
16917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16919 if test `eval echo '${'$as_ac_var'}'` = yes; then
16920 cat >>confdefs.h <<_ACEOF
16921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16922 _ACEOF
16925 done
16927 else
16929 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
16930 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
16931 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
16932 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 else
16938 ac_ext=cc
16939 ac_cpp='$CXXCPP $CPPFLAGS'
16940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 #include <math.h>
16952 main ()
16954 _sincosf(0, 0, 0);
16956 return 0;
16958 _ACEOF
16959 rm -f conftest.$ac_objext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16961 (eval $ac_compile) 2>conftest.er1
16962 ac_status=$?
16963 grep -v '^ *+' conftest.er1 >conftest.err
16964 rm -f conftest.er1
16965 cat conftest.err >&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); } &&
16968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970 (eval $ac_try) 2>&5
16971 ac_status=$?
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; } &&
16974 { ac_try='test -s conftest.$ac_objext'
16975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976 (eval $ac_try) 2>&5
16977 ac_status=$?
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); }; }; then
16980 glibcxx_cv_func__sincosf_use=yes
16981 else
16982 echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16985 glibcxx_cv_func__sincosf_use=no
16987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16988 ac_ext=c
16989 ac_cpp='$CPP $CPPFLAGS'
16990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
16999 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17001 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17003 for ac_func in _sincosf
17005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17006 echo "$as_me:$LINENO: checking for $ac_func" >&5
17007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17008 if eval "test \"\${$as_ac_var+set}\" = set"; then
17009 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 else
17011 if test x$gcc_no_link = xyes; then
17012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17014 { (exit 1); exit 1; }; }
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h. */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17024 #define $ac_func innocuous_$ac_func
17026 /* System header to define __stub macros and hopefully few prototypes,
17027 which can conflict with char $ac_func (); below.
17028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17029 <limits.h> exists even on freestanding compilers. */
17031 #ifdef __STDC__
17032 # include <limits.h>
17033 #else
17034 # include <assert.h>
17035 #endif
17037 #undef $ac_func
17039 /* Override any gcc2 internal prototype to avoid an error. */
17040 #ifdef __cplusplus
17041 extern "C"
17043 #endif
17044 /* We use char because int might match the return type of a gcc2
17045 builtin and then its argument prototype would still apply. */
17046 char $ac_func ();
17047 /* The GNU C library defines this for functions which it implements
17048 to always fail with ENOSYS. Some functions are actually named
17049 something starting with __ and the normal name is an alias. */
17050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17051 choke me
17052 #else
17053 char (*f) () = $ac_func;
17054 #endif
17055 #ifdef __cplusplus
17057 #endif
17060 main ()
17062 return f != $ac_func;
17064 return 0;
17066 _ACEOF
17067 rm -f conftest.$ac_objext conftest$ac_exeext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17069 (eval $ac_link) 2>conftest.er1
17070 ac_status=$?
17071 grep -v '^ *+' conftest.er1 >conftest.err
17072 rm -f conftest.er1
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } &&
17076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; } &&
17082 { ac_try='test -s conftest$ac_exeext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 eval "$as_ac_var=yes"
17089 else
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17093 eval "$as_ac_var=no"
17095 rm -f conftest.err conftest.$ac_objext \
17096 conftest$ac_exeext conftest.$ac_ext
17098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17100 if test `eval echo '${'$as_ac_var'}'` = yes; then
17101 cat >>confdefs.h <<_ACEOF
17102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17103 _ACEOF
17106 done
17113 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17114 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17115 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17116 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 else
17122 ac_ext=cc
17123 ac_cpp='$CXXCPP $CPPFLAGS'
17124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128 cat >conftest.$ac_ext <<_ACEOF
17129 /* confdefs.h. */
17130 _ACEOF
17131 cat confdefs.h >>conftest.$ac_ext
17132 cat >>conftest.$ac_ext <<_ACEOF
17133 /* end confdefs.h. */
17134 #include <math.h>
17135 #ifdef HAVE_IEEEFP_H
17136 #include <ieeefp.h>
17137 #endif
17140 main ()
17142 finitef(0);
17144 return 0;
17146 _ACEOF
17147 rm -f conftest.$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17159 ac_status=$?
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 glibcxx_cv_func_finitef_use=yes
17169 else
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 glibcxx_cv_func_finitef_use=no
17175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17176 ac_ext=c
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17187 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17189 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17191 for ac_func in finitef
17193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17194 echo "$as_me:$LINENO: checking for $ac_func" >&5
17195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17196 if eval "test \"\${$as_ac_var+set}\" = set"; then
17197 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 else
17199 if test x$gcc_no_link = xyes; then
17200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17202 { (exit 1); exit 1; }; }
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17212 #define $ac_func innocuous_$ac_func
17214 /* System header to define __stub macros and hopefully few prototypes,
17215 which can conflict with char $ac_func (); below.
17216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17217 <limits.h> exists even on freestanding compilers. */
17219 #ifdef __STDC__
17220 # include <limits.h>
17221 #else
17222 # include <assert.h>
17223 #endif
17225 #undef $ac_func
17227 /* Override any gcc2 internal prototype to avoid an error. */
17228 #ifdef __cplusplus
17229 extern "C"
17231 #endif
17232 /* We use char because int might match the return type of a gcc2
17233 builtin and then its argument prototype would still apply. */
17234 char $ac_func ();
17235 /* The GNU C library defines this for functions which it implements
17236 to always fail with ENOSYS. Some functions are actually named
17237 something starting with __ and the normal name is an alias. */
17238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17239 choke me
17240 #else
17241 char (*f) () = $ac_func;
17242 #endif
17243 #ifdef __cplusplus
17245 #endif
17248 main ()
17250 return f != $ac_func;
17252 return 0;
17254 _ACEOF
17255 rm -f conftest.$ac_objext conftest$ac_exeext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17257 (eval $ac_link) 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } &&
17264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try='test -s conftest$ac_exeext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17273 ac_status=$?
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 eval "$as_ac_var=yes"
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17281 eval "$as_ac_var=no"
17283 rm -f conftest.err conftest.$ac_objext \
17284 conftest$ac_exeext conftest.$ac_ext
17286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17288 if test `eval echo '${'$as_ac_var'}'` = yes; then
17289 cat >>confdefs.h <<_ACEOF
17290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17291 _ACEOF
17294 done
17296 else
17298 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17299 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17300 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17301 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 else
17307 ac_ext=cc
17308 ac_cpp='$CXXCPP $CPPFLAGS'
17309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 #include <math.h>
17320 #ifdef HAVE_IEEEFP_H
17321 #include <ieeefp.h>
17322 #endif
17325 main ()
17327 _finitef(0);
17329 return 0;
17331 _ACEOF
17332 rm -f conftest.$ac_objext
17333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17334 (eval $ac_compile) 2>conftest.er1
17335 ac_status=$?
17336 grep -v '^ *+' conftest.er1 >conftest.err
17337 rm -f conftest.er1
17338 cat conftest.err >&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } &&
17341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17344 ac_status=$?
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; } &&
17347 { ac_try='test -s conftest.$ac_objext'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17350 ac_status=$?
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; }; then
17353 glibcxx_cv_func__finitef_use=yes
17354 else
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17358 glibcxx_cv_func__finitef_use=no
17360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17361 ac_ext=c
17362 ac_cpp='$CPP $CPPFLAGS'
17363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17372 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17374 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17376 for ac_func in _finitef
17378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17379 echo "$as_me:$LINENO: checking for $ac_func" >&5
17380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17381 if eval "test \"\${$as_ac_var+set}\" = set"; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384 if test x$gcc_no_link = xyes; then
17385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17387 { (exit 1); exit 1; }; }
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17397 #define $ac_func innocuous_$ac_func
17399 /* System header to define __stub macros and hopefully few prototypes,
17400 which can conflict with char $ac_func (); below.
17401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17402 <limits.h> exists even on freestanding compilers. */
17404 #ifdef __STDC__
17405 # include <limits.h>
17406 #else
17407 # include <assert.h>
17408 #endif
17410 #undef $ac_func
17412 /* Override any gcc2 internal prototype to avoid an error. */
17413 #ifdef __cplusplus
17414 extern "C"
17416 #endif
17417 /* We use char because int might match the return type of a gcc2
17418 builtin and then its argument prototype would still apply. */
17419 char $ac_func ();
17420 /* The GNU C library defines this for functions which it implements
17421 to always fail with ENOSYS. Some functions are actually named
17422 something starting with __ and the normal name is an alias. */
17423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17424 choke me
17425 #else
17426 char (*f) () = $ac_func;
17427 #endif
17428 #ifdef __cplusplus
17430 #endif
17433 main ()
17435 return f != $ac_func;
17437 return 0;
17439 _ACEOF
17440 rm -f conftest.$ac_objext conftest$ac_exeext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17442 (eval $ac_link) 2>conftest.er1
17443 ac_status=$?
17444 grep -v '^ *+' conftest.er1 >conftest.err
17445 rm -f conftest.er1
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17452 ac_status=$?
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } &&
17455 { ac_try='test -s conftest$ac_exeext'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17458 ac_status=$?
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 eval "$as_ac_var=yes"
17462 else
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17466 eval "$as_ac_var=no"
17468 rm -f conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17473 if test `eval echo '${'$as_ac_var'}'` = yes; then
17474 cat >>confdefs.h <<_ACEOF
17475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17476 _ACEOF
17479 done
17486 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17487 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17488 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17490 else
17494 ac_ext=cc
17495 ac_cpp='$CXXCPP $CPPFLAGS'
17496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 #include <math.h>
17508 main ()
17510 `for x in acosl asinl atanl \
17511 cosl sinl tanl \
17512 coshl sinhl tanhl; do echo "$x (0);"; done`
17514 return 0;
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 glibcxx_cv_func_long_double_trig_use=yes
17539 else
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5
17543 glibcxx_cv_func_long_double_trig_use=no
17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17546 ac_ext=c
17547 ac_cpp='$CPP $CPPFLAGS'
17548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17555 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17556 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17566 for ac_func in acosl asinl atanl \
17567 cosl sinl tanl \
17568 coshl sinhl tanhl
17570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17571 echo "$as_me:$LINENO: checking for $ac_func" >&5
17572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17573 if eval "test \"\${$as_ac_var+set}\" = set"; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 if test x$gcc_no_link = xyes; then
17577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17579 { (exit 1); exit 1; }; }
17581 cat >conftest.$ac_ext <<_ACEOF
17582 /* confdefs.h. */
17583 _ACEOF
17584 cat confdefs.h >>conftest.$ac_ext
17585 cat >>conftest.$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17589 #define $ac_func innocuous_$ac_func
17591 /* System header to define __stub macros and hopefully few prototypes,
17592 which can conflict with char $ac_func (); below.
17593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17594 <limits.h> exists even on freestanding compilers. */
17596 #ifdef __STDC__
17597 # include <limits.h>
17598 #else
17599 # include <assert.h>
17600 #endif
17602 #undef $ac_func
17604 /* Override any gcc2 internal prototype to avoid an error. */
17605 #ifdef __cplusplus
17606 extern "C"
17608 #endif
17609 /* We use char because int might match the return type of a gcc2
17610 builtin and then its argument prototype would still apply. */
17611 char $ac_func ();
17612 /* The GNU C library defines this for functions which it implements
17613 to always fail with ENOSYS. Some functions are actually named
17614 something starting with __ and the normal name is an alias. */
17615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17616 choke me
17617 #else
17618 char (*f) () = $ac_func;
17619 #endif
17620 #ifdef __cplusplus
17622 #endif
17625 main ()
17627 return f != $ac_func;
17629 return 0;
17631 _ACEOF
17632 rm -f conftest.$ac_objext conftest$ac_exeext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17634 (eval $ac_link) 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17644 ac_status=$?
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try='test -s conftest$ac_exeext'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; }; then
17653 eval "$as_ac_var=yes"
17654 else
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17658 eval "$as_ac_var=no"
17660 rm -f conftest.err conftest.$ac_objext \
17661 conftest$ac_exeext conftest.$ac_ext
17663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17665 if test `eval echo '${'$as_ac_var'}'` = yes; then
17666 cat >>confdefs.h <<_ACEOF
17667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17668 _ACEOF
17671 done
17676 echo "$as_me:$LINENO: checking for long double round functions" >&5
17677 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17678 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 else
17684 ac_ext=cc
17685 ac_cpp='$CXXCPP $CPPFLAGS'
17686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 #include <math.h>
17698 main ()
17700 `for x in ceill floorl; do echo "$x (0);"; done`
17702 return 0;
17704 _ACEOF
17705 rm -f conftest.$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>conftest.er1
17708 ac_status=$?
17709 grep -v '^ *+' conftest.er1 >conftest.err
17710 rm -f conftest.er1
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } &&
17714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; } &&
17720 { ac_try='test -s conftest.$ac_objext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 glibcxx_cv_func_long_double_round_use=yes
17727 else
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5
17731 glibcxx_cv_func_long_double_round_use=no
17733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17734 ac_ext=c
17735 ac_cpp='$CPP $CPPFLAGS'
17736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17743 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17744 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17747 for ac_func in ceill floorl
17749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17750 echo "$as_me:$LINENO: checking for $ac_func" >&5
17751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17752 if eval "test \"\${$as_ac_var+set}\" = set"; then
17753 echo $ECHO_N "(cached) $ECHO_C" >&6
17754 else
17755 if test x$gcc_no_link = xyes; then
17756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17758 { (exit 1); exit 1; }; }
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17768 #define $ac_func innocuous_$ac_func
17770 /* System header to define __stub macros and hopefully few prototypes,
17771 which can conflict with char $ac_func (); below.
17772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17773 <limits.h> exists even on freestanding compilers. */
17775 #ifdef __STDC__
17776 # include <limits.h>
17777 #else
17778 # include <assert.h>
17779 #endif
17781 #undef $ac_func
17783 /* Override any gcc2 internal prototype to avoid an error. */
17784 #ifdef __cplusplus
17785 extern "C"
17787 #endif
17788 /* We use char because int might match the return type of a gcc2
17789 builtin and then its argument prototype would still apply. */
17790 char $ac_func ();
17791 /* The GNU C library defines this for functions which it implements
17792 to always fail with ENOSYS. Some functions are actually named
17793 something starting with __ and the normal name is an alias. */
17794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17795 choke me
17796 #else
17797 char (*f) () = $ac_func;
17798 #endif
17799 #ifdef __cplusplus
17801 #endif
17804 main ()
17806 return f != $ac_func;
17808 return 0;
17810 _ACEOF
17811 rm -f conftest.$ac_objext conftest$ac_exeext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17813 (eval $ac_link) 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; } &&
17826 { ac_try='test -s conftest$ac_exeext'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17829 ac_status=$?
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; }; then
17832 eval "$as_ac_var=yes"
17833 else
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.$ac_ext >&5
17837 eval "$as_ac_var=no"
17839 rm -f conftest.err conftest.$ac_objext \
17840 conftest$ac_exeext conftest.$ac_ext
17842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17844 if test `eval echo '${'$as_ac_var'}'` = yes; then
17845 cat >>confdefs.h <<_ACEOF
17846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17847 _ACEOF
17850 done
17856 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
17857 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
17858 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
17859 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 else
17865 ac_ext=cc
17866 ac_cpp='$CXXCPP $CPPFLAGS'
17867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17871 cat >conftest.$ac_ext <<_ACEOF
17872 /* confdefs.h. */
17873 _ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <math.h>
17878 #ifdef HAVE_IEEEFP_H
17879 #include <ieeefp.h>
17880 #endif
17883 main ()
17885 isnanl(0);
17887 return 0;
17889 _ACEOF
17890 rm -f conftest.$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892 (eval $ac_compile) 2>conftest.er1
17893 ac_status=$?
17894 grep -v '^ *+' conftest.er1 >conftest.err
17895 rm -f conftest.er1
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17908 ac_status=$?
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 glibcxx_cv_func_isnanl_use=yes
17912 else
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17916 glibcxx_cv_func_isnanl_use=no
17918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17919 ac_ext=c
17920 ac_cpp='$CPP $CPPFLAGS'
17921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
17930 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
17932 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
17934 for ac_func in isnanl
17936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17937 echo "$as_me:$LINENO: checking for $ac_func" >&5
17938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17939 if eval "test \"\${$as_ac_var+set}\" = set"; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 else
17942 if test x$gcc_no_link = xyes; then
17943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17945 { (exit 1); exit 1; }; }
17947 cat >conftest.$ac_ext <<_ACEOF
17948 /* confdefs.h. */
17949 _ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17955 #define $ac_func innocuous_$ac_func
17957 /* System header to define __stub macros and hopefully few prototypes,
17958 which can conflict with char $ac_func (); below.
17959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17960 <limits.h> exists even on freestanding compilers. */
17962 #ifdef __STDC__
17963 # include <limits.h>
17964 #else
17965 # include <assert.h>
17966 #endif
17968 #undef $ac_func
17970 /* Override any gcc2 internal prototype to avoid an error. */
17971 #ifdef __cplusplus
17972 extern "C"
17974 #endif
17975 /* We use char because int might match the return type of a gcc2
17976 builtin and then its argument prototype would still apply. */
17977 char $ac_func ();
17978 /* The GNU C library defines this for functions which it implements
17979 to always fail with ENOSYS. Some functions are actually named
17980 something starting with __ and the normal name is an alias. */
17981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17982 choke me
17983 #else
17984 char (*f) () = $ac_func;
17985 #endif
17986 #ifdef __cplusplus
17988 #endif
17991 main ()
17993 return f != $ac_func;
17995 return 0;
17997 _ACEOF
17998 rm -f conftest.$ac_objext conftest$ac_exeext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18000 (eval $ac_link) 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; } &&
18013 { ac_try='test -s conftest$ac_exeext'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; }; then
18019 eval "$as_ac_var=yes"
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18024 eval "$as_ac_var=no"
18026 rm -f conftest.err conftest.$ac_objext \
18027 conftest$ac_exeext conftest.$ac_ext
18029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18031 if test `eval echo '${'$as_ac_var'}'` = yes; then
18032 cat >>confdefs.h <<_ACEOF
18033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18034 _ACEOF
18037 done
18039 else
18041 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18042 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18043 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18044 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18046 else
18050 ac_ext=cc
18051 ac_cpp='$CXXCPP $CPPFLAGS'
18052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18056 cat >conftest.$ac_ext <<_ACEOF
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 #include <math.h>
18063 #ifdef HAVE_IEEEFP_H
18064 #include <ieeefp.h>
18065 #endif
18068 main ()
18070 _isnanl(0);
18072 return 0;
18074 _ACEOF
18075 rm -f conftest.$ac_objext
18076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18077 (eval $ac_compile) 2>conftest.er1
18078 ac_status=$?
18079 grep -v '^ *+' conftest.er1 >conftest.err
18080 rm -f conftest.er1
18081 cat conftest.err >&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } &&
18084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; } &&
18090 { ac_try='test -s conftest.$ac_objext'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; }; then
18096 glibcxx_cv_func__isnanl_use=yes
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18101 glibcxx_cv_func__isnanl_use=no
18103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18104 ac_ext=c
18105 ac_cpp='$CPP $CPPFLAGS'
18106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18115 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18117 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18119 for ac_func in _isnanl
18121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18122 echo "$as_me:$LINENO: checking for $ac_func" >&5
18123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18124 if eval "test \"\${$as_ac_var+set}\" = set"; then
18125 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 else
18127 if test x$gcc_no_link = xyes; then
18128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18130 { (exit 1); exit 1; }; }
18132 cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h. */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18140 #define $ac_func innocuous_$ac_func
18142 /* System header to define __stub macros and hopefully few prototypes,
18143 which can conflict with char $ac_func (); below.
18144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18145 <limits.h> exists even on freestanding compilers. */
18147 #ifdef __STDC__
18148 # include <limits.h>
18149 #else
18150 # include <assert.h>
18151 #endif
18153 #undef $ac_func
18155 /* Override any gcc2 internal prototype to avoid an error. */
18156 #ifdef __cplusplus
18157 extern "C"
18159 #endif
18160 /* We use char because int might match the return type of a gcc2
18161 builtin and then its argument prototype would still apply. */
18162 char $ac_func ();
18163 /* The GNU C library defines this for functions which it implements
18164 to always fail with ENOSYS. Some functions are actually named
18165 something starting with __ and the normal name is an alias. */
18166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18167 choke me
18168 #else
18169 char (*f) () = $ac_func;
18170 #endif
18171 #ifdef __cplusplus
18173 #endif
18176 main ()
18178 return f != $ac_func;
18180 return 0;
18182 _ACEOF
18183 rm -f conftest.$ac_objext conftest$ac_exeext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18185 (eval $ac_link) 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_c_werror_flag" || test ! -s conftest.err'
18193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18194 (eval $ac_try) 2>&5
18195 ac_status=$?
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }; } &&
18198 { ac_try='test -s conftest$ac_exeext'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18201 ac_status=$?
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; }; then
18204 eval "$as_ac_var=yes"
18205 else
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.$ac_ext >&5
18209 eval "$as_ac_var=no"
18211 rm -f conftest.err conftest.$ac_objext \
18212 conftest$ac_exeext conftest.$ac_ext
18214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18216 if test `eval echo '${'$as_ac_var'}'` = yes; then
18217 cat >>confdefs.h <<_ACEOF
18218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18219 _ACEOF
18222 done
18229 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18230 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18231 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18232 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 else
18238 ac_ext=cc
18239 ac_cpp='$CXXCPP $CPPFLAGS'
18240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18244 cat >conftest.$ac_ext <<_ACEOF
18245 /* confdefs.h. */
18246 _ACEOF
18247 cat confdefs.h >>conftest.$ac_ext
18248 cat >>conftest.$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 #include <math.h>
18251 #ifdef HAVE_IEEEFP_H
18252 #include <ieeefp.h>
18253 #endif
18256 main ()
18258 isinfl(0);
18260 return 0;
18262 _ACEOF
18263 rm -f conftest.$ac_objext
18264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18265 (eval $ac_compile) 2>conftest.er1
18266 ac_status=$?
18267 grep -v '^ *+' conftest.er1 >conftest.err
18268 rm -f conftest.er1
18269 cat conftest.err >&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } &&
18272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try='test -s conftest.$ac_objext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 glibcxx_cv_func_isinfl_use=yes
18285 else
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.$ac_ext >&5
18289 glibcxx_cv_func_isinfl_use=no
18291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18292 ac_ext=c
18293 ac_cpp='$CPP $CPPFLAGS'
18294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18302 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18303 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18305 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18307 for ac_func in isinfl
18309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18310 echo "$as_me:$LINENO: checking for $ac_func" >&5
18311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18312 if eval "test \"\${$as_ac_var+set}\" = set"; then
18313 echo $ECHO_N "(cached) $ECHO_C" >&6
18314 else
18315 if test x$gcc_no_link = xyes; then
18316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18318 { (exit 1); exit 1; }; }
18320 cat >conftest.$ac_ext <<_ACEOF
18321 /* confdefs.h. */
18322 _ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18328 #define $ac_func innocuous_$ac_func
18330 /* System header to define __stub macros and hopefully few prototypes,
18331 which can conflict with char $ac_func (); below.
18332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18333 <limits.h> exists even on freestanding compilers. */
18335 #ifdef __STDC__
18336 # include <limits.h>
18337 #else
18338 # include <assert.h>
18339 #endif
18341 #undef $ac_func
18343 /* Override any gcc2 internal prototype to avoid an error. */
18344 #ifdef __cplusplus
18345 extern "C"
18347 #endif
18348 /* We use char because int might match the return type of a gcc2
18349 builtin and then its argument prototype would still apply. */
18350 char $ac_func ();
18351 /* The GNU C library defines this for functions which it implements
18352 to always fail with ENOSYS. Some functions are actually named
18353 something starting with __ and the normal name is an alias. */
18354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18355 choke me
18356 #else
18357 char (*f) () = $ac_func;
18358 #endif
18359 #ifdef __cplusplus
18361 #endif
18364 main ()
18366 return f != $ac_func;
18368 return 0;
18370 _ACEOF
18371 rm -f conftest.$ac_objext conftest$ac_exeext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18373 (eval $ac_link) 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
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 eval "$as_ac_var=yes"
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18397 eval "$as_ac_var=no"
18399 rm -f conftest.err conftest.$ac_objext \
18400 conftest$ac_exeext conftest.$ac_ext
18402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18404 if test `eval echo '${'$as_ac_var'}'` = yes; then
18405 cat >>confdefs.h <<_ACEOF
18406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18407 _ACEOF
18410 done
18412 else
18414 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18415 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18416 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18417 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 else
18423 ac_ext=cc
18424 ac_cpp='$CXXCPP $CPPFLAGS'
18425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18429 cat >conftest.$ac_ext <<_ACEOF
18430 /* confdefs.h. */
18431 _ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 #include <math.h>
18436 #ifdef HAVE_IEEEFP_H
18437 #include <ieeefp.h>
18438 #endif
18441 main ()
18443 _isinfl(0);
18445 return 0;
18447 _ACEOF
18448 rm -f conftest.$ac_objext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18450 (eval $ac_compile) 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18460 ac_status=$?
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 glibcxx_cv_func__isinfl_use=yes
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18474 glibcxx_cv_func__isinfl_use=no
18476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18477 ac_ext=c
18478 ac_cpp='$CPP $CPPFLAGS'
18479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18488 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18490 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18492 for ac_func in _isinfl
18494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18495 echo "$as_me:$LINENO: checking for $ac_func" >&5
18496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18497 if eval "test \"\${$as_ac_var+set}\" = set"; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 else
18500 if test x$gcc_no_link = xyes; then
18501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18503 { (exit 1); exit 1; }; }
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18513 #define $ac_func innocuous_$ac_func
18515 /* System header to define __stub macros and hopefully few prototypes,
18516 which can conflict with char $ac_func (); below.
18517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18518 <limits.h> exists even on freestanding compilers. */
18520 #ifdef __STDC__
18521 # include <limits.h>
18522 #else
18523 # include <assert.h>
18524 #endif
18526 #undef $ac_func
18528 /* Override any gcc2 internal prototype to avoid an error. */
18529 #ifdef __cplusplus
18530 extern "C"
18532 #endif
18533 /* We use char because int might match the return type of a gcc2
18534 builtin and then its argument prototype would still apply. */
18535 char $ac_func ();
18536 /* The GNU C library defines this for functions which it implements
18537 to always fail with ENOSYS. Some functions are actually named
18538 something starting with __ and the normal name is an alias. */
18539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18540 choke me
18541 #else
18542 char (*f) () = $ac_func;
18543 #endif
18544 #ifdef __cplusplus
18546 #endif
18549 main ()
18551 return f != $ac_func;
18553 return 0;
18555 _ACEOF
18556 rm -f conftest.$ac_objext conftest$ac_exeext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18558 (eval $ac_link) 2>conftest.er1
18559 ac_status=$?
18560 grep -v '^ *+' conftest.er1 >conftest.err
18561 rm -f conftest.er1
18562 cat conftest.err >&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try='test -s conftest$ac_exeext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 eval "$as_ac_var=yes"
18578 else
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18582 eval "$as_ac_var=no"
18584 rm -f conftest.err conftest.$ac_objext \
18585 conftest$ac_exeext conftest.$ac_ext
18587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18589 if test `eval echo '${'$as_ac_var'}'` = yes; then
18590 cat >>confdefs.h <<_ACEOF
18591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18592 _ACEOF
18595 done
18602 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18603 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18604 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18605 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18607 else
18611 ac_ext=cc
18612 ac_cpp='$CXXCPP $CPPFLAGS'
18613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18617 cat >conftest.$ac_ext <<_ACEOF
18618 /* confdefs.h. */
18619 _ACEOF
18620 cat confdefs.h >>conftest.$ac_ext
18621 cat >>conftest.$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #include <math.h>
18625 main ()
18627 copysignl(0, 0);
18629 return 0;
18631 _ACEOF
18632 rm -f conftest.$ac_objext
18633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18634 (eval $ac_compile) 2>conftest.er1
18635 ac_status=$?
18636 grep -v '^ *+' conftest.er1 >conftest.err
18637 rm -f conftest.er1
18638 cat conftest.err >&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); } &&
18641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643 (eval $ac_try) 2>&5
18644 ac_status=$?
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; } &&
18647 { ac_try='test -s conftest.$ac_objext'
18648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649 (eval $ac_try) 2>&5
18650 ac_status=$?
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); }; }; then
18653 glibcxx_cv_func_copysignl_use=yes
18654 else
18655 echo "$as_me: failed program was:" >&5
18656 sed 's/^/| /' conftest.$ac_ext >&5
18658 glibcxx_cv_func_copysignl_use=no
18660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18661 ac_ext=c
18662 ac_cpp='$CPP $CPPFLAGS'
18663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18672 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18674 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18676 for ac_func in copysignl
18678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18679 echo "$as_me:$LINENO: checking for $ac_func" >&5
18680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18681 if eval "test \"\${$as_ac_var+set}\" = set"; then
18682 echo $ECHO_N "(cached) $ECHO_C" >&6
18683 else
18684 if test x$gcc_no_link = xyes; then
18685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18687 { (exit 1); exit 1; }; }
18689 cat >conftest.$ac_ext <<_ACEOF
18690 /* confdefs.h. */
18691 _ACEOF
18692 cat confdefs.h >>conftest.$ac_ext
18693 cat >>conftest.$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18697 #define $ac_func innocuous_$ac_func
18699 /* System header to define __stub macros and hopefully few prototypes,
18700 which can conflict with char $ac_func (); below.
18701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18702 <limits.h> exists even on freestanding compilers. */
18704 #ifdef __STDC__
18705 # include <limits.h>
18706 #else
18707 # include <assert.h>
18708 #endif
18710 #undef $ac_func
18712 /* Override any gcc2 internal prototype to avoid an error. */
18713 #ifdef __cplusplus
18714 extern "C"
18716 #endif
18717 /* We use char because int might match the return type of a gcc2
18718 builtin and then its argument prototype would still apply. */
18719 char $ac_func ();
18720 /* The GNU C library defines this for functions which it implements
18721 to always fail with ENOSYS. Some functions are actually named
18722 something starting with __ and the normal name is an alias. */
18723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18724 choke me
18725 #else
18726 char (*f) () = $ac_func;
18727 #endif
18728 #ifdef __cplusplus
18730 #endif
18733 main ()
18735 return f != $ac_func;
18737 return 0;
18739 _ACEOF
18740 rm -f conftest.$ac_objext conftest$ac_exeext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18742 (eval $ac_link) 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18752 ac_status=$?
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try='test -s conftest$ac_exeext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18761 eval "$as_ac_var=yes"
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 eval "$as_ac_var=no"
18768 rm -f conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext conftest.$ac_ext
18771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18773 if test `eval echo '${'$as_ac_var'}'` = yes; then
18774 cat >>confdefs.h <<_ACEOF
18775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18776 _ACEOF
18779 done
18781 else
18783 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18784 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18785 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18786 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 else
18792 ac_ext=cc
18793 ac_cpp='$CXXCPP $CPPFLAGS'
18794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18798 cat >conftest.$ac_ext <<_ACEOF
18799 /* confdefs.h. */
18800 _ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 #include <math.h>
18806 main ()
18808 _copysignl(0, 0);
18810 return 0;
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18815 (eval $ac_compile) 2>conftest.er1
18816 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } &&
18822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18825 ac_status=$?
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; } &&
18828 { ac_try='test -s conftest.$ac_objext'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18831 ac_status=$?
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; }; then
18834 glibcxx_cv_func__copysignl_use=yes
18835 else
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.$ac_ext >&5
18839 glibcxx_cv_func__copysignl_use=no
18841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18842 ac_ext=c
18843 ac_cpp='$CPP $CPPFLAGS'
18844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
18853 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
18855 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
18857 for ac_func in _copysignl
18859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18860 echo "$as_me:$LINENO: checking for $ac_func" >&5
18861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18862 if eval "test \"\${$as_ac_var+set}\" = set"; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 else
18865 if test x$gcc_no_link = xyes; then
18866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18868 { (exit 1); exit 1; }; }
18870 cat >conftest.$ac_ext <<_ACEOF
18871 /* confdefs.h. */
18872 _ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18878 #define $ac_func innocuous_$ac_func
18880 /* System header to define __stub macros and hopefully few prototypes,
18881 which can conflict with char $ac_func (); below.
18882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18883 <limits.h> exists even on freestanding compilers. */
18885 #ifdef __STDC__
18886 # include <limits.h>
18887 #else
18888 # include <assert.h>
18889 #endif
18891 #undef $ac_func
18893 /* Override any gcc2 internal prototype to avoid an error. */
18894 #ifdef __cplusplus
18895 extern "C"
18897 #endif
18898 /* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
18900 char $ac_func ();
18901 /* The GNU C library defines this for functions which it implements
18902 to always fail with ENOSYS. Some functions are actually named
18903 something starting with __ and the normal name is an alias. */
18904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18905 choke me
18906 #else
18907 char (*f) () = $ac_func;
18908 #endif
18909 #ifdef __cplusplus
18911 #endif
18914 main ()
18916 return f != $ac_func;
18918 return 0;
18920 _ACEOF
18921 rm -f conftest.$ac_objext conftest$ac_exeext
18922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18923 (eval $ac_link) 2>conftest.er1
18924 ac_status=$?
18925 grep -v '^ *+' conftest.er1 >conftest.err
18926 rm -f conftest.er1
18927 cat conftest.err >&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; } &&
18936 { ac_try='test -s conftest$ac_exeext'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; }; then
18942 eval "$as_ac_var=yes"
18943 else
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18947 eval "$as_ac_var=no"
18949 rm -f conftest.err conftest.$ac_objext \
18950 conftest$ac_exeext conftest.$ac_ext
18952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18954 if test `eval echo '${'$as_ac_var'}'` = yes; then
18955 cat >>confdefs.h <<_ACEOF
18956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18957 _ACEOF
18960 done
18967 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
18968 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
18969 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
18970 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18976 ac_ext=cc
18977 ac_cpp='$CXXCPP $CPPFLAGS'
18978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988 #include <math.h>
18990 main ()
18992 atan2l(0, 0);
18994 return 0;
18996 _ACEOF
18997 rm -f conftest.$ac_objext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18999 (eval $ac_compile) 2>conftest.er1
19000 ac_status=$?
19001 grep -v '^ *+' conftest.er1 >conftest.err
19002 rm -f conftest.er1
19003 cat conftest.err >&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } &&
19006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19009 ac_status=$?
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; } &&
19012 { ac_try='test -s conftest.$ac_objext'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19015 ac_status=$?
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; }; then
19018 glibcxx_cv_func_atan2l_use=yes
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 glibcxx_cv_func_atan2l_use=no
19025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19026 ac_ext=c
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19037 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19039 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19041 for ac_func in atan2l
19043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19044 echo "$as_me:$LINENO: checking for $ac_func" >&5
19045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19046 if eval "test \"\${$as_ac_var+set}\" = set"; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 else
19049 if test x$gcc_no_link = xyes; then
19050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19052 { (exit 1); exit 1; }; }
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19062 #define $ac_func innocuous_$ac_func
19064 /* System header to define __stub macros and hopefully few prototypes,
19065 which can conflict with char $ac_func (); below.
19066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19067 <limits.h> exists even on freestanding compilers. */
19069 #ifdef __STDC__
19070 # include <limits.h>
19071 #else
19072 # include <assert.h>
19073 #endif
19075 #undef $ac_func
19077 /* Override any gcc2 internal prototype to avoid an error. */
19078 #ifdef __cplusplus
19079 extern "C"
19081 #endif
19082 /* We use char because int might match the return type of a gcc2
19083 builtin and then its argument prototype would still apply. */
19084 char $ac_func ();
19085 /* The GNU C library defines this for functions which it implements
19086 to always fail with ENOSYS. Some functions are actually named
19087 something starting with __ and the normal name is an alias. */
19088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19089 choke me
19090 #else
19091 char (*f) () = $ac_func;
19092 #endif
19093 #ifdef __cplusplus
19095 #endif
19098 main ()
19100 return f != $ac_func;
19102 return 0;
19104 _ACEOF
19105 rm -f conftest.$ac_objext conftest$ac_exeext
19106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19107 (eval $ac_link) 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } &&
19114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19117 ac_status=$?
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; } &&
19120 { ac_try='test -s conftest$ac_exeext'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; }; then
19126 eval "$as_ac_var=yes"
19127 else
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19131 eval "$as_ac_var=no"
19133 rm -f conftest.err conftest.$ac_objext \
19134 conftest$ac_exeext conftest.$ac_ext
19136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19138 if test `eval echo '${'$as_ac_var'}'` = yes; then
19139 cat >>confdefs.h <<_ACEOF
19140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19141 _ACEOF
19144 done
19146 else
19148 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19149 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19150 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19151 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19153 else
19157 ac_ext=cc
19158 ac_cpp='$CXXCPP $CPPFLAGS'
19159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 #include <math.h>
19171 main ()
19173 _atan2l(0, 0);
19175 return 0;
19177 _ACEOF
19178 rm -f conftest.$ac_objext
19179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19180 (eval $ac_compile) 2>conftest.er1
19181 ac_status=$?
19182 grep -v '^ *+' conftest.er1 >conftest.err
19183 rm -f conftest.er1
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19190 ac_status=$?
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try='test -s conftest.$ac_objext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 glibcxx_cv_func__atan2l_use=yes
19200 else
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19204 glibcxx_cv_func__atan2l_use=no
19206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19207 ac_ext=c
19208 ac_cpp='$CPP $CPPFLAGS'
19209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19218 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19220 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19222 for ac_func in _atan2l
19224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19225 echo "$as_me:$LINENO: checking for $ac_func" >&5
19226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19227 if eval "test \"\${$as_ac_var+set}\" = set"; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230 if test x$gcc_no_link = xyes; then
19231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19233 { (exit 1); exit 1; }; }
19235 cat >conftest.$ac_ext <<_ACEOF
19236 /* confdefs.h. */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19243 #define $ac_func innocuous_$ac_func
19245 /* System header to define __stub macros and hopefully few prototypes,
19246 which can conflict with char $ac_func (); below.
19247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19248 <limits.h> exists even on freestanding compilers. */
19250 #ifdef __STDC__
19251 # include <limits.h>
19252 #else
19253 # include <assert.h>
19254 #endif
19256 #undef $ac_func
19258 /* Override any gcc2 internal prototype to avoid an error. */
19259 #ifdef __cplusplus
19260 extern "C"
19262 #endif
19263 /* We use char because int might match the return type of a gcc2
19264 builtin and then its argument prototype would still apply. */
19265 char $ac_func ();
19266 /* The GNU C library defines this for functions which it implements
19267 to always fail with ENOSYS. Some functions are actually named
19268 something starting with __ and the normal name is an alias. */
19269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19270 choke me
19271 #else
19272 char (*f) () = $ac_func;
19273 #endif
19274 #ifdef __cplusplus
19276 #endif
19279 main ()
19281 return f != $ac_func;
19283 return 0;
19285 _ACEOF
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288 (eval $ac_link) 2>conftest.er1
19289 ac_status=$?
19290 grep -v '^ *+' conftest.er1 >conftest.err
19291 rm -f conftest.er1
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } &&
19295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19298 ac_status=$?
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; } &&
19301 { ac_try='test -s conftest$ac_exeext'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19304 ac_status=$?
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; }; then
19307 eval "$as_ac_var=yes"
19308 else
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 eval "$as_ac_var=no"
19314 rm -f conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19319 if test `eval echo '${'$as_ac_var'}'` = yes; then
19320 cat >>confdefs.h <<_ACEOF
19321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19322 _ACEOF
19325 done
19332 echo "$as_me:$LINENO: checking for expl declaration" >&5
19333 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19334 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19335 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 else
19341 ac_ext=cc
19342 ac_cpp='$CXXCPP $CPPFLAGS'
19343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19347 cat >conftest.$ac_ext <<_ACEOF
19348 /* confdefs.h. */
19349 _ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 #include <math.h>
19354 #ifdef HAVE_IEEEFP_H
19355 #include <ieeefp.h>
19356 #endif
19359 main ()
19361 expl(0);
19363 return 0;
19365 _ACEOF
19366 rm -f conftest.$ac_objext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19368 (eval $ac_compile) 2>conftest.er1
19369 ac_status=$?
19370 grep -v '^ *+' conftest.er1 >conftest.err
19371 rm -f conftest.er1
19372 cat conftest.err >&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } &&
19375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; } &&
19381 { ac_try='test -s conftest.$ac_objext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 glibcxx_cv_func_expl_use=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 glibcxx_cv_func_expl_use=no
19394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19395 ac_ext=c
19396 ac_cpp='$CPP $CPPFLAGS'
19397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19406 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19408 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19410 for ac_func in expl
19412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19413 echo "$as_me:$LINENO: checking for $ac_func" >&5
19414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19415 if eval "test \"\${$as_ac_var+set}\" = set"; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 else
19418 if test x$gcc_no_link = xyes; then
19419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19421 { (exit 1); exit 1; }; }
19423 cat >conftest.$ac_ext <<_ACEOF
19424 /* confdefs.h. */
19425 _ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19431 #define $ac_func innocuous_$ac_func
19433 /* System header to define __stub macros and hopefully few prototypes,
19434 which can conflict with char $ac_func (); below.
19435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19436 <limits.h> exists even on freestanding compilers. */
19438 #ifdef __STDC__
19439 # include <limits.h>
19440 #else
19441 # include <assert.h>
19442 #endif
19444 #undef $ac_func
19446 /* Override any gcc2 internal prototype to avoid an error. */
19447 #ifdef __cplusplus
19448 extern "C"
19450 #endif
19451 /* We use char because int might match the return type of a gcc2
19452 builtin and then its argument prototype would still apply. */
19453 char $ac_func ();
19454 /* The GNU C library defines this for functions which it implements
19455 to always fail with ENOSYS. Some functions are actually named
19456 something starting with __ and the normal name is an alias. */
19457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19458 choke me
19459 #else
19460 char (*f) () = $ac_func;
19461 #endif
19462 #ifdef __cplusplus
19464 #endif
19467 main ()
19469 return f != $ac_func;
19471 return 0;
19473 _ACEOF
19474 rm -f conftest.$ac_objext conftest$ac_exeext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19476 (eval $ac_link) 2>conftest.er1
19477 ac_status=$?
19478 grep -v '^ *+' conftest.er1 >conftest.err
19479 rm -f conftest.er1
19480 cat conftest.err >&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; } &&
19489 { ac_try='test -s conftest$ac_exeext'
19490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19491 (eval $ac_try) 2>&5
19492 ac_status=$?
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); }; }; then
19495 eval "$as_ac_var=yes"
19496 else
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19500 eval "$as_ac_var=no"
19502 rm -f conftest.err conftest.$ac_objext \
19503 conftest$ac_exeext conftest.$ac_ext
19505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19507 if test `eval echo '${'$as_ac_var'}'` = yes; then
19508 cat >>confdefs.h <<_ACEOF
19509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19510 _ACEOF
19513 done
19515 else
19517 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19518 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19519 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19520 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 else
19526 ac_ext=cc
19527 ac_cpp='$CXXCPP $CPPFLAGS'
19528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19532 cat >conftest.$ac_ext <<_ACEOF
19533 /* confdefs.h. */
19534 _ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <math.h>
19539 #ifdef HAVE_IEEEFP_H
19540 #include <ieeefp.h>
19541 #endif
19544 main ()
19546 _expl(0);
19548 return 0;
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>conftest.er1
19554 ac_status=$?
19555 grep -v '^ *+' conftest.er1 >conftest.err
19556 rm -f conftest.er1
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19563 ac_status=$?
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try='test -s conftest.$ac_objext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19569 ac_status=$?
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 glibcxx_cv_func__expl_use=yes
19573 else
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 glibcxx_cv_func__expl_use=no
19579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19580 ac_ext=c
19581 ac_cpp='$CPP $CPPFLAGS'
19582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19591 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19593 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19595 for ac_func in _expl
19597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19598 echo "$as_me:$LINENO: checking for $ac_func" >&5
19599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19600 if eval "test \"\${$as_ac_var+set}\" = set"; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 else
19603 if test x$gcc_no_link = xyes; then
19604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19606 { (exit 1); exit 1; }; }
19608 cat >conftest.$ac_ext <<_ACEOF
19609 /* confdefs.h. */
19610 _ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19616 #define $ac_func innocuous_$ac_func
19618 /* System header to define __stub macros and hopefully few prototypes,
19619 which can conflict with char $ac_func (); below.
19620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19621 <limits.h> exists even on freestanding compilers. */
19623 #ifdef __STDC__
19624 # include <limits.h>
19625 #else
19626 # include <assert.h>
19627 #endif
19629 #undef $ac_func
19631 /* Override any gcc2 internal prototype to avoid an error. */
19632 #ifdef __cplusplus
19633 extern "C"
19635 #endif
19636 /* We use char because int might match the return type of a gcc2
19637 builtin and then its argument prototype would still apply. */
19638 char $ac_func ();
19639 /* The GNU C library defines this for functions which it implements
19640 to always fail with ENOSYS. Some functions are actually named
19641 something starting with __ and the normal name is an alias. */
19642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19643 choke me
19644 #else
19645 char (*f) () = $ac_func;
19646 #endif
19647 #ifdef __cplusplus
19649 #endif
19652 main ()
19654 return f != $ac_func;
19656 return 0;
19658 _ACEOF
19659 rm -f conftest.$ac_objext conftest$ac_exeext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19661 (eval $ac_link) 2>conftest.er1
19662 ac_status=$?
19663 grep -v '^ *+' conftest.er1 >conftest.err
19664 rm -f conftest.er1
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } &&
19668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19671 ac_status=$?
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try='test -s conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 eval "$as_ac_var=yes"
19681 else
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19685 eval "$as_ac_var=no"
19687 rm -f conftest.err conftest.$ac_objext \
19688 conftest$ac_exeext conftest.$ac_ext
19690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19692 if test `eval echo '${'$as_ac_var'}'` = yes; then
19693 cat >>confdefs.h <<_ACEOF
19694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19695 _ACEOF
19698 done
19705 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19706 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19707 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19708 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19709 echo $ECHO_N "(cached) $ECHO_C" >&6
19710 else
19714 ac_ext=cc
19715 ac_cpp='$CXXCPP $CPPFLAGS'
19716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19720 cat >conftest.$ac_ext <<_ACEOF
19721 /* confdefs.h. */
19722 _ACEOF
19723 cat confdefs.h >>conftest.$ac_ext
19724 cat >>conftest.$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 #include <math.h>
19727 #ifdef HAVE_IEEEFP_H
19728 #include <ieeefp.h>
19729 #endif
19732 main ()
19734 fabsl(0);
19736 return 0;
19738 _ACEOF
19739 rm -f conftest.$ac_objext
19740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19741 (eval $ac_compile) 2>conftest.er1
19742 ac_status=$?
19743 grep -v '^ *+' conftest.er1 >conftest.err
19744 rm -f conftest.er1
19745 cat conftest.err >&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } &&
19748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19751 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; } &&
19754 { ac_try='test -s conftest.$ac_objext'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19757 ac_status=$?
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19760 glibcxx_cv_func_fabsl_use=yes
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 glibcxx_cv_func_fabsl_use=no
19767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19768 ac_ext=c
19769 ac_cpp='$CPP $CPPFLAGS'
19770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19779 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19781 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19783 for ac_func in fabsl
19785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19786 echo "$as_me:$LINENO: checking for $ac_func" >&5
19787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19788 if eval "test \"\${$as_ac_var+set}\" = set"; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 else
19791 if test x$gcc_no_link = xyes; then
19792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19794 { (exit 1); exit 1; }; }
19796 cat >conftest.$ac_ext <<_ACEOF
19797 /* confdefs.h. */
19798 _ACEOF
19799 cat confdefs.h >>conftest.$ac_ext
19800 cat >>conftest.$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19804 #define $ac_func innocuous_$ac_func
19806 /* System header to define __stub macros and hopefully few prototypes,
19807 which can conflict with char $ac_func (); below.
19808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19809 <limits.h> exists even on freestanding compilers. */
19811 #ifdef __STDC__
19812 # include <limits.h>
19813 #else
19814 # include <assert.h>
19815 #endif
19817 #undef $ac_func
19819 /* Override any gcc2 internal prototype to avoid an error. */
19820 #ifdef __cplusplus
19821 extern "C"
19823 #endif
19824 /* We use char because int might match the return type of a gcc2
19825 builtin and then its argument prototype would still apply. */
19826 char $ac_func ();
19827 /* The GNU C library defines this for functions which it implements
19828 to always fail with ENOSYS. Some functions are actually named
19829 something starting with __ and the normal name is an alias. */
19830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19831 choke me
19832 #else
19833 char (*f) () = $ac_func;
19834 #endif
19835 #ifdef __cplusplus
19837 #endif
19840 main ()
19842 return f != $ac_func;
19844 return 0;
19846 _ACEOF
19847 rm -f conftest.$ac_objext conftest$ac_exeext
19848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19849 (eval $ac_link) 2>conftest.er1
19850 ac_status=$?
19851 grep -v '^ *+' conftest.er1 >conftest.err
19852 rm -f conftest.er1
19853 cat conftest.err >&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); } &&
19856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19859 ac_status=$?
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; } &&
19862 { ac_try='test -s conftest$ac_exeext'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19865 ac_status=$?
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 eval "$as_ac_var=yes"
19869 else
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19873 eval "$as_ac_var=no"
19875 rm -f conftest.err conftest.$ac_objext \
19876 conftest$ac_exeext conftest.$ac_ext
19878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19880 if test `eval echo '${'$as_ac_var'}'` = yes; then
19881 cat >>confdefs.h <<_ACEOF
19882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19883 _ACEOF
19886 done
19888 else
19890 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
19891 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
19892 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
19893 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 else
19899 ac_ext=cc
19900 ac_cpp='$CXXCPP $CPPFLAGS'
19901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19905 cat >conftest.$ac_ext <<_ACEOF
19906 /* confdefs.h. */
19907 _ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 #include <math.h>
19912 #ifdef HAVE_IEEEFP_H
19913 #include <ieeefp.h>
19914 #endif
19917 main ()
19919 _fabsl(0);
19921 return 0;
19923 _ACEOF
19924 rm -f conftest.$ac_objext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19926 (eval $ac_compile) 2>conftest.er1
19927 ac_status=$?
19928 grep -v '^ *+' conftest.er1 >conftest.err
19929 rm -f conftest.er1
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try='test -s conftest.$ac_objext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19945 glibcxx_cv_func__fabsl_use=yes
19946 else
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19950 glibcxx_cv_func__fabsl_use=no
19952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19953 ac_ext=c
19954 ac_cpp='$CPP $CPPFLAGS'
19955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
19964 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
19966 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
19968 for ac_func in _fabsl
19970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19971 echo "$as_me:$LINENO: checking for $ac_func" >&5
19972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19973 if eval "test \"\${$as_ac_var+set}\" = set"; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 else
19976 if test x$gcc_no_link = xyes; then
19977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19979 { (exit 1); exit 1; }; }
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19989 #define $ac_func innocuous_$ac_func
19991 /* System header to define __stub macros and hopefully few prototypes,
19992 which can conflict with char $ac_func (); below.
19993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19994 <limits.h> exists even on freestanding compilers. */
19996 #ifdef __STDC__
19997 # include <limits.h>
19998 #else
19999 # include <assert.h>
20000 #endif
20002 #undef $ac_func
20004 /* Override any gcc2 internal prototype to avoid an error. */
20005 #ifdef __cplusplus
20006 extern "C"
20008 #endif
20009 /* We use char because int might match the return type of a gcc2
20010 builtin and then its argument prototype would still apply. */
20011 char $ac_func ();
20012 /* The GNU C library defines this for functions which it implements
20013 to always fail with ENOSYS. Some functions are actually named
20014 something starting with __ and the normal name is an alias. */
20015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20016 choke me
20017 #else
20018 char (*f) () = $ac_func;
20019 #endif
20020 #ifdef __cplusplus
20022 #endif
20025 main ()
20027 return f != $ac_func;
20029 return 0;
20031 _ACEOF
20032 rm -f conftest.$ac_objext conftest$ac_exeext
20033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20034 (eval $ac_link) 2>conftest.er1
20035 ac_status=$?
20036 grep -v '^ *+' conftest.er1 >conftest.err
20037 rm -f conftest.er1
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } &&
20041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20044 ac_status=$?
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest$ac_exeext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 eval "$as_ac_var=yes"
20054 else
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.$ac_ext >&5
20058 eval "$as_ac_var=no"
20060 rm -f conftest.err conftest.$ac_objext \
20061 conftest$ac_exeext conftest.$ac_ext
20063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20065 if test `eval echo '${'$as_ac_var'}'` = yes; then
20066 cat >>confdefs.h <<_ACEOF
20067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20068 _ACEOF
20071 done
20078 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20079 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20080 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20081 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 else
20087 ac_ext=cc
20088 ac_cpp='$CXXCPP $CPPFLAGS'
20089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20093 cat >conftest.$ac_ext <<_ACEOF
20094 /* confdefs.h. */
20095 _ACEOF
20096 cat confdefs.h >>conftest.$ac_ext
20097 cat >>conftest.$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 #include <math.h>
20101 main ()
20103 fmodl(0, 0);
20105 return 0;
20107 _ACEOF
20108 rm -f conftest.$ac_objext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20110 (eval $ac_compile) 2>conftest.er1
20111 ac_status=$?
20112 grep -v '^ *+' conftest.er1 >conftest.err
20113 rm -f conftest.er1
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } &&
20117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 glibcxx_cv_func_fmodl_use=yes
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20134 glibcxx_cv_func_fmodl_use=no
20136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20137 ac_ext=c
20138 ac_cpp='$CPP $CPPFLAGS'
20139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20148 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20150 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20152 for ac_func in fmodl
20154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20155 echo "$as_me:$LINENO: checking for $ac_func" >&5
20156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20157 if eval "test \"\${$as_ac_var+set}\" = set"; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 else
20160 if test x$gcc_no_link = xyes; then
20161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20163 { (exit 1); exit 1; }; }
20165 cat >conftest.$ac_ext <<_ACEOF
20166 /* confdefs.h. */
20167 _ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20173 #define $ac_func innocuous_$ac_func
20175 /* System header to define __stub macros and hopefully few prototypes,
20176 which can conflict with char $ac_func (); below.
20177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20178 <limits.h> exists even on freestanding compilers. */
20180 #ifdef __STDC__
20181 # include <limits.h>
20182 #else
20183 # include <assert.h>
20184 #endif
20186 #undef $ac_func
20188 /* Override any gcc2 internal prototype to avoid an error. */
20189 #ifdef __cplusplus
20190 extern "C"
20192 #endif
20193 /* We use char because int might match the return type of a gcc2
20194 builtin and then its argument prototype would still apply. */
20195 char $ac_func ();
20196 /* The GNU C library defines this for functions which it implements
20197 to always fail with ENOSYS. Some functions are actually named
20198 something starting with __ and the normal name is an alias. */
20199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20200 choke me
20201 #else
20202 char (*f) () = $ac_func;
20203 #endif
20204 #ifdef __cplusplus
20206 #endif
20209 main ()
20211 return f != $ac_func;
20213 return 0;
20215 _ACEOF
20216 rm -f conftest.$ac_objext conftest$ac_exeext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20218 (eval $ac_link) 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20228 ac_status=$?
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; } &&
20231 { ac_try='test -s conftest$ac_exeext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20234 ac_status=$?
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 eval "$as_ac_var=yes"
20238 else
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 eval "$as_ac_var=no"
20244 rm -f conftest.err conftest.$ac_objext \
20245 conftest$ac_exeext conftest.$ac_ext
20247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20249 if test `eval echo '${'$as_ac_var'}'` = yes; then
20250 cat >>confdefs.h <<_ACEOF
20251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20252 _ACEOF
20255 done
20257 else
20259 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20260 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20261 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20262 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 else
20268 ac_ext=cc
20269 ac_cpp='$CXXCPP $CPPFLAGS'
20270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20274 cat >conftest.$ac_ext <<_ACEOF
20275 /* confdefs.h. */
20276 _ACEOF
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 #include <math.h>
20282 main ()
20284 _fmodl(0, 0);
20286 return 0;
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20291 (eval $ac_compile) 2>conftest.er1
20292 ac_status=$?
20293 grep -v '^ *+' conftest.er1 >conftest.err
20294 rm -f conftest.er1
20295 cat conftest.err >&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); } &&
20298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300 (eval $ac_try) 2>&5
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; } &&
20304 { ac_try='test -s conftest.$ac_objext'
20305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 (eval $ac_try) 2>&5
20307 ac_status=$?
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); }; }; then
20310 glibcxx_cv_func__fmodl_use=yes
20311 else
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 glibcxx_cv_func__fmodl_use=no
20317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20318 ac_ext=c
20319 ac_cpp='$CPP $CPPFLAGS'
20320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20329 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20331 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20333 for ac_func in _fmodl
20335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20336 echo "$as_me:$LINENO: checking for $ac_func" >&5
20337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20338 if eval "test \"\${$as_ac_var+set}\" = set"; then
20339 echo $ECHO_N "(cached) $ECHO_C" >&6
20340 else
20341 if test x$gcc_no_link = xyes; then
20342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20344 { (exit 1); exit 1; }; }
20346 cat >conftest.$ac_ext <<_ACEOF
20347 /* confdefs.h. */
20348 _ACEOF
20349 cat confdefs.h >>conftest.$ac_ext
20350 cat >>conftest.$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20354 #define $ac_func innocuous_$ac_func
20356 /* System header to define __stub macros and hopefully few prototypes,
20357 which can conflict with char $ac_func (); below.
20358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20359 <limits.h> exists even on freestanding compilers. */
20361 #ifdef __STDC__
20362 # include <limits.h>
20363 #else
20364 # include <assert.h>
20365 #endif
20367 #undef $ac_func
20369 /* Override any gcc2 internal prototype to avoid an error. */
20370 #ifdef __cplusplus
20371 extern "C"
20373 #endif
20374 /* We use char because int might match the return type of a gcc2
20375 builtin and then its argument prototype would still apply. */
20376 char $ac_func ();
20377 /* The GNU C library defines this for functions which it implements
20378 to always fail with ENOSYS. Some functions are actually named
20379 something starting with __ and the normal name is an alias. */
20380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20381 choke me
20382 #else
20383 char (*f) () = $ac_func;
20384 #endif
20385 #ifdef __cplusplus
20387 #endif
20390 main ()
20392 return f != $ac_func;
20394 return 0;
20396 _ACEOF
20397 rm -f conftest.$ac_objext conftest$ac_exeext
20398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20399 (eval $ac_link) 2>conftest.er1
20400 ac_status=$?
20401 grep -v '^ *+' conftest.er1 >conftest.err
20402 rm -f conftest.er1
20403 cat conftest.err >&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } &&
20406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest$ac_exeext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 eval "$as_ac_var=yes"
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 eval "$as_ac_var=no"
20425 rm -f conftest.err conftest.$ac_objext \
20426 conftest$ac_exeext conftest.$ac_ext
20428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20430 if test `eval echo '${'$as_ac_var'}'` = yes; then
20431 cat >>confdefs.h <<_ACEOF
20432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20433 _ACEOF
20436 done
20443 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20444 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20445 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20446 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 else
20452 ac_ext=cc
20453 ac_cpp='$CXXCPP $CPPFLAGS'
20454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20458 cat >conftest.$ac_ext <<_ACEOF
20459 /* confdefs.h. */
20460 _ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 #include <math.h>
20466 main ()
20468 frexpl(0, 0);
20470 return 0;
20472 _ACEOF
20473 rm -f conftest.$ac_objext
20474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20475 (eval $ac_compile) 2>conftest.er1
20476 ac_status=$?
20477 grep -v '^ *+' conftest.er1 >conftest.err
20478 rm -f conftest.er1
20479 cat conftest.err >&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } &&
20482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 (eval $ac_try) 2>&5
20485 ac_status=$?
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; } &&
20488 { ac_try='test -s conftest.$ac_objext'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20491 ac_status=$?
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; }; then
20494 glibcxx_cv_func_frexpl_use=yes
20495 else
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20499 glibcxx_cv_func_frexpl_use=no
20501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20502 ac_ext=c
20503 ac_cpp='$CPP $CPPFLAGS'
20504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20513 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20515 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20517 for ac_func in frexpl
20519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20520 echo "$as_me:$LINENO: checking for $ac_func" >&5
20521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20522 if eval "test \"\${$as_ac_var+set}\" = set"; then
20523 echo $ECHO_N "(cached) $ECHO_C" >&6
20524 else
20525 if test x$gcc_no_link = xyes; then
20526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20528 { (exit 1); exit 1; }; }
20530 cat >conftest.$ac_ext <<_ACEOF
20531 /* confdefs.h. */
20532 _ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20538 #define $ac_func innocuous_$ac_func
20540 /* System header to define __stub macros and hopefully few prototypes,
20541 which can conflict with char $ac_func (); below.
20542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20543 <limits.h> exists even on freestanding compilers. */
20545 #ifdef __STDC__
20546 # include <limits.h>
20547 #else
20548 # include <assert.h>
20549 #endif
20551 #undef $ac_func
20553 /* Override any gcc2 internal prototype to avoid an error. */
20554 #ifdef __cplusplus
20555 extern "C"
20557 #endif
20558 /* We use char because int might match the return type of a gcc2
20559 builtin and then its argument prototype would still apply. */
20560 char $ac_func ();
20561 /* The GNU C library defines this for functions which it implements
20562 to always fail with ENOSYS. Some functions are actually named
20563 something starting with __ and the normal name is an alias. */
20564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20565 choke me
20566 #else
20567 char (*f) () = $ac_func;
20568 #endif
20569 #ifdef __cplusplus
20571 #endif
20574 main ()
20576 return f != $ac_func;
20578 return 0;
20580 _ACEOF
20581 rm -f conftest.$ac_objext conftest$ac_exeext
20582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20583 (eval $ac_link) 2>conftest.er1
20584 ac_status=$?
20585 grep -v '^ *+' conftest.er1 >conftest.err
20586 rm -f conftest.er1
20587 cat conftest.err >&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); } &&
20590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592 (eval $ac_try) 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; } &&
20596 { ac_try='test -s conftest$ac_exeext'
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20599 ac_status=$?
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 eval "$as_ac_var=yes"
20603 else
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20607 eval "$as_ac_var=no"
20609 rm -f conftest.err conftest.$ac_objext \
20610 conftest$ac_exeext conftest.$ac_ext
20612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20614 if test `eval echo '${'$as_ac_var'}'` = yes; then
20615 cat >>confdefs.h <<_ACEOF
20616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20617 _ACEOF
20620 done
20622 else
20624 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20625 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20626 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20627 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20628 echo $ECHO_N "(cached) $ECHO_C" >&6
20629 else
20633 ac_ext=cc
20634 ac_cpp='$CXXCPP $CPPFLAGS'
20635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20639 cat >conftest.$ac_ext <<_ACEOF
20640 /* confdefs.h. */
20641 _ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 #include <math.h>
20647 main ()
20649 _frexpl(0, 0);
20651 return 0;
20653 _ACEOF
20654 rm -f conftest.$ac_objext
20655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20656 (eval $ac_compile) 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } &&
20663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest.$ac_objext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 glibcxx_cv_func__frexpl_use=yes
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 glibcxx_cv_func__frexpl_use=no
20682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20683 ac_ext=c
20684 ac_cpp='$CPP $CPPFLAGS'
20685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20694 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20696 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20698 for ac_func in _frexpl
20700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20701 echo "$as_me:$LINENO: checking for $ac_func" >&5
20702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20703 if eval "test \"\${$as_ac_var+set}\" = set"; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20706 if test x$gcc_no_link = xyes; then
20707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20709 { (exit 1); exit 1; }; }
20711 cat >conftest.$ac_ext <<_ACEOF
20712 /* confdefs.h. */
20713 _ACEOF
20714 cat confdefs.h >>conftest.$ac_ext
20715 cat >>conftest.$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20719 #define $ac_func innocuous_$ac_func
20721 /* System header to define __stub macros and hopefully few prototypes,
20722 which can conflict with char $ac_func (); below.
20723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20724 <limits.h> exists even on freestanding compilers. */
20726 #ifdef __STDC__
20727 # include <limits.h>
20728 #else
20729 # include <assert.h>
20730 #endif
20732 #undef $ac_func
20734 /* Override any gcc2 internal prototype to avoid an error. */
20735 #ifdef __cplusplus
20736 extern "C"
20738 #endif
20739 /* We use char because int might match the return type of a gcc2
20740 builtin and then its argument prototype would still apply. */
20741 char $ac_func ();
20742 /* The GNU C library defines this for functions which it implements
20743 to always fail with ENOSYS. Some functions are actually named
20744 something starting with __ and the normal name is an alias. */
20745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20746 choke me
20747 #else
20748 char (*f) () = $ac_func;
20749 #endif
20750 #ifdef __cplusplus
20752 #endif
20755 main ()
20757 return f != $ac_func;
20759 return 0;
20761 _ACEOF
20762 rm -f conftest.$ac_objext conftest$ac_exeext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20764 (eval $ac_link) 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20774 ac_status=$?
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try='test -s conftest$ac_exeext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 eval "$as_ac_var=yes"
20784 else
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.$ac_ext >&5
20788 eval "$as_ac_var=no"
20790 rm -f conftest.err conftest.$ac_objext \
20791 conftest$ac_exeext conftest.$ac_ext
20793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20795 if test `eval echo '${'$as_ac_var'}'` = yes; then
20796 cat >>confdefs.h <<_ACEOF
20797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20798 _ACEOF
20801 done
20808 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
20809 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
20810 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
20811 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20817 ac_ext=cc
20818 ac_cpp='$CXXCPP $CPPFLAGS'
20819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20823 cat >conftest.$ac_ext <<_ACEOF
20824 /* confdefs.h. */
20825 _ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 #include <math.h>
20831 main ()
20833 hypotl(0, 0);
20835 return 0;
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; } &&
20853 { ac_try='test -s conftest.$ac_objext'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20856 ac_status=$?
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; }; then
20859 glibcxx_cv_func_hypotl_use=yes
20860 else
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 glibcxx_cv_func_hypotl_use=no
20866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20867 ac_ext=c
20868 ac_cpp='$CPP $CPPFLAGS'
20869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20877 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
20878 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
20880 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
20882 for ac_func in hypotl
20884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20885 echo "$as_me:$LINENO: checking for $ac_func" >&5
20886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20887 if eval "test \"\${$as_ac_var+set}\" = set"; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 else
20890 if test x$gcc_no_link = xyes; then
20891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20893 { (exit 1); exit 1; }; }
20895 cat >conftest.$ac_ext <<_ACEOF
20896 /* confdefs.h. */
20897 _ACEOF
20898 cat confdefs.h >>conftest.$ac_ext
20899 cat >>conftest.$ac_ext <<_ACEOF
20900 /* end confdefs.h. */
20901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20903 #define $ac_func innocuous_$ac_func
20905 /* System header to define __stub macros and hopefully few prototypes,
20906 which can conflict with char $ac_func (); below.
20907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20908 <limits.h> exists even on freestanding compilers. */
20910 #ifdef __STDC__
20911 # include <limits.h>
20912 #else
20913 # include <assert.h>
20914 #endif
20916 #undef $ac_func
20918 /* Override any gcc2 internal prototype to avoid an error. */
20919 #ifdef __cplusplus
20920 extern "C"
20922 #endif
20923 /* We use char because int might match the return type of a gcc2
20924 builtin and then its argument prototype would still apply. */
20925 char $ac_func ();
20926 /* The GNU C library defines this for functions which it implements
20927 to always fail with ENOSYS. Some functions are actually named
20928 something starting with __ and the normal name is an alias. */
20929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20930 choke me
20931 #else
20932 char (*f) () = $ac_func;
20933 #endif
20934 #ifdef __cplusplus
20936 #endif
20939 main ()
20941 return f != $ac_func;
20943 return 0;
20945 _ACEOF
20946 rm -f conftest.$ac_objext conftest$ac_exeext
20947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20948 (eval $ac_link) 2>conftest.er1
20949 ac_status=$?
20950 grep -v '^ *+' conftest.er1 >conftest.err
20951 rm -f conftest.er1
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } &&
20955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957 (eval $ac_try) 2>&5
20958 ac_status=$?
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; } &&
20961 { ac_try='test -s conftest$ac_exeext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 eval "$as_ac_var=yes"
20968 else
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 eval "$as_ac_var=no"
20974 rm -f conftest.err conftest.$ac_objext \
20975 conftest$ac_exeext conftest.$ac_ext
20977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20979 if test `eval echo '${'$as_ac_var'}'` = yes; then
20980 cat >>confdefs.h <<_ACEOF
20981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20982 _ACEOF
20985 done
20987 else
20989 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
20990 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
20991 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
20992 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
20993 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 else
20998 ac_ext=cc
20999 ac_cpp='$CXXCPP $CPPFLAGS'
21000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21004 cat >conftest.$ac_ext <<_ACEOF
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 #include <math.h>
21012 main ()
21014 _hypotl(0, 0);
21016 return 0;
21018 _ACEOF
21019 rm -f conftest.$ac_objext
21020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21021 (eval $ac_compile) 2>conftest.er1
21022 ac_status=$?
21023 grep -v '^ *+' conftest.er1 >conftest.err
21024 rm -f conftest.er1
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } &&
21028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try='test -s conftest.$ac_objext'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21037 ac_status=$?
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; }; then
21040 glibcxx_cv_func__hypotl_use=yes
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21045 glibcxx_cv_func__hypotl_use=no
21047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21048 ac_ext=c
21049 ac_cpp='$CPP $CPPFLAGS'
21050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21059 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21061 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21063 for ac_func in _hypotl
21065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21066 echo "$as_me:$LINENO: checking for $ac_func" >&5
21067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21068 if eval "test \"\${$as_ac_var+set}\" = set"; then
21069 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 else
21071 if test x$gcc_no_link = xyes; then
21072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21074 { (exit 1); exit 1; }; }
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21084 #define $ac_func innocuous_$ac_func
21086 /* System header to define __stub macros and hopefully few prototypes,
21087 which can conflict with char $ac_func (); below.
21088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21089 <limits.h> exists even on freestanding compilers. */
21091 #ifdef __STDC__
21092 # include <limits.h>
21093 #else
21094 # include <assert.h>
21095 #endif
21097 #undef $ac_func
21099 /* Override any gcc2 internal prototype to avoid an error. */
21100 #ifdef __cplusplus
21101 extern "C"
21103 #endif
21104 /* We use char because int might match the return type of a gcc2
21105 builtin and then its argument prototype would still apply. */
21106 char $ac_func ();
21107 /* The GNU C library defines this for functions which it implements
21108 to always fail with ENOSYS. Some functions are actually named
21109 something starting with __ and the normal name is an alias. */
21110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21111 choke me
21112 #else
21113 char (*f) () = $ac_func;
21114 #endif
21115 #ifdef __cplusplus
21117 #endif
21120 main ()
21122 return f != $ac_func;
21124 return 0;
21126 _ACEOF
21127 rm -f conftest.$ac_objext conftest$ac_exeext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21129 (eval $ac_link) 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } &&
21136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21139 ac_status=$?
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; } &&
21142 { ac_try='test -s conftest$ac_exeext'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; }; then
21148 eval "$as_ac_var=yes"
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21153 eval "$as_ac_var=no"
21155 rm -f conftest.err conftest.$ac_objext \
21156 conftest$ac_exeext conftest.$ac_ext
21158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21160 if test `eval echo '${'$as_ac_var'}'` = yes; then
21161 cat >>confdefs.h <<_ACEOF
21162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21163 _ACEOF
21166 done
21173 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21174 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21175 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21176 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21177 echo $ECHO_N "(cached) $ECHO_C" >&6
21178 else
21182 ac_ext=cc
21183 ac_cpp='$CXXCPP $CPPFLAGS'
21184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21188 cat >conftest.$ac_ext <<_ACEOF
21189 /* confdefs.h. */
21190 _ACEOF
21191 cat confdefs.h >>conftest.$ac_ext
21192 cat >>conftest.$ac_ext <<_ACEOF
21193 /* end confdefs.h. */
21194 #include <math.h>
21196 main ()
21198 ldexpl(0, 0);
21200 return 0;
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21205 (eval $ac_compile) 2>conftest.er1
21206 ac_status=$?
21207 grep -v '^ *+' conftest.er1 >conftest.err
21208 rm -f conftest.er1
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } &&
21212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21215 ac_status=$?
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; } &&
21218 { ac_try='test -s conftest.$ac_objext'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21221 ac_status=$?
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21224 glibcxx_cv_func_ldexpl_use=yes
21225 else
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.$ac_ext >&5
21229 glibcxx_cv_func_ldexpl_use=no
21231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21232 ac_ext=c
21233 ac_cpp='$CPP $CPPFLAGS'
21234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21243 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21245 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21247 for ac_func in ldexpl
21249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21250 echo "$as_me:$LINENO: checking for $ac_func" >&5
21251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21252 if eval "test \"\${$as_ac_var+set}\" = set"; then
21253 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 else
21255 if test x$gcc_no_link = xyes; then
21256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21258 { (exit 1); exit 1; }; }
21260 cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h. */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21268 #define $ac_func innocuous_$ac_func
21270 /* System header to define __stub macros and hopefully few prototypes,
21271 which can conflict with char $ac_func (); below.
21272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21273 <limits.h> exists even on freestanding compilers. */
21275 #ifdef __STDC__
21276 # include <limits.h>
21277 #else
21278 # include <assert.h>
21279 #endif
21281 #undef $ac_func
21283 /* Override any gcc2 internal prototype to avoid an error. */
21284 #ifdef __cplusplus
21285 extern "C"
21287 #endif
21288 /* We use char because int might match the return type of a gcc2
21289 builtin and then its argument prototype would still apply. */
21290 char $ac_func ();
21291 /* The GNU C library defines this for functions which it implements
21292 to always fail with ENOSYS. Some functions are actually named
21293 something starting with __ and the normal name is an alias. */
21294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21295 choke me
21296 #else
21297 char (*f) () = $ac_func;
21298 #endif
21299 #ifdef __cplusplus
21301 #endif
21304 main ()
21306 return f != $ac_func;
21308 return 0;
21310 _ACEOF
21311 rm -f conftest.$ac_objext conftest$ac_exeext
21312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21313 (eval $ac_link) 2>conftest.er1
21314 ac_status=$?
21315 grep -v '^ *+' conftest.er1 >conftest.err
21316 rm -f conftest.er1
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try='test -z "$ac_c_werror_flag" || 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 _ldexpl declaration" >&5
21355 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21356 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21357 if test "${glibcxx_cv_func__ldexpl_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>
21377 main ()
21379 _ldexpl(0, 0);
21381 return 0;
21383 _ACEOF
21384 rm -f conftest.$ac_objext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21386 (eval $ac_compile) 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21395 (eval $ac_try) 2>&5
21396 ac_status=$?
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); }; } &&
21399 { ac_try='test -s conftest.$ac_objext'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21402 ac_status=$?
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; }; then
21405 glibcxx_cv_func__ldexpl_use=yes
21406 else
21407 echo "$as_me: failed program was:" >&5
21408 sed 's/^/| /' conftest.$ac_ext >&5
21410 glibcxx_cv_func__ldexpl_use=no
21412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21413 ac_ext=c
21414 ac_cpp='$CPP $CPPFLAGS'
21415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21424 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21426 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21428 for ac_func in _ldexpl
21430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21431 echo "$as_me:$LINENO: checking for $ac_func" >&5
21432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21433 if eval "test \"\${$as_ac_var+set}\" = set"; then
21434 echo $ECHO_N "(cached) $ECHO_C" >&6
21435 else
21436 if test x$gcc_no_link = xyes; then
21437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21439 { (exit 1); exit 1; }; }
21441 cat >conftest.$ac_ext <<_ACEOF
21442 /* confdefs.h. */
21443 _ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21449 #define $ac_func innocuous_$ac_func
21451 /* System header to define __stub macros and hopefully few prototypes,
21452 which can conflict with char $ac_func (); below.
21453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21454 <limits.h> exists even on freestanding compilers. */
21456 #ifdef __STDC__
21457 # include <limits.h>
21458 #else
21459 # include <assert.h>
21460 #endif
21462 #undef $ac_func
21464 /* Override any gcc2 internal prototype to avoid an error. */
21465 #ifdef __cplusplus
21466 extern "C"
21468 #endif
21469 /* We use char because int might match the return type of a gcc2
21470 builtin and then its argument prototype would still apply. */
21471 char $ac_func ();
21472 /* The GNU C library defines this for functions which it implements
21473 to always fail with ENOSYS. Some functions are actually named
21474 something starting with __ and the normal name is an alias. */
21475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21476 choke me
21477 #else
21478 char (*f) () = $ac_func;
21479 #endif
21480 #ifdef __cplusplus
21482 #endif
21485 main ()
21487 return f != $ac_func;
21489 return 0;
21491 _ACEOF
21492 rm -f conftest.$ac_objext conftest$ac_exeext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21494 (eval $ac_link) 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21513 eval "$as_ac_var=yes"
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21518 eval "$as_ac_var=no"
21520 rm -f conftest.err conftest.$ac_objext \
21521 conftest$ac_exeext conftest.$ac_ext
21523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21525 if test `eval echo '${'$as_ac_var'}'` = yes; then
21526 cat >>confdefs.h <<_ACEOF
21527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21528 _ACEOF
21531 done
21538 echo "$as_me:$LINENO: checking for logl declaration" >&5
21539 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21540 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21541 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21543 else
21547 ac_ext=cc
21548 ac_cpp='$CXXCPP $CPPFLAGS'
21549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 #include <math.h>
21560 #ifdef HAVE_IEEEFP_H
21561 #include <ieeefp.h>
21562 #endif
21565 main ()
21567 logl(0);
21569 return 0;
21571 _ACEOF
21572 rm -f conftest.$ac_objext
21573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21574 (eval $ac_compile) 2>conftest.er1
21575 ac_status=$?
21576 grep -v '^ *+' conftest.er1 >conftest.err
21577 rm -f conftest.er1
21578 cat conftest.err >&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } &&
21581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21583 (eval $ac_try) 2>&5
21584 ac_status=$?
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); }; } &&
21587 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21593 glibcxx_cv_func_logl_use=yes
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21598 glibcxx_cv_func_logl_use=no
21600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21601 ac_ext=c
21602 ac_cpp='$CPP $CPPFLAGS'
21603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21612 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21614 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21616 for ac_func in logl
21618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21619 echo "$as_me:$LINENO: checking for $ac_func" >&5
21620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21621 if eval "test \"\${$as_ac_var+set}\" = set"; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21623 else
21624 if test x$gcc_no_link = xyes; then
21625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21627 { (exit 1); exit 1; }; }
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21637 #define $ac_func innocuous_$ac_func
21639 /* System header to define __stub macros and hopefully few prototypes,
21640 which can conflict with char $ac_func (); below.
21641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21642 <limits.h> exists even on freestanding compilers. */
21644 #ifdef __STDC__
21645 # include <limits.h>
21646 #else
21647 # include <assert.h>
21648 #endif
21650 #undef $ac_func
21652 /* Override any gcc2 internal prototype to avoid an error. */
21653 #ifdef __cplusplus
21654 extern "C"
21656 #endif
21657 /* We use char because int might match the return type of a gcc2
21658 builtin and then its argument prototype would still apply. */
21659 char $ac_func ();
21660 /* The GNU C library defines this for functions which it implements
21661 to always fail with ENOSYS. Some functions are actually named
21662 something starting with __ and the normal name is an alias. */
21663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21664 choke me
21665 #else
21666 char (*f) () = $ac_func;
21667 #endif
21668 #ifdef __cplusplus
21670 #endif
21673 main ()
21675 return f != $ac_func;
21677 return 0;
21679 _ACEOF
21680 rm -f conftest.$ac_objext conftest$ac_exeext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21682 (eval $ac_link) 2>conftest.er1
21683 ac_status=$?
21684 grep -v '^ *+' conftest.er1 >conftest.err
21685 rm -f conftest.er1
21686 cat conftest.err >&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } &&
21689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691 (eval $ac_try) 2>&5
21692 ac_status=$?
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; } &&
21695 { ac_try='test -s conftest$ac_exeext'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21698 ac_status=$?
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; }; then
21701 eval "$as_ac_var=yes"
21702 else
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.$ac_ext >&5
21706 eval "$as_ac_var=no"
21708 rm -f conftest.err conftest.$ac_objext \
21709 conftest$ac_exeext conftest.$ac_ext
21711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21713 if test `eval echo '${'$as_ac_var'}'` = yes; then
21714 cat >>confdefs.h <<_ACEOF
21715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21716 _ACEOF
21719 done
21721 else
21723 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21724 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21725 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21726 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21727 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 else
21732 ac_ext=cc
21733 ac_cpp='$CXXCPP $CPPFLAGS'
21734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738 cat >conftest.$ac_ext <<_ACEOF
21739 /* confdefs.h. */
21740 _ACEOF
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21744 #include <math.h>
21745 #ifdef HAVE_IEEEFP_H
21746 #include <ieeefp.h>
21747 #endif
21750 main ()
21752 _logl(0);
21754 return 0;
21756 _ACEOF
21757 rm -f conftest.$ac_objext
21758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21759 (eval $ac_compile) 2>conftest.er1
21760 ac_status=$?
21761 grep -v '^ *+' conftest.er1 >conftest.err
21762 rm -f conftest.er1
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; } &&
21772 { ac_try='test -s conftest.$ac_objext'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21775 ac_status=$?
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 glibcxx_cv_func__logl_use=yes
21779 else
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21783 glibcxx_cv_func__logl_use=no
21785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21786 ac_ext=c
21787 ac_cpp='$CPP $CPPFLAGS'
21788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
21797 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
21799 if test x$glibcxx_cv_func__logl_use = x"yes"; then
21801 for ac_func in _logl
21803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21804 echo "$as_me:$LINENO: checking for $ac_func" >&5
21805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21806 if eval "test \"\${$as_ac_var+set}\" = set"; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 else
21809 if test x$gcc_no_link = xyes; then
21810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21812 { (exit 1); exit 1; }; }
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21822 #define $ac_func innocuous_$ac_func
21824 /* System header to define __stub macros and hopefully few prototypes,
21825 which can conflict with char $ac_func (); below.
21826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21827 <limits.h> exists even on freestanding compilers. */
21829 #ifdef __STDC__
21830 # include <limits.h>
21831 #else
21832 # include <assert.h>
21833 #endif
21835 #undef $ac_func
21837 /* Override any gcc2 internal prototype to avoid an error. */
21838 #ifdef __cplusplus
21839 extern "C"
21841 #endif
21842 /* We use char because int might match the return type of a gcc2
21843 builtin and then its argument prototype would still apply. */
21844 char $ac_func ();
21845 /* The GNU C library defines this for functions which it implements
21846 to always fail with ENOSYS. Some functions are actually named
21847 something starting with __ and the normal name is an alias. */
21848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21849 choke me
21850 #else
21851 char (*f) () = $ac_func;
21852 #endif
21853 #ifdef __cplusplus
21855 #endif
21858 main ()
21860 return f != $ac_func;
21862 return 0;
21864 _ACEOF
21865 rm -f conftest.$ac_objext conftest$ac_exeext
21866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21867 (eval $ac_link) 2>conftest.er1
21868 ac_status=$?
21869 grep -v '^ *+' conftest.er1 >conftest.err
21870 rm -f conftest.er1
21871 cat conftest.err >&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } &&
21874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; } &&
21880 { ac_try='test -s conftest$ac_exeext'
21881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21883 ac_status=$?
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); }; }; then
21886 eval "$as_ac_var=yes"
21887 else
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21891 eval "$as_ac_var=no"
21893 rm -f conftest.err conftest.$ac_objext \
21894 conftest$ac_exeext conftest.$ac_ext
21896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21898 if test `eval echo '${'$as_ac_var'}'` = yes; then
21899 cat >>confdefs.h <<_ACEOF
21900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21901 _ACEOF
21904 done
21911 echo "$as_me:$LINENO: checking for log10l declaration" >&5
21912 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
21913 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
21914 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6
21916 else
21920 ac_ext=cc
21921 ac_cpp='$CXXCPP $CPPFLAGS'
21922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21926 cat >conftest.$ac_ext <<_ACEOF
21927 /* confdefs.h. */
21928 _ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 #include <math.h>
21933 #ifdef HAVE_IEEEFP_H
21934 #include <ieeefp.h>
21935 #endif
21938 main ()
21940 log10l(0);
21942 return 0;
21944 _ACEOF
21945 rm -f conftest.$ac_objext
21946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21947 (eval $ac_compile) 2>conftest.er1
21948 ac_status=$?
21949 grep -v '^ *+' conftest.er1 >conftest.err
21950 rm -f conftest.er1
21951 cat conftest.err >&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } &&
21954 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956 (eval $ac_try) 2>&5
21957 ac_status=$?
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; } &&
21960 { ac_try='test -s conftest.$ac_objext'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; }; then
21966 glibcxx_cv_func_log10l_use=yes
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21971 glibcxx_cv_func_log10l_use=no
21973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21974 ac_ext=c
21975 ac_cpp='$CPP $CPPFLAGS'
21976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
21985 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
21987 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
21989 for ac_func in log10l
21991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21992 echo "$as_me:$LINENO: checking for $ac_func" >&5
21993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21994 if eval "test \"\${$as_ac_var+set}\" = set"; then
21995 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 else
21997 if test x$gcc_no_link = xyes; then
21998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22000 { (exit 1); exit 1; }; }
22002 cat >conftest.$ac_ext <<_ACEOF
22003 /* confdefs.h. */
22004 _ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22010 #define $ac_func innocuous_$ac_func
22012 /* System header to define __stub macros and hopefully few prototypes,
22013 which can conflict with char $ac_func (); below.
22014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22015 <limits.h> exists even on freestanding compilers. */
22017 #ifdef __STDC__
22018 # include <limits.h>
22019 #else
22020 # include <assert.h>
22021 #endif
22023 #undef $ac_func
22025 /* Override any gcc2 internal prototype to avoid an error. */
22026 #ifdef __cplusplus
22027 extern "C"
22029 #endif
22030 /* We use char because int might match the return type of a gcc2
22031 builtin and then its argument prototype would still apply. */
22032 char $ac_func ();
22033 /* The GNU C library defines this for functions which it implements
22034 to always fail with ENOSYS. Some functions are actually named
22035 something starting with __ and the normal name is an alias. */
22036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22037 choke me
22038 #else
22039 char (*f) () = $ac_func;
22040 #endif
22041 #ifdef __cplusplus
22043 #endif
22046 main ()
22048 return f != $ac_func;
22050 return 0;
22052 _ACEOF
22053 rm -f conftest.$ac_objext conftest$ac_exeext
22054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22055 (eval $ac_link) 2>conftest.er1
22056 ac_status=$?
22057 grep -v '^ *+' conftest.er1 >conftest.err
22058 rm -f conftest.er1
22059 cat conftest.err >&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } &&
22062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; } &&
22068 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
22074 eval "$as_ac_var=yes"
22075 else
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22079 eval "$as_ac_var=no"
22081 rm -f conftest.err conftest.$ac_objext \
22082 conftest$ac_exeext conftest.$ac_ext
22084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22086 if test `eval echo '${'$as_ac_var'}'` = yes; then
22087 cat >>confdefs.h <<_ACEOF
22088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22089 _ACEOF
22092 done
22094 else
22096 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22097 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22098 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22099 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22100 echo $ECHO_N "(cached) $ECHO_C" >&6
22101 else
22105 ac_ext=cc
22106 ac_cpp='$CXXCPP $CPPFLAGS'
22107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 #include <math.h>
22118 #ifdef HAVE_IEEEFP_H
22119 #include <ieeefp.h>
22120 #endif
22123 main ()
22125 _log10l(0);
22127 return 0;
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22132 (eval $ac_compile) 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141 (eval $ac_try) 2>&5
22142 ac_status=$?
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; } &&
22145 { ac_try='test -s conftest.$ac_objext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 glibcxx_cv_func__log10l_use=yes
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22156 glibcxx_cv_func__log10l_use=no
22158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22159 ac_ext=c
22160 ac_cpp='$CPP $CPPFLAGS'
22161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22170 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22172 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22174 for ac_func in _log10l
22176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22177 echo "$as_me:$LINENO: checking for $ac_func" >&5
22178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22179 if eval "test \"\${$as_ac_var+set}\" = set"; then
22180 echo $ECHO_N "(cached) $ECHO_C" >&6
22181 else
22182 if test x$gcc_no_link = xyes; then
22183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22185 { (exit 1); exit 1; }; }
22187 cat >conftest.$ac_ext <<_ACEOF
22188 /* confdefs.h. */
22189 _ACEOF
22190 cat confdefs.h >>conftest.$ac_ext
22191 cat >>conftest.$ac_ext <<_ACEOF
22192 /* end confdefs.h. */
22193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22195 #define $ac_func innocuous_$ac_func
22197 /* System header to define __stub macros and hopefully few prototypes,
22198 which can conflict with char $ac_func (); below.
22199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22200 <limits.h> exists even on freestanding compilers. */
22202 #ifdef __STDC__
22203 # include <limits.h>
22204 #else
22205 # include <assert.h>
22206 #endif
22208 #undef $ac_func
22210 /* Override any gcc2 internal prototype to avoid an error. */
22211 #ifdef __cplusplus
22212 extern "C"
22214 #endif
22215 /* We use char because int might match the return type of a gcc2
22216 builtin and then its argument prototype would still apply. */
22217 char $ac_func ();
22218 /* The GNU C library defines this for functions which it implements
22219 to always fail with ENOSYS. Some functions are actually named
22220 something starting with __ and the normal name is an alias. */
22221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22222 choke me
22223 #else
22224 char (*f) () = $ac_func;
22225 #endif
22226 #ifdef __cplusplus
22228 #endif
22231 main ()
22233 return f != $ac_func;
22235 return 0;
22237 _ACEOF
22238 rm -f conftest.$ac_objext conftest$ac_exeext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22240 (eval $ac_link) 2>conftest.er1
22241 ac_status=$?
22242 grep -v '^ *+' conftest.er1 >conftest.err
22243 rm -f conftest.er1
22244 cat conftest.err >&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22250 ac_status=$?
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; } &&
22253 { ac_try='test -s conftest$ac_exeext'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22256 ac_status=$?
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; }; then
22259 eval "$as_ac_var=yes"
22260 else
22261 echo "$as_me: failed program was:" >&5
22262 sed 's/^/| /' conftest.$ac_ext >&5
22264 eval "$as_ac_var=no"
22266 rm -f conftest.err conftest.$ac_objext \
22267 conftest$ac_exeext conftest.$ac_ext
22269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22271 if test `eval echo '${'$as_ac_var'}'` = yes; then
22272 cat >>confdefs.h <<_ACEOF
22273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22274 _ACEOF
22277 done
22284 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22285 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22286 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22287 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 else
22293 ac_ext=cc
22294 ac_cpp='$CXXCPP $CPPFLAGS'
22295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22299 cat >conftest.$ac_ext <<_ACEOF
22300 /* confdefs.h. */
22301 _ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 #include <math.h>
22307 main ()
22309 modfl(0, 0);
22311 return 0;
22313 _ACEOF
22314 rm -f conftest.$ac_objext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22316 (eval $ac_compile) 2>conftest.er1
22317 ac_status=$?
22318 grep -v '^ *+' conftest.er1 >conftest.err
22319 rm -f conftest.er1
22320 cat conftest.err >&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; } &&
22329 { ac_try='test -s conftest.$ac_objext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22332 ac_status=$?
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 glibcxx_cv_func_modfl_use=yes
22336 else
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22340 glibcxx_cv_func_modfl_use=no
22342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22343 ac_ext=c
22344 ac_cpp='$CPP $CPPFLAGS'
22345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22354 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22356 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22358 for ac_func in modfl
22360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22361 echo "$as_me:$LINENO: checking for $ac_func" >&5
22362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22363 if eval "test \"\${$as_ac_var+set}\" = set"; then
22364 echo $ECHO_N "(cached) $ECHO_C" >&6
22365 else
22366 if test x$gcc_no_link = xyes; then
22367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22369 { (exit 1); exit 1; }; }
22371 cat >conftest.$ac_ext <<_ACEOF
22372 /* confdefs.h. */
22373 _ACEOF
22374 cat confdefs.h >>conftest.$ac_ext
22375 cat >>conftest.$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22379 #define $ac_func innocuous_$ac_func
22381 /* System header to define __stub macros and hopefully few prototypes,
22382 which can conflict with char $ac_func (); below.
22383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22384 <limits.h> exists even on freestanding compilers. */
22386 #ifdef __STDC__
22387 # include <limits.h>
22388 #else
22389 # include <assert.h>
22390 #endif
22392 #undef $ac_func
22394 /* Override any gcc2 internal prototype to avoid an error. */
22395 #ifdef __cplusplus
22396 extern "C"
22398 #endif
22399 /* We use char because int might match the return type of a gcc2
22400 builtin and then its argument prototype would still apply. */
22401 char $ac_func ();
22402 /* The GNU C library defines this for functions which it implements
22403 to always fail with ENOSYS. Some functions are actually named
22404 something starting with __ and the normal name is an alias. */
22405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22406 choke me
22407 #else
22408 char (*f) () = $ac_func;
22409 #endif
22410 #ifdef __cplusplus
22412 #endif
22415 main ()
22417 return f != $ac_func;
22419 return 0;
22421 _ACEOF
22422 rm -f conftest.$ac_objext conftest$ac_exeext
22423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22424 (eval $ac_link) 2>conftest.er1
22425 ac_status=$?
22426 grep -v '^ *+' conftest.er1 >conftest.err
22427 rm -f conftest.er1
22428 cat conftest.err >&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22433 (eval $ac_try) 2>&5
22434 ac_status=$?
22435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22436 (exit $ac_status); }; } &&
22437 { ac_try='test -s conftest$ac_exeext'
22438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22439 (eval $ac_try) 2>&5
22440 ac_status=$?
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); }; }; then
22443 eval "$as_ac_var=yes"
22444 else
22445 echo "$as_me: failed program was:" >&5
22446 sed 's/^/| /' conftest.$ac_ext >&5
22448 eval "$as_ac_var=no"
22450 rm -f conftest.err conftest.$ac_objext \
22451 conftest$ac_exeext conftest.$ac_ext
22453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22455 if test `eval echo '${'$as_ac_var'}'` = yes; then
22456 cat >>confdefs.h <<_ACEOF
22457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22458 _ACEOF
22461 done
22463 else
22465 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22466 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22467 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22468 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22469 echo $ECHO_N "(cached) $ECHO_C" >&6
22470 else
22474 ac_ext=cc
22475 ac_cpp='$CXXCPP $CPPFLAGS'
22476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480 cat >conftest.$ac_ext <<_ACEOF
22481 /* confdefs.h. */
22482 _ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22486 #include <math.h>
22488 main ()
22490 _modfl(0, 0);
22492 return 0;
22494 _ACEOF
22495 rm -f conftest.$ac_objext
22496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22497 (eval $ac_compile) 2>conftest.er1
22498 ac_status=$?
22499 grep -v '^ *+' conftest.er1 >conftest.err
22500 rm -f conftest.er1
22501 cat conftest.err >&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } &&
22504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506 (eval $ac_try) 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; } &&
22510 { ac_try='test -s conftest.$ac_objext'
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516 glibcxx_cv_func__modfl_use=yes
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 glibcxx_cv_func__modfl_use=no
22523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22524 ac_ext=c
22525 ac_cpp='$CPP $CPPFLAGS'
22526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22535 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22537 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22539 for ac_func in _modfl
22541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22542 echo "$as_me:$LINENO: checking for $ac_func" >&5
22543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22544 if eval "test \"\${$as_ac_var+set}\" = set"; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 else
22547 if test x$gcc_no_link = xyes; then
22548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22550 { (exit 1); exit 1; }; }
22552 cat >conftest.$ac_ext <<_ACEOF
22553 /* confdefs.h. */
22554 _ACEOF
22555 cat confdefs.h >>conftest.$ac_ext
22556 cat >>conftest.$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22560 #define $ac_func innocuous_$ac_func
22562 /* System header to define __stub macros and hopefully few prototypes,
22563 which can conflict with char $ac_func (); below.
22564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22565 <limits.h> exists even on freestanding compilers. */
22567 #ifdef __STDC__
22568 # include <limits.h>
22569 #else
22570 # include <assert.h>
22571 #endif
22573 #undef $ac_func
22575 /* Override any gcc2 internal prototype to avoid an error. */
22576 #ifdef __cplusplus
22577 extern "C"
22579 #endif
22580 /* We use char because int might match the return type of a gcc2
22581 builtin and then its argument prototype would still apply. */
22582 char $ac_func ();
22583 /* The GNU C library defines this for functions which it implements
22584 to always fail with ENOSYS. Some functions are actually named
22585 something starting with __ and the normal name is an alias. */
22586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22587 choke me
22588 #else
22589 char (*f) () = $ac_func;
22590 #endif
22591 #ifdef __cplusplus
22593 #endif
22596 main ()
22598 return f != $ac_func;
22600 return 0;
22602 _ACEOF
22603 rm -f conftest.$ac_objext conftest$ac_exeext
22604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22605 (eval $ac_link) 2>conftest.er1
22606 ac_status=$?
22607 grep -v '^ *+' conftest.er1 >conftest.err
22608 rm -f conftest.er1
22609 cat conftest.err >&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); } &&
22612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; } &&
22618 { ac_try='test -s conftest$ac_exeext'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22621 ac_status=$?
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; }; then
22624 eval "$as_ac_var=yes"
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22629 eval "$as_ac_var=no"
22631 rm -f conftest.err conftest.$ac_objext \
22632 conftest$ac_exeext conftest.$ac_ext
22634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22636 if test `eval echo '${'$as_ac_var'}'` = yes; then
22637 cat >>confdefs.h <<_ACEOF
22638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22639 _ACEOF
22642 done
22649 echo "$as_me:$LINENO: checking for powl declaration" >&5
22650 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22651 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22652 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22653 echo $ECHO_N "(cached) $ECHO_C" >&6
22654 else
22658 ac_ext=cc
22659 ac_cpp='$CXXCPP $CPPFLAGS'
22660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22664 cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 #include <math.h>
22672 main ()
22674 powl(0, 0);
22676 return 0;
22678 _ACEOF
22679 rm -f conftest.$ac_objext
22680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22681 (eval $ac_compile) 2>conftest.er1
22682 ac_status=$?
22683 grep -v '^ *+' conftest.er1 >conftest.err
22684 rm -f conftest.er1
22685 cat conftest.err >&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); } &&
22688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22691 ac_status=$?
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; } &&
22694 { ac_try='test -s conftest.$ac_objext'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; }; then
22700 glibcxx_cv_func_powl_use=yes
22701 else
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22705 glibcxx_cv_func_powl_use=no
22707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22708 ac_ext=c
22709 ac_cpp='$CPP $CPPFLAGS'
22710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22719 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22721 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22723 for ac_func in powl
22725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22726 echo "$as_me:$LINENO: checking for $ac_func" >&5
22727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22728 if eval "test \"\${$as_ac_var+set}\" = set"; then
22729 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 else
22731 if test x$gcc_no_link = xyes; then
22732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22734 { (exit 1); exit 1; }; }
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22744 #define $ac_func innocuous_$ac_func
22746 /* System header to define __stub macros and hopefully few prototypes,
22747 which can conflict with char $ac_func (); below.
22748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22749 <limits.h> exists even on freestanding compilers. */
22751 #ifdef __STDC__
22752 # include <limits.h>
22753 #else
22754 # include <assert.h>
22755 #endif
22757 #undef $ac_func
22759 /* Override any gcc2 internal prototype to avoid an error. */
22760 #ifdef __cplusplus
22761 extern "C"
22763 #endif
22764 /* We use char because int might match the return type of a gcc2
22765 builtin and then its argument prototype would still apply. */
22766 char $ac_func ();
22767 /* The GNU C library defines this for functions which it implements
22768 to always fail with ENOSYS. Some functions are actually named
22769 something starting with __ and the normal name is an alias. */
22770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22771 choke me
22772 #else
22773 char (*f) () = $ac_func;
22774 #endif
22775 #ifdef __cplusplus
22777 #endif
22780 main ()
22782 return f != $ac_func;
22784 return 0;
22786 _ACEOF
22787 rm -f conftest.$ac_objext conftest$ac_exeext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22789 (eval $ac_link) 2>conftest.er1
22790 ac_status=$?
22791 grep -v '^ *+' conftest.er1 >conftest.err
22792 rm -f conftest.er1
22793 cat conftest.err >&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; } &&
22802 { ac_try='test -s conftest$ac_exeext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22805 ac_status=$?
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 eval "$as_ac_var=yes"
22809 else
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.$ac_ext >&5
22813 eval "$as_ac_var=no"
22815 rm -f conftest.err conftest.$ac_objext \
22816 conftest$ac_exeext conftest.$ac_ext
22818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22820 if test `eval echo '${'$as_ac_var'}'` = yes; then
22821 cat >>confdefs.h <<_ACEOF
22822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22823 _ACEOF
22826 done
22828 else
22830 echo "$as_me:$LINENO: checking for _powl declaration" >&5
22831 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
22832 if test x${glibcxx_cv_func__powl_use+set} != xset; then
22833 if test "${glibcxx_cv_func__powl_use+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22839 ac_ext=cc
22840 ac_cpp='$CXXCPP $CPPFLAGS'
22841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845 cat >conftest.$ac_ext <<_ACEOF
22846 /* confdefs.h. */
22847 _ACEOF
22848 cat confdefs.h >>conftest.$ac_ext
22849 cat >>conftest.$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 #include <math.h>
22853 main ()
22855 _powl(0, 0);
22857 return 0;
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22862 (eval $ac_compile) 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22872 ac_status=$?
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; } &&
22875 { ac_try='test -s conftest.$ac_objext'
22876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877 (eval $ac_try) 2>&5
22878 ac_status=$?
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; }; then
22881 glibcxx_cv_func__powl_use=yes
22882 else
22883 echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22886 glibcxx_cv_func__powl_use=no
22888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22889 ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
22900 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
22902 if test x$glibcxx_cv_func__powl_use = x"yes"; then
22904 for ac_func in _powl
22906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22907 echo "$as_me:$LINENO: checking for $ac_func" >&5
22908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22909 if eval "test \"\${$as_ac_var+set}\" = set"; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912 if test x$gcc_no_link = xyes; then
22913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22915 { (exit 1); exit 1; }; }
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h. */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22925 #define $ac_func innocuous_$ac_func
22927 /* System header to define __stub macros and hopefully few prototypes,
22928 which can conflict with char $ac_func (); below.
22929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22930 <limits.h> exists even on freestanding compilers. */
22932 #ifdef __STDC__
22933 # include <limits.h>
22934 #else
22935 # include <assert.h>
22936 #endif
22938 #undef $ac_func
22940 /* Override any gcc2 internal prototype to avoid an error. */
22941 #ifdef __cplusplus
22942 extern "C"
22944 #endif
22945 /* We use char because int might match the return type of a gcc2
22946 builtin and then its argument prototype would still apply. */
22947 char $ac_func ();
22948 /* The GNU C library defines this for functions which it implements
22949 to always fail with ENOSYS. Some functions are actually named
22950 something starting with __ and the normal name is an alias. */
22951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22952 choke me
22953 #else
22954 char (*f) () = $ac_func;
22955 #endif
22956 #ifdef __cplusplus
22958 #endif
22961 main ()
22963 return f != $ac_func;
22965 return 0;
22967 _ACEOF
22968 rm -f conftest.$ac_objext conftest$ac_exeext
22969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22970 (eval $ac_link) 2>conftest.er1
22971 ac_status=$?
22972 grep -v '^ *+' conftest.er1 >conftest.err
22973 rm -f conftest.er1
22974 cat conftest.err >&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); } &&
22977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979 (eval $ac_try) 2>&5
22980 ac_status=$?
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); }; } &&
22983 { ac_try='test -s conftest$ac_exeext'
22984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22985 (eval $ac_try) 2>&5
22986 ac_status=$?
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); }; }; then
22989 eval "$as_ac_var=yes"
22990 else
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.$ac_ext >&5
22994 eval "$as_ac_var=no"
22996 rm -f conftest.err conftest.$ac_objext \
22997 conftest$ac_exeext conftest.$ac_ext
22999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23001 if test `eval echo '${'$as_ac_var'}'` = yes; then
23002 cat >>confdefs.h <<_ACEOF
23003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23004 _ACEOF
23007 done
23014 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23015 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23016 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23017 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23018 echo $ECHO_N "(cached) $ECHO_C" >&6
23019 else
23023 ac_ext=cc
23024 ac_cpp='$CXXCPP $CPPFLAGS'
23025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23029 cat >conftest.$ac_ext <<_ACEOF
23030 /* confdefs.h. */
23031 _ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23035 #include <math.h>
23036 #ifdef HAVE_IEEEFP_H
23037 #include <ieeefp.h>
23038 #endif
23041 main ()
23043 sqrtl(0);
23045 return 0;
23047 _ACEOF
23048 rm -f conftest.$ac_objext
23049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23050 (eval $ac_compile) 2>conftest.er1
23051 ac_status=$?
23052 grep -v '^ *+' conftest.er1 >conftest.err
23053 rm -f conftest.er1
23054 cat conftest.err >&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); } &&
23057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23059 (eval $ac_try) 2>&5
23060 ac_status=$?
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); }; } &&
23063 { ac_try='test -s conftest.$ac_objext'
23064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23065 (eval $ac_try) 2>&5
23066 ac_status=$?
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); }; }; then
23069 glibcxx_cv_func_sqrtl_use=yes
23070 else
23071 echo "$as_me: failed program was:" >&5
23072 sed 's/^/| /' conftest.$ac_ext >&5
23074 glibcxx_cv_func_sqrtl_use=no
23076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23077 ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23088 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23090 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23092 for ac_func in sqrtl
23094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23095 echo "$as_me:$LINENO: checking for $ac_func" >&5
23096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23097 if eval "test \"\${$as_ac_var+set}\" = set"; then
23098 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 else
23100 if test x$gcc_no_link = xyes; then
23101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23103 { (exit 1); exit 1; }; }
23105 cat >conftest.$ac_ext <<_ACEOF
23106 /* confdefs.h. */
23107 _ACEOF
23108 cat confdefs.h >>conftest.$ac_ext
23109 cat >>conftest.$ac_ext <<_ACEOF
23110 /* end confdefs.h. */
23111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23113 #define $ac_func innocuous_$ac_func
23115 /* System header to define __stub macros and hopefully few prototypes,
23116 which can conflict with char $ac_func (); below.
23117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23118 <limits.h> exists even on freestanding compilers. */
23120 #ifdef __STDC__
23121 # include <limits.h>
23122 #else
23123 # include <assert.h>
23124 #endif
23126 #undef $ac_func
23128 /* Override any gcc2 internal prototype to avoid an error. */
23129 #ifdef __cplusplus
23130 extern "C"
23132 #endif
23133 /* We use char because int might match the return type of a gcc2
23134 builtin and then its argument prototype would still apply. */
23135 char $ac_func ();
23136 /* The GNU C library defines this for functions which it implements
23137 to always fail with ENOSYS. Some functions are actually named
23138 something starting with __ and the normal name is an alias. */
23139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23140 choke me
23141 #else
23142 char (*f) () = $ac_func;
23143 #endif
23144 #ifdef __cplusplus
23146 #endif
23149 main ()
23151 return f != $ac_func;
23153 return 0;
23155 _ACEOF
23156 rm -f conftest.$ac_objext conftest$ac_exeext
23157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23158 (eval $ac_link) 2>conftest.er1
23159 ac_status=$?
23160 grep -v '^ *+' conftest.er1 >conftest.err
23161 rm -f conftest.er1
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23168 ac_status=$?
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; } &&
23171 { ac_try='test -s conftest$ac_exeext'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23174 ac_status=$?
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; }; then
23177 eval "$as_ac_var=yes"
23178 else
23179 echo "$as_me: failed program was:" >&5
23180 sed 's/^/| /' conftest.$ac_ext >&5
23182 eval "$as_ac_var=no"
23184 rm -f conftest.err conftest.$ac_objext \
23185 conftest$ac_exeext conftest.$ac_ext
23187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23189 if test `eval echo '${'$as_ac_var'}'` = yes; then
23190 cat >>confdefs.h <<_ACEOF
23191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23192 _ACEOF
23195 done
23197 else
23199 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23200 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23201 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23202 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 else
23208 ac_ext=cc
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat >conftest.$ac_ext <<_ACEOF
23215 /* confdefs.h. */
23216 _ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23226 main ()
23228 _sqrtl(0);
23230 return 0;
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23235 (eval $ac_compile) 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; } &&
23248 { ac_try='test -s conftest.$ac_objext'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23251 ac_status=$?
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; }; then
23254 glibcxx_cv_func__sqrtl_use=yes
23255 else
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.$ac_ext >&5
23259 glibcxx_cv_func__sqrtl_use=no
23261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23262 ac_ext=c
23263 ac_cpp='$CPP $CPPFLAGS'
23264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23273 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23275 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23277 for ac_func in _sqrtl
23279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23280 echo "$as_me:$LINENO: checking for $ac_func" >&5
23281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23282 if eval "test \"\${$as_ac_var+set}\" = set"; then
23283 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 else
23285 if test x$gcc_no_link = xyes; then
23286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23288 { (exit 1); exit 1; }; }
23290 cat >conftest.$ac_ext <<_ACEOF
23291 /* confdefs.h. */
23292 _ACEOF
23293 cat confdefs.h >>conftest.$ac_ext
23294 cat >>conftest.$ac_ext <<_ACEOF
23295 /* end confdefs.h. */
23296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23298 #define $ac_func innocuous_$ac_func
23300 /* System header to define __stub macros and hopefully few prototypes,
23301 which can conflict with char $ac_func (); below.
23302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23303 <limits.h> exists even on freestanding compilers. */
23305 #ifdef __STDC__
23306 # include <limits.h>
23307 #else
23308 # include <assert.h>
23309 #endif
23311 #undef $ac_func
23313 /* Override any gcc2 internal prototype to avoid an error. */
23314 #ifdef __cplusplus
23315 extern "C"
23317 #endif
23318 /* We use char because int might match the return type of a gcc2
23319 builtin and then its argument prototype would still apply. */
23320 char $ac_func ();
23321 /* The GNU C library defines this for functions which it implements
23322 to always fail with ENOSYS. Some functions are actually named
23323 something starting with __ and the normal name is an alias. */
23324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23325 choke me
23326 #else
23327 char (*f) () = $ac_func;
23328 #endif
23329 #ifdef __cplusplus
23331 #endif
23334 main ()
23336 return f != $ac_func;
23338 return 0;
23340 _ACEOF
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>conftest.er1
23344 ac_status=$?
23345 grep -v '^ *+' conftest.er1 >conftest.err
23346 rm -f conftest.er1
23347 cat conftest.err >&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 eval "$as_ac_var=yes"
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23367 eval "$as_ac_var=no"
23369 rm -f conftest.err conftest.$ac_objext \
23370 conftest$ac_exeext conftest.$ac_ext
23372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23374 if test `eval echo '${'$as_ac_var'}'` = yes; then
23375 cat >>confdefs.h <<_ACEOF
23376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23377 _ACEOF
23380 done
23387 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23388 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23389 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23390 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23396 ac_ext=cc
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <math.h>
23410 main ()
23412 sincosl(0, 0, 0);
23414 return 0;
23416 _ACEOF
23417 rm -f conftest.$ac_objext
23418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23419 (eval $ac_compile) 2>conftest.er1
23420 ac_status=$?
23421 grep -v '^ *+' conftest.er1 >conftest.err
23422 rm -f conftest.er1
23423 cat conftest.err >&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); } &&
23426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428 (eval $ac_try) 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); }; } &&
23432 { ac_try='test -s conftest.$ac_objext'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; }; then
23438 glibcxx_cv_func_sincosl_use=yes
23439 else
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23443 glibcxx_cv_func_sincosl_use=no
23445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23446 ac_ext=c
23447 ac_cpp='$CPP $CPPFLAGS'
23448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23457 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23459 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23461 for ac_func in sincosl
23463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23464 echo "$as_me:$LINENO: checking for $ac_func" >&5
23465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23466 if eval "test \"\${$as_ac_var+set}\" = set"; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23468 else
23469 if test x$gcc_no_link = xyes; then
23470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23472 { (exit 1); exit 1; }; }
23474 cat >conftest.$ac_ext <<_ACEOF
23475 /* confdefs.h. */
23476 _ACEOF
23477 cat confdefs.h >>conftest.$ac_ext
23478 cat >>conftest.$ac_ext <<_ACEOF
23479 /* end confdefs.h. */
23480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23482 #define $ac_func innocuous_$ac_func
23484 /* System header to define __stub macros and hopefully few prototypes,
23485 which can conflict with char $ac_func (); below.
23486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23487 <limits.h> exists even on freestanding compilers. */
23489 #ifdef __STDC__
23490 # include <limits.h>
23491 #else
23492 # include <assert.h>
23493 #endif
23495 #undef $ac_func
23497 /* Override any gcc2 internal prototype to avoid an error. */
23498 #ifdef __cplusplus
23499 extern "C"
23501 #endif
23502 /* We use char because int might match the return type of a gcc2
23503 builtin and then its argument prototype would still apply. */
23504 char $ac_func ();
23505 /* The GNU C library defines this for functions which it implements
23506 to always fail with ENOSYS. Some functions are actually named
23507 something starting with __ and the normal name is an alias. */
23508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23509 choke me
23510 #else
23511 char (*f) () = $ac_func;
23512 #endif
23513 #ifdef __cplusplus
23515 #endif
23518 main ()
23520 return f != $ac_func;
23522 return 0;
23524 _ACEOF
23525 rm -f conftest.$ac_objext conftest$ac_exeext
23526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23527 (eval $ac_link) 2>conftest.er1
23528 ac_status=$?
23529 grep -v '^ *+' conftest.er1 >conftest.err
23530 rm -f conftest.er1
23531 cat conftest.err >&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); } &&
23534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23537 ac_status=$?
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; } &&
23540 { ac_try='test -s conftest$ac_exeext'
23541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23542 (eval $ac_try) 2>&5
23543 ac_status=$?
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); }; }; then
23546 eval "$as_ac_var=yes"
23547 else
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.$ac_ext >&5
23551 eval "$as_ac_var=no"
23553 rm -f conftest.err conftest.$ac_objext \
23554 conftest$ac_exeext conftest.$ac_ext
23556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23558 if test `eval echo '${'$as_ac_var'}'` = yes; then
23559 cat >>confdefs.h <<_ACEOF
23560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23561 _ACEOF
23564 done
23566 else
23568 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23569 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23570 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23571 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 else
23577 ac_ext=cc
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583 cat >conftest.$ac_ext <<_ACEOF
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 #include <math.h>
23591 main ()
23593 _sincosl(0, 0, 0);
23595 return 0;
23597 _ACEOF
23598 rm -f conftest.$ac_objext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23600 (eval $ac_compile) 2>conftest.er1
23601 ac_status=$?
23602 grep -v '^ *+' conftest.er1 >conftest.err
23603 rm -f conftest.er1
23604 cat conftest.err >&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23610 ac_status=$?
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; } &&
23613 { ac_try='test -s conftest.$ac_objext'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 glibcxx_cv_func__sincosl_use=yes
23620 else
23621 echo "$as_me: failed program was:" >&5
23622 sed 's/^/| /' conftest.$ac_ext >&5
23624 glibcxx_cv_func__sincosl_use=no
23626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23627 ac_ext=c
23628 ac_cpp='$CPP $CPPFLAGS'
23629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23638 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23640 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23642 for ac_func in _sincosl
23644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23645 echo "$as_me:$LINENO: checking for $ac_func" >&5
23646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23647 if eval "test \"\${$as_ac_var+set}\" = set"; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 else
23650 if test x$gcc_no_link = xyes; then
23651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23653 { (exit 1); exit 1; }; }
23655 cat >conftest.$ac_ext <<_ACEOF
23656 /* confdefs.h. */
23657 _ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23663 #define $ac_func innocuous_$ac_func
23665 /* System header to define __stub macros and hopefully few prototypes,
23666 which can conflict with char $ac_func (); below.
23667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23668 <limits.h> exists even on freestanding compilers. */
23670 #ifdef __STDC__
23671 # include <limits.h>
23672 #else
23673 # include <assert.h>
23674 #endif
23676 #undef $ac_func
23678 /* Override any gcc2 internal prototype to avoid an error. */
23679 #ifdef __cplusplus
23680 extern "C"
23682 #endif
23683 /* We use char because int might match the return type of a gcc2
23684 builtin and then its argument prototype would still apply. */
23685 char $ac_func ();
23686 /* The GNU C library defines this for functions which it implements
23687 to always fail with ENOSYS. Some functions are actually named
23688 something starting with __ and the normal name is an alias. */
23689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23690 choke me
23691 #else
23692 char (*f) () = $ac_func;
23693 #endif
23694 #ifdef __cplusplus
23696 #endif
23699 main ()
23701 return f != $ac_func;
23703 return 0;
23705 _ACEOF
23706 rm -f conftest.$ac_objext conftest$ac_exeext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>conftest.er1
23709 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } &&
23715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; } &&
23721 { ac_try='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 eval "$as_ac_var=yes"
23728 else
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23732 eval "$as_ac_var=no"
23734 rm -f conftest.err conftest.$ac_objext \
23735 conftest$ac_exeext conftest.$ac_ext
23737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23739 if test `eval echo '${'$as_ac_var'}'` = yes; then
23740 cat >>confdefs.h <<_ACEOF
23741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23742 _ACEOF
23745 done
23752 echo "$as_me:$LINENO: checking for finitel declaration" >&5
23753 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23754 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23755 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23756 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 else
23761 ac_ext=cc
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767 cat >conftest.$ac_ext <<_ACEOF
23768 /* confdefs.h. */
23769 _ACEOF
23770 cat confdefs.h >>conftest.$ac_ext
23771 cat >>conftest.$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23773 #include <math.h>
23774 #ifdef HAVE_IEEEFP_H
23775 #include <ieeefp.h>
23776 #endif
23779 main ()
23781 finitel(0);
23783 return 0;
23785 _ACEOF
23786 rm -f conftest.$ac_objext
23787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23788 (eval $ac_compile) 2>conftest.er1
23789 ac_status=$?
23790 grep -v '^ *+' conftest.er1 >conftest.err
23791 rm -f conftest.er1
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } &&
23795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; } &&
23801 { ac_try='test -s conftest.$ac_objext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23804 ac_status=$?
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23807 glibcxx_cv_func_finitel_use=yes
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23812 glibcxx_cv_func_finitel_use=no
23814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23815 ac_ext=c
23816 ac_cpp='$CPP $CPPFLAGS'
23817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
23826 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
23828 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
23830 for ac_func in finitel
23832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23833 echo "$as_me:$LINENO: checking for $ac_func" >&5
23834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23835 if eval "test \"\${$as_ac_var+set}\" = set"; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 else
23838 if test x$gcc_no_link = xyes; then
23839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23841 { (exit 1); exit 1; }; }
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h. */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23851 #define $ac_func innocuous_$ac_func
23853 /* System header to define __stub macros and hopefully few prototypes,
23854 which can conflict with char $ac_func (); below.
23855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23856 <limits.h> exists even on freestanding compilers. */
23858 #ifdef __STDC__
23859 # include <limits.h>
23860 #else
23861 # include <assert.h>
23862 #endif
23864 #undef $ac_func
23866 /* Override any gcc2 internal prototype to avoid an error. */
23867 #ifdef __cplusplus
23868 extern "C"
23870 #endif
23871 /* We use char because int might match the return type of a gcc2
23872 builtin and then its argument prototype would still apply. */
23873 char $ac_func ();
23874 /* The GNU C library defines this for functions which it implements
23875 to always fail with ENOSYS. Some functions are actually named
23876 something starting with __ and the normal name is an alias. */
23877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23878 choke me
23879 #else
23880 char (*f) () = $ac_func;
23881 #endif
23882 #ifdef __cplusplus
23884 #endif
23887 main ()
23889 return f != $ac_func;
23891 return 0;
23893 _ACEOF
23894 rm -f conftest.$ac_objext conftest$ac_exeext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23896 (eval $ac_link) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try='test -s conftest$ac_exeext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 eval "$as_ac_var=yes"
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23920 eval "$as_ac_var=no"
23922 rm -f conftest.err conftest.$ac_objext \
23923 conftest$ac_exeext conftest.$ac_ext
23925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23927 if test `eval echo '${'$as_ac_var'}'` = yes; then
23928 cat >>confdefs.h <<_ACEOF
23929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23930 _ACEOF
23933 done
23935 else
23937 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
23938 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
23939 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
23940 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
23941 echo $ECHO_N "(cached) $ECHO_C" >&6
23942 else
23946 ac_ext=cc
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958 #include <math.h>
23959 #ifdef HAVE_IEEEFP_H
23960 #include <ieeefp.h>
23961 #endif
23964 main ()
23966 _finitel(0);
23968 return 0;
23970 _ACEOF
23971 rm -f conftest.$ac_objext
23972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23973 (eval $ac_compile) 2>conftest.er1
23974 ac_status=$?
23975 grep -v '^ *+' conftest.er1 >conftest.err
23976 rm -f conftest.er1
23977 cat conftest.err >&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23983 ac_status=$?
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; } &&
23986 { ac_try='test -s conftest.$ac_objext'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23989 ac_status=$?
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 glibcxx_cv_func__finitel_use=yes
23993 else
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
23997 glibcxx_cv_func__finitel_use=no
23999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24000 ac_ext=c
24001 ac_cpp='$CPP $CPPFLAGS'
24002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24011 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24013 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24015 for ac_func in _finitel
24017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24018 echo "$as_me:$LINENO: checking for $ac_func" >&5
24019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24020 if eval "test \"\${$as_ac_var+set}\" = set"; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24022 else
24023 if test x$gcc_no_link = xyes; then
24024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24026 { (exit 1); exit 1; }; }
24028 cat >conftest.$ac_ext <<_ACEOF
24029 /* confdefs.h. */
24030 _ACEOF
24031 cat confdefs.h >>conftest.$ac_ext
24032 cat >>conftest.$ac_ext <<_ACEOF
24033 /* end confdefs.h. */
24034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24036 #define $ac_func innocuous_$ac_func
24038 /* System header to define __stub macros and hopefully few prototypes,
24039 which can conflict with char $ac_func (); below.
24040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24041 <limits.h> exists even on freestanding compilers. */
24043 #ifdef __STDC__
24044 # include <limits.h>
24045 #else
24046 # include <assert.h>
24047 #endif
24049 #undef $ac_func
24051 /* Override any gcc2 internal prototype to avoid an error. */
24052 #ifdef __cplusplus
24053 extern "C"
24055 #endif
24056 /* We use char because int might match the return type of a gcc2
24057 builtin and then its argument prototype would still apply. */
24058 char $ac_func ();
24059 /* The GNU C library defines this for functions which it implements
24060 to always fail with ENOSYS. Some functions are actually named
24061 something starting with __ and the normal name is an alias. */
24062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24063 choke me
24064 #else
24065 char (*f) () = $ac_func;
24066 #endif
24067 #ifdef __cplusplus
24069 #endif
24072 main ()
24074 return f != $ac_func;
24076 return 0;
24078 _ACEOF
24079 rm -f conftest.$ac_objext conftest$ac_exeext
24080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24081 (eval $ac_link) 2>conftest.er1
24082 ac_status=$?
24083 grep -v '^ *+' conftest.er1 >conftest.err
24084 rm -f conftest.er1
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } &&
24088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24090 (eval $ac_try) 2>&5
24091 ac_status=$?
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); }; } &&
24094 { ac_try='test -s conftest$ac_exeext'
24095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24096 (eval $ac_try) 2>&5
24097 ac_status=$?
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); }; }; then
24100 eval "$as_ac_var=yes"
24101 else
24102 echo "$as_me: failed program was:" >&5
24103 sed 's/^/| /' conftest.$ac_ext >&5
24105 eval "$as_ac_var=no"
24107 rm -f conftest.err conftest.$ac_objext \
24108 conftest$ac_exeext conftest.$ac_ext
24110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24112 if test `eval echo '${'$as_ac_var'}'` = yes; then
24113 cat >>confdefs.h <<_ACEOF
24114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24115 _ACEOF
24118 done
24126 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24127 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24128 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 else
24134 ac_ext=cc
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <math.h>
24148 main ()
24150 `for x in _acosf _asinf _atanf \
24151 _cosf _sinf _tanf \
24152 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24154 return 0;
24156 _ACEOF
24157 rm -f conftest.$ac_objext
24158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24159 (eval $ac_compile) 2>conftest.er1
24160 ac_status=$?
24161 grep -v '^ *+' conftest.er1 >conftest.err
24162 rm -f conftest.er1
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } &&
24166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168 (eval $ac_try) 2>&5
24169 ac_status=$?
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); }; } &&
24172 { ac_try='test -s conftest.$ac_objext'
24173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174 (eval $ac_try) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); }; }; then
24178 glibcxx_cv_func__float_trig_use=yes
24179 else
24180 echo "$as_me: failed program was:" >&5
24181 sed 's/^/| /' conftest.$ac_ext >&5
24183 glibcxx_cv_func__float_trig_use=no
24185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24186 ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24195 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24196 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24206 for ac_func in _acosf _asinf _atanf \
24207 _cosf _sinf _tanf \
24208 _coshf _sinhf _tanhf
24210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24211 echo "$as_me:$LINENO: checking for $ac_func" >&5
24212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24213 if eval "test \"\${$as_ac_var+set}\" = set"; then
24214 echo $ECHO_N "(cached) $ECHO_C" >&6
24215 else
24216 if test x$gcc_no_link = xyes; then
24217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24219 { (exit 1); exit 1; }; }
24221 cat >conftest.$ac_ext <<_ACEOF
24222 /* confdefs.h. */
24223 _ACEOF
24224 cat confdefs.h >>conftest.$ac_ext
24225 cat >>conftest.$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24229 #define $ac_func innocuous_$ac_func
24231 /* System header to define __stub macros and hopefully few prototypes,
24232 which can conflict with char $ac_func (); below.
24233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24234 <limits.h> exists even on freestanding compilers. */
24236 #ifdef __STDC__
24237 # include <limits.h>
24238 #else
24239 # include <assert.h>
24240 #endif
24242 #undef $ac_func
24244 /* Override any gcc2 internal prototype to avoid an error. */
24245 #ifdef __cplusplus
24246 extern "C"
24248 #endif
24249 /* We use char because int might match the return type of a gcc2
24250 builtin and then its argument prototype would still apply. */
24251 char $ac_func ();
24252 /* The GNU C library defines this for functions which it implements
24253 to always fail with ENOSYS. Some functions are actually named
24254 something starting with __ and the normal name is an alias. */
24255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24256 choke me
24257 #else
24258 char (*f) () = $ac_func;
24259 #endif
24260 #ifdef __cplusplus
24262 #endif
24265 main ()
24267 return f != $ac_func;
24269 return 0;
24271 _ACEOF
24272 rm -f conftest.$ac_objext conftest$ac_exeext
24273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24274 (eval $ac_link) 2>conftest.er1
24275 ac_status=$?
24276 grep -v '^ *+' conftest.er1 >conftest.err
24277 rm -f conftest.er1
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } &&
24281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; } &&
24287 { ac_try='test -s conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24290 ac_status=$?
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 eval "$as_ac_var=yes"
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24298 eval "$as_ac_var=no"
24300 rm -f conftest.err conftest.$ac_objext \
24301 conftest$ac_exeext conftest.$ac_ext
24303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24305 if test `eval echo '${'$as_ac_var'}'` = yes; then
24306 cat >>confdefs.h <<_ACEOF
24307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24308 _ACEOF
24311 done
24316 echo "$as_me:$LINENO: checking for _float round functions" >&5
24317 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24318 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 else
24324 ac_ext=cc
24325 ac_cpp='$CXXCPP $CPPFLAGS'
24326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24330 cat >conftest.$ac_ext <<_ACEOF
24331 /* confdefs.h. */
24332 _ACEOF
24333 cat confdefs.h >>conftest.$ac_ext
24334 cat >>conftest.$ac_ext <<_ACEOF
24335 /* end confdefs.h. */
24336 #include <math.h>
24338 main ()
24340 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24342 return 0;
24344 _ACEOF
24345 rm -f conftest.$ac_objext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; } &&
24360 { ac_try='test -s conftest.$ac_objext'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24363 ac_status=$?
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; }; then
24366 glibcxx_cv_func__float_round_use=yes
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24371 glibcxx_cv_func__float_round_use=no
24373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24374 ac_ext=c
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24382 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24383 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24384 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24387 for ac_func in _ceilf _floorf
24389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24390 echo "$as_me:$LINENO: checking for $ac_func" >&5
24391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24392 if eval "test \"\${$as_ac_var+set}\" = set"; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24394 else
24395 if test x$gcc_no_link = xyes; then
24396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24398 { (exit 1); exit 1; }; }
24400 cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h. */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24408 #define $ac_func innocuous_$ac_func
24410 /* System header to define __stub macros and hopefully few prototypes,
24411 which can conflict with char $ac_func (); below.
24412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24413 <limits.h> exists even on freestanding compilers. */
24415 #ifdef __STDC__
24416 # include <limits.h>
24417 #else
24418 # include <assert.h>
24419 #endif
24421 #undef $ac_func
24423 /* Override any gcc2 internal prototype to avoid an error. */
24424 #ifdef __cplusplus
24425 extern "C"
24427 #endif
24428 /* We use char because int might match the return type of a gcc2
24429 builtin and then its argument prototype would still apply. */
24430 char $ac_func ();
24431 /* The GNU C library defines this for functions which it implements
24432 to always fail with ENOSYS. Some functions are actually named
24433 something starting with __ and the normal name is an alias. */
24434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24435 choke me
24436 #else
24437 char (*f) () = $ac_func;
24438 #endif
24439 #ifdef __cplusplus
24441 #endif
24444 main ()
24446 return f != $ac_func;
24448 return 0;
24450 _ACEOF
24451 rm -f conftest.$ac_objext conftest$ac_exeext
24452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24453 (eval $ac_link) 2>conftest.er1
24454 ac_status=$?
24455 grep -v '^ *+' conftest.er1 >conftest.err
24456 rm -f conftest.er1
24457 cat conftest.err >&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } &&
24460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24462 (eval $ac_try) 2>&5
24463 ac_status=$?
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); }; } &&
24466 { ac_try='test -s conftest$ac_exeext'
24467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24468 (eval $ac_try) 2>&5
24469 ac_status=$?
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); }; }; then
24472 eval "$as_ac_var=yes"
24473 else
24474 echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.$ac_ext >&5
24477 eval "$as_ac_var=no"
24479 rm -f conftest.err conftest.$ac_objext \
24480 conftest$ac_exeext conftest.$ac_ext
24482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24484 if test `eval echo '${'$as_ac_var'}'` = yes; then
24485 cat >>confdefs.h <<_ACEOF
24486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24487 _ACEOF
24490 done
24496 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24497 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24498 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24499 echo $ECHO_N "(cached) $ECHO_C" >&6
24500 else
24504 ac_ext=cc
24505 ac_cpp='$CXXCPP $CPPFLAGS'
24506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h. */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 #include <math.h>
24518 main ()
24520 `for x in _acosl _asinl _atanl \
24521 _cosl _sinl _tanl \
24522 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24524 return 0;
24526 _ACEOF
24527 rm -f conftest.$ac_objext
24528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24529 (eval $ac_compile) 2>conftest.er1
24530 ac_status=$?
24531 grep -v '^ *+' conftest.er1 >conftest.err
24532 rm -f conftest.er1
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24539 ac_status=$?
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; } &&
24542 { ac_try='test -s conftest.$ac_objext'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24545 ac_status=$?
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; }; then
24548 glibcxx_cv_func__long_double_trig_use=yes
24549 else
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24553 glibcxx_cv_func__long_double_trig_use=no
24555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24556 ac_ext=c
24557 ac_cpp='$CPP $CPPFLAGS'
24558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24565 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24566 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24576 for ac_func in _acosl _asinl _atanl \
24577 _cosl _sinl _tanl \
24578 _coshl _sinhl _tanhl
24580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24581 echo "$as_me:$LINENO: checking for $ac_func" >&5
24582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24583 if eval "test \"\${$as_ac_var+set}\" = set"; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 else
24586 if test x$gcc_no_link = xyes; then
24587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24589 { (exit 1); exit 1; }; }
24591 cat >conftest.$ac_ext <<_ACEOF
24592 /* confdefs.h. */
24593 _ACEOF
24594 cat confdefs.h >>conftest.$ac_ext
24595 cat >>conftest.$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24599 #define $ac_func innocuous_$ac_func
24601 /* System header to define __stub macros and hopefully few prototypes,
24602 which can conflict with char $ac_func (); below.
24603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24604 <limits.h> exists even on freestanding compilers. */
24606 #ifdef __STDC__
24607 # include <limits.h>
24608 #else
24609 # include <assert.h>
24610 #endif
24612 #undef $ac_func
24614 /* Override any gcc2 internal prototype to avoid an error. */
24615 #ifdef __cplusplus
24616 extern "C"
24618 #endif
24619 /* We use char because int might match the return type of a gcc2
24620 builtin and then its argument prototype would still apply. */
24621 char $ac_func ();
24622 /* The GNU C library defines this for functions which it implements
24623 to always fail with ENOSYS. Some functions are actually named
24624 something starting with __ and the normal name is an alias. */
24625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24626 choke me
24627 #else
24628 char (*f) () = $ac_func;
24629 #endif
24630 #ifdef __cplusplus
24632 #endif
24635 main ()
24637 return f != $ac_func;
24639 return 0;
24641 _ACEOF
24642 rm -f conftest.$ac_objext conftest$ac_exeext
24643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24644 (eval $ac_link) 2>conftest.er1
24645 ac_status=$?
24646 grep -v '^ *+' conftest.er1 >conftest.err
24647 rm -f conftest.er1
24648 cat conftest.err >&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } &&
24651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653 (eval $ac_try) 2>&5
24654 ac_status=$?
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; } &&
24657 { ac_try='test -s conftest$ac_exeext'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24660 ac_status=$?
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; }; then
24663 eval "$as_ac_var=yes"
24664 else
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24668 eval "$as_ac_var=no"
24670 rm -f conftest.err conftest.$ac_objext \
24671 conftest$ac_exeext conftest.$ac_ext
24673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24675 if test `eval echo '${'$as_ac_var'}'` = yes; then
24676 cat >>confdefs.h <<_ACEOF
24677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24678 _ACEOF
24681 done
24686 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24687 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24688 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24689 echo $ECHO_N "(cached) $ECHO_C" >&6
24690 else
24694 ac_ext=cc
24695 ac_cpp='$CXXCPP $CPPFLAGS'
24696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24700 cat >conftest.$ac_ext <<_ACEOF
24701 /* confdefs.h. */
24702 _ACEOF
24703 cat confdefs.h >>conftest.$ac_ext
24704 cat >>conftest.$ac_ext <<_ACEOF
24705 /* end confdefs.h. */
24706 #include <math.h>
24708 main ()
24710 `for x in _ceill _floorl; do echo "$x (0);"; done`
24712 return 0;
24714 _ACEOF
24715 rm -f conftest.$ac_objext
24716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24717 (eval $ac_compile) 2>conftest.er1
24718 ac_status=$?
24719 grep -v '^ *+' conftest.er1 >conftest.err
24720 rm -f conftest.er1
24721 cat conftest.err >&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } &&
24724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24727 ac_status=$?
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; } &&
24730 { ac_try='test -s conftest.$ac_objext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 glibcxx_cv_func__long_double_round_use=yes
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24741 glibcxx_cv_func__long_double_round_use=no
24743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24744 ac_ext=c
24745 ac_cpp='$CPP $CPPFLAGS'
24746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24753 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24754 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24757 for ac_func in _ceill _floorl
24759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24760 echo "$as_me:$LINENO: checking for $ac_func" >&5
24761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24762 if eval "test \"\${$as_ac_var+set}\" = set"; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765 if test x$gcc_no_link = xyes; then
24766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24768 { (exit 1); exit 1; }; }
24770 cat >conftest.$ac_ext <<_ACEOF
24771 /* confdefs.h. */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24778 #define $ac_func innocuous_$ac_func
24780 /* System header to define __stub macros and hopefully few prototypes,
24781 which can conflict with char $ac_func (); below.
24782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24783 <limits.h> exists even on freestanding compilers. */
24785 #ifdef __STDC__
24786 # include <limits.h>
24787 #else
24788 # include <assert.h>
24789 #endif
24791 #undef $ac_func
24793 /* Override any gcc2 internal prototype to avoid an error. */
24794 #ifdef __cplusplus
24795 extern "C"
24797 #endif
24798 /* We use char because int might match the return type of a gcc2
24799 builtin and then its argument prototype would still apply. */
24800 char $ac_func ();
24801 /* The GNU C library defines this for functions which it implements
24802 to always fail with ENOSYS. Some functions are actually named
24803 something starting with __ and the normal name is an alias. */
24804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24805 choke me
24806 #else
24807 char (*f) () = $ac_func;
24808 #endif
24809 #ifdef __cplusplus
24811 #endif
24814 main ()
24816 return f != $ac_func;
24818 return 0;
24820 _ACEOF
24821 rm -f conftest.$ac_objext conftest$ac_exeext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24823 (eval $ac_link) 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; } &&
24836 { ac_try='test -s conftest$ac_exeext'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24839 ac_status=$?
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; }; then
24842 eval "$as_ac_var=yes"
24843 else
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24847 eval "$as_ac_var=no"
24849 rm -f conftest.err conftest.$ac_objext \
24850 conftest$ac_exeext conftest.$ac_ext
24852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24854 if test `eval echo '${'$as_ac_var'}'` = yes; then
24855 cat >>confdefs.h <<_ACEOF
24856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24857 _ACEOF
24860 done
24865 LIBS="$ac_save_LIBS"
24866 CXXFLAGS="$ac_save_CXXFLAGS"
24870 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
24871 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
24872 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
24873 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24875 else
24879 ac_ext=cc
24880 ac_cpp='$CXXCPP $CPPFLAGS'
24881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 #include <math.h>
24893 main ()
24895 __builtin_abs(0);
24897 return 0;
24899 _ACEOF
24900 rm -f conftest.$ac_objext
24901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24902 (eval $ac_compile) 2>conftest.er1
24903 ac_status=$?
24904 grep -v '^ *+' conftest.er1 >conftest.err
24905 rm -f conftest.er1
24906 cat conftest.err >&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } &&
24909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; } &&
24915 { ac_try='test -s conftest.$ac_objext'
24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24917 (eval $ac_try) 2>&5
24918 ac_status=$?
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; }; then
24921 glibcxx_cv_func___builtin_abs_use=yes
24922 else
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.$ac_ext >&5
24926 glibcxx_cv_func___builtin_abs_use=no
24928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24929 ac_ext=c
24930 ac_cpp='$CPP $CPPFLAGS'
24931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
24940 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
24941 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
24942 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
24943 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
24944 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
24945 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
24946 echo $ECHO_N "(cached) $ECHO_C" >&6
24947 else
24949 if test x$gcc_no_link = xyes; then
24950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24952 { (exit 1); exit 1; }; }
24954 cat >conftest.$ac_ext <<_ACEOF
24955 /* confdefs.h. */
24956 _ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960 #include <math.h>
24962 main ()
24964 __builtin_abs(0);
24966 return 0;
24968 _ACEOF
24969 rm -f conftest.$ac_objext conftest$ac_exeext
24970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24971 (eval $ac_link) 2>conftest.er1
24972 ac_status=$?
24973 grep -v '^ *+' conftest.er1 >conftest.err
24974 rm -f conftest.er1
24975 cat conftest.err >&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } &&
24978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24981 ac_status=$?
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; } &&
24984 { ac_try='test -s conftest$ac_exeext'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24987 ac_status=$?
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; }; then
24990 glibcxx_cv_func___builtin_abs_link=yes
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24995 glibcxx_cv_func___builtin_abs_link=no
24997 rm -f conftest.err conftest.$ac_objext \
24998 conftest$ac_exeext conftest.$ac_ext
25003 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25004 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25005 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25006 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25008 cat >>confdefs.h <<_ACEOF
25009 #define ${ac_tr_func} 1
25010 _ACEOF
25016 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25017 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25018 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25019 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25020 echo $ECHO_N "(cached) $ECHO_C" >&6
25021 else
25025 ac_ext=cc
25026 ac_cpp='$CXXCPP $CPPFLAGS'
25027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25031 cat >conftest.$ac_ext <<_ACEOF
25032 /* confdefs.h. */
25033 _ACEOF
25034 cat confdefs.h >>conftest.$ac_ext
25035 cat >>conftest.$ac_ext <<_ACEOF
25036 /* end confdefs.h. */
25037 #include <math.h>
25039 main ()
25041 __builtin_fabsf(0);
25043 return 0;
25045 _ACEOF
25046 rm -f conftest.$ac_objext
25047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25048 (eval $ac_compile) 2>conftest.er1
25049 ac_status=$?
25050 grep -v '^ *+' conftest.er1 >conftest.err
25051 rm -f conftest.er1
25052 cat conftest.err >&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); } &&
25055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25057 (eval $ac_try) 2>&5
25058 ac_status=$?
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; } &&
25061 { ac_try='test -s conftest.$ac_objext'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25064 ac_status=$?
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; }; then
25067 glibcxx_cv_func___builtin_fabsf_use=yes
25068 else
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.$ac_ext >&5
25072 glibcxx_cv_func___builtin_fabsf_use=no
25074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25075 ac_ext=c
25076 ac_cpp='$CPP $CPPFLAGS'
25077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25085 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25086 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25087 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25088 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25089 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25090 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25091 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25092 echo $ECHO_N "(cached) $ECHO_C" >&6
25093 else
25095 if test x$gcc_no_link = xyes; then
25096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25098 { (exit 1); exit 1; }; }
25100 cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h. */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 #include <math.h>
25108 main ()
25110 __builtin_fabsf(0);
25112 return 0;
25114 _ACEOF
25115 rm -f conftest.$ac_objext conftest$ac_exeext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25117 (eval $ac_link) 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } &&
25124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25127 ac_status=$?
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; } &&
25130 { ac_try='test -s conftest$ac_exeext'
25131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25132 (eval $ac_try) 2>&5
25133 ac_status=$?
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); }; }; then
25136 glibcxx_cv_func___builtin_fabsf_link=yes
25137 else
25138 echo "$as_me: failed program was:" >&5
25139 sed 's/^/| /' conftest.$ac_ext >&5
25141 glibcxx_cv_func___builtin_fabsf_link=no
25143 rm -f conftest.err conftest.$ac_objext \
25144 conftest$ac_exeext conftest.$ac_ext
25149 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25150 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25151 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25152 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25154 cat >>confdefs.h <<_ACEOF
25155 #define ${ac_tr_func} 1
25156 _ACEOF
25162 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25163 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25164 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25165 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25166 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 else
25171 ac_ext=cc
25172 ac_cpp='$CXXCPP $CPPFLAGS'
25173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 #include <math.h>
25185 main ()
25187 __builtin_fabs(0);
25189 return 0;
25191 _ACEOF
25192 rm -f conftest.$ac_objext
25193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25194 (eval $ac_compile) 2>conftest.er1
25195 ac_status=$?
25196 grep -v '^ *+' conftest.er1 >conftest.err
25197 rm -f conftest.er1
25198 cat conftest.err >&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } &&
25201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25204 ac_status=$?
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; } &&
25207 { ac_try='test -s conftest.$ac_objext'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25210 ac_status=$?
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; }; then
25213 glibcxx_cv_func___builtin_fabs_use=yes
25214 else
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.$ac_ext >&5
25218 glibcxx_cv_func___builtin_fabs_use=no
25220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25221 ac_ext=c
25222 ac_cpp='$CPP $CPPFLAGS'
25223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25231 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25232 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25233 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25234 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25235 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25236 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25237 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25241 if test x$gcc_no_link = xyes; then
25242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25244 { (exit 1); exit 1; }; }
25246 cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h. */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25252 #include <math.h>
25254 main ()
25256 __builtin_fabs(0);
25258 return 0;
25260 _ACEOF
25261 rm -f conftest.$ac_objext conftest$ac_exeext
25262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25263 (eval $ac_link) 2>conftest.er1
25264 ac_status=$?
25265 grep -v '^ *+' conftest.er1 >conftest.err
25266 rm -f conftest.er1
25267 cat conftest.err >&5
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); } &&
25270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25272 (eval $ac_try) 2>&5
25273 ac_status=$?
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); }; } &&
25276 { ac_try='test -s conftest$ac_exeext'
25277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25278 (eval $ac_try) 2>&5
25279 ac_status=$?
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); }; }; then
25282 glibcxx_cv_func___builtin_fabs_link=yes
25283 else
25284 echo "$as_me: failed program was:" >&5
25285 sed 's/^/| /' conftest.$ac_ext >&5
25287 glibcxx_cv_func___builtin_fabs_link=no
25289 rm -f conftest.err conftest.$ac_objext \
25290 conftest$ac_exeext conftest.$ac_ext
25295 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25296 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25297 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25298 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25300 cat >>confdefs.h <<_ACEOF
25301 #define ${ac_tr_func} 1
25302 _ACEOF
25308 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25309 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25310 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25311 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 else
25317 ac_ext=cc
25318 ac_cpp='$CXXCPP $CPPFLAGS'
25319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25323 cat >conftest.$ac_ext <<_ACEOF
25324 /* confdefs.h. */
25325 _ACEOF
25326 cat confdefs.h >>conftest.$ac_ext
25327 cat >>conftest.$ac_ext <<_ACEOF
25328 /* end confdefs.h. */
25329 #include <math.h>
25331 main ()
25333 __builtin_fabsl(0);
25335 return 0;
25337 _ACEOF
25338 rm -f conftest.$ac_objext
25339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25340 (eval $ac_compile) 2>conftest.er1
25341 ac_status=$?
25342 grep -v '^ *+' conftest.er1 >conftest.err
25343 rm -f conftest.er1
25344 cat conftest.err >&5
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); } &&
25347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349 (eval $ac_try) 2>&5
25350 ac_status=$?
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; } &&
25353 { ac_try='test -s conftest.$ac_objext'
25354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25355 (eval $ac_try) 2>&5
25356 ac_status=$?
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); }; }; then
25359 glibcxx_cv_func___builtin_fabsl_use=yes
25360 else
25361 echo "$as_me: failed program was:" >&5
25362 sed 's/^/| /' conftest.$ac_ext >&5
25364 glibcxx_cv_func___builtin_fabsl_use=no
25366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25367 ac_ext=c
25368 ac_cpp='$CPP $CPPFLAGS'
25369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25377 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25378 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25379 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25380 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25381 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25382 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25383 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 else
25387 if test x$gcc_no_link = xyes; then
25388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25390 { (exit 1); exit 1; }; }
25392 cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h. */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398 #include <math.h>
25400 main ()
25402 __builtin_fabsl(0);
25404 return 0;
25406 _ACEOF
25407 rm -f conftest.$ac_objext conftest$ac_exeext
25408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25409 (eval $ac_link) 2>conftest.er1
25410 ac_status=$?
25411 grep -v '^ *+' conftest.er1 >conftest.err
25412 rm -f conftest.er1
25413 cat conftest.err >&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); } &&
25416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25419 ac_status=$?
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try='test -s conftest$ac_exeext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 glibcxx_cv_func___builtin_fabsl_link=yes
25429 else
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25433 glibcxx_cv_func___builtin_fabsl_link=no
25435 rm -f conftest.err conftest.$ac_objext \
25436 conftest$ac_exeext conftest.$ac_ext
25441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25442 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25443 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25444 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25446 cat >>confdefs.h <<_ACEOF
25447 #define ${ac_tr_func} 1
25448 _ACEOF
25454 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25455 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25456 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25457 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25458 echo $ECHO_N "(cached) $ECHO_C" >&6
25459 else
25463 ac_ext=cc
25464 ac_cpp='$CXXCPP $CPPFLAGS'
25465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25469 cat >conftest.$ac_ext <<_ACEOF
25470 /* confdefs.h. */
25471 _ACEOF
25472 cat confdefs.h >>conftest.$ac_ext
25473 cat >>conftest.$ac_ext <<_ACEOF
25474 /* end confdefs.h. */
25475 #include <math.h>
25477 main ()
25479 __builtin_labs(0);
25481 return 0;
25483 _ACEOF
25484 rm -f conftest.$ac_objext
25485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25486 (eval $ac_compile) 2>conftest.er1
25487 ac_status=$?
25488 grep -v '^ *+' conftest.er1 >conftest.err
25489 rm -f conftest.er1
25490 cat conftest.err >&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } &&
25493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25496 ac_status=$?
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try='test -s conftest.$ac_objext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25502 ac_status=$?
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 glibcxx_cv_func___builtin_labs_use=yes
25506 else
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25510 glibcxx_cv_func___builtin_labs_use=no
25512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25513 ac_ext=c
25514 ac_cpp='$CPP $CPPFLAGS'
25515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25524 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25525 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25526 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25527 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25528 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25529 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 else
25533 if test x$gcc_no_link = xyes; then
25534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25536 { (exit 1); exit 1; }; }
25538 cat >conftest.$ac_ext <<_ACEOF
25539 /* confdefs.h. */
25540 _ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25544 #include <math.h>
25546 main ()
25548 __builtin_labs(0);
25550 return 0;
25552 _ACEOF
25553 rm -f conftest.$ac_objext conftest$ac_exeext
25554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25555 (eval $ac_link) 2>conftest.er1
25556 ac_status=$?
25557 grep -v '^ *+' conftest.er1 >conftest.err
25558 rm -f conftest.er1
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } &&
25562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25565 ac_status=$?
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; } &&
25568 { ac_try='test -s conftest$ac_exeext'
25569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25570 (eval $ac_try) 2>&5
25571 ac_status=$?
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); }; }; then
25574 glibcxx_cv_func___builtin_labs_link=yes
25575 else
25576 echo "$as_me: failed program was:" >&5
25577 sed 's/^/| /' conftest.$ac_ext >&5
25579 glibcxx_cv_func___builtin_labs_link=no
25581 rm -f conftest.err conftest.$ac_objext \
25582 conftest$ac_exeext conftest.$ac_ext
25587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25588 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25589 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25590 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25592 cat >>confdefs.h <<_ACEOF
25593 #define ${ac_tr_func} 1
25594 _ACEOF
25601 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25602 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25603 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25604 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25605 echo $ECHO_N "(cached) $ECHO_C" >&6
25606 else
25610 ac_ext=cc
25611 ac_cpp='$CXXCPP $CPPFLAGS'
25612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616 cat >conftest.$ac_ext <<_ACEOF
25617 /* confdefs.h. */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 #include <math.h>
25624 main ()
25626 __builtin_sqrtf(0);
25628 return 0;
25630 _ACEOF
25631 rm -f conftest.$ac_objext
25632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25633 (eval $ac_compile) 2>conftest.er1
25634 ac_status=$?
25635 grep -v '^ *+' conftest.er1 >conftest.err
25636 rm -f conftest.er1
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } &&
25640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25643 ac_status=$?
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; } &&
25646 { ac_try='test -s conftest.$ac_objext'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; }; then
25652 glibcxx_cv_func___builtin_sqrtf_use=yes
25653 else
25654 echo "$as_me: failed program was:" >&5
25655 sed 's/^/| /' conftest.$ac_ext >&5
25657 glibcxx_cv_func___builtin_sqrtf_use=no
25659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25660 ac_ext=c
25661 ac_cpp='$CPP $CPPFLAGS'
25662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25671 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25672 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25673 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25674 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25675 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25676 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 else
25680 if test x$gcc_no_link = xyes; then
25681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25683 { (exit 1); exit 1; }; }
25685 cat >conftest.$ac_ext <<_ACEOF
25686 /* confdefs.h. */
25687 _ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25691 #include <math.h>
25693 main ()
25695 __builtin_sqrtf(0);
25697 return 0;
25699 _ACEOF
25700 rm -f conftest.$ac_objext conftest$ac_exeext
25701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25702 (eval $ac_link) 2>conftest.er1
25703 ac_status=$?
25704 grep -v '^ *+' conftest.er1 >conftest.err
25705 rm -f conftest.er1
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } &&
25709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25712 ac_status=$?
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; } &&
25715 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25721 glibcxx_cv_func___builtin_sqrtf_link=yes
25722 else
25723 echo "$as_me: failed program was:" >&5
25724 sed 's/^/| /' conftest.$ac_ext >&5
25726 glibcxx_cv_func___builtin_sqrtf_link=no
25728 rm -f conftest.err conftest.$ac_objext \
25729 conftest$ac_exeext conftest.$ac_ext
25734 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25735 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25736 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25737 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25739 cat >>confdefs.h <<_ACEOF
25740 #define ${ac_tr_func} 1
25741 _ACEOF
25747 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25748 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25749 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25750 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 else
25756 ac_ext=cc
25757 ac_cpp='$CXXCPP $CPPFLAGS'
25758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762 cat >conftest.$ac_ext <<_ACEOF
25763 /* confdefs.h. */
25764 _ACEOF
25765 cat confdefs.h >>conftest.$ac_ext
25766 cat >>conftest.$ac_ext <<_ACEOF
25767 /* end confdefs.h. */
25768 #include <math.h>
25770 main ()
25772 __builtin_sqrt(0);
25774 return 0;
25776 _ACEOF
25777 rm -f conftest.$ac_objext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25779 (eval $ac_compile) 2>conftest.er1
25780 ac_status=$?
25781 grep -v '^ *+' conftest.er1 >conftest.err
25782 rm -f conftest.er1
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } &&
25786 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25789 ac_status=$?
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; } &&
25792 { ac_try='test -s conftest.$ac_objext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25795 ac_status=$?
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 glibcxx_cv_func___builtin_sqrt_use=yes
25799 else
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.$ac_ext >&5
25803 glibcxx_cv_func___builtin_sqrt_use=no
25805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25806 ac_ext=c
25807 ac_cpp='$CPP $CPPFLAGS'
25808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25816 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
25817 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
25818 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
25819 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
25820 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
25821 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
25822 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
25823 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 else
25826 if test x$gcc_no_link = xyes; then
25827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25829 { (exit 1); exit 1; }; }
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837 #include <math.h>
25839 main ()
25841 __builtin_sqrt(0);
25843 return 0;
25845 _ACEOF
25846 rm -f conftest.$ac_objext conftest$ac_exeext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25848 (eval $ac_link) 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25857 (eval $ac_try) 2>&5
25858 ac_status=$?
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; } &&
25861 { ac_try='test -s conftest$ac_exeext'
25862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25863 (eval $ac_try) 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; }; then
25867 glibcxx_cv_func___builtin_sqrt_link=yes
25868 else
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.$ac_ext >&5
25872 glibcxx_cv_func___builtin_sqrt_link=no
25874 rm -f conftest.err conftest.$ac_objext \
25875 conftest$ac_exeext conftest.$ac_ext
25880 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
25881 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
25882 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
25883 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25885 cat >>confdefs.h <<_ACEOF
25886 #define ${ac_tr_func} 1
25887 _ACEOF
25893 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
25894 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
25895 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
25896 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
25897 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25902 ac_ext=cc
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25908 cat >conftest.$ac_ext <<_ACEOF
25909 /* confdefs.h. */
25910 _ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914 #include <math.h>
25916 main ()
25918 __builtin_sqrtl(0);
25920 return 0;
25922 _ACEOF
25923 rm -f conftest.$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>conftest.er1
25926 ac_status=$?
25927 grep -v '^ *+' conftest.er1 >conftest.err
25928 rm -f conftest.er1
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try='test -s conftest.$ac_objext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 glibcxx_cv_func___builtin_sqrtl_use=yes
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25949 glibcxx_cv_func___builtin_sqrtl_use=no
25951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25952 ac_ext=c
25953 ac_cpp='$CPP $CPPFLAGS'
25954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25962 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
25963 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
25964 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
25965 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
25966 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
25967 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
25968 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
25969 echo $ECHO_N "(cached) $ECHO_C" >&6
25970 else
25972 if test x$gcc_no_link = xyes; then
25973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25975 { (exit 1); exit 1; }; }
25977 cat >conftest.$ac_ext <<_ACEOF
25978 /* confdefs.h. */
25979 _ACEOF
25980 cat confdefs.h >>conftest.$ac_ext
25981 cat >>conftest.$ac_ext <<_ACEOF
25982 /* end confdefs.h. */
25983 #include <math.h>
25985 main ()
25987 __builtin_sqrtl(0);
25989 return 0;
25991 _ACEOF
25992 rm -f conftest.$ac_objext conftest$ac_exeext
25993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25994 (eval $ac_link) 2>conftest.er1
25995 ac_status=$?
25996 grep -v '^ *+' conftest.er1 >conftest.err
25997 rm -f conftest.er1
25998 cat conftest.err >&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); } &&
26001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26004 ac_status=$?
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try='test -s conftest$ac_exeext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 glibcxx_cv_func___builtin_sqrtl_link=yes
26014 else
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.$ac_ext >&5
26018 glibcxx_cv_func___builtin_sqrtl_link=no
26020 rm -f conftest.err conftest.$ac_objext \
26021 conftest$ac_exeext conftest.$ac_ext
26026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26027 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26028 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26029 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26031 cat >>confdefs.h <<_ACEOF
26032 #define ${ac_tr_func} 1
26033 _ACEOF
26040 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26041 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26042 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26043 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26044 echo $ECHO_N "(cached) $ECHO_C" >&6
26045 else
26049 ac_ext=cc
26050 ac_cpp='$CXXCPP $CPPFLAGS'
26051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055 cat >conftest.$ac_ext <<_ACEOF
26056 /* confdefs.h. */
26057 _ACEOF
26058 cat confdefs.h >>conftest.$ac_ext
26059 cat >>conftest.$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26061 #include <math.h>
26063 main ()
26065 __builtin_sinf(0);
26067 return 0;
26069 _ACEOF
26070 rm -f conftest.$ac_objext
26071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26072 (eval $ac_compile) 2>conftest.er1
26073 ac_status=$?
26074 grep -v '^ *+' conftest.er1 >conftest.err
26075 rm -f conftest.er1
26076 cat conftest.err >&5
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); } &&
26079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26081 (eval $ac_try) 2>&5
26082 ac_status=$?
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); }; } &&
26085 { ac_try='test -s conftest.$ac_objext'
26086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26087 (eval $ac_try) 2>&5
26088 ac_status=$?
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); }; }; then
26091 glibcxx_cv_func___builtin_sinf_use=yes
26092 else
26093 echo "$as_me: failed program was:" >&5
26094 sed 's/^/| /' conftest.$ac_ext >&5
26096 glibcxx_cv_func___builtin_sinf_use=no
26098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26099 ac_ext=c
26100 ac_cpp='$CPP $CPPFLAGS'
26101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26109 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26110 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26111 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26112 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26113 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26114 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26115 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26117 else
26119 if test x$gcc_no_link = xyes; then
26120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26122 { (exit 1); exit 1; }; }
26124 cat >conftest.$ac_ext <<_ACEOF
26125 /* confdefs.h. */
26126 _ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <math.h>
26132 main ()
26134 __builtin_sinf(0);
26136 return 0;
26138 _ACEOF
26139 rm -f conftest.$ac_objext conftest$ac_exeext
26140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26141 (eval $ac_link) 2>conftest.er1
26142 ac_status=$?
26143 grep -v '^ *+' conftest.er1 >conftest.err
26144 rm -f conftest.er1
26145 cat conftest.err >&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } &&
26148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26151 ac_status=$?
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; } &&
26154 { ac_try='test -s conftest$ac_exeext'
26155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26156 (eval $ac_try) 2>&5
26157 ac_status=$?
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); }; }; then
26160 glibcxx_cv_func___builtin_sinf_link=yes
26161 else
26162 echo "$as_me: failed program was:" >&5
26163 sed 's/^/| /' conftest.$ac_ext >&5
26165 glibcxx_cv_func___builtin_sinf_link=no
26167 rm -f conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26174 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26175 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26176 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26178 cat >>confdefs.h <<_ACEOF
26179 #define ${ac_tr_func} 1
26180 _ACEOF
26186 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26187 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26188 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26189 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26195 ac_ext=cc
26196 ac_cpp='$CXXCPP $CPPFLAGS'
26197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201 cat >conftest.$ac_ext <<_ACEOF
26202 /* confdefs.h. */
26203 _ACEOF
26204 cat confdefs.h >>conftest.$ac_ext
26205 cat >>conftest.$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26207 #include <math.h>
26209 main ()
26211 __builtin_sin(0);
26213 return 0;
26215 _ACEOF
26216 rm -f conftest.$ac_objext
26217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26218 (eval $ac_compile) 2>conftest.er1
26219 ac_status=$?
26220 grep -v '^ *+' conftest.er1 >conftest.err
26221 rm -f conftest.er1
26222 cat conftest.err >&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } &&
26225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26228 ac_status=$?
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; } &&
26231 { ac_try='test -s conftest.$ac_objext'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; }; then
26237 glibcxx_cv_func___builtin_sin_use=yes
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26242 glibcxx_cv_func___builtin_sin_use=no
26244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26245 ac_ext=c
26246 ac_cpp='$CPP $CPPFLAGS'
26247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26256 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26257 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26258 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26259 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26260 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26261 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 else
26265 if test x$gcc_no_link = xyes; then
26266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26268 { (exit 1); exit 1; }; }
26270 cat >conftest.$ac_ext <<_ACEOF
26271 /* confdefs.h. */
26272 _ACEOF
26273 cat confdefs.h >>conftest.$ac_ext
26274 cat >>conftest.$ac_ext <<_ACEOF
26275 /* end confdefs.h. */
26276 #include <math.h>
26278 main ()
26280 __builtin_sin(0);
26282 return 0;
26284 _ACEOF
26285 rm -f conftest.$ac_objext conftest$ac_exeext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26287 (eval $ac_link) 2>conftest.er1
26288 ac_status=$?
26289 grep -v '^ *+' conftest.er1 >conftest.err
26290 rm -f conftest.er1
26291 cat conftest.err >&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; } &&
26300 { ac_try='test -s conftest$ac_exeext'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; }; then
26306 glibcxx_cv_func___builtin_sin_link=yes
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26311 glibcxx_cv_func___builtin_sin_link=no
26313 rm -f conftest.err conftest.$ac_objext \
26314 conftest$ac_exeext conftest.$ac_ext
26319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26321 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26322 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26324 cat >>confdefs.h <<_ACEOF
26325 #define ${ac_tr_func} 1
26326 _ACEOF
26332 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26333 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26334 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26335 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26336 echo $ECHO_N "(cached) $ECHO_C" >&6
26337 else
26341 ac_ext=cc
26342 ac_cpp='$CXXCPP $CPPFLAGS'
26343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26347 cat >conftest.$ac_ext <<_ACEOF
26348 /* confdefs.h. */
26349 _ACEOF
26350 cat confdefs.h >>conftest.$ac_ext
26351 cat >>conftest.$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353 #include <math.h>
26355 main ()
26357 __builtin_sinl(0);
26359 return 0;
26361 _ACEOF
26362 rm -f conftest.$ac_objext
26363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26364 (eval $ac_compile) 2>conftest.er1
26365 ac_status=$?
26366 grep -v '^ *+' conftest.er1 >conftest.err
26367 rm -f conftest.er1
26368 cat conftest.err >&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } &&
26371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26374 ac_status=$?
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; } &&
26377 { ac_try='test -s conftest.$ac_objext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26380 ac_status=$?
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26383 glibcxx_cv_func___builtin_sinl_use=yes
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26388 glibcxx_cv_func___builtin_sinl_use=no
26390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26391 ac_ext=c
26392 ac_cpp='$CPP $CPPFLAGS'
26393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26402 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26403 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26404 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26405 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26406 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26407 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 else
26411 if test x$gcc_no_link = xyes; then
26412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26414 { (exit 1); exit 1; }; }
26416 cat >conftest.$ac_ext <<_ACEOF
26417 /* confdefs.h. */
26418 _ACEOF
26419 cat confdefs.h >>conftest.$ac_ext
26420 cat >>conftest.$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26422 #include <math.h>
26424 main ()
26426 __builtin_sinl(0);
26428 return 0;
26430 _ACEOF
26431 rm -f conftest.$ac_objext conftest$ac_exeext
26432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26433 (eval $ac_link) 2>conftest.er1
26434 ac_status=$?
26435 grep -v '^ *+' conftest.er1 >conftest.err
26436 rm -f conftest.er1
26437 cat conftest.err >&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } &&
26440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26443 ac_status=$?
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; } &&
26446 { ac_try='test -s conftest$ac_exeext'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26449 ac_status=$?
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; }; then
26452 glibcxx_cv_func___builtin_sinl_link=yes
26453 else
26454 echo "$as_me: failed program was:" >&5
26455 sed 's/^/| /' conftest.$ac_ext >&5
26457 glibcxx_cv_func___builtin_sinl_link=no
26459 rm -f conftest.err conftest.$ac_objext \
26460 conftest$ac_exeext conftest.$ac_ext
26465 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26466 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26467 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26468 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26470 cat >>confdefs.h <<_ACEOF
26471 #define ${ac_tr_func} 1
26472 _ACEOF
26479 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26480 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26481 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26482 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26484 else
26488 ac_ext=cc
26489 ac_cpp='$CXXCPP $CPPFLAGS'
26490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26494 cat >conftest.$ac_ext <<_ACEOF
26495 /* confdefs.h. */
26496 _ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #include <math.h>
26502 main ()
26504 __builtin_cosf(0);
26506 return 0;
26508 _ACEOF
26509 rm -f conftest.$ac_objext
26510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26511 (eval $ac_compile) 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); }; } &&
26524 { ac_try='test -s conftest.$ac_objext'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26527 ac_status=$?
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; }; then
26530 glibcxx_cv_func___builtin_cosf_use=yes
26531 else
26532 echo "$as_me: failed program was:" >&5
26533 sed 's/^/| /' conftest.$ac_ext >&5
26535 glibcxx_cv_func___builtin_cosf_use=no
26537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26538 ac_ext=c
26539 ac_cpp='$CPP $CPPFLAGS'
26540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26549 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26550 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26551 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26552 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26553 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26554 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26558 if test x$gcc_no_link = xyes; then
26559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26561 { (exit 1); exit 1; }; }
26563 cat >conftest.$ac_ext <<_ACEOF
26564 /* confdefs.h. */
26565 _ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569 #include <math.h>
26571 main ()
26573 __builtin_cosf(0);
26575 return 0;
26577 _ACEOF
26578 rm -f conftest.$ac_objext conftest$ac_exeext
26579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26580 (eval $ac_link) 2>conftest.er1
26581 ac_status=$?
26582 grep -v '^ *+' conftest.er1 >conftest.err
26583 rm -f conftest.er1
26584 cat conftest.err >&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); } &&
26587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26590 ac_status=$?
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; } &&
26593 { ac_try='test -s conftest$ac_exeext'
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; }; then
26599 glibcxx_cv_func___builtin_cosf_link=yes
26600 else
26601 echo "$as_me: failed program was:" >&5
26602 sed 's/^/| /' conftest.$ac_ext >&5
26604 glibcxx_cv_func___builtin_cosf_link=no
26606 rm -f conftest.err conftest.$ac_objext \
26607 conftest$ac_exeext conftest.$ac_ext
26612 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26613 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26614 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26615 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26617 cat >>confdefs.h <<_ACEOF
26618 #define ${ac_tr_func} 1
26619 _ACEOF
26625 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26626 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26627 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26628 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26629 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 else
26634 ac_ext=cc
26635 ac_cpp='$CXXCPP $CPPFLAGS'
26636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26640 cat >conftest.$ac_ext <<_ACEOF
26641 /* confdefs.h. */
26642 _ACEOF
26643 cat confdefs.h >>conftest.$ac_ext
26644 cat >>conftest.$ac_ext <<_ACEOF
26645 /* end confdefs.h. */
26646 #include <math.h>
26648 main ()
26650 __builtin_cos(0);
26652 return 0;
26654 _ACEOF
26655 rm -f conftest.$ac_objext
26656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26657 (eval $ac_compile) 2>conftest.er1
26658 ac_status=$?
26659 grep -v '^ *+' conftest.er1 >conftest.err
26660 rm -f conftest.er1
26661 cat conftest.err >&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); } &&
26664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26667 ac_status=$?
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; } &&
26670 { ac_try='test -s conftest.$ac_objext'
26671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 (eval $ac_try) 2>&5
26673 ac_status=$?
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); }; }; then
26676 glibcxx_cv_func___builtin_cos_use=yes
26677 else
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.$ac_ext >&5
26681 glibcxx_cv_func___builtin_cos_use=no
26683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26684 ac_ext=c
26685 ac_cpp='$CPP $CPPFLAGS'
26686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26695 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26696 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26697 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26698 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26699 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26700 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26704 if test x$gcc_no_link = xyes; then
26705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26707 { (exit 1); exit 1; }; }
26709 cat >conftest.$ac_ext <<_ACEOF
26710 /* confdefs.h. */
26711 _ACEOF
26712 cat confdefs.h >>conftest.$ac_ext
26713 cat >>conftest.$ac_ext <<_ACEOF
26714 /* end confdefs.h. */
26715 #include <math.h>
26717 main ()
26719 __builtin_cos(0);
26721 return 0;
26723 _ACEOF
26724 rm -f conftest.$ac_objext conftest$ac_exeext
26725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26726 (eval $ac_link) 2>conftest.er1
26727 ac_status=$?
26728 grep -v '^ *+' conftest.er1 >conftest.err
26729 rm -f conftest.er1
26730 cat conftest.err >&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26736 ac_status=$?
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; } &&
26739 { ac_try='test -s conftest$ac_exeext'
26740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26741 (eval $ac_try) 2>&5
26742 ac_status=$?
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); }; }; then
26745 glibcxx_cv_func___builtin_cos_link=yes
26746 else
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.$ac_ext >&5
26750 glibcxx_cv_func___builtin_cos_link=no
26752 rm -f conftest.err conftest.$ac_objext \
26753 conftest$ac_exeext conftest.$ac_ext
26758 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
26759 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
26760 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
26761 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26763 cat >>confdefs.h <<_ACEOF
26764 #define ${ac_tr_func} 1
26765 _ACEOF
26771 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
26772 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
26773 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
26774 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
26775 echo $ECHO_N "(cached) $ECHO_C" >&6
26776 else
26780 ac_ext=cc
26781 ac_cpp='$CXXCPP $CPPFLAGS'
26782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26786 cat >conftest.$ac_ext <<_ACEOF
26787 /* confdefs.h. */
26788 _ACEOF
26789 cat confdefs.h >>conftest.$ac_ext
26790 cat >>conftest.$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26792 #include <math.h>
26794 main ()
26796 __builtin_cosl(0);
26798 return 0;
26800 _ACEOF
26801 rm -f conftest.$ac_objext
26802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26803 (eval $ac_compile) 2>conftest.er1
26804 ac_status=$?
26805 grep -v '^ *+' conftest.er1 >conftest.err
26806 rm -f conftest.er1
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } &&
26810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; } &&
26816 { ac_try='test -s conftest.$ac_objext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 glibcxx_cv_func___builtin_cosl_use=yes
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26827 glibcxx_cv_func___builtin_cosl_use=no
26829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26830 ac_ext=c
26831 ac_cpp='$CPP $CPPFLAGS'
26832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26840 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
26841 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
26842 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
26843 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
26844 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
26845 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
26846 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
26847 echo $ECHO_N "(cached) $ECHO_C" >&6
26848 else
26850 if test x$gcc_no_link = xyes; then
26851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26853 { (exit 1); exit 1; }; }
26855 cat >conftest.$ac_ext <<_ACEOF
26856 /* confdefs.h. */
26857 _ACEOF
26858 cat confdefs.h >>conftest.$ac_ext
26859 cat >>conftest.$ac_ext <<_ACEOF
26860 /* end confdefs.h. */
26861 #include <math.h>
26863 main ()
26865 __builtin_cosl(0);
26867 return 0;
26869 _ACEOF
26870 rm -f conftest.$ac_objext conftest$ac_exeext
26871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26872 (eval $ac_link) 2>conftest.er1
26873 ac_status=$?
26874 grep -v '^ *+' conftest.er1 >conftest.err
26875 rm -f conftest.er1
26876 cat conftest.err >&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); } &&
26879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881 (eval $ac_try) 2>&5
26882 ac_status=$?
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; } &&
26885 { ac_try='test -s conftest$ac_exeext'
26886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26887 (eval $ac_try) 2>&5
26888 ac_status=$?
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); }; }; then
26891 glibcxx_cv_func___builtin_cosl_link=yes
26892 else
26893 echo "$as_me: failed program was:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26896 glibcxx_cv_func___builtin_cosl_link=no
26898 rm -f conftest.err conftest.$ac_objext \
26899 conftest$ac_exeext conftest.$ac_ext
26904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
26905 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
26906 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
26907 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26909 cat >>confdefs.h <<_ACEOF
26910 #define ${ac_tr_func} 1
26911 _ACEOF
26919 echo "$as_me:$LINENO: checking for main in -lm" >&5
26920 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
26921 if test "${ac_cv_lib_m_main+set}" = set; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 else
26924 ac_check_lib_save_LIBS=$LIBS
26925 LIBS="-lm $LIBS"
26926 if test x$gcc_no_link = xyes; then
26927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26929 { (exit 1); exit 1; }; }
26931 cat >conftest.$ac_ext <<_ACEOF
26932 /* confdefs.h. */
26933 _ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26940 main ()
26942 main ();
26944 return 0;
26946 _ACEOF
26947 rm -f conftest.$ac_objext conftest$ac_exeext
26948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26949 (eval $ac_link) 2>conftest.er1
26950 ac_status=$?
26951 grep -v '^ *+' conftest.er1 >conftest.err
26952 rm -f conftest.er1
26953 cat conftest.err >&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); } &&
26956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26958 (eval $ac_try) 2>&5
26959 ac_status=$?
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); }; } &&
26962 { ac_try='test -s conftest$ac_exeext'
26963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26964 (eval $ac_try) 2>&5
26965 ac_status=$?
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); }; }; then
26968 ac_cv_lib_m_main=yes
26969 else
26970 echo "$as_me: failed program was:" >&5
26971 sed 's/^/| /' conftest.$ac_ext >&5
26973 ac_cv_lib_m_main=no
26975 rm -f conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 LIBS=$ac_check_lib_save_LIBS
26979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
26980 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
26981 if test $ac_cv_lib_m_main = yes; then
26982 cat >>confdefs.h <<_ACEOF
26983 #define HAVE_LIBM 1
26984 _ACEOF
26986 LIBS="-lm $LIBS"
26991 for ac_func in copysignf
26993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26994 echo "$as_me:$LINENO: checking for $ac_func" >&5
26995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26996 if eval "test \"\${$as_ac_var+set}\" = set"; then
26997 echo $ECHO_N "(cached) $ECHO_C" >&6
26998 else
26999 if test x$gcc_no_link = xyes; then
27000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27002 { (exit 1); exit 1; }; }
27004 cat >conftest.$ac_ext <<_ACEOF
27005 /* confdefs.h. */
27006 _ACEOF
27007 cat confdefs.h >>conftest.$ac_ext
27008 cat >>conftest.$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27012 #define $ac_func innocuous_$ac_func
27014 /* System header to define __stub macros and hopefully few prototypes,
27015 which can conflict with char $ac_func (); below.
27016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27017 <limits.h> exists even on freestanding compilers. */
27019 #ifdef __STDC__
27020 # include <limits.h>
27021 #else
27022 # include <assert.h>
27023 #endif
27025 #undef $ac_func
27027 /* Override any gcc2 internal prototype to avoid an error. */
27028 #ifdef __cplusplus
27029 extern "C"
27031 #endif
27032 /* We use char because int might match the return type of a gcc2
27033 builtin and then its argument prototype would still apply. */
27034 char $ac_func ();
27035 /* The GNU C library defines this for functions which it implements
27036 to always fail with ENOSYS. Some functions are actually named
27037 something starting with __ and the normal name is an alias. */
27038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27039 choke me
27040 #else
27041 char (*f) () = $ac_func;
27042 #endif
27043 #ifdef __cplusplus
27045 #endif
27048 main ()
27050 return f != $ac_func;
27052 return 0;
27054 _ACEOF
27055 rm -f conftest.$ac_objext conftest$ac_exeext
27056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27057 (eval $ac_link) 2>conftest.er1
27058 ac_status=$?
27059 grep -v '^ *+' conftest.er1 >conftest.err
27060 rm -f conftest.er1
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } &&
27064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
27070 { ac_try='test -s conftest$ac_exeext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 eval "$as_ac_var=yes"
27077 else
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27081 eval "$as_ac_var=no"
27083 rm -f conftest.err conftest.$ac_objext \
27084 conftest$ac_exeext conftest.$ac_ext
27086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27088 if test `eval echo '${'$as_ac_var'}'` = yes; then
27089 cat >>confdefs.h <<_ACEOF
27090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27091 _ACEOF
27093 else
27094 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27096 done
27100 for ac_func in __signbit
27102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27103 echo "$as_me:$LINENO: checking for $ac_func" >&5
27104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27105 if eval "test \"\${$as_ac_var+set}\" = set"; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27107 else
27108 if test x$gcc_no_link = xyes; then
27109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27111 { (exit 1); exit 1; }; }
27113 cat >conftest.$ac_ext <<_ACEOF
27114 /* confdefs.h. */
27115 _ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27121 #define $ac_func innocuous_$ac_func
27123 /* System header to define __stub macros and hopefully few prototypes,
27124 which can conflict with char $ac_func (); below.
27125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27126 <limits.h> exists even on freestanding compilers. */
27128 #ifdef __STDC__
27129 # include <limits.h>
27130 #else
27131 # include <assert.h>
27132 #endif
27134 #undef $ac_func
27136 /* Override any gcc2 internal prototype to avoid an error. */
27137 #ifdef __cplusplus
27138 extern "C"
27140 #endif
27141 /* We use char because int might match the return type of a gcc2
27142 builtin and then its argument prototype would still apply. */
27143 char $ac_func ();
27144 /* The GNU C library defines this for functions which it implements
27145 to always fail with ENOSYS. Some functions are actually named
27146 something starting with __ and the normal name is an alias. */
27147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27148 choke me
27149 #else
27150 char (*f) () = $ac_func;
27151 #endif
27152 #ifdef __cplusplus
27154 #endif
27157 main ()
27159 return f != $ac_func;
27161 return 0;
27163 _ACEOF
27164 rm -f conftest.$ac_objext conftest$ac_exeext
27165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27166 (eval $ac_link) 2>conftest.er1
27167 ac_status=$?
27168 grep -v '^ *+' conftest.er1 >conftest.err
27169 rm -f conftest.er1
27170 cat conftest.err >&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } &&
27173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27176 ac_status=$?
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; } &&
27179 { ac_try='test -s conftest$ac_exeext'
27180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181 (eval $ac_try) 2>&5
27182 ac_status=$?
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; }; then
27185 eval "$as_ac_var=yes"
27186 else
27187 echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.$ac_ext >&5
27190 eval "$as_ac_var=no"
27192 rm -f conftest.err conftest.$ac_objext \
27193 conftest$ac_exeext conftest.$ac_ext
27195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27197 if test `eval echo '${'$as_ac_var'}'` = yes; then
27198 cat >>confdefs.h <<_ACEOF
27199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27200 _ACEOF
27202 else
27203 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27205 done
27209 for ac_func in __signbitf
27211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27212 echo "$as_me:$LINENO: checking for $ac_func" >&5
27213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27214 if eval "test \"\${$as_ac_var+set}\" = set"; then
27215 echo $ECHO_N "(cached) $ECHO_C" >&6
27216 else
27217 if test x$gcc_no_link = xyes; then
27218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27220 { (exit 1); exit 1; }; }
27222 cat >conftest.$ac_ext <<_ACEOF
27223 /* confdefs.h. */
27224 _ACEOF
27225 cat confdefs.h >>conftest.$ac_ext
27226 cat >>conftest.$ac_ext <<_ACEOF
27227 /* end confdefs.h. */
27228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27230 #define $ac_func innocuous_$ac_func
27232 /* System header to define __stub macros and hopefully few prototypes,
27233 which can conflict with char $ac_func (); below.
27234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27235 <limits.h> exists even on freestanding compilers. */
27237 #ifdef __STDC__
27238 # include <limits.h>
27239 #else
27240 # include <assert.h>
27241 #endif
27243 #undef $ac_func
27245 /* Override any gcc2 internal prototype to avoid an error. */
27246 #ifdef __cplusplus
27247 extern "C"
27249 #endif
27250 /* We use char because int might match the return type of a gcc2
27251 builtin and then its argument prototype would still apply. */
27252 char $ac_func ();
27253 /* The GNU C library defines this for functions which it implements
27254 to always fail with ENOSYS. Some functions are actually named
27255 something starting with __ and the normal name is an alias. */
27256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27257 choke me
27258 #else
27259 char (*f) () = $ac_func;
27260 #endif
27261 #ifdef __cplusplus
27263 #endif
27266 main ()
27268 return f != $ac_func;
27270 return 0;
27272 _ACEOF
27273 rm -f conftest.$ac_objext conftest$ac_exeext
27274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27275 (eval $ac_link) 2>conftest.er1
27276 ac_status=$?
27277 grep -v '^ *+' conftest.er1 >conftest.err
27278 rm -f conftest.er1
27279 cat conftest.err >&5
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); } &&
27282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27285 ac_status=$?
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; } &&
27288 { ac_try='test -s conftest$ac_exeext'
27289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290 (eval $ac_try) 2>&5
27291 ac_status=$?
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); }; }; then
27294 eval "$as_ac_var=yes"
27295 else
27296 echo "$as_me: failed program was:" >&5
27297 sed 's/^/| /' conftest.$ac_ext >&5
27299 eval "$as_ac_var=no"
27301 rm -f conftest.err conftest.$ac_objext \
27302 conftest$ac_exeext conftest.$ac_ext
27304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27306 if test `eval echo '${'$as_ac_var'}'` = yes; then
27307 cat >>confdefs.h <<_ACEOF
27308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27309 _ACEOF
27311 else
27312 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27314 done
27317 if test x$ac_cv_func_copysignl = x"yes"; then
27319 for ac_func in __signbitl
27321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27322 echo "$as_me:$LINENO: checking for $ac_func" >&5
27323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27324 if eval "test \"\${$as_ac_var+set}\" = set"; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 else
27327 if test x$gcc_no_link = xyes; then
27328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27330 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27340 #define $ac_func innocuous_$ac_func
27342 /* System header to define __stub macros and hopefully few prototypes,
27343 which can conflict with char $ac_func (); below.
27344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27345 <limits.h> exists even on freestanding compilers. */
27347 #ifdef __STDC__
27348 # include <limits.h>
27349 #else
27350 # include <assert.h>
27351 #endif
27353 #undef $ac_func
27355 /* Override any gcc2 internal prototype to avoid an error. */
27356 #ifdef __cplusplus
27357 extern "C"
27359 #endif
27360 /* We use char because int might match the return type of a gcc2
27361 builtin and then its argument prototype would still apply. */
27362 char $ac_func ();
27363 /* The GNU C library defines this for functions which it implements
27364 to always fail with ENOSYS. Some functions are actually named
27365 something starting with __ and the normal name is an alias. */
27366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27367 choke me
27368 #else
27369 char (*f) () = $ac_func;
27370 #endif
27371 #ifdef __cplusplus
27373 #endif
27376 main ()
27378 return f != $ac_func;
27380 return 0;
27382 _ACEOF
27383 rm -f conftest.$ac_objext conftest$ac_exeext
27384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27385 (eval $ac_link) 2>conftest.er1
27386 ac_status=$?
27387 grep -v '^ *+' conftest.er1 >conftest.err
27388 rm -f conftest.er1
27389 cat conftest.err >&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); } &&
27392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27394 (eval $ac_try) 2>&5
27395 ac_status=$?
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); }; } &&
27398 { ac_try='test -s conftest$ac_exeext'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27401 ac_status=$?
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; }; then
27404 eval "$as_ac_var=yes"
27405 else
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.$ac_ext >&5
27409 eval "$as_ac_var=no"
27411 rm -f conftest.err conftest.$ac_objext \
27412 conftest$ac_exeext conftest.$ac_ext
27414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27416 if test `eval echo '${'$as_ac_var'}'` = yes; then
27417 cat >>confdefs.h <<_ACEOF
27418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27419 _ACEOF
27421 else
27422 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27424 done
27428 # Used in libmath/Makefile.am.
27429 if test -n "$LIBMATHOBJS"; then
27430 need_libmath=yes
27435 # Test wchar.h for mbstate_t, which is needed for char_traits and
27436 # others even if wchar_t support is not on.
27437 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27438 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27439 cat >conftest.$ac_ext <<_ACEOF
27440 /* confdefs.h. */
27441 _ACEOF
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27445 #include <wchar.h>
27447 main ()
27449 mbstate_t teststate;
27451 return 0;
27453 _ACEOF
27454 rm -f conftest.$ac_objext
27455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27456 (eval $ac_compile) 2>conftest.er1
27457 ac_status=$?
27458 grep -v '^ *+' conftest.er1 >conftest.err
27459 rm -f conftest.er1
27460 cat conftest.err >&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } &&
27463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27465 (eval $ac_try) 2>&5
27466 ac_status=$?
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; } &&
27469 { ac_try='test -s conftest.$ac_objext'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27472 ac_status=$?
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 have_mbstate_t=yes
27476 else
27477 echo "$as_me: failed program was:" >&5
27478 sed 's/^/| /' conftest.$ac_ext >&5
27480 have_mbstate_t=no
27482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27483 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27484 echo "${ECHO_T}$have_mbstate_t" >&6
27485 if test x"$have_mbstate_t" = xyes; then
27486 cat >>confdefs.h <<\_ACEOF
27487 #define HAVE_MBSTATE_T 1
27488 _ACEOF
27492 # Sanity check for existence of ISO C99 headers for extended encoding.
27494 for ac_header in wchar.h
27496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo "$as_me:$LINENO: checking for $ac_header" >&5
27499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27505 else
27506 # Is the header compilable?
27507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 $ac_includes_default
27516 #include <$ac_header>
27517 _ACEOF
27518 rm -f conftest.$ac_objext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27520 (eval $ac_compile) 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27530 ac_status=$?
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; } &&
27533 { ac_try='test -s conftest.$ac_objext'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27536 ac_status=$?
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 ac_header_compiler=yes
27540 else
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27544 ac_header_compiler=no
27546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27548 echo "${ECHO_T}$ac_header_compiler" >&6
27550 # Is the header present?
27551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27553 cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h. */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559 #include <$ac_header>
27560 _ACEOF
27561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } >/dev/null; then
27569 if test -s conftest.err; then
27570 ac_cpp_err=$ac_c_preproc_warn_flag
27571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27572 else
27573 ac_cpp_err=
27575 else
27576 ac_cpp_err=yes
27578 if test -z "$ac_cpp_err"; then
27579 ac_header_preproc=yes
27580 else
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27584 ac_header_preproc=no
27586 rm -f conftest.err conftest.$ac_ext
27587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27588 echo "${ECHO_T}$ac_header_preproc" >&6
27590 # So? What about this header?
27591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27592 yes:no: )
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27597 ac_header_preproc=yes
27599 no:yes:* )
27600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27613 cat <<\_ASBOX
27614 ## ----------------------------------------- ##
27615 ## Report this to the package-unused lists. ##
27616 ## ----------------------------------------- ##
27617 _ASBOX
27619 sed "s/^/$as_me: WARNING: /" >&2
27621 esac
27622 echo "$as_me:$LINENO: checking for $ac_header" >&5
27623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 eval "$as_ac_Header=\$ac_header_preproc"
27629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27634 cat >>confdefs.h <<_ACEOF
27635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27636 _ACEOF
27637 ac_has_wchar_h=yes
27638 else
27639 ac_has_wchar_h=no
27642 done
27645 for ac_header in wctype.h
27647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27649 echo "$as_me:$LINENO: checking for $ac_header" >&5
27650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27652 echo $ECHO_N "(cached) $ECHO_C" >&6
27654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27656 else
27657 # Is the header compilable?
27658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27660 cat >conftest.$ac_ext <<_ACEOF
27661 /* confdefs.h. */
27662 _ACEOF
27663 cat confdefs.h >>conftest.$ac_ext
27664 cat >>conftest.$ac_ext <<_ACEOF
27665 /* end confdefs.h. */
27666 $ac_includes_default
27667 #include <$ac_header>
27668 _ACEOF
27669 rm -f conftest.$ac_objext
27670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27671 (eval $ac_compile) 2>conftest.er1
27672 ac_status=$?
27673 grep -v '^ *+' conftest.er1 >conftest.err
27674 rm -f conftest.er1
27675 cat conftest.err >&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); } &&
27678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27681 ac_status=$?
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; } &&
27684 { ac_try='test -s conftest.$ac_objext'
27685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27686 (eval $ac_try) 2>&5
27687 ac_status=$?
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); }; }; then
27690 ac_header_compiler=yes
27691 else
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27695 ac_header_compiler=no
27697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27699 echo "${ECHO_T}$ac_header_compiler" >&6
27701 # Is the header present?
27702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27704 cat >conftest.$ac_ext <<_ACEOF
27705 /* confdefs.h. */
27706 _ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27710 #include <$ac_header>
27711 _ACEOF
27712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27714 ac_status=$?
27715 grep -v '^ *+' conftest.er1 >conftest.err
27716 rm -f conftest.er1
27717 cat conftest.err >&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } >/dev/null; then
27720 if test -s conftest.err; then
27721 ac_cpp_err=$ac_c_preproc_warn_flag
27722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27723 else
27724 ac_cpp_err=
27726 else
27727 ac_cpp_err=yes
27729 if test -z "$ac_cpp_err"; then
27730 ac_header_preproc=yes
27731 else
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27735 ac_header_preproc=no
27737 rm -f conftest.err conftest.$ac_ext
27738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27739 echo "${ECHO_T}$ac_header_preproc" >&6
27741 # So? What about this header?
27742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27743 yes:no: )
27744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27748 ac_header_preproc=yes
27750 no:yes:* )
27751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27764 cat <<\_ASBOX
27765 ## ----------------------------------------- ##
27766 ## Report this to the package-unused lists. ##
27767 ## ----------------------------------------- ##
27768 _ASBOX
27770 sed "s/^/$as_me: WARNING: /" >&2
27772 esac
27773 echo "$as_me:$LINENO: checking for $ac_header" >&5
27774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27776 echo $ECHO_N "(cached) $ECHO_C" >&6
27777 else
27778 eval "$as_ac_Header=\$ac_header_preproc"
27780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27785 cat >>confdefs.h <<_ACEOF
27786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27787 _ACEOF
27788 ac_has_wctype_h=yes
27789 else
27790 ac_has_wctype_h=no
27793 done
27796 # Only continue checking if the ISO C99 headers exist and support is on.
27797 if test x"$ac_has_wchar_h" = xyes &&
27798 test x"$ac_has_wctype_h" = xyes &&
27799 test x"$enable_c_mbchar" != xno; then
27801 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
27802 # numeric_limits can instantiate type_traits<wchar_t>
27803 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
27804 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
27805 cat >conftest.$ac_ext <<_ACEOF
27806 /* confdefs.h. */
27807 _ACEOF
27808 cat confdefs.h >>conftest.$ac_ext
27809 cat >>conftest.$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27811 #include <wchar.h>
27813 main ()
27815 int i = WCHAR_MIN; int j = WCHAR_MAX;
27817 return 0;
27819 _ACEOF
27820 rm -f conftest.$ac_objext
27821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27822 (eval $ac_compile) 2>conftest.er1
27823 ac_status=$?
27824 grep -v '^ *+' conftest.er1 >conftest.err
27825 rm -f conftest.er1
27826 cat conftest.err >&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); } &&
27829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27832 ac_status=$?
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; } &&
27835 { ac_try='test -s conftest.$ac_objext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27838 ac_status=$?
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 has_wchar_minmax=yes
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27846 has_wchar_minmax=no
27848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27849 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
27850 echo "${ECHO_T}$has_wchar_minmax" >&6
27852 # Test wchar.h for WEOF, which is what we use to determine whether
27853 # to specialize for char_traits<wchar_t> or not.
27854 echo "$as_me:$LINENO: checking for WEOF" >&5
27855 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
27856 cat >conftest.$ac_ext <<_ACEOF
27857 /* confdefs.h. */
27858 _ACEOF
27859 cat confdefs.h >>conftest.$ac_ext
27860 cat >>conftest.$ac_ext <<_ACEOF
27861 /* end confdefs.h. */
27863 #include <wchar.h>
27864 #include <stddef.h>
27866 main ()
27868 wint_t i = WEOF;
27870 return 0;
27872 _ACEOF
27873 rm -f conftest.$ac_objext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27875 (eval $ac_compile) 2>conftest.er1
27876 ac_status=$?
27877 grep -v '^ *+' conftest.er1 >conftest.err
27878 rm -f conftest.er1
27879 cat conftest.err >&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } &&
27882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27885 ac_status=$?
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; } &&
27888 { ac_try='test -s conftest.$ac_objext'
27889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890 (eval $ac_try) 2>&5
27891 ac_status=$?
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); }; }; then
27894 has_weof=yes
27895 else
27896 echo "$as_me: failed program was:" >&5
27897 sed 's/^/| /' conftest.$ac_ext >&5
27899 has_weof=no
27901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27902 echo "$as_me:$LINENO: result: $has_weof" >&5
27903 echo "${ECHO_T}$has_weof" >&6
27905 # Tests for wide character functions used in char_traits<wchar_t>.
27906 ac_wfuncs=yes
27913 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
27915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27916 echo "$as_me:$LINENO: checking for $ac_func" >&5
27917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27918 if eval "test \"\${$as_ac_var+set}\" = set"; then
27919 echo $ECHO_N "(cached) $ECHO_C" >&6
27920 else
27921 if test x$gcc_no_link = xyes; then
27922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27924 { (exit 1); exit 1; }; }
27926 cat >conftest.$ac_ext <<_ACEOF
27927 /* confdefs.h. */
27928 _ACEOF
27929 cat confdefs.h >>conftest.$ac_ext
27930 cat >>conftest.$ac_ext <<_ACEOF
27931 /* end confdefs.h. */
27932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27934 #define $ac_func innocuous_$ac_func
27936 /* System header to define __stub macros and hopefully few prototypes,
27937 which can conflict with char $ac_func (); below.
27938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27939 <limits.h> exists even on freestanding compilers. */
27941 #ifdef __STDC__
27942 # include <limits.h>
27943 #else
27944 # include <assert.h>
27945 #endif
27947 #undef $ac_func
27949 /* Override any gcc2 internal prototype to avoid an error. */
27950 #ifdef __cplusplus
27951 extern "C"
27953 #endif
27954 /* We use char because int might match the return type of a gcc2
27955 builtin and then its argument prototype would still apply. */
27956 char $ac_func ();
27957 /* The GNU C library defines this for functions which it implements
27958 to always fail with ENOSYS. Some functions are actually named
27959 something starting with __ and the normal name is an alias. */
27960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27961 choke me
27962 #else
27963 char (*f) () = $ac_func;
27964 #endif
27965 #ifdef __cplusplus
27967 #endif
27970 main ()
27972 return f != $ac_func;
27974 return 0;
27976 _ACEOF
27977 rm -f conftest.$ac_objext conftest$ac_exeext
27978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27979 (eval $ac_link) 2>conftest.er1
27980 ac_status=$?
27981 grep -v '^ *+' conftest.er1 >conftest.err
27982 rm -f conftest.er1
27983 cat conftest.err >&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); } &&
27986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27988 (eval $ac_try) 2>&5
27989 ac_status=$?
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); }; } &&
27992 { ac_try='test -s conftest$ac_exeext'
27993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27994 (eval $ac_try) 2>&5
27995 ac_status=$?
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; }; then
27998 eval "$as_ac_var=yes"
27999 else
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.$ac_ext >&5
28003 eval "$as_ac_var=no"
28005 rm -f conftest.err conftest.$ac_objext \
28006 conftest$ac_exeext conftest.$ac_ext
28008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28010 if test `eval echo '${'$as_ac_var'}'` = yes; then
28011 cat >>confdefs.h <<_ACEOF
28012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28013 _ACEOF
28015 else
28016 ac_wfuncs=no
28018 done
28021 # Checks for names injected into std:: by the c_std headers.
28068 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28069 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28070 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28071 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28072 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28073 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28076 echo "$as_me:$LINENO: checking for $ac_func" >&5
28077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28078 if eval "test \"\${$as_ac_var+set}\" = set"; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 else
28081 if test x$gcc_no_link = xyes; then
28082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28084 { (exit 1); exit 1; }; }
28086 cat >conftest.$ac_ext <<_ACEOF
28087 /* confdefs.h. */
28088 _ACEOF
28089 cat confdefs.h >>conftest.$ac_ext
28090 cat >>conftest.$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28094 #define $ac_func innocuous_$ac_func
28096 /* System header to define __stub macros and hopefully few prototypes,
28097 which can conflict with char $ac_func (); below.
28098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28099 <limits.h> exists even on freestanding compilers. */
28101 #ifdef __STDC__
28102 # include <limits.h>
28103 #else
28104 # include <assert.h>
28105 #endif
28107 #undef $ac_func
28109 /* Override any gcc2 internal prototype to avoid an error. */
28110 #ifdef __cplusplus
28111 extern "C"
28113 #endif
28114 /* We use char because int might match the return type of a gcc2
28115 builtin and then its argument prototype would still apply. */
28116 char $ac_func ();
28117 /* The GNU C library defines this for functions which it implements
28118 to always fail with ENOSYS. Some functions are actually named
28119 something starting with __ and the normal name is an alias. */
28120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28121 choke me
28122 #else
28123 char (*f) () = $ac_func;
28124 #endif
28125 #ifdef __cplusplus
28127 #endif
28130 main ()
28132 return f != $ac_func;
28134 return 0;
28136 _ACEOF
28137 rm -f conftest.$ac_objext conftest$ac_exeext
28138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28139 (eval $ac_link) 2>conftest.er1
28140 ac_status=$?
28141 grep -v '^ *+' conftest.er1 >conftest.err
28142 rm -f conftest.er1
28143 cat conftest.err >&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); } &&
28146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28148 (eval $ac_try) 2>&5
28149 ac_status=$?
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; } &&
28152 { ac_try='test -s conftest$ac_exeext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28155 ac_status=$?
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28158 eval "$as_ac_var=yes"
28159 else
28160 echo "$as_me: failed program was:" >&5
28161 sed 's/^/| /' conftest.$ac_ext >&5
28163 eval "$as_ac_var=no"
28165 rm -f conftest.err conftest.$ac_objext \
28166 conftest$ac_exeext conftest.$ac_ext
28168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28170 if test `eval echo '${'$as_ac_var'}'` = yes; then
28171 cat >>confdefs.h <<_ACEOF
28172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28173 _ACEOF
28175 else
28176 ac_wfuncs=no
28178 done
28181 # Checks for wide character functions that are not required
28182 # for basic wchar_t support. Don't disable support if they are missing.
28183 # Injection of these is wrapped with guard macros.
28189 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28192 echo "$as_me:$LINENO: checking for $ac_func" >&5
28193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28194 if eval "test \"\${$as_ac_var+set}\" = set"; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28197 if test x$gcc_no_link = xyes; then
28198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28200 { (exit 1); exit 1; }; }
28202 cat >conftest.$ac_ext <<_ACEOF
28203 /* confdefs.h. */
28204 _ACEOF
28205 cat confdefs.h >>conftest.$ac_ext
28206 cat >>conftest.$ac_ext <<_ACEOF
28207 /* end confdefs.h. */
28208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28210 #define $ac_func innocuous_$ac_func
28212 /* System header to define __stub macros and hopefully few prototypes,
28213 which can conflict with char $ac_func (); below.
28214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28215 <limits.h> exists even on freestanding compilers. */
28217 #ifdef __STDC__
28218 # include <limits.h>
28219 #else
28220 # include <assert.h>
28221 #endif
28223 #undef $ac_func
28225 /* Override any gcc2 internal prototype to avoid an error. */
28226 #ifdef __cplusplus
28227 extern "C"
28229 #endif
28230 /* We use char because int might match the return type of a gcc2
28231 builtin and then its argument prototype would still apply. */
28232 char $ac_func ();
28233 /* The GNU C library defines this for functions which it implements
28234 to always fail with ENOSYS. Some functions are actually named
28235 something starting with __ and the normal name is an alias. */
28236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28237 choke me
28238 #else
28239 char (*f) () = $ac_func;
28240 #endif
28241 #ifdef __cplusplus
28243 #endif
28246 main ()
28248 return f != $ac_func;
28250 return 0;
28252 _ACEOF
28253 rm -f conftest.$ac_objext conftest$ac_exeext
28254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28255 (eval $ac_link) 2>conftest.er1
28256 ac_status=$?
28257 grep -v '^ *+' conftest.er1 >conftest.err
28258 rm -f conftest.er1
28259 cat conftest.err >&5
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); } &&
28262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28264 (eval $ac_try) 2>&5
28265 ac_status=$?
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); }; } &&
28268 { ac_try='test -s conftest$ac_exeext'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; }; then
28274 eval "$as_ac_var=yes"
28275 else
28276 echo "$as_me: failed program was:" >&5
28277 sed 's/^/| /' conftest.$ac_ext >&5
28279 eval "$as_ac_var=no"
28281 rm -f conftest.err conftest.$ac_objext \
28282 conftest$ac_exeext conftest.$ac_ext
28284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28286 if test `eval echo '${'$as_ac_var'}'` = yes; then
28287 cat >>confdefs.h <<_ACEOF
28288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28289 _ACEOF
28292 done
28295 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28296 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28297 if test x"$has_weof" = xyes &&
28298 test x"$has_wchar_minmax" = xyes &&
28299 test x"$ac_wfuncs" = xyes;
28300 then
28301 ac_isoC99_wchar_t=yes
28302 else
28303 ac_isoC99_wchar_t=no
28305 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28306 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28308 # Use iconv for wchar_t to char conversions. As such, check for
28309 # X/Open Portability Guide, version 2 features (XPG2).
28310 if test "${ac_cv_header_iconv_h+set}" = set; then
28311 echo "$as_me:$LINENO: checking for iconv.h" >&5
28312 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28313 if test "${ac_cv_header_iconv_h+set}" = set; then
28314 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28317 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28318 else
28319 # Is the header compilable?
28320 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28321 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28322 cat >conftest.$ac_ext <<_ACEOF
28323 /* confdefs.h. */
28324 _ACEOF
28325 cat confdefs.h >>conftest.$ac_ext
28326 cat >>conftest.$ac_ext <<_ACEOF
28327 /* end confdefs.h. */
28328 $ac_includes_default
28329 #include <iconv.h>
28330 _ACEOF
28331 rm -f conftest.$ac_objext
28332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28333 (eval $ac_compile) 2>conftest.er1
28334 ac_status=$?
28335 grep -v '^ *+' conftest.er1 >conftest.err
28336 rm -f conftest.er1
28337 cat conftest.err >&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); } &&
28340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try='test -s conftest.$ac_objext'
28347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 (eval $ac_try) 2>&5
28349 ac_status=$?
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); }; }; then
28352 ac_header_compiler=yes
28353 else
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.$ac_ext >&5
28357 ac_header_compiler=no
28359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28361 echo "${ECHO_T}$ac_header_compiler" >&6
28363 # Is the header present?
28364 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28365 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28366 cat >conftest.$ac_ext <<_ACEOF
28367 /* confdefs.h. */
28368 _ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372 #include <iconv.h>
28373 _ACEOF
28374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28376 ac_status=$?
28377 grep -v '^ *+' conftest.er1 >conftest.err
28378 rm -f conftest.er1
28379 cat conftest.err >&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); } >/dev/null; then
28382 if test -s conftest.err; then
28383 ac_cpp_err=$ac_c_preproc_warn_flag
28384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28385 else
28386 ac_cpp_err=
28388 else
28389 ac_cpp_err=yes
28391 if test -z "$ac_cpp_err"; then
28392 ac_header_preproc=yes
28393 else
28394 echo "$as_me: failed program was:" >&5
28395 sed 's/^/| /' conftest.$ac_ext >&5
28397 ac_header_preproc=no
28399 rm -f conftest.err conftest.$ac_ext
28400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28401 echo "${ECHO_T}$ac_header_preproc" >&6
28403 # So? What about this header?
28404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28405 yes:no: )
28406 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28407 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28408 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28409 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28410 ac_header_preproc=yes
28412 no:yes:* )
28413 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28414 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28415 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28416 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28417 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28418 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28419 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28420 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28421 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28422 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28423 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28424 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28426 cat <<\_ASBOX
28427 ## ----------------------------------------- ##
28428 ## Report this to the package-unused lists. ##
28429 ## ----------------------------------------- ##
28430 _ASBOX
28432 sed "s/^/$as_me: WARNING: /" >&2
28434 esac
28435 echo "$as_me:$LINENO: checking for iconv.h" >&5
28436 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28437 if test "${ac_cv_header_iconv_h+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28439 else
28440 ac_cv_header_iconv_h=$ac_header_preproc
28442 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28443 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28446 if test $ac_cv_header_iconv_h = yes; then
28447 ac_has_iconv_h=yes
28448 else
28449 ac_has_iconv_h=no
28453 if test "${ac_cv_header_langinfo_h+set}" = set; then
28454 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28455 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28456 if test "${ac_cv_header_langinfo_h+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28459 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28460 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28461 else
28462 # Is the header compilable?
28463 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28464 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28465 cat >conftest.$ac_ext <<_ACEOF
28466 /* confdefs.h. */
28467 _ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28471 $ac_includes_default
28472 #include <langinfo.h>
28473 _ACEOF
28474 rm -f conftest.$ac_objext
28475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28476 (eval $ac_compile) 2>conftest.er1
28477 ac_status=$?
28478 grep -v '^ *+' conftest.er1 >conftest.err
28479 rm -f conftest.er1
28480 cat conftest.err >&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); } &&
28483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28485 (eval $ac_try) 2>&5
28486 ac_status=$?
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); }; } &&
28489 { ac_try='test -s conftest.$ac_objext'
28490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28491 (eval $ac_try) 2>&5
28492 ac_status=$?
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); }; }; then
28495 ac_header_compiler=yes
28496 else
28497 echo "$as_me: failed program was:" >&5
28498 sed 's/^/| /' conftest.$ac_ext >&5
28500 ac_header_compiler=no
28502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28504 echo "${ECHO_T}$ac_header_compiler" >&6
28506 # Is the header present?
28507 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28508 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28509 cat >conftest.$ac_ext <<_ACEOF
28510 /* confdefs.h. */
28511 _ACEOF
28512 cat confdefs.h >>conftest.$ac_ext
28513 cat >>conftest.$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28515 #include <langinfo.h>
28516 _ACEOF
28517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28519 ac_status=$?
28520 grep -v '^ *+' conftest.er1 >conftest.err
28521 rm -f conftest.er1
28522 cat conftest.err >&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } >/dev/null; then
28525 if test -s conftest.err; then
28526 ac_cpp_err=$ac_c_preproc_warn_flag
28527 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28528 else
28529 ac_cpp_err=
28531 else
28532 ac_cpp_err=yes
28534 if test -z "$ac_cpp_err"; then
28535 ac_header_preproc=yes
28536 else
28537 echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.$ac_ext >&5
28540 ac_header_preproc=no
28542 rm -f conftest.err conftest.$ac_ext
28543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28544 echo "${ECHO_T}$ac_header_preproc" >&6
28546 # So? What about this header?
28547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28548 yes:no: )
28549 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28550 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28551 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28552 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28553 ac_header_preproc=yes
28555 no:yes:* )
28556 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28557 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28558 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28559 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28560 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28561 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28562 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28563 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28564 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28565 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28566 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28567 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28569 cat <<\_ASBOX
28570 ## ----------------------------------------- ##
28571 ## Report this to the package-unused lists. ##
28572 ## ----------------------------------------- ##
28573 _ASBOX
28575 sed "s/^/$as_me: WARNING: /" >&2
28577 esac
28578 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28579 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28580 if test "${ac_cv_header_langinfo_h+set}" = set; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28582 else
28583 ac_cv_header_langinfo_h=$ac_header_preproc
28585 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28586 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28589 if test $ac_cv_header_langinfo_h = yes; then
28590 ac_has_langinfo_h=yes
28591 else
28592 ac_has_langinfo_h=no
28597 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28598 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28599 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28600 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28601 echo $ECHO_N "(cached) $ECHO_C" >&6
28602 else
28603 ac_check_lib_save_LIBS=$LIBS
28604 LIBS="-liconv $LIBS"
28605 if test x$gcc_no_link = xyes; then
28606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28608 { (exit 1); exit 1; }; }
28610 cat >conftest.$ac_ext <<_ACEOF
28611 /* confdefs.h. */
28612 _ACEOF
28613 cat confdefs.h >>conftest.$ac_ext
28614 cat >>conftest.$ac_ext <<_ACEOF
28615 /* end confdefs.h. */
28617 /* Override any gcc2 internal prototype to avoid an error. */
28618 #ifdef __cplusplus
28619 extern "C"
28620 #endif
28621 /* We use char because int might match the return type of a gcc2
28622 builtin and then its argument prototype would still apply. */
28623 char iconv ();
28625 main ()
28627 iconv ();
28629 return 0;
28631 _ACEOF
28632 rm -f conftest.$ac_objext conftest$ac_exeext
28633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28634 (eval $ac_link) 2>conftest.er1
28635 ac_status=$?
28636 grep -v '^ *+' conftest.er1 >conftest.err
28637 rm -f conftest.er1
28638 cat conftest.err >&5
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); } &&
28641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28643 (eval $ac_try) 2>&5
28644 ac_status=$?
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); }; } &&
28647 { ac_try='test -s conftest$ac_exeext'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28650 ac_status=$?
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; }; then
28653 ac_cv_lib_iconv_iconv=yes
28654 else
28655 echo "$as_me: failed program was:" >&5
28656 sed 's/^/| /' conftest.$ac_ext >&5
28658 ac_cv_lib_iconv_iconv=no
28660 rm -f conftest.err conftest.$ac_objext \
28661 conftest$ac_exeext conftest.$ac_ext
28662 LIBS=$ac_check_lib_save_LIBS
28664 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28665 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28666 if test $ac_cv_lib_iconv_iconv = yes; then
28667 LIBICONV="-liconv"
28670 ac_save_LIBS="$LIBS"
28671 LIBS="$LIBS $LIBICONV"
28678 for ac_func in iconv_open iconv_close iconv nl_langinfo
28680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28681 echo "$as_me:$LINENO: checking for $ac_func" >&5
28682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28683 if eval "test \"\${$as_ac_var+set}\" = set"; then
28684 echo $ECHO_N "(cached) $ECHO_C" >&6
28685 else
28686 if test x$gcc_no_link = xyes; then
28687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28689 { (exit 1); exit 1; }; }
28691 cat >conftest.$ac_ext <<_ACEOF
28692 /* confdefs.h. */
28693 _ACEOF
28694 cat confdefs.h >>conftest.$ac_ext
28695 cat >>conftest.$ac_ext <<_ACEOF
28696 /* end confdefs.h. */
28697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28699 #define $ac_func innocuous_$ac_func
28701 /* System header to define __stub macros and hopefully few prototypes,
28702 which can conflict with char $ac_func (); below.
28703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28704 <limits.h> exists even on freestanding compilers. */
28706 #ifdef __STDC__
28707 # include <limits.h>
28708 #else
28709 # include <assert.h>
28710 #endif
28712 #undef $ac_func
28714 /* Override any gcc2 internal prototype to avoid an error. */
28715 #ifdef __cplusplus
28716 extern "C"
28718 #endif
28719 /* We use char because int might match the return type of a gcc2
28720 builtin and then its argument prototype would still apply. */
28721 char $ac_func ();
28722 /* The GNU C library defines this for functions which it implements
28723 to always fail with ENOSYS. Some functions are actually named
28724 something starting with __ and the normal name is an alias. */
28725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28726 choke me
28727 #else
28728 char (*f) () = $ac_func;
28729 #endif
28730 #ifdef __cplusplus
28732 #endif
28735 main ()
28737 return f != $ac_func;
28739 return 0;
28741 _ACEOF
28742 rm -f conftest.$ac_objext conftest$ac_exeext
28743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28744 (eval $ac_link) 2>conftest.er1
28745 ac_status=$?
28746 grep -v '^ *+' conftest.er1 >conftest.err
28747 rm -f conftest.er1
28748 cat conftest.err >&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); } &&
28751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28754 ac_status=$?
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; } &&
28757 { ac_try='test -s conftest$ac_exeext'
28758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28759 (eval $ac_try) 2>&5
28760 ac_status=$?
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); }; }; then
28763 eval "$as_ac_var=yes"
28764 else
28765 echo "$as_me: failed program was:" >&5
28766 sed 's/^/| /' conftest.$ac_ext >&5
28768 eval "$as_ac_var=no"
28770 rm -f conftest.err conftest.$ac_objext \
28771 conftest$ac_exeext conftest.$ac_ext
28773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28775 if test `eval echo '${'$as_ac_var'}'` = yes; then
28776 cat >>confdefs.h <<_ACEOF
28777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28778 _ACEOF
28779 ac_XPG2funcs=yes
28780 else
28781 ac_XPG2funcs=no
28783 done
28786 LIBS="$ac_save_LIBS"
28788 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
28789 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
28790 if test x"$ac_has_iconv_h" = xyes &&
28791 test x"$ac_has_langinfo_h" = xyes &&
28792 test x"$ac_XPG2funcs" = xyes;
28793 then
28794 ac_XPG2_wchar_t=yes
28795 else
28796 ac_XPG2_wchar_t=no
28798 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
28799 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
28801 # At the moment, only enable wchar_t specializations if all the
28802 # above support is present.
28803 if test x"$ac_isoC99_wchar_t" = xyes &&
28804 test x"$ac_XPG2_wchar_t" = xyes;
28805 then
28806 cat >>confdefs.h <<\_ACEOF
28807 #define _GLIBCXX_USE_WCHAR_T 1
28808 _ACEOF
28810 enable_wchar_t=yes
28813 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
28814 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
28815 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
28816 echo "${ECHO_T}$enable_wchar_t" >&6
28819 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28820 ac_save_CXXFLAGS="$CXXFLAGS"
28821 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28824 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28825 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28826 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28827 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28829 else
28833 ac_ext=cc
28834 ac_cpp='$CXXCPP $CPPFLAGS'
28835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28839 cat >conftest.$ac_ext <<_ACEOF
28840 /* confdefs.h. */
28841 _ACEOF
28842 cat confdefs.h >>conftest.$ac_ext
28843 cat >>conftest.$ac_ext <<_ACEOF
28844 /* end confdefs.h. */
28845 #include <stdlib.h>
28847 main ()
28849 strtold(0, 0);
28851 return 0;
28853 _ACEOF
28854 rm -f conftest.$ac_objext
28855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28856 (eval $ac_compile) 2>conftest.er1
28857 ac_status=$?
28858 grep -v '^ *+' conftest.er1 >conftest.err
28859 rm -f conftest.er1
28860 cat conftest.err >&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); } &&
28863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; } &&
28869 { ac_try='test -s conftest.$ac_objext'
28870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28871 (eval $ac_try) 2>&5
28872 ac_status=$?
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); }; }; then
28875 glibcxx_cv_func_strtold_use=yes
28876 else
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28880 glibcxx_cv_func_strtold_use=no
28882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28883 ac_ext=c
28884 ac_cpp='$CPP $CPPFLAGS'
28885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28894 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28895 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28897 for ac_func in strtold
28899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28900 echo "$as_me:$LINENO: checking for $ac_func" >&5
28901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28902 if eval "test \"\${$as_ac_var+set}\" = set"; then
28903 echo $ECHO_N "(cached) $ECHO_C" >&6
28904 else
28905 if test x$gcc_no_link = xyes; then
28906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28908 { (exit 1); exit 1; }; }
28910 cat >conftest.$ac_ext <<_ACEOF
28911 /* confdefs.h. */
28912 _ACEOF
28913 cat confdefs.h >>conftest.$ac_ext
28914 cat >>conftest.$ac_ext <<_ACEOF
28915 /* end confdefs.h. */
28916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28918 #define $ac_func innocuous_$ac_func
28920 /* System header to define __stub macros and hopefully few prototypes,
28921 which can conflict with char $ac_func (); below.
28922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28923 <limits.h> exists even on freestanding compilers. */
28925 #ifdef __STDC__
28926 # include <limits.h>
28927 #else
28928 # include <assert.h>
28929 #endif
28931 #undef $ac_func
28933 /* Override any gcc2 internal prototype to avoid an error. */
28934 #ifdef __cplusplus
28935 extern "C"
28937 #endif
28938 /* We use char because int might match the return type of a gcc2
28939 builtin and then its argument prototype would still apply. */
28940 char $ac_func ();
28941 /* The GNU C library defines this for functions which it implements
28942 to always fail with ENOSYS. Some functions are actually named
28943 something starting with __ and the normal name is an alias. */
28944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28945 choke me
28946 #else
28947 char (*f) () = $ac_func;
28948 #endif
28949 #ifdef __cplusplus
28951 #endif
28954 main ()
28956 return f != $ac_func;
28958 return 0;
28960 _ACEOF
28961 rm -f conftest.$ac_objext conftest$ac_exeext
28962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28963 (eval $ac_link) 2>conftest.er1
28964 ac_status=$?
28965 grep -v '^ *+' conftest.er1 >conftest.err
28966 rm -f conftest.er1
28967 cat conftest.err >&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } &&
28970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28972 (eval $ac_try) 2>&5
28973 ac_status=$?
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); }; } &&
28976 { ac_try='test -s conftest$ac_exeext'
28977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28978 (eval $ac_try) 2>&5
28979 ac_status=$?
28980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28981 (exit $ac_status); }; }; then
28982 eval "$as_ac_var=yes"
28983 else
28984 echo "$as_me: failed program was:" >&5
28985 sed 's/^/| /' conftest.$ac_ext >&5
28987 eval "$as_ac_var=no"
28989 rm -f conftest.err conftest.$ac_objext \
28990 conftest$ac_exeext conftest.$ac_ext
28992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28994 if test `eval echo '${'$as_ac_var'}'` = yes; then
28995 cat >>confdefs.h <<_ACEOF
28996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28997 _ACEOF
29000 done
29005 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29006 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29007 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29008 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29009 echo $ECHO_N "(cached) $ECHO_C" >&6
29010 else
29014 ac_ext=cc
29015 ac_cpp='$CXXCPP $CPPFLAGS'
29016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29020 cat >conftest.$ac_ext <<_ACEOF
29021 /* confdefs.h. */
29022 _ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29026 #include <stdlib.h>
29028 main ()
29030 strtof(0, 0);
29032 return 0;
29034 _ACEOF
29035 rm -f conftest.$ac_objext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29037 (eval $ac_compile) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29047 ac_status=$?
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try='test -s conftest.$ac_objext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29053 ac_status=$?
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 glibcxx_cv_func_strtof_use=yes
29057 else
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.$ac_ext >&5
29061 glibcxx_cv_func_strtof_use=no
29063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29064 ac_ext=c
29065 ac_cpp='$CPP $CPPFLAGS'
29066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29075 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29076 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29078 for ac_func in strtof
29080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29081 echo "$as_me:$LINENO: checking for $ac_func" >&5
29082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29083 if eval "test \"\${$as_ac_var+set}\" = set"; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086 if test x$gcc_no_link = xyes; then
29087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29089 { (exit 1); exit 1; }; }
29091 cat >conftest.$ac_ext <<_ACEOF
29092 /* confdefs.h. */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29099 #define $ac_func innocuous_$ac_func
29101 /* System header to define __stub macros and hopefully few prototypes,
29102 which can conflict with char $ac_func (); below.
29103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29104 <limits.h> exists even on freestanding compilers. */
29106 #ifdef __STDC__
29107 # include <limits.h>
29108 #else
29109 # include <assert.h>
29110 #endif
29112 #undef $ac_func
29114 /* Override any gcc2 internal prototype to avoid an error. */
29115 #ifdef __cplusplus
29116 extern "C"
29118 #endif
29119 /* We use char because int might match the return type of a gcc2
29120 builtin and then its argument prototype would still apply. */
29121 char $ac_func ();
29122 /* The GNU C library defines this for functions which it implements
29123 to always fail with ENOSYS. Some functions are actually named
29124 something starting with __ and the normal name is an alias. */
29125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29126 choke me
29127 #else
29128 char (*f) () = $ac_func;
29129 #endif
29130 #ifdef __cplusplus
29132 #endif
29135 main ()
29137 return f != $ac_func;
29139 return 0;
29141 _ACEOF
29142 rm -f conftest.$ac_objext conftest$ac_exeext
29143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29144 (eval $ac_link) 2>conftest.er1
29145 ac_status=$?
29146 grep -v '^ *+' conftest.er1 >conftest.err
29147 rm -f conftest.er1
29148 cat conftest.err >&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } &&
29151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29153 (eval $ac_try) 2>&5
29154 ac_status=$?
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; } &&
29157 { ac_try='test -s conftest$ac_exeext'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29160 ac_status=$?
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; }; then
29163 eval "$as_ac_var=yes"
29164 else
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.$ac_ext >&5
29168 eval "$as_ac_var=no"
29170 rm -f conftest.err conftest.$ac_objext \
29171 conftest$ac_exeext conftest.$ac_ext
29173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29175 if test `eval echo '${'$as_ac_var'}'` = yes; then
29176 cat >>confdefs.h <<_ACEOF
29177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29178 _ACEOF
29181 done
29186 CXXFLAGS="$ac_save_CXXFLAGS"
29189 # For showmanyc_helper().
29192 for ac_header in sys/ioctl.h sys/filio.h
29194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29196 echo "$as_me:$LINENO: checking for $ac_header" >&5
29197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29203 else
29204 # Is the header compilable?
29205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29207 cat >conftest.$ac_ext <<_ACEOF
29208 /* confdefs.h. */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29213 $ac_includes_default
29214 #include <$ac_header>
29215 _ACEOF
29216 rm -f conftest.$ac_objext
29217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29218 (eval $ac_compile) 2>conftest.er1
29219 ac_status=$?
29220 grep -v '^ *+' conftest.er1 >conftest.err
29221 rm -f conftest.er1
29222 cat conftest.err >&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); } &&
29225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227 (eval $ac_try) 2>&5
29228 ac_status=$?
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); }; } &&
29231 { ac_try='test -s conftest.$ac_objext'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29234 ac_status=$?
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; }; then
29237 ac_header_compiler=yes
29238 else
29239 echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29242 ac_header_compiler=no
29244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29246 echo "${ECHO_T}$ac_header_compiler" >&6
29248 # Is the header present?
29249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257 #include <$ac_header>
29258 _ACEOF
29259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29261 ac_status=$?
29262 grep -v '^ *+' conftest.er1 >conftest.err
29263 rm -f conftest.er1
29264 cat conftest.err >&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } >/dev/null; then
29267 if test -s conftest.err; then
29268 ac_cpp_err=$ac_c_preproc_warn_flag
29269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29270 else
29271 ac_cpp_err=
29273 else
29274 ac_cpp_err=yes
29276 if test -z "$ac_cpp_err"; then
29277 ac_header_preproc=yes
29278 else
29279 echo "$as_me: failed program was:" >&5
29280 sed 's/^/| /' conftest.$ac_ext >&5
29282 ac_header_preproc=no
29284 rm -f conftest.err conftest.$ac_ext
29285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29286 echo "${ECHO_T}$ac_header_preproc" >&6
29288 # So? What about this header?
29289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29290 yes:no: )
29291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29295 ac_header_preproc=yes
29297 no:yes:* )
29298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29311 cat <<\_ASBOX
29312 ## ----------------------------------------- ##
29313 ## Report this to the package-unused lists. ##
29314 ## ----------------------------------------- ##
29315 _ASBOX
29317 sed "s/^/$as_me: WARNING: /" >&2
29319 esac
29320 echo "$as_me:$LINENO: checking for $ac_header" >&5
29321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 else
29325 eval "$as_ac_Header=\$ac_header_preproc"
29327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29332 cat >>confdefs.h <<_ACEOF
29333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29334 _ACEOF
29338 done
29341 if test "${glibcxx_cv_POLL+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 else
29345 if test x$gcc_no_link = xyes; then
29346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29348 { (exit 1); exit 1; }; }
29350 cat >conftest.$ac_ext <<_ACEOF
29351 /* confdefs.h. */
29352 _ACEOF
29353 cat confdefs.h >>conftest.$ac_ext
29354 cat >>conftest.$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356 #include <poll.h>
29358 main ()
29360 struct pollfd pfd[1];
29361 pfd[0].events = POLLIN;
29362 poll(pfd, 1, 0);
29364 return 0;
29366 _ACEOF
29367 rm -f conftest.$ac_objext conftest$ac_exeext
29368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29369 (eval $ac_link) 2>conftest.er1
29370 ac_status=$?
29371 grep -v '^ *+' conftest.er1 >conftest.err
29372 rm -f conftest.er1
29373 cat conftest.err >&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); } &&
29376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378 (eval $ac_try) 2>&5
29379 ac_status=$?
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); }; } &&
29382 { ac_try='test -s conftest$ac_exeext'
29383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384 (eval $ac_try) 2>&5
29385 ac_status=$?
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); }; }; then
29388 glibcxx_cv_POLL=yes
29389 else
29390 echo "$as_me: failed program was:" >&5
29391 sed 's/^/| /' conftest.$ac_ext >&5
29393 glibcxx_cv_POLL=no
29395 rm -f conftest.err conftest.$ac_objext \
29396 conftest$ac_exeext conftest.$ac_ext
29400 if test $glibcxx_cv_POLL = yes; then
29401 cat >>confdefs.h <<\_ACEOF
29402 #define HAVE_POLL 1
29403 _ACEOF
29408 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29412 if test x$gcc_no_link = xyes; then
29413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29415 { (exit 1); exit 1; }; }
29417 cat >conftest.$ac_ext <<_ACEOF
29418 /* confdefs.h. */
29419 _ACEOF
29420 cat confdefs.h >>conftest.$ac_ext
29421 cat >>conftest.$ac_ext <<_ACEOF
29422 /* end confdefs.h. */
29423 #include <sys/stat.h>
29425 main ()
29427 struct stat buffer;
29428 fstat(0, &buffer);
29429 S_ISREG(buffer.st_mode);
29431 return 0;
29433 _ACEOF
29434 rm -f conftest.$ac_objext conftest$ac_exeext
29435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29436 (eval $ac_link) 2>conftest.er1
29437 ac_status=$?
29438 grep -v '^ *+' conftest.er1 >conftest.err
29439 rm -f conftest.er1
29440 cat conftest.err >&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } &&
29443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29446 ac_status=$?
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; } &&
29449 { ac_try='test -s conftest$ac_exeext'
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29452 ac_status=$?
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; }; then
29455 glibcxx_cv_S_ISREG=yes
29456 else
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29460 glibcxx_cv_S_ISREG=no
29462 rm -f conftest.err conftest.$ac_objext \
29463 conftest$ac_exeext conftest.$ac_ext
29467 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29469 else
29471 if test x$gcc_no_link = xyes; then
29472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29474 { (exit 1); exit 1; }; }
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 #include <sys/stat.h>
29484 main ()
29486 struct stat buffer;
29487 fstat(0, &buffer);
29488 S_IFREG & buffer.st_mode;
29490 return 0;
29492 _ACEOF
29493 rm -f conftest.$ac_objext conftest$ac_exeext
29494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29495 (eval $ac_link) 2>conftest.er1
29496 ac_status=$?
29497 grep -v '^ *+' conftest.er1 >conftest.err
29498 rm -f conftest.er1
29499 cat conftest.err >&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); } &&
29502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504 (eval $ac_try) 2>&5
29505 ac_status=$?
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); }; } &&
29508 { ac_try='test -s conftest$ac_exeext'
29509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 (eval $ac_try) 2>&5
29511 ac_status=$?
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); }; }; then
29514 glibcxx_cv_S_IFREG=yes
29515 else
29516 echo "$as_me: failed program was:" >&5
29517 sed 's/^/| /' conftest.$ac_ext >&5
29519 glibcxx_cv_S_IFREG=no
29521 rm -f conftest.err conftest.$ac_objext \
29522 conftest$ac_exeext conftest.$ac_ext
29526 if test $glibcxx_cv_S_ISREG = yes; then
29527 cat >>confdefs.h <<\_ACEOF
29528 #define HAVE_S_ISREG 1
29529 _ACEOF
29531 elif test $glibcxx_cv_S_IFREG = yes; then
29532 cat >>confdefs.h <<\_ACEOF
29533 #define HAVE_S_IFREG 1
29534 _ACEOF
29539 # For xsputn_2().
29541 for ac_header in sys/uio.h
29543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29545 echo "$as_me:$LINENO: checking for $ac_header" >&5
29546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29552 else
29553 # Is the header compilable?
29554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29556 cat >conftest.$ac_ext <<_ACEOF
29557 /* confdefs.h. */
29558 _ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29562 $ac_includes_default
29563 #include <$ac_header>
29564 _ACEOF
29565 rm -f conftest.$ac_objext
29566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29567 (eval $ac_compile) 2>conftest.er1
29568 ac_status=$?
29569 grep -v '^ *+' conftest.er1 >conftest.err
29570 rm -f conftest.er1
29571 cat conftest.err >&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); } &&
29574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29576 (eval $ac_try) 2>&5
29577 ac_status=$?
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); }; } &&
29580 { ac_try='test -s conftest.$ac_objext'
29581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582 (eval $ac_try) 2>&5
29583 ac_status=$?
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); }; }; then
29586 ac_header_compiler=yes
29587 else
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.$ac_ext >&5
29591 ac_header_compiler=no
29593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29595 echo "${ECHO_T}$ac_header_compiler" >&6
29597 # Is the header present?
29598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29600 cat >conftest.$ac_ext <<_ACEOF
29601 /* confdefs.h. */
29602 _ACEOF
29603 cat confdefs.h >>conftest.$ac_ext
29604 cat >>conftest.$ac_ext <<_ACEOF
29605 /* end confdefs.h. */
29606 #include <$ac_header>
29607 _ACEOF
29608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29609 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29610 ac_status=$?
29611 grep -v '^ *+' conftest.er1 >conftest.err
29612 rm -f conftest.er1
29613 cat conftest.err >&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); } >/dev/null; then
29616 if test -s conftest.err; then
29617 ac_cpp_err=$ac_c_preproc_warn_flag
29618 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29619 else
29620 ac_cpp_err=
29622 else
29623 ac_cpp_err=yes
29625 if test -z "$ac_cpp_err"; then
29626 ac_header_preproc=yes
29627 else
29628 echo "$as_me: failed program was:" >&5
29629 sed 's/^/| /' conftest.$ac_ext >&5
29631 ac_header_preproc=no
29633 rm -f conftest.err conftest.$ac_ext
29634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29635 echo "${ECHO_T}$ac_header_preproc" >&6
29637 # So? What about this header?
29638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29639 yes:no: )
29640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29644 ac_header_preproc=yes
29646 no:yes:* )
29647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29660 cat <<\_ASBOX
29661 ## ----------------------------------------- ##
29662 ## Report this to the package-unused lists. ##
29663 ## ----------------------------------------- ##
29664 _ASBOX
29666 sed "s/^/$as_me: WARNING: /" >&2
29668 esac
29669 echo "$as_me:$LINENO: checking for $ac_header" >&5
29670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29672 echo $ECHO_N "(cached) $ECHO_C" >&6
29673 else
29674 eval "$as_ac_Header=\$ac_header_preproc"
29676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29681 cat >>confdefs.h <<_ACEOF
29682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29683 _ACEOF
29687 done
29690 if test "${glibcxx_cv_WRITEV+set}" = set; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29692 else
29694 if test x$gcc_no_link = xyes; then
29695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29697 { (exit 1); exit 1; }; }
29699 cat >conftest.$ac_ext <<_ACEOF
29700 /* confdefs.h. */
29701 _ACEOF
29702 cat confdefs.h >>conftest.$ac_ext
29703 cat >>conftest.$ac_ext <<_ACEOF
29704 /* end confdefs.h. */
29705 #include <sys/uio.h>
29707 main ()
29709 struct iovec iov[2];
29710 writev(0, iov, 0);
29712 return 0;
29714 _ACEOF
29715 rm -f conftest.$ac_objext conftest$ac_exeext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29717 (eval $ac_link) 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29727 ac_status=$?
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; } &&
29730 { ac_try='test -s conftest$ac_exeext'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29733 ac_status=$?
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; }; then
29736 glibcxx_cv_WRITEV=yes
29737 else
29738 echo "$as_me: failed program was:" >&5
29739 sed 's/^/| /' conftest.$ac_ext >&5
29741 glibcxx_cv_WRITEV=no
29743 rm -f conftest.err conftest.$ac_objext \
29744 conftest$ac_exeext conftest.$ac_ext
29748 if test $glibcxx_cv_WRITEV = yes; then
29749 cat >>confdefs.h <<\_ACEOF
29750 #define HAVE_WRITEV 1
29751 _ACEOF
29756 # For the __streamoff_base_type typedef.
29758 if test "${glibcxx_cv_INT64_T+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 else
29762 cat >conftest.$ac_ext <<_ACEOF
29763 /* confdefs.h. */
29764 _ACEOF
29765 cat confdefs.h >>conftest.$ac_ext
29766 cat >>conftest.$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29768 #include <stdint.h>
29770 main ()
29772 int64_t var;
29774 return 0;
29776 _ACEOF
29777 rm -f conftest.$ac_objext
29778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29779 (eval $ac_compile) 2>conftest.er1
29780 ac_status=$?
29781 grep -v '^ *+' conftest.er1 >conftest.err
29782 rm -f conftest.er1
29783 cat conftest.err >&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } &&
29786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29789 ac_status=$?
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; } &&
29792 { ac_try='test -s conftest.$ac_objext'
29793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29794 (eval $ac_try) 2>&5
29795 ac_status=$?
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); }; }; then
29798 glibcxx_cv_INT64_T=yes
29799 else
29800 echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.$ac_ext >&5
29803 glibcxx_cv_INT64_T=no
29805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29809 if test $glibcxx_cv_INT64_T = yes; then
29810 cat >>confdefs.h <<\_ACEOF
29811 #define HAVE_INT64_T 1
29812 _ACEOF
29817 # For LFS support.
29821 ac_ext=cc
29822 ac_cpp='$CXXCPP $CPPFLAGS'
29823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29827 ac_save_CXXFLAGS="$CXXFLAGS"
29828 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29829 if test "${glibcxx_cv_LFS+set}" = set; then
29830 echo $ECHO_N "(cached) $ECHO_C" >&6
29831 else
29833 if test x$gcc_no_link = xyes; then
29834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29836 { (exit 1); exit 1; }; }
29838 cat >conftest.$ac_ext <<_ACEOF
29839 /* confdefs.h. */
29840 _ACEOF
29841 cat confdefs.h >>conftest.$ac_ext
29842 cat >>conftest.$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844 #include <unistd.h>
29845 #include <stdio.h>
29848 main ()
29850 FILE* fp;
29851 fopen64("t", "w");
29852 fseeko64(fp, 0, SEEK_CUR);
29853 ftello64(fp);
29854 lseek64(1, 0, SEEK_CUR);
29856 return 0;
29858 _ACEOF
29859 rm -f conftest.$ac_objext conftest$ac_exeext
29860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29861 (eval $ac_link) 2>conftest.er1
29862 ac_status=$?
29863 grep -v '^ *+' conftest.er1 >conftest.err
29864 rm -f conftest.er1
29865 cat conftest.err >&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); } &&
29868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29871 ac_status=$?
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; } &&
29874 { ac_try='test -s conftest$ac_exeext'
29875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29876 (eval $ac_try) 2>&5
29877 ac_status=$?
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; }; then
29880 glibcxx_cv_LFS=yes
29881 else
29882 echo "$as_me: failed program was:" >&5
29883 sed 's/^/| /' conftest.$ac_ext >&5
29885 glibcxx_cv_LFS=no
29887 rm -f conftest.err conftest.$ac_objext \
29888 conftest$ac_exeext conftest.$ac_ext
29892 if test $glibcxx_cv_LFS = yes; then
29893 cat >>confdefs.h <<\_ACEOF
29894 #define _GLIBCXX_USE_LFS 1
29895 _ACEOF
29898 CXXFLAGS="$ac_save_CXXFLAGS"
29899 ac_ext=c
29900 ac_cpp='$CPP $CPPFLAGS'
29901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29908 if test "${ac_cv_header_locale_h+set}" = set; then
29909 echo "$as_me:$LINENO: checking for locale.h" >&5
29910 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29911 if test "${ac_cv_header_locale_h+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29914 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29915 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29916 else
29917 # Is the header compilable?
29918 echo "$as_me:$LINENO: checking locale.h usability" >&5
29919 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29920 cat >conftest.$ac_ext <<_ACEOF
29921 /* confdefs.h. */
29922 _ACEOF
29923 cat confdefs.h >>conftest.$ac_ext
29924 cat >>conftest.$ac_ext <<_ACEOF
29925 /* end confdefs.h. */
29926 $ac_includes_default
29927 #include <locale.h>
29928 _ACEOF
29929 rm -f conftest.$ac_objext
29930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29931 (eval $ac_compile) 2>conftest.er1
29932 ac_status=$?
29933 grep -v '^ *+' conftest.er1 >conftest.err
29934 rm -f conftest.er1
29935 cat conftest.err >&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); } &&
29938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29941 ac_status=$?
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; } &&
29944 { ac_try='test -s conftest.$ac_objext'
29945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29946 (eval $ac_try) 2>&5
29947 ac_status=$?
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); }; }; then
29950 ac_header_compiler=yes
29951 else
29952 echo "$as_me: failed program was:" >&5
29953 sed 's/^/| /' conftest.$ac_ext >&5
29955 ac_header_compiler=no
29957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29959 echo "${ECHO_T}$ac_header_compiler" >&6
29961 # Is the header present?
29962 echo "$as_me:$LINENO: checking locale.h presence" >&5
29963 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29964 cat >conftest.$ac_ext <<_ACEOF
29965 /* confdefs.h. */
29966 _ACEOF
29967 cat confdefs.h >>conftest.$ac_ext
29968 cat >>conftest.$ac_ext <<_ACEOF
29969 /* end confdefs.h. */
29970 #include <locale.h>
29971 _ACEOF
29972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29974 ac_status=$?
29975 grep -v '^ *+' conftest.er1 >conftest.err
29976 rm -f conftest.er1
29977 cat conftest.err >&5
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); } >/dev/null; then
29980 if test -s conftest.err; then
29981 ac_cpp_err=$ac_c_preproc_warn_flag
29982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29983 else
29984 ac_cpp_err=
29986 else
29987 ac_cpp_err=yes
29989 if test -z "$ac_cpp_err"; then
29990 ac_header_preproc=yes
29991 else
29992 echo "$as_me: failed program was:" >&5
29993 sed 's/^/| /' conftest.$ac_ext >&5
29995 ac_header_preproc=no
29997 rm -f conftest.err conftest.$ac_ext
29998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29999 echo "${ECHO_T}$ac_header_preproc" >&6
30001 # So? What about this header?
30002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30003 yes:no: )
30004 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30005 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30006 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30007 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30008 ac_header_preproc=yes
30010 no:yes:* )
30011 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30012 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30013 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30014 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30015 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30016 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30017 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30018 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30019 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30020 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30021 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30022 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30024 cat <<\_ASBOX
30025 ## ----------------------------------------- ##
30026 ## Report this to the package-unused lists. ##
30027 ## ----------------------------------------- ##
30028 _ASBOX
30030 sed "s/^/$as_me: WARNING: /" >&2
30032 esac
30033 echo "$as_me:$LINENO: checking for locale.h" >&5
30034 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30035 if test "${ac_cv_header_locale_h+set}" = set; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30037 else
30038 ac_cv_header_locale_h=$ac_header_preproc
30040 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30041 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30044 if test $ac_cv_header_locale_h = yes; then
30046 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30047 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30048 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30049 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 else
30051 if test x$gcc_no_link = xyes; then
30052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30054 { (exit 1); exit 1; }; }
30056 cat >conftest.$ac_ext <<_ACEOF
30057 /* confdefs.h. */
30058 _ACEOF
30059 cat confdefs.h >>conftest.$ac_ext
30060 cat >>conftest.$ac_ext <<_ACEOF
30061 /* end confdefs.h. */
30062 #include <locale.h>
30064 main ()
30066 return LC_MESSAGES
30068 return 0;
30070 _ACEOF
30071 rm -f conftest.$ac_objext conftest$ac_exeext
30072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30073 (eval $ac_link) 2>conftest.er1
30074 ac_status=$?
30075 grep -v '^ *+' conftest.er1 >conftest.err
30076 rm -f conftest.er1
30077 cat conftest.err >&5
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); } &&
30080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30083 ac_status=$?
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; } &&
30086 { ac_try='test -s conftest$ac_exeext'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30089 ac_status=$?
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; }; then
30092 ac_cv_val_LC_MESSAGES=yes
30093 else
30094 echo "$as_me: failed program was:" >&5
30095 sed 's/^/| /' conftest.$ac_ext >&5
30097 ac_cv_val_LC_MESSAGES=no
30099 rm -f conftest.err conftest.$ac_objext \
30100 conftest$ac_exeext conftest.$ac_ext
30102 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30103 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30104 if test $ac_cv_val_LC_MESSAGES = yes; then
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_LC_MESSAGES 1
30107 _ACEOF
30116 cat >conftest.$ac_ext <<_ACEOF
30117 /* confdefs.h. */
30118 _ACEOF
30119 cat confdefs.h >>conftest.$ac_ext
30120 cat >>conftest.$ac_ext <<_ACEOF
30121 /* end confdefs.h. */
30122 #include <setjmp.h>
30124 main ()
30126 sigjmp_buf env;
30127 while (! sigsetjmp (env, 1))
30128 siglongjmp (env, 1);
30131 return 0;
30133 _ACEOF
30134 rm -f conftest.$ac_objext
30135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30136 (eval $ac_compile) 2>conftest.er1
30137 ac_status=$?
30138 grep -v '^ *+' conftest.er1 >conftest.err
30139 rm -f conftest.er1
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } &&
30143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30145 (eval $ac_try) 2>&5
30146 ac_status=$?
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); }; } &&
30149 { ac_try='test -s conftest.$ac_objext'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30152 ac_status=$?
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; }; then
30156 cat >>confdefs.h <<\_ACEOF
30157 #define HAVE_SIGSETJMP 1
30158 _ACEOF
30160 else
30161 echo "$as_me: failed program was:" >&5
30162 sed 's/^/| /' conftest.$ac_ext >&5
30165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30167 if test x$gcc_no_link = xyes; then
30168 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30169 ac_cv_func_mmap_fixed_mapped=no
30172 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30175 for ac_header in stdlib.h unistd.h
30177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30179 echo "$as_me:$LINENO: checking for $ac_header" >&5
30180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30182 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30186 else
30187 # Is the header compilable?
30188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30190 cat >conftest.$ac_ext <<_ACEOF
30191 /* confdefs.h. */
30192 _ACEOF
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30196 $ac_includes_default
30197 #include <$ac_header>
30198 _ACEOF
30199 rm -f conftest.$ac_objext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30201 (eval $ac_compile) 2>conftest.er1
30202 ac_status=$?
30203 grep -v '^ *+' conftest.er1 >conftest.err
30204 rm -f conftest.er1
30205 cat conftest.err >&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } &&
30208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; } &&
30214 { ac_try='test -s conftest.$ac_objext'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30217 ac_status=$?
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; }; then
30220 ac_header_compiler=yes
30221 else
30222 echo "$as_me: failed program was:" >&5
30223 sed 's/^/| /' conftest.$ac_ext >&5
30225 ac_header_compiler=no
30227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30229 echo "${ECHO_T}$ac_header_compiler" >&6
30231 # Is the header present?
30232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30234 cat >conftest.$ac_ext <<_ACEOF
30235 /* confdefs.h. */
30236 _ACEOF
30237 cat confdefs.h >>conftest.$ac_ext
30238 cat >>conftest.$ac_ext <<_ACEOF
30239 /* end confdefs.h. */
30240 #include <$ac_header>
30241 _ACEOF
30242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30244 ac_status=$?
30245 grep -v '^ *+' conftest.er1 >conftest.err
30246 rm -f conftest.er1
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } >/dev/null; then
30250 if test -s conftest.err; then
30251 ac_cpp_err=$ac_c_preproc_warn_flag
30252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30253 else
30254 ac_cpp_err=
30256 else
30257 ac_cpp_err=yes
30259 if test -z "$ac_cpp_err"; then
30260 ac_header_preproc=yes
30261 else
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.$ac_ext >&5
30265 ac_header_preproc=no
30267 rm -f conftest.err conftest.$ac_ext
30268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30269 echo "${ECHO_T}$ac_header_preproc" >&6
30271 # So? What about this header?
30272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30273 yes:no: )
30274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30278 ac_header_preproc=yes
30280 no:yes:* )
30281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30294 cat <<\_ASBOX
30295 ## ----------------------------------------- ##
30296 ## Report this to the package-unused lists. ##
30297 ## ----------------------------------------- ##
30298 _ASBOX
30300 sed "s/^/$as_me: WARNING: /" >&2
30302 esac
30303 echo "$as_me:$LINENO: checking for $ac_header" >&5
30304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 else
30308 eval "$as_ac_Header=\$ac_header_preproc"
30310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30315 cat >>confdefs.h <<_ACEOF
30316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30317 _ACEOF
30321 done
30324 for ac_func in getpagesize
30326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30327 echo "$as_me:$LINENO: checking for $ac_func" >&5
30328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30329 if eval "test \"\${$as_ac_var+set}\" = set"; then
30330 echo $ECHO_N "(cached) $ECHO_C" >&6
30331 else
30332 if test x$gcc_no_link = xyes; then
30333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30335 { (exit 1); exit 1; }; }
30337 cat >conftest.$ac_ext <<_ACEOF
30338 /* confdefs.h. */
30339 _ACEOF
30340 cat confdefs.h >>conftest.$ac_ext
30341 cat >>conftest.$ac_ext <<_ACEOF
30342 /* end confdefs.h. */
30343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30345 #define $ac_func innocuous_$ac_func
30347 /* System header to define __stub macros and hopefully few prototypes,
30348 which can conflict with char $ac_func (); below.
30349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30350 <limits.h> exists even on freestanding compilers. */
30352 #ifdef __STDC__
30353 # include <limits.h>
30354 #else
30355 # include <assert.h>
30356 #endif
30358 #undef $ac_func
30360 /* Override any gcc2 internal prototype to avoid an error. */
30361 #ifdef __cplusplus
30362 extern "C"
30364 #endif
30365 /* We use char because int might match the return type of a gcc2
30366 builtin and then its argument prototype would still apply. */
30367 char $ac_func ();
30368 /* The GNU C library defines this for functions which it implements
30369 to always fail with ENOSYS. Some functions are actually named
30370 something starting with __ and the normal name is an alias. */
30371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30372 choke me
30373 #else
30374 char (*f) () = $ac_func;
30375 #endif
30376 #ifdef __cplusplus
30378 #endif
30381 main ()
30383 return f != $ac_func;
30385 return 0;
30387 _ACEOF
30388 rm -f conftest.$ac_objext conftest$ac_exeext
30389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30390 (eval $ac_link) 2>conftest.er1
30391 ac_status=$?
30392 grep -v '^ *+' conftest.er1 >conftest.err
30393 rm -f conftest.er1
30394 cat conftest.err >&5
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); } &&
30397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399 (eval $ac_try) 2>&5
30400 ac_status=$?
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); }; } &&
30403 { ac_try='test -s conftest$ac_exeext'
30404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30405 (eval $ac_try) 2>&5
30406 ac_status=$?
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; }; then
30409 eval "$as_ac_var=yes"
30410 else
30411 echo "$as_me: failed program was:" >&5
30412 sed 's/^/| /' conftest.$ac_ext >&5
30414 eval "$as_ac_var=no"
30416 rm -f conftest.err conftest.$ac_objext \
30417 conftest$ac_exeext conftest.$ac_ext
30419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30421 if test `eval echo '${'$as_ac_var'}'` = yes; then
30422 cat >>confdefs.h <<_ACEOF
30423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30424 _ACEOF
30427 done
30429 echo "$as_me:$LINENO: checking for working mmap" >&5
30430 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30431 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30432 echo $ECHO_N "(cached) $ECHO_C" >&6
30433 else
30434 if test "$cross_compiling" = yes; then
30435 ac_cv_func_mmap_fixed_mapped=no
30436 else
30437 cat >conftest.$ac_ext <<_ACEOF
30438 /* confdefs.h. */
30439 _ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443 $ac_includes_default
30444 /* malloc might have been renamed as rpl_malloc. */
30445 #undef malloc
30447 /* Thanks to Mike Haertel and Jim Avera for this test.
30448 Here is a matrix of mmap possibilities:
30449 mmap private not fixed
30450 mmap private fixed at somewhere currently unmapped
30451 mmap private fixed at somewhere already mapped
30452 mmap shared not fixed
30453 mmap shared fixed at somewhere currently unmapped
30454 mmap shared fixed at somewhere already mapped
30455 For private mappings, we should verify that changes cannot be read()
30456 back from the file, nor mmap's back from the file at a different
30457 address. (There have been systems where private was not correctly
30458 implemented like the infamous i386 svr4.0, and systems where the
30459 VM page cache was not coherent with the file system buffer cache
30460 like early versions of FreeBSD and possibly contemporary NetBSD.)
30461 For shared mappings, we should conversely verify that changes get
30462 propagated back to all the places they're supposed to be.
30464 Grep wants private fixed already mapped.
30465 The main things grep needs to know about mmap are:
30466 * does it exist and is it safe to write into the mmap'd area
30467 * how to use it (BSD variants) */
30469 #include <fcntl.h>
30470 #include <sys/mman.h>
30472 #if !STDC_HEADERS && !HAVE_STDLIB_H
30473 char *malloc ();
30474 #endif
30476 /* This mess was copied from the GNU getpagesize.h. */
30477 #if !HAVE_GETPAGESIZE
30478 /* Assume that all systems that can run configure have sys/param.h. */
30479 # if !HAVE_SYS_PARAM_H
30480 # define HAVE_SYS_PARAM_H 1
30481 # endif
30483 # ifdef _SC_PAGESIZE
30484 # define getpagesize() sysconf(_SC_PAGESIZE)
30485 # else /* no _SC_PAGESIZE */
30486 # if HAVE_SYS_PARAM_H
30487 # include <sys/param.h>
30488 # ifdef EXEC_PAGESIZE
30489 # define getpagesize() EXEC_PAGESIZE
30490 # else /* no EXEC_PAGESIZE */
30491 # ifdef NBPG
30492 # define getpagesize() NBPG * CLSIZE
30493 # ifndef CLSIZE
30494 # define CLSIZE 1
30495 # endif /* no CLSIZE */
30496 # else /* no NBPG */
30497 # ifdef NBPC
30498 # define getpagesize() NBPC
30499 # else /* no NBPC */
30500 # ifdef PAGESIZE
30501 # define getpagesize() PAGESIZE
30502 # endif /* PAGESIZE */
30503 # endif /* no NBPC */
30504 # endif /* no NBPG */
30505 # endif /* no EXEC_PAGESIZE */
30506 # else /* no HAVE_SYS_PARAM_H */
30507 # define getpagesize() 8192 /* punt totally */
30508 # endif /* no HAVE_SYS_PARAM_H */
30509 # endif /* no _SC_PAGESIZE */
30511 #endif /* no HAVE_GETPAGESIZE */
30514 main ()
30516 char *data, *data2, *data3;
30517 int i, pagesize;
30518 int fd;
30520 pagesize = getpagesize ();
30522 /* First, make a file with some known garbage in it. */
30523 data = (char *) malloc (pagesize);
30524 if (!data)
30525 exit (1);
30526 for (i = 0; i < pagesize; ++i)
30527 *(data + i) = rand ();
30528 umask (0);
30529 fd = creat ("conftest.mmap", 0600);
30530 if (fd < 0)
30531 exit (1);
30532 if (write (fd, data, pagesize) != pagesize)
30533 exit (1);
30534 close (fd);
30536 /* Next, try to mmap the file at a fixed address which already has
30537 something else allocated at it. If we can, also make sure that
30538 we see the same garbage. */
30539 fd = open ("conftest.mmap", O_RDWR);
30540 if (fd < 0)
30541 exit (1);
30542 data2 = (char *) malloc (2 * pagesize);
30543 if (!data2)
30544 exit (1);
30545 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30546 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30547 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30548 exit (1);
30549 for (i = 0; i < pagesize; ++i)
30550 if (*(data + i) != *(data2 + i))
30551 exit (1);
30553 /* Finally, make sure that changes to the mapped area do not
30554 percolate back to the file as seen by read(). (This is a bug on
30555 some variants of i386 svr4.0.) */
30556 for (i = 0; i < pagesize; ++i)
30557 *(data2 + i) = *(data2 + i) + 1;
30558 data3 = (char *) malloc (pagesize);
30559 if (!data3)
30560 exit (1);
30561 if (read (fd, data3, pagesize) != pagesize)
30562 exit (1);
30563 for (i = 0; i < pagesize; ++i)
30564 if (*(data + i) != *(data3 + i))
30565 exit (1);
30566 close (fd);
30567 exit (0);
30569 _ACEOF
30570 rm -f conftest$ac_exeext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30572 (eval $ac_link) 2>&5
30573 ac_status=$?
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30577 (eval $ac_try) 2>&5
30578 ac_status=$?
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); }; }; then
30581 ac_cv_func_mmap_fixed_mapped=yes
30582 else
30583 echo "$as_me: program exited with status $ac_status" >&5
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30587 ( exit $ac_status )
30588 ac_cv_func_mmap_fixed_mapped=no
30590 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30593 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30594 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30595 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30597 cat >>confdefs.h <<\_ACEOF
30598 #define HAVE_MMAP 1
30599 _ACEOF
30602 rm -f conftest.mmap
30606 else
30608 # This lets us hard-code the functionality we know we'll have in the cross
30609 # target environment. "Let" is a sugar-coated word placed on an especially
30610 # dull and tedious hack, actually.
30612 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30613 # that involve linking, can't be used:
30614 # "cannot open sim-crt0.o"
30615 # "cannot open crt0.o"
30616 # etc. All this is because there currently exists no unified, consistent
30617 # way for top level CC information to be passed down to target directories:
30618 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30619 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30620 # crosses can be removed.
30622 # If Canadian cross, then don't pick up tools from the build directory.
30623 # Used only in GLIBCXX_EXPORT_INCLUDES.
30624 if test -n "$with_cross_host" &&
30625 test x"$build_alias" != x"$with_cross_host" &&
30626 test x"$build" != x"$target";
30627 then
30628 CANADIAN=yes
30629 else
30630 CANADIAN=no
30633 # Construct crosses by hand, eliminating bits that need ld...
30634 # GLIBCXX_CHECK_COMPILER_FEATURES
30635 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30636 # GLIBCXX_CHECK_MATH_SUPPORT
30638 # First, test for "known" system libraries. We may be using newlib even
30639 # on a hosted environment.
30640 if test "x${with_newlib}" = "xyes"; then
30641 os_include_dir="os/newlib"
30642 cat >>confdefs.h <<\_ACEOF
30643 #define HAVE_HYPOT 1
30644 _ACEOF
30647 # GLIBCXX_CHECK_STDLIB_SUPPORT
30648 cat >>confdefs.h <<\_ACEOF
30649 #define HAVE_STRTOF 1
30650 _ACEOF
30652 cat >>confdefs.h <<\_ACEOF
30653 #define HAVE_STRTOLD 1
30654 _ACEOF
30656 # AC_FUNC_MMAP
30657 cat >>confdefs.h <<\_ACEOF
30658 #define HAVE_MMAP 1
30659 _ACEOF
30662 cat >>confdefs.h <<\_ACEOF
30663 #define HAVE_ACOSF 1
30664 _ACEOF
30666 cat >>confdefs.h <<\_ACEOF
30667 #define HAVE_ASINF 1
30668 _ACEOF
30670 cat >>confdefs.h <<\_ACEOF
30671 #define HAVE_ATAN2F 1
30672 _ACEOF
30674 cat >>confdefs.h <<\_ACEOF
30675 #define HAVE_ATANF 1
30676 _ACEOF
30678 cat >>confdefs.h <<\_ACEOF
30679 #define HAVE_CEILF 1
30680 _ACEOF
30682 cat >>confdefs.h <<\_ACEOF
30683 #define HAVE_COPYSIGN 1
30684 _ACEOF
30686 cat >>confdefs.h <<\_ACEOF
30687 #define HAVE_COPYSIGNF 1
30688 _ACEOF
30690 cat >>confdefs.h <<\_ACEOF
30691 #define HAVE_COSF 1
30692 _ACEOF
30694 cat >>confdefs.h <<\_ACEOF
30695 #define HAVE_COSHF 1
30696 _ACEOF
30698 cat >>confdefs.h <<\_ACEOF
30699 #define HAVE_EXPF 1
30700 _ACEOF
30702 cat >>confdefs.h <<\_ACEOF
30703 #define HAVE_FABSF 1
30704 _ACEOF
30706 cat >>confdefs.h <<\_ACEOF
30707 #define HAVE_FLOORF 1
30708 _ACEOF
30710 cat >>confdefs.h <<\_ACEOF
30711 #define HAVE_FMODF 1
30712 _ACEOF
30714 cat >>confdefs.h <<\_ACEOF
30715 #define HAVE_FREXPF 1
30716 _ACEOF
30718 cat >>confdefs.h <<\_ACEOF
30719 #define HAVE_LDEXPF 1
30720 _ACEOF
30722 cat >>confdefs.h <<\_ACEOF
30723 #define HAVE_LOG10F 1
30724 _ACEOF
30726 cat >>confdefs.h <<\_ACEOF
30727 #define HAVE_LOGF 1
30728 _ACEOF
30730 cat >>confdefs.h <<\_ACEOF
30731 #define HAVE_MODFF 1
30732 _ACEOF
30734 cat >>confdefs.h <<\_ACEOF
30735 #define HAVE_POWF 1
30736 _ACEOF
30738 cat >>confdefs.h <<\_ACEOF
30739 #define HAVE_SINF 1
30740 _ACEOF
30742 cat >>confdefs.h <<\_ACEOF
30743 #define HAVE_SINHF 1
30744 _ACEOF
30746 cat >>confdefs.h <<\_ACEOF
30747 #define HAVE_SQRTF 1
30748 _ACEOF
30750 cat >>confdefs.h <<\_ACEOF
30751 #define HAVE_TANF 1
30752 _ACEOF
30754 cat >>confdefs.h <<\_ACEOF
30755 #define HAVE_TANHF 1
30756 _ACEOF
30759 cat >>confdefs.h <<\_ACEOF
30760 #define HAVE_S_ISREG 1
30761 _ACEOF
30763 cat >>confdefs.h <<\_ACEOF
30764 #define HAVE_S_IFREG 1
30765 _ACEOF
30767 else
30769 # Base decisions on target environment.
30770 case "${host}" in
30771 *-darwin*)
30772 # Darwin versions vary, but the linker should work in a cross environment,
30773 # so we just check for all the features here.
30774 # Check for available headers.
30788 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30789 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30790 sys/types.h
30792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30794 echo "$as_me:$LINENO: checking for $ac_header" >&5
30795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30797 echo $ECHO_N "(cached) $ECHO_C" >&6
30799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30801 else
30802 # Is the header compilable?
30803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30805 cat >conftest.$ac_ext <<_ACEOF
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811 $ac_includes_default
30812 #include <$ac_header>
30813 _ACEOF
30814 rm -f conftest.$ac_objext
30815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30816 (eval $ac_compile) 2>conftest.er1
30817 ac_status=$?
30818 grep -v '^ *+' conftest.er1 >conftest.err
30819 rm -f conftest.er1
30820 cat conftest.err >&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } &&
30823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30826 ac_status=$?
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; } &&
30829 { ac_try='test -s conftest.$ac_objext'
30830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831 (eval $ac_try) 2>&5
30832 ac_status=$?
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); }; }; then
30835 ac_header_compiler=yes
30836 else
30837 echo "$as_me: failed program was:" >&5
30838 sed 's/^/| /' conftest.$ac_ext >&5
30840 ac_header_compiler=no
30842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30844 echo "${ECHO_T}$ac_header_compiler" >&6
30846 # Is the header present?
30847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 #include <$ac_header>
30856 _ACEOF
30857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30859 ac_status=$?
30860 grep -v '^ *+' conftest.er1 >conftest.err
30861 rm -f conftest.er1
30862 cat conftest.err >&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } >/dev/null; then
30865 if test -s conftest.err; then
30866 ac_cpp_err=$ac_c_preproc_warn_flag
30867 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30868 else
30869 ac_cpp_err=
30871 else
30872 ac_cpp_err=yes
30874 if test -z "$ac_cpp_err"; then
30875 ac_header_preproc=yes
30876 else
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.$ac_ext >&5
30880 ac_header_preproc=no
30882 rm -f conftest.err conftest.$ac_ext
30883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30884 echo "${ECHO_T}$ac_header_preproc" >&6
30886 # So? What about this header?
30887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30888 yes:no: )
30889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30893 ac_header_preproc=yes
30895 no:yes:* )
30896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30909 cat <<\_ASBOX
30910 ## ----------------------------------------- ##
30911 ## Report this to the package-unused lists. ##
30912 ## ----------------------------------------- ##
30913 _ASBOX
30915 sed "s/^/$as_me: WARNING: /" >&2
30917 esac
30918 echo "$as_me:$LINENO: checking for $ac_header" >&5
30919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30921 echo $ECHO_N "(cached) $ECHO_C" >&6
30922 else
30923 eval "$as_ac_Header=\$ac_header_preproc"
30925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30930 cat >>confdefs.h <<_ACEOF
30931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30932 _ACEOF
30936 done
30940 # All these tests are for C++; save the language and the compiler flags.
30941 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30942 # found in GLIBCXX_CONFIGURE.
30945 ac_ext=cc
30946 ac_cpp='$CXXCPP $CPPFLAGS'
30947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30952 ac_save_CXXFLAGS="$CXXFLAGS"
30954 # Check for maintainer-mode bits.
30955 if test x"$USE_MAINTAINER_MODE" = xno; then
30956 WERROR=''
30957 else
30958 WERROR='-Werror'
30961 # Check for -ffunction-sections -fdata-sections
30962 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30963 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30964 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30965 cat >conftest.$ac_ext <<_ACEOF
30966 /* confdefs.h. */
30967 _ACEOF
30968 cat confdefs.h >>conftest.$ac_ext
30969 cat >>conftest.$ac_ext <<_ACEOF
30970 /* end confdefs.h. */
30973 main ()
30975 int foo;
30977 return 0;
30979 _ACEOF
30980 rm -f conftest.$ac_objext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30982 (eval $ac_compile) 2>conftest.er1
30983 ac_status=$?
30984 grep -v '^ *+' conftest.er1 >conftest.err
30985 rm -f conftest.er1
30986 cat conftest.err >&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); } &&
30989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 (eval $ac_try) 2>&5
30992 ac_status=$?
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); }; } &&
30995 { ac_try='test -s conftest.$ac_objext'
30996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 (eval $ac_try) 2>&5
30998 ac_status=$?
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; }; then
31001 ac_fdsections=yes
31002 else
31003 echo "$as_me: failed program was:" >&5
31004 sed 's/^/| /' conftest.$ac_ext >&5
31006 ac_fdsections=no
31008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31009 if test "$ac_test_CXXFLAGS" = set; then
31010 CXXFLAGS="$ac_save_CXXFLAGS"
31011 else
31012 # this is the suspicious part
31013 CXXFLAGS=''
31015 if test x"$ac_fdsections" = x"yes"; then
31016 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31018 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31019 echo "${ECHO_T}$ac_fdsections" >&6
31021 ac_ext=c
31022 ac_cpp='$CPP $CPPFLAGS'
31023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31030 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31033 ac_save_CXXFLAGS="$CXXFLAGS"
31034 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31036 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31037 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31038 if test "${ac_cv_lib_m_sin+set}" = set; then
31039 echo $ECHO_N "(cached) $ECHO_C" >&6
31040 else
31041 ac_check_lib_save_LIBS=$LIBS
31042 LIBS="-lm $LIBS"
31043 if test x$gcc_no_link = xyes; then
31044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31046 { (exit 1); exit 1; }; }
31048 cat >conftest.$ac_ext <<_ACEOF
31049 /* confdefs.h. */
31050 _ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31055 /* Override any gcc2 internal prototype to avoid an error. */
31056 #ifdef __cplusplus
31057 extern "C"
31058 #endif
31059 /* We use char because int might match the return type of a gcc2
31060 builtin and then its argument prototype would still apply. */
31061 char sin ();
31063 main ()
31065 sin ();
31067 return 0;
31069 _ACEOF
31070 rm -f conftest.$ac_objext conftest$ac_exeext
31071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31072 (eval $ac_link) 2>conftest.er1
31073 ac_status=$?
31074 grep -v '^ *+' conftest.er1 >conftest.err
31075 rm -f conftest.er1
31076 cat conftest.err >&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); } &&
31079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31082 ac_status=$?
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; } &&
31085 { ac_try='test -s conftest$ac_exeext'
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31088 ac_status=$?
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; }; then
31091 ac_cv_lib_m_sin=yes
31092 else
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31096 ac_cv_lib_m_sin=no
31098 rm -f conftest.err conftest.$ac_objext \
31099 conftest$ac_exeext conftest.$ac_ext
31100 LIBS=$ac_check_lib_save_LIBS
31102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31103 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31104 if test $ac_cv_lib_m_sin = yes; then
31105 libm="-lm"
31108 ac_save_LIBS="$LIBS"
31109 LIBS="$LIBS $libm"
31113 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31114 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31115 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31116 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31117 echo $ECHO_N "(cached) $ECHO_C" >&6
31118 else
31122 ac_ext=cc
31123 ac_cpp='$CXXCPP $CPPFLAGS'
31124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 #include <math.h>
31135 #ifdef HAVE_IEEEFP_H
31136 #include <ieeefp.h>
31137 #endif
31140 main ()
31142 isinf(0);
31144 return 0;
31146 _ACEOF
31147 rm -f conftest.$ac_objext
31148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31149 (eval $ac_compile) 2>conftest.er1
31150 ac_status=$?
31151 grep -v '^ *+' conftest.er1 >conftest.err
31152 rm -f conftest.er1
31153 cat conftest.err >&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } &&
31156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31159 ac_status=$?
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; } &&
31162 { ac_try='test -s conftest.$ac_objext'
31163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31164 (eval $ac_try) 2>&5
31165 ac_status=$?
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); }; }; then
31168 glibcxx_cv_func_isinf_use=yes
31169 else
31170 echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.$ac_ext >&5
31173 glibcxx_cv_func_isinf_use=no
31175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31176 ac_ext=c
31177 ac_cpp='$CPP $CPPFLAGS'
31178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31187 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31189 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31191 for ac_func in isinf
31193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31194 echo "$as_me:$LINENO: checking for $ac_func" >&5
31195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31196 if eval "test \"\${$as_ac_var+set}\" = set"; then
31197 echo $ECHO_N "(cached) $ECHO_C" >&6
31198 else
31199 if test x$gcc_no_link = xyes; then
31200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31202 { (exit 1); exit 1; }; }
31204 cat >conftest.$ac_ext <<_ACEOF
31205 /* confdefs.h. */
31206 _ACEOF
31207 cat confdefs.h >>conftest.$ac_ext
31208 cat >>conftest.$ac_ext <<_ACEOF
31209 /* end confdefs.h. */
31210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31212 #define $ac_func innocuous_$ac_func
31214 /* System header to define __stub macros and hopefully few prototypes,
31215 which can conflict with char $ac_func (); below.
31216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31217 <limits.h> exists even on freestanding compilers. */
31219 #ifdef __STDC__
31220 # include <limits.h>
31221 #else
31222 # include <assert.h>
31223 #endif
31225 #undef $ac_func
31227 /* Override any gcc2 internal prototype to avoid an error. */
31228 #ifdef __cplusplus
31229 extern "C"
31231 #endif
31232 /* We use char because int might match the return type of a gcc2
31233 builtin and then its argument prototype would still apply. */
31234 char $ac_func ();
31235 /* The GNU C library defines this for functions which it implements
31236 to always fail with ENOSYS. Some functions are actually named
31237 something starting with __ and the normal name is an alias. */
31238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31239 choke me
31240 #else
31241 char (*f) () = $ac_func;
31242 #endif
31243 #ifdef __cplusplus
31245 #endif
31248 main ()
31250 return f != $ac_func;
31252 return 0;
31254 _ACEOF
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31257 (eval $ac_link) 2>conftest.er1
31258 ac_status=$?
31259 grep -v '^ *+' conftest.er1 >conftest.err
31260 rm -f conftest.er1
31261 cat conftest.err >&5
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); } &&
31264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31266 (eval $ac_try) 2>&5
31267 ac_status=$?
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; } &&
31270 { ac_try='test -s conftest$ac_exeext'
31271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272 (eval $ac_try) 2>&5
31273 ac_status=$?
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); }; }; then
31276 eval "$as_ac_var=yes"
31277 else
31278 echo "$as_me: failed program was:" >&5
31279 sed 's/^/| /' conftest.$ac_ext >&5
31281 eval "$as_ac_var=no"
31283 rm -f conftest.err conftest.$ac_objext \
31284 conftest$ac_exeext conftest.$ac_ext
31286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31288 if test `eval echo '${'$as_ac_var'}'` = yes; then
31289 cat >>confdefs.h <<_ACEOF
31290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31291 _ACEOF
31294 done
31296 else
31298 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31299 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31300 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31301 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31302 echo $ECHO_N "(cached) $ECHO_C" >&6
31303 else
31307 ac_ext=cc
31308 ac_cpp='$CXXCPP $CPPFLAGS'
31309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31313 cat >conftest.$ac_ext <<_ACEOF
31314 /* confdefs.h. */
31315 _ACEOF
31316 cat confdefs.h >>conftest.$ac_ext
31317 cat >>conftest.$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31319 #include <math.h>
31320 #ifdef HAVE_IEEEFP_H
31321 #include <ieeefp.h>
31322 #endif
31325 main ()
31327 _isinf(0);
31329 return 0;
31331 _ACEOF
31332 rm -f conftest.$ac_objext
31333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31334 (eval $ac_compile) 2>conftest.er1
31335 ac_status=$?
31336 grep -v '^ *+' conftest.er1 >conftest.err
31337 rm -f conftest.er1
31338 cat conftest.err >&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } &&
31341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31344 ac_status=$?
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; } &&
31347 { ac_try='test -s conftest.$ac_objext'
31348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31349 (eval $ac_try) 2>&5
31350 ac_status=$?
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; }; then
31353 glibcxx_cv_func__isinf_use=yes
31354 else
31355 echo "$as_me: failed program was:" >&5
31356 sed 's/^/| /' conftest.$ac_ext >&5
31358 glibcxx_cv_func__isinf_use=no
31360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31361 ac_ext=c
31362 ac_cpp='$CPP $CPPFLAGS'
31363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31372 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31374 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31376 for ac_func in _isinf
31378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31379 echo "$as_me:$LINENO: checking for $ac_func" >&5
31380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31381 if eval "test \"\${$as_ac_var+set}\" = set"; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31383 else
31384 if test x$gcc_no_link = xyes; then
31385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31387 { (exit 1); exit 1; }; }
31389 cat >conftest.$ac_ext <<_ACEOF
31390 /* confdefs.h. */
31391 _ACEOF
31392 cat confdefs.h >>conftest.$ac_ext
31393 cat >>conftest.$ac_ext <<_ACEOF
31394 /* end confdefs.h. */
31395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31397 #define $ac_func innocuous_$ac_func
31399 /* System header to define __stub macros and hopefully few prototypes,
31400 which can conflict with char $ac_func (); below.
31401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31402 <limits.h> exists even on freestanding compilers. */
31404 #ifdef __STDC__
31405 # include <limits.h>
31406 #else
31407 # include <assert.h>
31408 #endif
31410 #undef $ac_func
31412 /* Override any gcc2 internal prototype to avoid an error. */
31413 #ifdef __cplusplus
31414 extern "C"
31416 #endif
31417 /* We use char because int might match the return type of a gcc2
31418 builtin and then its argument prototype would still apply. */
31419 char $ac_func ();
31420 /* The GNU C library defines this for functions which it implements
31421 to always fail with ENOSYS. Some functions are actually named
31422 something starting with __ and the normal name is an alias. */
31423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31424 choke me
31425 #else
31426 char (*f) () = $ac_func;
31427 #endif
31428 #ifdef __cplusplus
31430 #endif
31433 main ()
31435 return f != $ac_func;
31437 return 0;
31439 _ACEOF
31440 rm -f conftest.$ac_objext conftest$ac_exeext
31441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31442 (eval $ac_link) 2>conftest.er1
31443 ac_status=$?
31444 grep -v '^ *+' conftest.er1 >conftest.err
31445 rm -f conftest.er1
31446 cat conftest.err >&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); } &&
31449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451 (eval $ac_try) 2>&5
31452 ac_status=$?
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; } &&
31455 { ac_try='test -s conftest$ac_exeext'
31456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31457 (eval $ac_try) 2>&5
31458 ac_status=$?
31459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31460 (exit $ac_status); }; }; then
31461 eval "$as_ac_var=yes"
31462 else
31463 echo "$as_me: failed program was:" >&5
31464 sed 's/^/| /' conftest.$ac_ext >&5
31466 eval "$as_ac_var=no"
31468 rm -f conftest.err conftest.$ac_objext \
31469 conftest$ac_exeext conftest.$ac_ext
31471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31473 if test `eval echo '${'$as_ac_var'}'` = yes; then
31474 cat >>confdefs.h <<_ACEOF
31475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31476 _ACEOF
31479 done
31486 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31487 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31488 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31489 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31490 echo $ECHO_N "(cached) $ECHO_C" >&6
31491 else
31495 ac_ext=cc
31496 ac_cpp='$CXXCPP $CPPFLAGS'
31497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31501 cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h. */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31507 #include <math.h>
31508 #ifdef HAVE_IEEEFP_H
31509 #include <ieeefp.h>
31510 #endif
31513 main ()
31515 isnan(0);
31517 return 0;
31519 _ACEOF
31520 rm -f conftest.$ac_objext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31522 (eval $ac_compile) 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try='test -s conftest.$ac_objext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 glibcxx_cv_func_isnan_use=yes
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31546 glibcxx_cv_func_isnan_use=no
31548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31549 ac_ext=c
31550 ac_cpp='$CPP $CPPFLAGS'
31551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31560 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31562 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31564 for ac_func in isnan
31566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31567 echo "$as_me:$LINENO: checking for $ac_func" >&5
31568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31569 if eval "test \"\${$as_ac_var+set}\" = set"; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572 if test x$gcc_no_link = xyes; then
31573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31575 { (exit 1); exit 1; }; }
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31585 #define $ac_func innocuous_$ac_func
31587 /* System header to define __stub macros and hopefully few prototypes,
31588 which can conflict with char $ac_func (); below.
31589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31590 <limits.h> exists even on freestanding compilers. */
31592 #ifdef __STDC__
31593 # include <limits.h>
31594 #else
31595 # include <assert.h>
31596 #endif
31598 #undef $ac_func
31600 /* Override any gcc2 internal prototype to avoid an error. */
31601 #ifdef __cplusplus
31602 extern "C"
31604 #endif
31605 /* We use char because int might match the return type of a gcc2
31606 builtin and then its argument prototype would still apply. */
31607 char $ac_func ();
31608 /* The GNU C library defines this for functions which it implements
31609 to always fail with ENOSYS. Some functions are actually named
31610 something starting with __ and the normal name is an alias. */
31611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31612 choke me
31613 #else
31614 char (*f) () = $ac_func;
31615 #endif
31616 #ifdef __cplusplus
31618 #endif
31621 main ()
31623 return f != $ac_func;
31625 return 0;
31627 _ACEOF
31628 rm -f conftest.$ac_objext conftest$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31631 ac_status=$?
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31639 (eval $ac_try) 2>&5
31640 ac_status=$?
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); }; } &&
31643 { ac_try='test -s conftest$ac_exeext'
31644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31645 (eval $ac_try) 2>&5
31646 ac_status=$?
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; }; then
31649 eval "$as_ac_var=yes"
31650 else
31651 echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.$ac_ext >&5
31654 eval "$as_ac_var=no"
31656 rm -f conftest.err conftest.$ac_objext \
31657 conftest$ac_exeext conftest.$ac_ext
31659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31661 if test `eval echo '${'$as_ac_var'}'` = yes; then
31662 cat >>confdefs.h <<_ACEOF
31663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31664 _ACEOF
31667 done
31669 else
31671 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31672 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31673 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31674 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 else
31680 ac_ext=cc
31681 ac_cpp='$CXXCPP $CPPFLAGS'
31682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31686 cat >conftest.$ac_ext <<_ACEOF
31687 /* confdefs.h. */
31688 _ACEOF
31689 cat confdefs.h >>conftest.$ac_ext
31690 cat >>conftest.$ac_ext <<_ACEOF
31691 /* end confdefs.h. */
31692 #include <math.h>
31693 #ifdef HAVE_IEEEFP_H
31694 #include <ieeefp.h>
31695 #endif
31698 main ()
31700 _isnan(0);
31702 return 0;
31704 _ACEOF
31705 rm -f conftest.$ac_objext
31706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31707 (eval $ac_compile) 2>conftest.er1
31708 ac_status=$?
31709 grep -v '^ *+' conftest.er1 >conftest.err
31710 rm -f conftest.er1
31711 cat conftest.err >&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); } &&
31714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31717 ac_status=$?
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; } &&
31720 { ac_try='test -s conftest.$ac_objext'
31721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31722 (eval $ac_try) 2>&5
31723 ac_status=$?
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; }; then
31726 glibcxx_cv_func__isnan_use=yes
31727 else
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31731 glibcxx_cv_func__isnan_use=no
31733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31734 ac_ext=c
31735 ac_cpp='$CPP $CPPFLAGS'
31736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31745 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31747 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31749 for ac_func in _isnan
31751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31752 echo "$as_me:$LINENO: checking for $ac_func" >&5
31753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31754 if eval "test \"\${$as_ac_var+set}\" = set"; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 else
31757 if test x$gcc_no_link = xyes; then
31758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31760 { (exit 1); exit 1; }; }
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31770 #define $ac_func innocuous_$ac_func
31772 /* System header to define __stub macros and hopefully few prototypes,
31773 which can conflict with char $ac_func (); below.
31774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31775 <limits.h> exists even on freestanding compilers. */
31777 #ifdef __STDC__
31778 # include <limits.h>
31779 #else
31780 # include <assert.h>
31781 #endif
31783 #undef $ac_func
31785 /* Override any gcc2 internal prototype to avoid an error. */
31786 #ifdef __cplusplus
31787 extern "C"
31789 #endif
31790 /* We use char because int might match the return type of a gcc2
31791 builtin and then its argument prototype would still apply. */
31792 char $ac_func ();
31793 /* The GNU C library defines this for functions which it implements
31794 to always fail with ENOSYS. Some functions are actually named
31795 something starting with __ and the normal name is an alias. */
31796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31797 choke me
31798 #else
31799 char (*f) () = $ac_func;
31800 #endif
31801 #ifdef __cplusplus
31803 #endif
31806 main ()
31808 return f != $ac_func;
31810 return 0;
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31815 (eval $ac_link) 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } &&
31822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31825 ac_status=$?
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; } &&
31828 { ac_try='test -s conftest$ac_exeext'
31829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31830 (eval $ac_try) 2>&5
31831 ac_status=$?
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); }; }; then
31834 eval "$as_ac_var=yes"
31835 else
31836 echo "$as_me: failed program was:" >&5
31837 sed 's/^/| /' conftest.$ac_ext >&5
31839 eval "$as_ac_var=no"
31841 rm -f conftest.err conftest.$ac_objext \
31842 conftest$ac_exeext conftest.$ac_ext
31844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31846 if test `eval echo '${'$as_ac_var'}'` = yes; then
31847 cat >>confdefs.h <<_ACEOF
31848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31849 _ACEOF
31852 done
31859 echo "$as_me:$LINENO: checking for finite declaration" >&5
31860 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31861 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31862 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31863 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 else
31868 ac_ext=cc
31869 ac_cpp='$CXXCPP $CPPFLAGS'
31870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880 #include <math.h>
31881 #ifdef HAVE_IEEEFP_H
31882 #include <ieeefp.h>
31883 #endif
31886 main ()
31888 finite(0);
31890 return 0;
31892 _ACEOF
31893 rm -f conftest.$ac_objext
31894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31895 (eval $ac_compile) 2>conftest.er1
31896 ac_status=$?
31897 grep -v '^ *+' conftest.er1 >conftest.err
31898 rm -f conftest.er1
31899 cat conftest.err >&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31905 ac_status=$?
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; } &&
31908 { ac_try='test -s conftest.$ac_objext'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31911 ac_status=$?
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; }; then
31914 glibcxx_cv_func_finite_use=yes
31915 else
31916 echo "$as_me: failed program was:" >&5
31917 sed 's/^/| /' conftest.$ac_ext >&5
31919 glibcxx_cv_func_finite_use=no
31921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31922 ac_ext=c
31923 ac_cpp='$CPP $CPPFLAGS'
31924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31933 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31935 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31937 for ac_func in finite
31939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31940 echo "$as_me:$LINENO: checking for $ac_func" >&5
31941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31942 if eval "test \"\${$as_ac_var+set}\" = set"; then
31943 echo $ECHO_N "(cached) $ECHO_C" >&6
31944 else
31945 if test x$gcc_no_link = xyes; then
31946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31948 { (exit 1); exit 1; }; }
31950 cat >conftest.$ac_ext <<_ACEOF
31951 /* confdefs.h. */
31952 _ACEOF
31953 cat confdefs.h >>conftest.$ac_ext
31954 cat >>conftest.$ac_ext <<_ACEOF
31955 /* end confdefs.h. */
31956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31958 #define $ac_func innocuous_$ac_func
31960 /* System header to define __stub macros and hopefully few prototypes,
31961 which can conflict with char $ac_func (); below.
31962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31963 <limits.h> exists even on freestanding compilers. */
31965 #ifdef __STDC__
31966 # include <limits.h>
31967 #else
31968 # include <assert.h>
31969 #endif
31971 #undef $ac_func
31973 /* Override any gcc2 internal prototype to avoid an error. */
31974 #ifdef __cplusplus
31975 extern "C"
31977 #endif
31978 /* We use char because int might match the return type of a gcc2
31979 builtin and then its argument prototype would still apply. */
31980 char $ac_func ();
31981 /* The GNU C library defines this for functions which it implements
31982 to always fail with ENOSYS. Some functions are actually named
31983 something starting with __ and the normal name is an alias. */
31984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31985 choke me
31986 #else
31987 char (*f) () = $ac_func;
31988 #endif
31989 #ifdef __cplusplus
31991 #endif
31994 main ()
31996 return f != $ac_func;
31998 return 0;
32000 _ACEOF
32001 rm -f conftest.$ac_objext conftest$ac_exeext
32002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32003 (eval $ac_link) 2>conftest.er1
32004 ac_status=$?
32005 grep -v '^ *+' conftest.er1 >conftest.err
32006 rm -f conftest.er1
32007 cat conftest.err >&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); } &&
32010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32012 (eval $ac_try) 2>&5
32013 ac_status=$?
32014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015 (exit $ac_status); }; } &&
32016 { ac_try='test -s conftest$ac_exeext'
32017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32018 (eval $ac_try) 2>&5
32019 ac_status=$?
32020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021 (exit $ac_status); }; }; then
32022 eval "$as_ac_var=yes"
32023 else
32024 echo "$as_me: failed program was:" >&5
32025 sed 's/^/| /' conftest.$ac_ext >&5
32027 eval "$as_ac_var=no"
32029 rm -f conftest.err conftest.$ac_objext \
32030 conftest$ac_exeext conftest.$ac_ext
32032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32034 if test `eval echo '${'$as_ac_var'}'` = yes; then
32035 cat >>confdefs.h <<_ACEOF
32036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32037 _ACEOF
32040 done
32042 else
32044 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32045 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32046 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32047 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 else
32053 ac_ext=cc
32054 ac_cpp='$CXXCPP $CPPFLAGS'
32055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32059 cat >conftest.$ac_ext <<_ACEOF
32060 /* confdefs.h. */
32061 _ACEOF
32062 cat confdefs.h >>conftest.$ac_ext
32063 cat >>conftest.$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32065 #include <math.h>
32066 #ifdef HAVE_IEEEFP_H
32067 #include <ieeefp.h>
32068 #endif
32071 main ()
32073 _finite(0);
32075 return 0;
32077 _ACEOF
32078 rm -f conftest.$ac_objext
32079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32080 (eval $ac_compile) 2>conftest.er1
32081 ac_status=$?
32082 grep -v '^ *+' conftest.er1 >conftest.err
32083 rm -f conftest.er1
32084 cat conftest.err >&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); } &&
32087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32090 ac_status=$?
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; } &&
32093 { ac_try='test -s conftest.$ac_objext'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32096 ac_status=$?
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; }; then
32099 glibcxx_cv_func__finite_use=yes
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32104 glibcxx_cv_func__finite_use=no
32106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32118 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32120 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32122 for ac_func in _finite
32124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32125 echo "$as_me:$LINENO: checking for $ac_func" >&5
32126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32127 if eval "test \"\${$as_ac_var+set}\" = set"; then
32128 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 else
32130 if test x$gcc_no_link = xyes; then
32131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32133 { (exit 1); exit 1; }; }
32135 cat >conftest.$ac_ext <<_ACEOF
32136 /* confdefs.h. */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32143 #define $ac_func innocuous_$ac_func
32145 /* System header to define __stub macros and hopefully few prototypes,
32146 which can conflict with char $ac_func (); below.
32147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32148 <limits.h> exists even on freestanding compilers. */
32150 #ifdef __STDC__
32151 # include <limits.h>
32152 #else
32153 # include <assert.h>
32154 #endif
32156 #undef $ac_func
32158 /* Override any gcc2 internal prototype to avoid an error. */
32159 #ifdef __cplusplus
32160 extern "C"
32162 #endif
32163 /* We use char because int might match the return type of a gcc2
32164 builtin and then its argument prototype would still apply. */
32165 char $ac_func ();
32166 /* The GNU C library defines this for functions which it implements
32167 to always fail with ENOSYS. Some functions are actually named
32168 something starting with __ and the normal name is an alias. */
32169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32170 choke me
32171 #else
32172 char (*f) () = $ac_func;
32173 #endif
32174 #ifdef __cplusplus
32176 #endif
32179 main ()
32181 return f != $ac_func;
32183 return 0;
32185 _ACEOF
32186 rm -f conftest.$ac_objext conftest$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>conftest.er1
32189 ac_status=$?
32190 grep -v '^ *+' conftest.er1 >conftest.err
32191 rm -f conftest.er1
32192 cat conftest.err >&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } &&
32195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32198 ac_status=$?
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; } &&
32201 { ac_try='test -s conftest$ac_exeext'
32202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32203 (eval $ac_try) 2>&5
32204 ac_status=$?
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); }; }; then
32207 eval "$as_ac_var=yes"
32208 else
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32212 eval "$as_ac_var=no"
32214 rm -f conftest.err conftest.$ac_objext \
32215 conftest$ac_exeext conftest.$ac_ext
32217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32219 if test `eval echo '${'$as_ac_var'}'` = yes; then
32220 cat >>confdefs.h <<_ACEOF
32221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32222 _ACEOF
32225 done
32232 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32233 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32234 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32235 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 else
32241 ac_ext=cc
32242 ac_cpp='$CXXCPP $CPPFLAGS'
32243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32247 cat >conftest.$ac_ext <<_ACEOF
32248 /* confdefs.h. */
32249 _ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32253 #include <math.h>
32255 main ()
32257 copysign(0, 0);
32259 return 0;
32261 _ACEOF
32262 rm -f conftest.$ac_objext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32264 (eval $ac_compile) 2>conftest.er1
32265 ac_status=$?
32266 grep -v '^ *+' conftest.er1 >conftest.err
32267 rm -f conftest.er1
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32274 ac_status=$?
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try='test -s conftest.$ac_objext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 glibcxx_cv_func_copysign_use=yes
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32288 glibcxx_cv_func_copysign_use=no
32290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32291 ac_ext=c
32292 ac_cpp='$CPP $CPPFLAGS'
32293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32302 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32304 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32306 for ac_func in copysign
32308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32309 echo "$as_me:$LINENO: checking for $ac_func" >&5
32310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32311 if eval "test \"\${$as_ac_var+set}\" = set"; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32314 if test x$gcc_no_link = xyes; then
32315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32317 { (exit 1); exit 1; }; }
32319 cat >conftest.$ac_ext <<_ACEOF
32320 /* confdefs.h. */
32321 _ACEOF
32322 cat confdefs.h >>conftest.$ac_ext
32323 cat >>conftest.$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32327 #define $ac_func innocuous_$ac_func
32329 /* System header to define __stub macros and hopefully few prototypes,
32330 which can conflict with char $ac_func (); below.
32331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32332 <limits.h> exists even on freestanding compilers. */
32334 #ifdef __STDC__
32335 # include <limits.h>
32336 #else
32337 # include <assert.h>
32338 #endif
32340 #undef $ac_func
32342 /* Override any gcc2 internal prototype to avoid an error. */
32343 #ifdef __cplusplus
32344 extern "C"
32346 #endif
32347 /* We use char because int might match the return type of a gcc2
32348 builtin and then its argument prototype would still apply. */
32349 char $ac_func ();
32350 /* The GNU C library defines this for functions which it implements
32351 to always fail with ENOSYS. Some functions are actually named
32352 something starting with __ and the normal name is an alias. */
32353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32354 choke me
32355 #else
32356 char (*f) () = $ac_func;
32357 #endif
32358 #ifdef __cplusplus
32360 #endif
32363 main ()
32365 return f != $ac_func;
32367 return 0;
32369 _ACEOF
32370 rm -f conftest.$ac_objext conftest$ac_exeext
32371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32372 (eval $ac_link) 2>conftest.er1
32373 ac_status=$?
32374 grep -v '^ *+' conftest.er1 >conftest.err
32375 rm -f conftest.er1
32376 cat conftest.err >&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } &&
32379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32382 ac_status=$?
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; } &&
32385 { ac_try='test -s conftest$ac_exeext'
32386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32387 (eval $ac_try) 2>&5
32388 ac_status=$?
32389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32390 (exit $ac_status); }; }; then
32391 eval "$as_ac_var=yes"
32392 else
32393 echo "$as_me: failed program was:" >&5
32394 sed 's/^/| /' conftest.$ac_ext >&5
32396 eval "$as_ac_var=no"
32398 rm -f conftest.err conftest.$ac_objext \
32399 conftest$ac_exeext conftest.$ac_ext
32401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32403 if test `eval echo '${'$as_ac_var'}'` = yes; then
32404 cat >>confdefs.h <<_ACEOF
32405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32406 _ACEOF
32409 done
32411 else
32413 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32414 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32415 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32416 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32417 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 else
32422 ac_ext=cc
32423 ac_cpp='$CXXCPP $CPPFLAGS'
32424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32428 cat >conftest.$ac_ext <<_ACEOF
32429 /* confdefs.h. */
32430 _ACEOF
32431 cat confdefs.h >>conftest.$ac_ext
32432 cat >>conftest.$ac_ext <<_ACEOF
32433 /* end confdefs.h. */
32434 #include <math.h>
32436 main ()
32438 _copysign(0, 0);
32440 return 0;
32442 _ACEOF
32443 rm -f conftest.$ac_objext
32444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32445 (eval $ac_compile) 2>conftest.er1
32446 ac_status=$?
32447 grep -v '^ *+' conftest.er1 >conftest.err
32448 rm -f conftest.er1
32449 cat conftest.err >&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); } &&
32452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32455 ac_status=$?
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; } &&
32458 { ac_try='test -s conftest.$ac_objext'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32461 ac_status=$?
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; }; then
32464 glibcxx_cv_func__copysign_use=yes
32465 else
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32469 glibcxx_cv_func__copysign_use=no
32471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32472 ac_ext=c
32473 ac_cpp='$CPP $CPPFLAGS'
32474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32483 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32485 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32487 for ac_func in _copysign
32489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32490 echo "$as_me:$LINENO: checking for $ac_func" >&5
32491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32492 if eval "test \"\${$as_ac_var+set}\" = set"; then
32493 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 else
32495 if test x$gcc_no_link = xyes; then
32496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32498 { (exit 1); exit 1; }; }
32500 cat >conftest.$ac_ext <<_ACEOF
32501 /* confdefs.h. */
32502 _ACEOF
32503 cat confdefs.h >>conftest.$ac_ext
32504 cat >>conftest.$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32508 #define $ac_func innocuous_$ac_func
32510 /* System header to define __stub macros and hopefully few prototypes,
32511 which can conflict with char $ac_func (); below.
32512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32513 <limits.h> exists even on freestanding compilers. */
32515 #ifdef __STDC__
32516 # include <limits.h>
32517 #else
32518 # include <assert.h>
32519 #endif
32521 #undef $ac_func
32523 /* Override any gcc2 internal prototype to avoid an error. */
32524 #ifdef __cplusplus
32525 extern "C"
32527 #endif
32528 /* We use char because int might match the return type of a gcc2
32529 builtin and then its argument prototype would still apply. */
32530 char $ac_func ();
32531 /* The GNU C library defines this for functions which it implements
32532 to always fail with ENOSYS. Some functions are actually named
32533 something starting with __ and the normal name is an alias. */
32534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32535 choke me
32536 #else
32537 char (*f) () = $ac_func;
32538 #endif
32539 #ifdef __cplusplus
32541 #endif
32544 main ()
32546 return f != $ac_func;
32548 return 0;
32550 _ACEOF
32551 rm -f conftest.$ac_objext conftest$ac_exeext
32552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32553 (eval $ac_link) 2>conftest.er1
32554 ac_status=$?
32555 grep -v '^ *+' conftest.er1 >conftest.err
32556 rm -f conftest.er1
32557 cat conftest.err >&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } &&
32560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; } &&
32566 { ac_try='test -s conftest$ac_exeext'
32567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32568 (eval $ac_try) 2>&5
32569 ac_status=$?
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); }; }; then
32572 eval "$as_ac_var=yes"
32573 else
32574 echo "$as_me: failed program was:" >&5
32575 sed 's/^/| /' conftest.$ac_ext >&5
32577 eval "$as_ac_var=no"
32579 rm -f conftest.err conftest.$ac_objext \
32580 conftest$ac_exeext conftest.$ac_ext
32582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32584 if test `eval echo '${'$as_ac_var'}'` = yes; then
32585 cat >>confdefs.h <<_ACEOF
32586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32587 _ACEOF
32590 done
32597 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32598 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32599 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32600 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32602 else
32606 ac_ext=cc
32607 ac_cpp='$CXXCPP $CPPFLAGS'
32608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32612 cat >conftest.$ac_ext <<_ACEOF
32613 /* confdefs.h. */
32614 _ACEOF
32615 cat confdefs.h >>conftest.$ac_ext
32616 cat >>conftest.$ac_ext <<_ACEOF
32617 /* end confdefs.h. */
32618 #include <math.h>
32620 main ()
32622 sincos(0, 0, 0);
32624 return 0;
32626 _ACEOF
32627 rm -f conftest.$ac_objext
32628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32629 (eval $ac_compile) 2>conftest.er1
32630 ac_status=$?
32631 grep -v '^ *+' conftest.er1 >conftest.err
32632 rm -f conftest.er1
32633 cat conftest.err >&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } &&
32636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32638 (eval $ac_try) 2>&5
32639 ac_status=$?
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; } &&
32642 { ac_try='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32645 ac_status=$?
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 glibcxx_cv_func_sincos_use=yes
32649 else
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.$ac_ext >&5
32653 glibcxx_cv_func_sincos_use=no
32655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32656 ac_ext=c
32657 ac_cpp='$CPP $CPPFLAGS'
32658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32667 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32669 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32671 for ac_func in sincos
32673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32674 echo "$as_me:$LINENO: checking for $ac_func" >&5
32675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32676 if eval "test \"\${$as_ac_var+set}\" = set"; then
32677 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 else
32679 if test x$gcc_no_link = xyes; then
32680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32682 { (exit 1); exit 1; }; }
32684 cat >conftest.$ac_ext <<_ACEOF
32685 /* confdefs.h. */
32686 _ACEOF
32687 cat confdefs.h >>conftest.$ac_ext
32688 cat >>conftest.$ac_ext <<_ACEOF
32689 /* end confdefs.h. */
32690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32692 #define $ac_func innocuous_$ac_func
32694 /* System header to define __stub macros and hopefully few prototypes,
32695 which can conflict with char $ac_func (); below.
32696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32697 <limits.h> exists even on freestanding compilers. */
32699 #ifdef __STDC__
32700 # include <limits.h>
32701 #else
32702 # include <assert.h>
32703 #endif
32705 #undef $ac_func
32707 /* Override any gcc2 internal prototype to avoid an error. */
32708 #ifdef __cplusplus
32709 extern "C"
32711 #endif
32712 /* We use char because int might match the return type of a gcc2
32713 builtin and then its argument prototype would still apply. */
32714 char $ac_func ();
32715 /* The GNU C library defines this for functions which it implements
32716 to always fail with ENOSYS. Some functions are actually named
32717 something starting with __ and the normal name is an alias. */
32718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32719 choke me
32720 #else
32721 char (*f) () = $ac_func;
32722 #endif
32723 #ifdef __cplusplus
32725 #endif
32728 main ()
32730 return f != $ac_func;
32732 return 0;
32734 _ACEOF
32735 rm -f conftest.$ac_objext conftest$ac_exeext
32736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32737 (eval $ac_link) 2>conftest.er1
32738 ac_status=$?
32739 grep -v '^ *+' conftest.er1 >conftest.err
32740 rm -f conftest.er1
32741 cat conftest.err >&5
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); } &&
32744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32746 (eval $ac_try) 2>&5
32747 ac_status=$?
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); }; } &&
32750 { ac_try='test -s conftest$ac_exeext'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; }; then
32756 eval "$as_ac_var=yes"
32757 else
32758 echo "$as_me: failed program was:" >&5
32759 sed 's/^/| /' conftest.$ac_ext >&5
32761 eval "$as_ac_var=no"
32763 rm -f conftest.err conftest.$ac_objext \
32764 conftest$ac_exeext conftest.$ac_ext
32766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32768 if test `eval echo '${'$as_ac_var'}'` = yes; then
32769 cat >>confdefs.h <<_ACEOF
32770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32771 _ACEOF
32774 done
32776 else
32778 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32779 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32780 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32781 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32783 else
32787 ac_ext=cc
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32793 cat >conftest.$ac_ext <<_ACEOF
32794 /* confdefs.h. */
32795 _ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32799 #include <math.h>
32801 main ()
32803 _sincos(0, 0, 0);
32805 return 0;
32807 _ACEOF
32808 rm -f conftest.$ac_objext
32809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32810 (eval $ac_compile) 2>conftest.er1
32811 ac_status=$?
32812 grep -v '^ *+' conftest.er1 >conftest.err
32813 rm -f conftest.er1
32814 cat conftest.err >&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); } &&
32817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32819 (eval $ac_try) 2>&5
32820 ac_status=$?
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); }; } &&
32823 { ac_try='test -s conftest.$ac_objext'
32824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32825 (eval $ac_try) 2>&5
32826 ac_status=$?
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); }; }; then
32829 glibcxx_cv_func__sincos_use=yes
32830 else
32831 echo "$as_me: failed program was:" >&5
32832 sed 's/^/| /' conftest.$ac_ext >&5
32834 glibcxx_cv_func__sincos_use=no
32836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32837 ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32848 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32850 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32852 for ac_func in _sincos
32854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32855 echo "$as_me:$LINENO: checking for $ac_func" >&5
32856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32857 if eval "test \"\${$as_ac_var+set}\" = set"; then
32858 echo $ECHO_N "(cached) $ECHO_C" >&6
32859 else
32860 if test x$gcc_no_link = xyes; then
32861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32863 { (exit 1); exit 1; }; }
32865 cat >conftest.$ac_ext <<_ACEOF
32866 /* confdefs.h. */
32867 _ACEOF
32868 cat confdefs.h >>conftest.$ac_ext
32869 cat >>conftest.$ac_ext <<_ACEOF
32870 /* end confdefs.h. */
32871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32873 #define $ac_func innocuous_$ac_func
32875 /* System header to define __stub macros and hopefully few prototypes,
32876 which can conflict with char $ac_func (); below.
32877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32878 <limits.h> exists even on freestanding compilers. */
32880 #ifdef __STDC__
32881 # include <limits.h>
32882 #else
32883 # include <assert.h>
32884 #endif
32886 #undef $ac_func
32888 /* Override any gcc2 internal prototype to avoid an error. */
32889 #ifdef __cplusplus
32890 extern "C"
32892 #endif
32893 /* We use char because int might match the return type of a gcc2
32894 builtin and then its argument prototype would still apply. */
32895 char $ac_func ();
32896 /* The GNU C library defines this for functions which it implements
32897 to always fail with ENOSYS. Some functions are actually named
32898 something starting with __ and the normal name is an alias. */
32899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32900 choke me
32901 #else
32902 char (*f) () = $ac_func;
32903 #endif
32904 #ifdef __cplusplus
32906 #endif
32909 main ()
32911 return f != $ac_func;
32913 return 0;
32915 _ACEOF
32916 rm -f conftest.$ac_objext conftest$ac_exeext
32917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32918 (eval $ac_link) 2>conftest.er1
32919 ac_status=$?
32920 grep -v '^ *+' conftest.er1 >conftest.err
32921 rm -f conftest.er1
32922 cat conftest.err >&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); } &&
32925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; } &&
32931 { ac_try='test -s conftest$ac_exeext'
32932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32933 (eval $ac_try) 2>&5
32934 ac_status=$?
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; }; then
32937 eval "$as_ac_var=yes"
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32942 eval "$as_ac_var=no"
32944 rm -f conftest.err conftest.$ac_objext \
32945 conftest$ac_exeext conftest.$ac_ext
32947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32949 if test `eval echo '${'$as_ac_var'}'` = yes; then
32950 cat >>confdefs.h <<_ACEOF
32951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32952 _ACEOF
32955 done
32962 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32963 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32964 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32965 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32966 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 else
32971 ac_ext=cc
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32977 cat >conftest.$ac_ext <<_ACEOF
32978 /* confdefs.h. */
32979 _ACEOF
32980 cat confdefs.h >>conftest.$ac_ext
32981 cat >>conftest.$ac_ext <<_ACEOF
32982 /* end confdefs.h. */
32983 #include <math.h>
32984 #ifdef HAVE_IEEEFP_H
32985 #include <ieeefp.h>
32986 #endif
32989 main ()
32991 fpclass(0);
32993 return 0;
32995 _ACEOF
32996 rm -f conftest.$ac_objext
32997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32998 (eval $ac_compile) 2>conftest.er1
32999 ac_status=$?
33000 grep -v '^ *+' conftest.er1 >conftest.err
33001 rm -f conftest.er1
33002 cat conftest.err >&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); } &&
33005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33008 ac_status=$?
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; } &&
33011 { ac_try='test -s conftest.$ac_objext'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33014 ac_status=$?
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; }; then
33017 glibcxx_cv_func_fpclass_use=yes
33018 else
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.$ac_ext >&5
33022 glibcxx_cv_func_fpclass_use=no
33024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33025 ac_ext=c
33026 ac_cpp='$CPP $CPPFLAGS'
33027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33036 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33038 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33040 for ac_func in fpclass
33042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33043 echo "$as_me:$LINENO: checking for $ac_func" >&5
33044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33045 if eval "test \"\${$as_ac_var+set}\" = set"; then
33046 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 else
33048 if test x$gcc_no_link = xyes; then
33049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33051 { (exit 1); exit 1; }; }
33053 cat >conftest.$ac_ext <<_ACEOF
33054 /* confdefs.h. */
33055 _ACEOF
33056 cat confdefs.h >>conftest.$ac_ext
33057 cat >>conftest.$ac_ext <<_ACEOF
33058 /* end confdefs.h. */
33059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33061 #define $ac_func innocuous_$ac_func
33063 /* System header to define __stub macros and hopefully few prototypes,
33064 which can conflict with char $ac_func (); below.
33065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33066 <limits.h> exists even on freestanding compilers. */
33068 #ifdef __STDC__
33069 # include <limits.h>
33070 #else
33071 # include <assert.h>
33072 #endif
33074 #undef $ac_func
33076 /* Override any gcc2 internal prototype to avoid an error. */
33077 #ifdef __cplusplus
33078 extern "C"
33080 #endif
33081 /* We use char because int might match the return type of a gcc2
33082 builtin and then its argument prototype would still apply. */
33083 char $ac_func ();
33084 /* The GNU C library defines this for functions which it implements
33085 to always fail with ENOSYS. Some functions are actually named
33086 something starting with __ and the normal name is an alias. */
33087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33088 choke me
33089 #else
33090 char (*f) () = $ac_func;
33091 #endif
33092 #ifdef __cplusplus
33094 #endif
33097 main ()
33099 return f != $ac_func;
33101 return 0;
33103 _ACEOF
33104 rm -f conftest.$ac_objext conftest$ac_exeext
33105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33106 (eval $ac_link) 2>conftest.er1
33107 ac_status=$?
33108 grep -v '^ *+' conftest.er1 >conftest.err
33109 rm -f conftest.er1
33110 cat conftest.err >&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } &&
33113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33116 ac_status=$?
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; } &&
33119 { ac_try='test -s conftest$ac_exeext'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33122 ac_status=$?
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; }; then
33125 eval "$as_ac_var=yes"
33126 else
33127 echo "$as_me: failed program was:" >&5
33128 sed 's/^/| /' conftest.$ac_ext >&5
33130 eval "$as_ac_var=no"
33132 rm -f conftest.err conftest.$ac_objext \
33133 conftest$ac_exeext conftest.$ac_ext
33135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33137 if test `eval echo '${'$as_ac_var'}'` = yes; then
33138 cat >>confdefs.h <<_ACEOF
33139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33140 _ACEOF
33143 done
33145 else
33147 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33148 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33149 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33150 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33151 echo $ECHO_N "(cached) $ECHO_C" >&6
33152 else
33156 ac_ext=cc
33157 ac_cpp='$CXXCPP $CPPFLAGS'
33158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33162 cat >conftest.$ac_ext <<_ACEOF
33163 /* confdefs.h. */
33164 _ACEOF
33165 cat confdefs.h >>conftest.$ac_ext
33166 cat >>conftest.$ac_ext <<_ACEOF
33167 /* end confdefs.h. */
33168 #include <math.h>
33169 #ifdef HAVE_IEEEFP_H
33170 #include <ieeefp.h>
33171 #endif
33174 main ()
33176 _fpclass(0);
33178 return 0;
33180 _ACEOF
33181 rm -f conftest.$ac_objext
33182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33183 (eval $ac_compile) 2>conftest.er1
33184 ac_status=$?
33185 grep -v '^ *+' conftest.er1 >conftest.err
33186 rm -f conftest.er1
33187 cat conftest.err >&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); } &&
33190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
33196 { ac_try='test -s conftest.$ac_objext'
33197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33198 (eval $ac_try) 2>&5
33199 ac_status=$?
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; }; then
33202 glibcxx_cv_func__fpclass_use=yes
33203 else
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.$ac_ext >&5
33207 glibcxx_cv_func__fpclass_use=no
33209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33210 ac_ext=c
33211 ac_cpp='$CPP $CPPFLAGS'
33212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33221 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33223 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33225 for ac_func in _fpclass
33227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33228 echo "$as_me:$LINENO: checking for $ac_func" >&5
33229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33230 if eval "test \"\${$as_ac_var+set}\" = set"; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33232 else
33233 if test x$gcc_no_link = xyes; then
33234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33236 { (exit 1); exit 1; }; }
33238 cat >conftest.$ac_ext <<_ACEOF
33239 /* confdefs.h. */
33240 _ACEOF
33241 cat confdefs.h >>conftest.$ac_ext
33242 cat >>conftest.$ac_ext <<_ACEOF
33243 /* end confdefs.h. */
33244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33246 #define $ac_func innocuous_$ac_func
33248 /* System header to define __stub macros and hopefully few prototypes,
33249 which can conflict with char $ac_func (); below.
33250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33251 <limits.h> exists even on freestanding compilers. */
33253 #ifdef __STDC__
33254 # include <limits.h>
33255 #else
33256 # include <assert.h>
33257 #endif
33259 #undef $ac_func
33261 /* Override any gcc2 internal prototype to avoid an error. */
33262 #ifdef __cplusplus
33263 extern "C"
33265 #endif
33266 /* We use char because int might match the return type of a gcc2
33267 builtin and then its argument prototype would still apply. */
33268 char $ac_func ();
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33273 choke me
33274 #else
33275 char (*f) () = $ac_func;
33276 #endif
33277 #ifdef __cplusplus
33279 #endif
33282 main ()
33284 return f != $ac_func;
33286 return 0;
33288 _ACEOF
33289 rm -f conftest.$ac_objext conftest$ac_exeext
33290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33291 (eval $ac_link) 2>conftest.er1
33292 ac_status=$?
33293 grep -v '^ *+' conftest.er1 >conftest.err
33294 rm -f conftest.er1
33295 cat conftest.err >&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } &&
33298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 (eval $ac_try) 2>&5
33301 ac_status=$?
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); }; } &&
33304 { ac_try='test -s conftest$ac_exeext'
33305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 (eval $ac_try) 2>&5
33307 ac_status=$?
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; }; then
33310 eval "$as_ac_var=yes"
33311 else
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.$ac_ext >&5
33315 eval "$as_ac_var=no"
33317 rm -f conftest.err conftest.$ac_objext \
33318 conftest$ac_exeext conftest.$ac_ext
33320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33322 if test `eval echo '${'$as_ac_var'}'` = yes; then
33323 cat >>confdefs.h <<_ACEOF
33324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33325 _ACEOF
33328 done
33335 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33336 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33337 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33338 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33339 echo $ECHO_N "(cached) $ECHO_C" >&6
33340 else
33344 ac_ext=cc
33345 ac_cpp='$CXXCPP $CPPFLAGS'
33346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350 cat >conftest.$ac_ext <<_ACEOF
33351 /* confdefs.h. */
33352 _ACEOF
33353 cat confdefs.h >>conftest.$ac_ext
33354 cat >>conftest.$ac_ext <<_ACEOF
33355 /* end confdefs.h. */
33356 #include <math.h>
33357 #ifdef HAVE_IEEEFP_H
33358 #include <ieeefp.h>
33359 #endif
33362 main ()
33364 qfpclass(0);
33366 return 0;
33368 _ACEOF
33369 rm -f conftest.$ac_objext
33370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33371 (eval $ac_compile) 2>conftest.er1
33372 ac_status=$?
33373 grep -v '^ *+' conftest.er1 >conftest.err
33374 rm -f conftest.er1
33375 cat conftest.err >&5
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); } &&
33378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33381 ac_status=$?
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; } &&
33384 { ac_try='test -s conftest.$ac_objext'
33385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33386 (eval $ac_try) 2>&5
33387 ac_status=$?
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); }; }; then
33390 glibcxx_cv_func_qfpclass_use=yes
33391 else
33392 echo "$as_me: failed program was:" >&5
33393 sed 's/^/| /' conftest.$ac_ext >&5
33395 glibcxx_cv_func_qfpclass_use=no
33397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33398 ac_ext=c
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33409 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33411 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33413 for ac_func in qfpclass
33415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33416 echo "$as_me:$LINENO: checking for $ac_func" >&5
33417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33418 if eval "test \"\${$as_ac_var+set}\" = set"; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 else
33421 if test x$gcc_no_link = xyes; then
33422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33424 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33434 #define $ac_func innocuous_$ac_func
33436 /* System header to define __stub macros and hopefully few prototypes,
33437 which can conflict with char $ac_func (); below.
33438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33439 <limits.h> exists even on freestanding compilers. */
33441 #ifdef __STDC__
33442 # include <limits.h>
33443 #else
33444 # include <assert.h>
33445 #endif
33447 #undef $ac_func
33449 /* Override any gcc2 internal prototype to avoid an error. */
33450 #ifdef __cplusplus
33451 extern "C"
33453 #endif
33454 /* We use char because int might match the return type of a gcc2
33455 builtin and then its argument prototype would still apply. */
33456 char $ac_func ();
33457 /* The GNU C library defines this for functions which it implements
33458 to always fail with ENOSYS. Some functions are actually named
33459 something starting with __ and the normal name is an alias. */
33460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33461 choke me
33462 #else
33463 char (*f) () = $ac_func;
33464 #endif
33465 #ifdef __cplusplus
33467 #endif
33470 main ()
33472 return f != $ac_func;
33474 return 0;
33476 _ACEOF
33477 rm -f conftest.$ac_objext conftest$ac_exeext
33478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33479 (eval $ac_link) 2>conftest.er1
33480 ac_status=$?
33481 grep -v '^ *+' conftest.er1 >conftest.err
33482 rm -f conftest.er1
33483 cat conftest.err >&5
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); } &&
33486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33489 ac_status=$?
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; } &&
33492 { ac_try='test -s conftest$ac_exeext'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33495 ac_status=$?
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 eval "$as_ac_var=yes"
33499 else
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.$ac_ext >&5
33503 eval "$as_ac_var=no"
33505 rm -f conftest.err conftest.$ac_objext \
33506 conftest$ac_exeext conftest.$ac_ext
33508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33510 if test `eval echo '${'$as_ac_var'}'` = yes; then
33511 cat >>confdefs.h <<_ACEOF
33512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33513 _ACEOF
33516 done
33518 else
33520 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33521 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33522 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33523 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33525 else
33529 ac_ext=cc
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535 cat >conftest.$ac_ext <<_ACEOF
33536 /* confdefs.h. */
33537 _ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33541 #include <math.h>
33542 #ifdef HAVE_IEEEFP_H
33543 #include <ieeefp.h>
33544 #endif
33547 main ()
33549 _qfpclass(0);
33551 return 0;
33553 _ACEOF
33554 rm -f conftest.$ac_objext
33555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33556 (eval $ac_compile) 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_cxx_werror_flag" || test ! -s conftest.err'
33564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565 (eval $ac_try) 2>&5
33566 ac_status=$?
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); }; } &&
33569 { ac_try='test -s conftest.$ac_objext'
33570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33571 (eval $ac_try) 2>&5
33572 ac_status=$?
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; }; then
33575 glibcxx_cv_func__qfpclass_use=yes
33576 else
33577 echo "$as_me: failed program was:" >&5
33578 sed 's/^/| /' conftest.$ac_ext >&5
33580 glibcxx_cv_func__qfpclass_use=no
33582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33594 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33596 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33598 for ac_func in _qfpclass
33600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33601 echo "$as_me:$LINENO: checking for $ac_func" >&5
33602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33603 if eval "test \"\${$as_ac_var+set}\" = set"; then
33604 echo $ECHO_N "(cached) $ECHO_C" >&6
33605 else
33606 if test x$gcc_no_link = xyes; then
33607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33609 { (exit 1); exit 1; }; }
33611 cat >conftest.$ac_ext <<_ACEOF
33612 /* confdefs.h. */
33613 _ACEOF
33614 cat confdefs.h >>conftest.$ac_ext
33615 cat >>conftest.$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33619 #define $ac_func innocuous_$ac_func
33621 /* System header to define __stub macros and hopefully few prototypes,
33622 which can conflict with char $ac_func (); below.
33623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33624 <limits.h> exists even on freestanding compilers. */
33626 #ifdef __STDC__
33627 # include <limits.h>
33628 #else
33629 # include <assert.h>
33630 #endif
33632 #undef $ac_func
33634 /* Override any gcc2 internal prototype to avoid an error. */
33635 #ifdef __cplusplus
33636 extern "C"
33638 #endif
33639 /* We use char because int might match the return type of a gcc2
33640 builtin and then its argument prototype would still apply. */
33641 char $ac_func ();
33642 /* The GNU C library defines this for functions which it implements
33643 to always fail with ENOSYS. Some functions are actually named
33644 something starting with __ and the normal name is an alias. */
33645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33646 choke me
33647 #else
33648 char (*f) () = $ac_func;
33649 #endif
33650 #ifdef __cplusplus
33652 #endif
33655 main ()
33657 return f != $ac_func;
33659 return 0;
33661 _ACEOF
33662 rm -f conftest.$ac_objext conftest$ac_exeext
33663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33664 (eval $ac_link) 2>conftest.er1
33665 ac_status=$?
33666 grep -v '^ *+' conftest.er1 >conftest.err
33667 rm -f conftest.er1
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } &&
33671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; } &&
33677 { ac_try='test -s conftest$ac_exeext'
33678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33679 (eval $ac_try) 2>&5
33680 ac_status=$?
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); }; }; then
33683 eval "$as_ac_var=yes"
33684 else
33685 echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.$ac_ext >&5
33688 eval "$as_ac_var=no"
33690 rm -f conftest.err conftest.$ac_objext \
33691 conftest$ac_exeext conftest.$ac_ext
33693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33695 if test `eval echo '${'$as_ac_var'}'` = yes; then
33696 cat >>confdefs.h <<_ACEOF
33697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33698 _ACEOF
33701 done
33708 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33709 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33710 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33711 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 else
33717 ac_ext=cc
33718 ac_cpp='$CXXCPP $CPPFLAGS'
33719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 #include <math.h>
33731 main ()
33733 hypot(0, 0);
33735 return 0;
33737 _ACEOF
33738 rm -f conftest.$ac_objext
33739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33740 (eval $ac_compile) 2>conftest.er1
33741 ac_status=$?
33742 grep -v '^ *+' conftest.er1 >conftest.err
33743 rm -f conftest.er1
33744 cat conftest.err >&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } &&
33747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33750 ac_status=$?
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; } &&
33753 { ac_try='test -s conftest.$ac_objext'
33754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33755 (eval $ac_try) 2>&5
33756 ac_status=$?
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); }; }; then
33759 glibcxx_cv_func_hypot_use=yes
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33764 glibcxx_cv_func_hypot_use=no
33766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33767 ac_ext=c
33768 ac_cpp='$CPP $CPPFLAGS'
33769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33778 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33780 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33782 for ac_func in hypot
33784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33785 echo "$as_me:$LINENO: checking for $ac_func" >&5
33786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33787 if eval "test \"\${$as_ac_var+set}\" = set"; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33789 else
33790 if test x$gcc_no_link = xyes; then
33791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33793 { (exit 1); exit 1; }; }
33795 cat >conftest.$ac_ext <<_ACEOF
33796 /* confdefs.h. */
33797 _ACEOF
33798 cat confdefs.h >>conftest.$ac_ext
33799 cat >>conftest.$ac_ext <<_ACEOF
33800 /* end confdefs.h. */
33801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33803 #define $ac_func innocuous_$ac_func
33805 /* System header to define __stub macros and hopefully few prototypes,
33806 which can conflict with char $ac_func (); below.
33807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33808 <limits.h> exists even on freestanding compilers. */
33810 #ifdef __STDC__
33811 # include <limits.h>
33812 #else
33813 # include <assert.h>
33814 #endif
33816 #undef $ac_func
33818 /* Override any gcc2 internal prototype to avoid an error. */
33819 #ifdef __cplusplus
33820 extern "C"
33822 #endif
33823 /* We use char because int might match the return type of a gcc2
33824 builtin and then its argument prototype would still apply. */
33825 char $ac_func ();
33826 /* The GNU C library defines this for functions which it implements
33827 to always fail with ENOSYS. Some functions are actually named
33828 something starting with __ and the normal name is an alias. */
33829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33830 choke me
33831 #else
33832 char (*f) () = $ac_func;
33833 #endif
33834 #ifdef __cplusplus
33836 #endif
33839 main ()
33841 return f != $ac_func;
33843 return 0;
33845 _ACEOF
33846 rm -f conftest.$ac_objext conftest$ac_exeext
33847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33848 (eval $ac_link) 2>conftest.er1
33849 ac_status=$?
33850 grep -v '^ *+' conftest.er1 >conftest.err
33851 rm -f conftest.er1
33852 cat conftest.err >&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } &&
33855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33857 (eval $ac_try) 2>&5
33858 ac_status=$?
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); }; } &&
33861 { ac_try='test -s conftest$ac_exeext'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33864 ac_status=$?
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; }; then
33867 eval "$as_ac_var=yes"
33868 else
33869 echo "$as_me: failed program was:" >&5
33870 sed 's/^/| /' conftest.$ac_ext >&5
33872 eval "$as_ac_var=no"
33874 rm -f conftest.err conftest.$ac_objext \
33875 conftest$ac_exeext conftest.$ac_ext
33877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33879 if test `eval echo '${'$as_ac_var'}'` = yes; then
33880 cat >>confdefs.h <<_ACEOF
33881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33882 _ACEOF
33885 done
33887 else
33889 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33890 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33891 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33892 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33893 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 else
33898 ac_ext=cc
33899 ac_cpp='$CXXCPP $CPPFLAGS'
33900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33904 cat >conftest.$ac_ext <<_ACEOF
33905 /* confdefs.h. */
33906 _ACEOF
33907 cat confdefs.h >>conftest.$ac_ext
33908 cat >>conftest.$ac_ext <<_ACEOF
33909 /* end confdefs.h. */
33910 #include <math.h>
33912 main ()
33914 _hypot(0, 0);
33916 return 0;
33918 _ACEOF
33919 rm -f conftest.$ac_objext
33920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33921 (eval $ac_compile) 2>conftest.er1
33922 ac_status=$?
33923 grep -v '^ *+' conftest.er1 >conftest.err
33924 rm -f conftest.er1
33925 cat conftest.err >&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); } &&
33928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33931 ac_status=$?
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; } &&
33934 { ac_try='test -s conftest.$ac_objext'
33935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33936 (eval $ac_try) 2>&5
33937 ac_status=$?
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); }; }; then
33940 glibcxx_cv_func__hypot_use=yes
33941 else
33942 echo "$as_me: failed program was:" >&5
33943 sed 's/^/| /' conftest.$ac_ext >&5
33945 glibcxx_cv_func__hypot_use=no
33947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33948 ac_ext=c
33949 ac_cpp='$CPP $CPPFLAGS'
33950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
33959 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
33961 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33963 for ac_func in _hypot
33965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33966 echo "$as_me:$LINENO: checking for $ac_func" >&5
33967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33968 if eval "test \"\${$as_ac_var+set}\" = set"; then
33969 echo $ECHO_N "(cached) $ECHO_C" >&6
33970 else
33971 if test x$gcc_no_link = xyes; then
33972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33974 { (exit 1); exit 1; }; }
33976 cat >conftest.$ac_ext <<_ACEOF
33977 /* confdefs.h. */
33978 _ACEOF
33979 cat confdefs.h >>conftest.$ac_ext
33980 cat >>conftest.$ac_ext <<_ACEOF
33981 /* end confdefs.h. */
33982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33984 #define $ac_func innocuous_$ac_func
33986 /* System header to define __stub macros and hopefully few prototypes,
33987 which can conflict with char $ac_func (); below.
33988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33989 <limits.h> exists even on freestanding compilers. */
33991 #ifdef __STDC__
33992 # include <limits.h>
33993 #else
33994 # include <assert.h>
33995 #endif
33997 #undef $ac_func
33999 /* Override any gcc2 internal prototype to avoid an error. */
34000 #ifdef __cplusplus
34001 extern "C"
34003 #endif
34004 /* We use char because int might match the return type of a gcc2
34005 builtin and then its argument prototype would still apply. */
34006 char $ac_func ();
34007 /* The GNU C library defines this for functions which it implements
34008 to always fail with ENOSYS. Some functions are actually named
34009 something starting with __ and the normal name is an alias. */
34010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34011 choke me
34012 #else
34013 char (*f) () = $ac_func;
34014 #endif
34015 #ifdef __cplusplus
34017 #endif
34020 main ()
34022 return f != $ac_func;
34024 return 0;
34026 _ACEOF
34027 rm -f conftest.$ac_objext conftest$ac_exeext
34028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34029 (eval $ac_link) 2>conftest.er1
34030 ac_status=$?
34031 grep -v '^ *+' conftest.er1 >conftest.err
34032 rm -f conftest.er1
34033 cat conftest.err >&5
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); } &&
34036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34038 (eval $ac_try) 2>&5
34039 ac_status=$?
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); }; } &&
34042 { ac_try='test -s conftest$ac_exeext'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34045 ac_status=$?
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; }; then
34048 eval "$as_ac_var=yes"
34049 else
34050 echo "$as_me: failed program was:" >&5
34051 sed 's/^/| /' conftest.$ac_ext >&5
34053 eval "$as_ac_var=no"
34055 rm -f conftest.err conftest.$ac_objext \
34056 conftest$ac_exeext conftest.$ac_ext
34058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34060 if test `eval echo '${'$as_ac_var'}'` = yes; then
34061 cat >>confdefs.h <<_ACEOF
34062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34063 _ACEOF
34066 done
34073 echo "$as_me:$LINENO: checking for float trig functions" >&5
34074 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34075 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 else
34081 ac_ext=cc
34082 ac_cpp='$CXXCPP $CPPFLAGS'
34083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34087 cat >conftest.$ac_ext <<_ACEOF
34088 /* confdefs.h. */
34089 _ACEOF
34090 cat confdefs.h >>conftest.$ac_ext
34091 cat >>conftest.$ac_ext <<_ACEOF
34092 /* end confdefs.h. */
34093 #include <math.h>
34095 main ()
34097 `for x in acosf asinf atanf \
34098 cosf sinf tanf \
34099 coshf sinhf tanhf; do echo "$x (0);"; done`
34101 return 0;
34103 _ACEOF
34104 rm -f conftest.$ac_objext
34105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34106 (eval $ac_compile) 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } &&
34113 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34115 (eval $ac_try) 2>&5
34116 ac_status=$?
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); }; } &&
34119 { ac_try='test -s conftest.$ac_objext'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; }; then
34125 glibcxx_cv_func_float_trig_use=yes
34126 else
34127 echo "$as_me: failed program was:" >&5
34128 sed 's/^/| /' conftest.$ac_ext >&5
34130 glibcxx_cv_func_float_trig_use=no
34132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34133 ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34142 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34143 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34153 for ac_func in acosf asinf atanf \
34154 cosf sinf tanf \
34155 coshf sinhf tanhf
34157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34158 echo "$as_me:$LINENO: checking for $ac_func" >&5
34159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34160 if eval "test \"\${$as_ac_var+set}\" = set"; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34162 else
34163 if test x$gcc_no_link = xyes; then
34164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34166 { (exit 1); exit 1; }; }
34168 cat >conftest.$ac_ext <<_ACEOF
34169 /* confdefs.h. */
34170 _ACEOF
34171 cat confdefs.h >>conftest.$ac_ext
34172 cat >>conftest.$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34176 #define $ac_func innocuous_$ac_func
34178 /* System header to define __stub macros and hopefully few prototypes,
34179 which can conflict with char $ac_func (); below.
34180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34181 <limits.h> exists even on freestanding compilers. */
34183 #ifdef __STDC__
34184 # include <limits.h>
34185 #else
34186 # include <assert.h>
34187 #endif
34189 #undef $ac_func
34191 /* Override any gcc2 internal prototype to avoid an error. */
34192 #ifdef __cplusplus
34193 extern "C"
34195 #endif
34196 /* We use char because int might match the return type of a gcc2
34197 builtin and then its argument prototype would still apply. */
34198 char $ac_func ();
34199 /* The GNU C library defines this for functions which it implements
34200 to always fail with ENOSYS. Some functions are actually named
34201 something starting with __ and the normal name is an alias. */
34202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34203 choke me
34204 #else
34205 char (*f) () = $ac_func;
34206 #endif
34207 #ifdef __cplusplus
34209 #endif
34212 main ()
34214 return f != $ac_func;
34216 return 0;
34218 _ACEOF
34219 rm -f conftest.$ac_objext conftest$ac_exeext
34220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34221 (eval $ac_link) 2>conftest.er1
34222 ac_status=$?
34223 grep -v '^ *+' conftest.er1 >conftest.err
34224 rm -f conftest.er1
34225 cat conftest.err >&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); } &&
34228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34231 ac_status=$?
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; } &&
34234 { ac_try='test -s conftest$ac_exeext'
34235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34236 (eval $ac_try) 2>&5
34237 ac_status=$?
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); }; }; then
34240 eval "$as_ac_var=yes"
34241 else
34242 echo "$as_me: failed program was:" >&5
34243 sed 's/^/| /' conftest.$ac_ext >&5
34245 eval "$as_ac_var=no"
34247 rm -f conftest.err conftest.$ac_objext \
34248 conftest$ac_exeext conftest.$ac_ext
34250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34252 if test `eval echo '${'$as_ac_var'}'` = yes; then
34253 cat >>confdefs.h <<_ACEOF
34254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34255 _ACEOF
34258 done
34263 echo "$as_me:$LINENO: checking for float round functions" >&5
34264 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34265 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34266 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 else
34271 ac_ext=cc
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277 cat >conftest.$ac_ext <<_ACEOF
34278 /* confdefs.h. */
34279 _ACEOF
34280 cat confdefs.h >>conftest.$ac_ext
34281 cat >>conftest.$ac_ext <<_ACEOF
34282 /* end confdefs.h. */
34283 #include <math.h>
34285 main ()
34287 `for x in ceilf floorf; do echo "$x (0);"; done`
34289 return 0;
34291 _ACEOF
34292 rm -f conftest.$ac_objext
34293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34294 (eval $ac_compile) 2>conftest.er1
34295 ac_status=$?
34296 grep -v '^ *+' conftest.er1 >conftest.err
34297 rm -f conftest.er1
34298 cat conftest.err >&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); } &&
34301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34303 (eval $ac_try) 2>&5
34304 ac_status=$?
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); }; } &&
34307 { ac_try='test -s conftest.$ac_objext'
34308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34309 (eval $ac_try) 2>&5
34310 ac_status=$?
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); }; }; then
34313 glibcxx_cv_func_float_round_use=yes
34314 else
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.$ac_ext >&5
34318 glibcxx_cv_func_float_round_use=no
34320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34321 ac_ext=c
34322 ac_cpp='$CPP $CPPFLAGS'
34323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34330 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34331 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34334 for ac_func in ceilf floorf
34336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34337 echo "$as_me:$LINENO: checking for $ac_func" >&5
34338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34339 if eval "test \"\${$as_ac_var+set}\" = set"; then
34340 echo $ECHO_N "(cached) $ECHO_C" >&6
34341 else
34342 if test x$gcc_no_link = xyes; then
34343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34345 { (exit 1); exit 1; }; }
34347 cat >conftest.$ac_ext <<_ACEOF
34348 /* confdefs.h. */
34349 _ACEOF
34350 cat confdefs.h >>conftest.$ac_ext
34351 cat >>conftest.$ac_ext <<_ACEOF
34352 /* end confdefs.h. */
34353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34355 #define $ac_func innocuous_$ac_func
34357 /* System header to define __stub macros and hopefully few prototypes,
34358 which can conflict with char $ac_func (); below.
34359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34360 <limits.h> exists even on freestanding compilers. */
34362 #ifdef __STDC__
34363 # include <limits.h>
34364 #else
34365 # include <assert.h>
34366 #endif
34368 #undef $ac_func
34370 /* Override any gcc2 internal prototype to avoid an error. */
34371 #ifdef __cplusplus
34372 extern "C"
34374 #endif
34375 /* We use char because int might match the return type of a gcc2
34376 builtin and then its argument prototype would still apply. */
34377 char $ac_func ();
34378 /* The GNU C library defines this for functions which it implements
34379 to always fail with ENOSYS. Some functions are actually named
34380 something starting with __ and the normal name is an alias. */
34381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34382 choke me
34383 #else
34384 char (*f) () = $ac_func;
34385 #endif
34386 #ifdef __cplusplus
34388 #endif
34391 main ()
34393 return f != $ac_func;
34395 return 0;
34397 _ACEOF
34398 rm -f conftest.$ac_objext conftest$ac_exeext
34399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34400 (eval $ac_link) 2>conftest.er1
34401 ac_status=$?
34402 grep -v '^ *+' conftest.er1 >conftest.err
34403 rm -f conftest.er1
34404 cat conftest.err >&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } &&
34407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34409 (eval $ac_try) 2>&5
34410 ac_status=$?
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); }; } &&
34413 { ac_try='test -s conftest$ac_exeext'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; }; then
34419 eval "$as_ac_var=yes"
34420 else
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.$ac_ext >&5
34424 eval "$as_ac_var=no"
34426 rm -f conftest.err conftest.$ac_objext \
34427 conftest$ac_exeext conftest.$ac_ext
34429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34431 if test `eval echo '${'$as_ac_var'}'` = yes; then
34432 cat >>confdefs.h <<_ACEOF
34433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34434 _ACEOF
34437 done
34443 echo "$as_me:$LINENO: checking for expf declaration" >&5
34444 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34445 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34446 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34447 echo $ECHO_N "(cached) $ECHO_C" >&6
34448 else
34452 ac_ext=cc
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34458 cat >conftest.$ac_ext <<_ACEOF
34459 /* confdefs.h. */
34460 _ACEOF
34461 cat confdefs.h >>conftest.$ac_ext
34462 cat >>conftest.$ac_ext <<_ACEOF
34463 /* end confdefs.h. */
34464 #include <math.h>
34465 #ifdef HAVE_IEEEFP_H
34466 #include <ieeefp.h>
34467 #endif
34470 main ()
34472 expf(0);
34474 return 0;
34476 _ACEOF
34477 rm -f conftest.$ac_objext
34478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34479 (eval $ac_compile) 2>conftest.er1
34480 ac_status=$?
34481 grep -v '^ *+' conftest.er1 >conftest.err
34482 rm -f conftest.er1
34483 cat conftest.err >&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); } &&
34486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34488 (eval $ac_try) 2>&5
34489 ac_status=$?
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); }; } &&
34492 { ac_try='test -s conftest.$ac_objext'
34493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34494 (eval $ac_try) 2>&5
34495 ac_status=$?
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); }; }; then
34498 glibcxx_cv_func_expf_use=yes
34499 else
34500 echo "$as_me: failed program was:" >&5
34501 sed 's/^/| /' conftest.$ac_ext >&5
34503 glibcxx_cv_func_expf_use=no
34505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34506 ac_ext=c
34507 ac_cpp='$CPP $CPPFLAGS'
34508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34517 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34519 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34521 for ac_func in expf
34523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34524 echo "$as_me:$LINENO: checking for $ac_func" >&5
34525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34526 if eval "test \"\${$as_ac_var+set}\" = set"; then
34527 echo $ECHO_N "(cached) $ECHO_C" >&6
34528 else
34529 if test x$gcc_no_link = xyes; then
34530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34532 { (exit 1); exit 1; }; }
34534 cat >conftest.$ac_ext <<_ACEOF
34535 /* confdefs.h. */
34536 _ACEOF
34537 cat confdefs.h >>conftest.$ac_ext
34538 cat >>conftest.$ac_ext <<_ACEOF
34539 /* end confdefs.h. */
34540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34542 #define $ac_func innocuous_$ac_func
34544 /* System header to define __stub macros and hopefully few prototypes,
34545 which can conflict with char $ac_func (); below.
34546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34547 <limits.h> exists even on freestanding compilers. */
34549 #ifdef __STDC__
34550 # include <limits.h>
34551 #else
34552 # include <assert.h>
34553 #endif
34555 #undef $ac_func
34557 /* Override any gcc2 internal prototype to avoid an error. */
34558 #ifdef __cplusplus
34559 extern "C"
34561 #endif
34562 /* We use char because int might match the return type of a gcc2
34563 builtin and then its argument prototype would still apply. */
34564 char $ac_func ();
34565 /* The GNU C library defines this for functions which it implements
34566 to always fail with ENOSYS. Some functions are actually named
34567 something starting with __ and the normal name is an alias. */
34568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34569 choke me
34570 #else
34571 char (*f) () = $ac_func;
34572 #endif
34573 #ifdef __cplusplus
34575 #endif
34578 main ()
34580 return f != $ac_func;
34582 return 0;
34584 _ACEOF
34585 rm -f conftest.$ac_objext conftest$ac_exeext
34586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34587 (eval $ac_link) 2>conftest.er1
34588 ac_status=$?
34589 grep -v '^ *+' conftest.er1 >conftest.err
34590 rm -f conftest.er1
34591 cat conftest.err >&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); } &&
34594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34597 ac_status=$?
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; } &&
34600 { ac_try='test -s conftest$ac_exeext'
34601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34602 (eval $ac_try) 2>&5
34603 ac_status=$?
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); }; }; then
34606 eval "$as_ac_var=yes"
34607 else
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.$ac_ext >&5
34611 eval "$as_ac_var=no"
34613 rm -f conftest.err conftest.$ac_objext \
34614 conftest$ac_exeext conftest.$ac_ext
34616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34618 if test `eval echo '${'$as_ac_var'}'` = yes; then
34619 cat >>confdefs.h <<_ACEOF
34620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34621 _ACEOF
34624 done
34626 else
34628 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34629 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34630 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34631 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34632 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 else
34637 ac_ext=cc
34638 ac_cpp='$CXXCPP $CPPFLAGS'
34639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34643 cat >conftest.$ac_ext <<_ACEOF
34644 /* confdefs.h. */
34645 _ACEOF
34646 cat confdefs.h >>conftest.$ac_ext
34647 cat >>conftest.$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34649 #include <math.h>
34650 #ifdef HAVE_IEEEFP_H
34651 #include <ieeefp.h>
34652 #endif
34655 main ()
34657 _expf(0);
34659 return 0;
34661 _ACEOF
34662 rm -f conftest.$ac_objext
34663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34664 (eval $ac_compile) 2>conftest.er1
34665 ac_status=$?
34666 grep -v '^ *+' conftest.er1 >conftest.err
34667 rm -f conftest.er1
34668 cat conftest.err >&5
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); } &&
34671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34673 (eval $ac_try) 2>&5
34674 ac_status=$?
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); }; } &&
34677 { ac_try='test -s conftest.$ac_objext'
34678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34679 (eval $ac_try) 2>&5
34680 ac_status=$?
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); }; }; then
34683 glibcxx_cv_func__expf_use=yes
34684 else
34685 echo "$as_me: failed program was:" >&5
34686 sed 's/^/| /' conftest.$ac_ext >&5
34688 glibcxx_cv_func__expf_use=no
34690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34691 ac_ext=c
34692 ac_cpp='$CPP $CPPFLAGS'
34693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34701 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
34702 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
34704 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34706 for ac_func in _expf
34708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34709 echo "$as_me:$LINENO: checking for $ac_func" >&5
34710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34711 if eval "test \"\${$as_ac_var+set}\" = set"; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34713 else
34714 if test x$gcc_no_link = xyes; then
34715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34717 { (exit 1); exit 1; }; }
34719 cat >conftest.$ac_ext <<_ACEOF
34720 /* confdefs.h. */
34721 _ACEOF
34722 cat confdefs.h >>conftest.$ac_ext
34723 cat >>conftest.$ac_ext <<_ACEOF
34724 /* end confdefs.h. */
34725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34727 #define $ac_func innocuous_$ac_func
34729 /* System header to define __stub macros and hopefully few prototypes,
34730 which can conflict with char $ac_func (); below.
34731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34732 <limits.h> exists even on freestanding compilers. */
34734 #ifdef __STDC__
34735 # include <limits.h>
34736 #else
34737 # include <assert.h>
34738 #endif
34740 #undef $ac_func
34742 /* Override any gcc2 internal prototype to avoid an error. */
34743 #ifdef __cplusplus
34744 extern "C"
34746 #endif
34747 /* We use char because int might match the return type of a gcc2
34748 builtin and then its argument prototype would still apply. */
34749 char $ac_func ();
34750 /* The GNU C library defines this for functions which it implements
34751 to always fail with ENOSYS. Some functions are actually named
34752 something starting with __ and the normal name is an alias. */
34753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34754 choke me
34755 #else
34756 char (*f) () = $ac_func;
34757 #endif
34758 #ifdef __cplusplus
34760 #endif
34763 main ()
34765 return f != $ac_func;
34767 return 0;
34769 _ACEOF
34770 rm -f conftest.$ac_objext conftest$ac_exeext
34771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34772 (eval $ac_link) 2>conftest.er1
34773 ac_status=$?
34774 grep -v '^ *+' conftest.er1 >conftest.err
34775 rm -f conftest.er1
34776 cat conftest.err >&5
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); } &&
34779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34782 ac_status=$?
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; } &&
34785 { ac_try='test -s conftest$ac_exeext'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34788 ac_status=$?
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; }; then
34791 eval "$as_ac_var=yes"
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34796 eval "$as_ac_var=no"
34798 rm -f conftest.err conftest.$ac_objext \
34799 conftest$ac_exeext conftest.$ac_ext
34801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34803 if test `eval echo '${'$as_ac_var'}'` = yes; then
34804 cat >>confdefs.h <<_ACEOF
34805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34806 _ACEOF
34809 done
34816 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
34817 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
34818 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34819 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34821 else
34825 ac_ext=cc
34826 ac_cpp='$CXXCPP $CPPFLAGS'
34827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34831 cat >conftest.$ac_ext <<_ACEOF
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837 #include <math.h>
34838 #ifdef HAVE_IEEEFP_H
34839 #include <ieeefp.h>
34840 #endif
34843 main ()
34845 isnanf(0);
34847 return 0;
34849 _ACEOF
34850 rm -f conftest.$ac_objext
34851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34852 (eval $ac_compile) 2>conftest.er1
34853 ac_status=$?
34854 grep -v '^ *+' conftest.er1 >conftest.err
34855 rm -f conftest.er1
34856 cat conftest.err >&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } &&
34859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34862 ac_status=$?
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; } &&
34865 { ac_try='test -s conftest.$ac_objext'
34866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34867 (eval $ac_try) 2>&5
34868 ac_status=$?
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); }; }; then
34871 glibcxx_cv_func_isnanf_use=yes
34872 else
34873 echo "$as_me: failed program was:" >&5
34874 sed 's/^/| /' conftest.$ac_ext >&5
34876 glibcxx_cv_func_isnanf_use=no
34878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34879 ac_ext=c
34880 ac_cpp='$CPP $CPPFLAGS'
34881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
34890 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
34892 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34894 for ac_func in isnanf
34896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34897 echo "$as_me:$LINENO: checking for $ac_func" >&5
34898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34899 if eval "test \"\${$as_ac_var+set}\" = set"; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 else
34902 if test x$gcc_no_link = xyes; then
34903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34905 { (exit 1); exit 1; }; }
34907 cat >conftest.$ac_ext <<_ACEOF
34908 /* confdefs.h. */
34909 _ACEOF
34910 cat confdefs.h >>conftest.$ac_ext
34911 cat >>conftest.$ac_ext <<_ACEOF
34912 /* end confdefs.h. */
34913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34915 #define $ac_func innocuous_$ac_func
34917 /* System header to define __stub macros and hopefully few prototypes,
34918 which can conflict with char $ac_func (); below.
34919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34920 <limits.h> exists even on freestanding compilers. */
34922 #ifdef __STDC__
34923 # include <limits.h>
34924 #else
34925 # include <assert.h>
34926 #endif
34928 #undef $ac_func
34930 /* Override any gcc2 internal prototype to avoid an error. */
34931 #ifdef __cplusplus
34932 extern "C"
34934 #endif
34935 /* We use char because int might match the return type of a gcc2
34936 builtin and then its argument prototype would still apply. */
34937 char $ac_func ();
34938 /* The GNU C library defines this for functions which it implements
34939 to always fail with ENOSYS. Some functions are actually named
34940 something starting with __ and the normal name is an alias. */
34941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34942 choke me
34943 #else
34944 char (*f) () = $ac_func;
34945 #endif
34946 #ifdef __cplusplus
34948 #endif
34951 main ()
34953 return f != $ac_func;
34955 return 0;
34957 _ACEOF
34958 rm -f conftest.$ac_objext conftest$ac_exeext
34959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34960 (eval $ac_link) 2>conftest.er1
34961 ac_status=$?
34962 grep -v '^ *+' conftest.er1 >conftest.err
34963 rm -f conftest.er1
34964 cat conftest.err >&5
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); } &&
34967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34973 { ac_try='test -s conftest$ac_exeext'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34976 ac_status=$?
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; }; then
34979 eval "$as_ac_var=yes"
34980 else
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.$ac_ext >&5
34984 eval "$as_ac_var=no"
34986 rm -f conftest.err conftest.$ac_objext \
34987 conftest$ac_exeext conftest.$ac_ext
34989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34991 if test `eval echo '${'$as_ac_var'}'` = yes; then
34992 cat >>confdefs.h <<_ACEOF
34993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34994 _ACEOF
34997 done
34999 else
35001 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35002 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35003 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35004 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35005 echo $ECHO_N "(cached) $ECHO_C" >&6
35006 else
35010 ac_ext=cc
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35016 cat >conftest.$ac_ext <<_ACEOF
35017 /* confdefs.h. */
35018 _ACEOF
35019 cat confdefs.h >>conftest.$ac_ext
35020 cat >>conftest.$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35022 #include <math.h>
35023 #ifdef HAVE_IEEEFP_H
35024 #include <ieeefp.h>
35025 #endif
35028 main ()
35030 _isnanf(0);
35032 return 0;
35034 _ACEOF
35035 rm -f conftest.$ac_objext
35036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35037 (eval $ac_compile) 2>conftest.er1
35038 ac_status=$?
35039 grep -v '^ *+' conftest.er1 >conftest.err
35040 rm -f conftest.er1
35041 cat conftest.err >&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); } &&
35044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35047 ac_status=$?
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; } &&
35050 { ac_try='test -s conftest.$ac_objext'
35051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052 (eval $ac_try) 2>&5
35053 ac_status=$?
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); }; }; then
35056 glibcxx_cv_func__isnanf_use=yes
35057 else
35058 echo "$as_me: failed program was:" >&5
35059 sed 's/^/| /' conftest.$ac_ext >&5
35061 glibcxx_cv_func__isnanf_use=no
35063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35064 ac_ext=c
35065 ac_cpp='$CPP $CPPFLAGS'
35066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35075 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35077 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35079 for ac_func in _isnanf
35081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35082 echo "$as_me:$LINENO: checking for $ac_func" >&5
35083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35084 if eval "test \"\${$as_ac_var+set}\" = set"; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087 if test x$gcc_no_link = xyes; then
35088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35090 { (exit 1); exit 1; }; }
35092 cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h. */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h. */
35098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35100 #define $ac_func innocuous_$ac_func
35102 /* System header to define __stub macros and hopefully few prototypes,
35103 which can conflict with char $ac_func (); below.
35104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35105 <limits.h> exists even on freestanding compilers. */
35107 #ifdef __STDC__
35108 # include <limits.h>
35109 #else
35110 # include <assert.h>
35111 #endif
35113 #undef $ac_func
35115 /* Override any gcc2 internal prototype to avoid an error. */
35116 #ifdef __cplusplus
35117 extern "C"
35119 #endif
35120 /* We use char because int might match the return type of a gcc2
35121 builtin and then its argument prototype would still apply. */
35122 char $ac_func ();
35123 /* The GNU C library defines this for functions which it implements
35124 to always fail with ENOSYS. Some functions are actually named
35125 something starting with __ and the normal name is an alias. */
35126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35127 choke me
35128 #else
35129 char (*f) () = $ac_func;
35130 #endif
35131 #ifdef __cplusplus
35133 #endif
35136 main ()
35138 return f != $ac_func;
35140 return 0;
35142 _ACEOF
35143 rm -f conftest.$ac_objext conftest$ac_exeext
35144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35145 (eval $ac_link) 2>conftest.er1
35146 ac_status=$?
35147 grep -v '^ *+' conftest.er1 >conftest.err
35148 rm -f conftest.er1
35149 cat conftest.err >&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); } &&
35152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35155 ac_status=$?
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; } &&
35158 { ac_try='test -s conftest$ac_exeext'
35159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35160 (eval $ac_try) 2>&5
35161 ac_status=$?
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); }; }; then
35164 eval "$as_ac_var=yes"
35165 else
35166 echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.$ac_ext >&5
35169 eval "$as_ac_var=no"
35171 rm -f conftest.err conftest.$ac_objext \
35172 conftest$ac_exeext conftest.$ac_ext
35174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35176 if test `eval echo '${'$as_ac_var'}'` = yes; then
35177 cat >>confdefs.h <<_ACEOF
35178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35179 _ACEOF
35182 done
35189 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35190 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35191 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35192 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35193 echo $ECHO_N "(cached) $ECHO_C" >&6
35194 else
35198 ac_ext=cc
35199 ac_cpp='$CXXCPP $CPPFLAGS'
35200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35204 cat >conftest.$ac_ext <<_ACEOF
35205 /* confdefs.h. */
35206 _ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 #include <math.h>
35211 #ifdef HAVE_IEEEFP_H
35212 #include <ieeefp.h>
35213 #endif
35216 main ()
35218 isinff(0);
35220 return 0;
35222 _ACEOF
35223 rm -f conftest.$ac_objext
35224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35225 (eval $ac_compile) 2>conftest.er1
35226 ac_status=$?
35227 grep -v '^ *+' conftest.er1 >conftest.err
35228 rm -f conftest.er1
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } &&
35232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35234 (eval $ac_try) 2>&5
35235 ac_status=$?
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); }; } &&
35238 { ac_try='test -s conftest.$ac_objext'
35239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35240 (eval $ac_try) 2>&5
35241 ac_status=$?
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); }; }; then
35244 glibcxx_cv_func_isinff_use=yes
35245 else
35246 echo "$as_me: failed program was:" >&5
35247 sed 's/^/| /' conftest.$ac_ext >&5
35249 glibcxx_cv_func_isinff_use=no
35251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35252 ac_ext=c
35253 ac_cpp='$CPP $CPPFLAGS'
35254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35263 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35265 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35267 for ac_func in isinff
35269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35270 echo "$as_me:$LINENO: checking for $ac_func" >&5
35271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35272 if eval "test \"\${$as_ac_var+set}\" = set"; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275 if test x$gcc_no_link = xyes; then
35276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35278 { (exit 1); exit 1; }; }
35280 cat >conftest.$ac_ext <<_ACEOF
35281 /* confdefs.h. */
35282 _ACEOF
35283 cat confdefs.h >>conftest.$ac_ext
35284 cat >>conftest.$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35288 #define $ac_func innocuous_$ac_func
35290 /* System header to define __stub macros and hopefully few prototypes,
35291 which can conflict with char $ac_func (); below.
35292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35293 <limits.h> exists even on freestanding compilers. */
35295 #ifdef __STDC__
35296 # include <limits.h>
35297 #else
35298 # include <assert.h>
35299 #endif
35301 #undef $ac_func
35303 /* Override any gcc2 internal prototype to avoid an error. */
35304 #ifdef __cplusplus
35305 extern "C"
35307 #endif
35308 /* We use char because int might match the return type of a gcc2
35309 builtin and then its argument prototype would still apply. */
35310 char $ac_func ();
35311 /* The GNU C library defines this for functions which it implements
35312 to always fail with ENOSYS. Some functions are actually named
35313 something starting with __ and the normal name is an alias. */
35314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35315 choke me
35316 #else
35317 char (*f) () = $ac_func;
35318 #endif
35319 #ifdef __cplusplus
35321 #endif
35324 main ()
35326 return f != $ac_func;
35328 return 0;
35330 _ACEOF
35331 rm -f conftest.$ac_objext conftest$ac_exeext
35332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35333 (eval $ac_link) 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_c_werror_flag" || test ! -s conftest.err'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35343 ac_status=$?
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; } &&
35346 { ac_try='test -s conftest$ac_exeext'
35347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348 (eval $ac_try) 2>&5
35349 ac_status=$?
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); }; }; then
35352 eval "$as_ac_var=yes"
35353 else
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.$ac_ext >&5
35357 eval "$as_ac_var=no"
35359 rm -f conftest.err conftest.$ac_objext \
35360 conftest$ac_exeext conftest.$ac_ext
35362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35364 if test `eval echo '${'$as_ac_var'}'` = yes; then
35365 cat >>confdefs.h <<_ACEOF
35366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35367 _ACEOF
35370 done
35372 else
35374 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35375 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35376 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35377 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35378 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 else
35383 ac_ext=cc
35384 ac_cpp='$CXXCPP $CPPFLAGS'
35385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
35396 #ifdef HAVE_IEEEFP_H
35397 #include <ieeefp.h>
35398 #endif
35401 main ()
35403 _isinff(0);
35405 return 0;
35407 _ACEOF
35408 rm -f conftest.$ac_objext
35409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35410 (eval $ac_compile) 2>conftest.er1
35411 ac_status=$?
35412 grep -v '^ *+' conftest.er1 >conftest.err
35413 rm -f conftest.er1
35414 cat conftest.err >&5
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); } &&
35417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419 (eval $ac_try) 2>&5
35420 ac_status=$?
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); }; } &&
35423 { ac_try='test -s conftest.$ac_objext'
35424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35425 (eval $ac_try) 2>&5
35426 ac_status=$?
35427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35428 (exit $ac_status); }; }; then
35429 glibcxx_cv_func__isinff_use=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35434 glibcxx_cv_func__isinff_use=no
35436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35437 ac_ext=c
35438 ac_cpp='$CPP $CPPFLAGS'
35439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35448 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35450 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35452 for ac_func in _isinff
35454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35455 echo "$as_me:$LINENO: checking for $ac_func" >&5
35456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35457 if eval "test \"\${$as_ac_var+set}\" = set"; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35460 if test x$gcc_no_link = xyes; then
35461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35463 { (exit 1); exit 1; }; }
35465 cat >conftest.$ac_ext <<_ACEOF
35466 /* confdefs.h. */
35467 _ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35473 #define $ac_func innocuous_$ac_func
35475 /* System header to define __stub macros and hopefully few prototypes,
35476 which can conflict with char $ac_func (); below.
35477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35478 <limits.h> exists even on freestanding compilers. */
35480 #ifdef __STDC__
35481 # include <limits.h>
35482 #else
35483 # include <assert.h>
35484 #endif
35486 #undef $ac_func
35488 /* Override any gcc2 internal prototype to avoid an error. */
35489 #ifdef __cplusplus
35490 extern "C"
35492 #endif
35493 /* We use char because int might match the return type of a gcc2
35494 builtin and then its argument prototype would still apply. */
35495 char $ac_func ();
35496 /* The GNU C library defines this for functions which it implements
35497 to always fail with ENOSYS. Some functions are actually named
35498 something starting with __ and the normal name is an alias. */
35499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35500 choke me
35501 #else
35502 char (*f) () = $ac_func;
35503 #endif
35504 #ifdef __cplusplus
35506 #endif
35509 main ()
35511 return f != $ac_func;
35513 return 0;
35515 _ACEOF
35516 rm -f conftest.$ac_objext conftest$ac_exeext
35517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35518 (eval $ac_link) 2>conftest.er1
35519 ac_status=$?
35520 grep -v '^ *+' conftest.er1 >conftest.err
35521 rm -f conftest.er1
35522 cat conftest.err >&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); } &&
35525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35527 (eval $ac_try) 2>&5
35528 ac_status=$?
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); }; } &&
35531 { ac_try='test -s conftest$ac_exeext'
35532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35533 (eval $ac_try) 2>&5
35534 ac_status=$?
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); }; }; then
35537 eval "$as_ac_var=yes"
35538 else
35539 echo "$as_me: failed program was:" >&5
35540 sed 's/^/| /' conftest.$ac_ext >&5
35542 eval "$as_ac_var=no"
35544 rm -f conftest.err conftest.$ac_objext \
35545 conftest$ac_exeext conftest.$ac_ext
35547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35549 if test `eval echo '${'$as_ac_var'}'` = yes; then
35550 cat >>confdefs.h <<_ACEOF
35551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35552 _ACEOF
35555 done
35562 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35563 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35564 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35565 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35566 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 else
35571 ac_ext=cc
35572 ac_cpp='$CXXCPP $CPPFLAGS'
35573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35577 cat >conftest.$ac_ext <<_ACEOF
35578 /* confdefs.h. */
35579 _ACEOF
35580 cat confdefs.h >>conftest.$ac_ext
35581 cat >>conftest.$ac_ext <<_ACEOF
35582 /* end confdefs.h. */
35583 #include <math.h>
35585 main ()
35587 atan2f(0, 0);
35589 return 0;
35591 _ACEOF
35592 rm -f conftest.$ac_objext
35593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35594 (eval $ac_compile) 2>conftest.er1
35595 ac_status=$?
35596 grep -v '^ *+' conftest.er1 >conftest.err
35597 rm -f conftest.er1
35598 cat conftest.err >&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } &&
35601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; } &&
35607 { ac_try='test -s conftest.$ac_objext'
35608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35609 (eval $ac_try) 2>&5
35610 ac_status=$?
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); }; }; then
35613 glibcxx_cv_func_atan2f_use=yes
35614 else
35615 echo "$as_me: failed program was:" >&5
35616 sed 's/^/| /' conftest.$ac_ext >&5
35618 glibcxx_cv_func_atan2f_use=no
35620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35621 ac_ext=c
35622 ac_cpp='$CPP $CPPFLAGS'
35623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35631 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35632 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35634 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35636 for ac_func in atan2f
35638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35639 echo "$as_me:$LINENO: checking for $ac_func" >&5
35640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35641 if eval "test \"\${$as_ac_var+set}\" = set"; then
35642 echo $ECHO_N "(cached) $ECHO_C" >&6
35643 else
35644 if test x$gcc_no_link = xyes; then
35645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35647 { (exit 1); exit 1; }; }
35649 cat >conftest.$ac_ext <<_ACEOF
35650 /* confdefs.h. */
35651 _ACEOF
35652 cat confdefs.h >>conftest.$ac_ext
35653 cat >>conftest.$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35657 #define $ac_func innocuous_$ac_func
35659 /* System header to define __stub macros and hopefully few prototypes,
35660 which can conflict with char $ac_func (); below.
35661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35662 <limits.h> exists even on freestanding compilers. */
35664 #ifdef __STDC__
35665 # include <limits.h>
35666 #else
35667 # include <assert.h>
35668 #endif
35670 #undef $ac_func
35672 /* Override any gcc2 internal prototype to avoid an error. */
35673 #ifdef __cplusplus
35674 extern "C"
35676 #endif
35677 /* We use char because int might match the return type of a gcc2
35678 builtin and then its argument prototype would still apply. */
35679 char $ac_func ();
35680 /* The GNU C library defines this for functions which it implements
35681 to always fail with ENOSYS. Some functions are actually named
35682 something starting with __ and the normal name is an alias. */
35683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35684 choke me
35685 #else
35686 char (*f) () = $ac_func;
35687 #endif
35688 #ifdef __cplusplus
35690 #endif
35693 main ()
35695 return f != $ac_func;
35697 return 0;
35699 _ACEOF
35700 rm -f conftest.$ac_objext conftest$ac_exeext
35701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35702 (eval $ac_link) 2>conftest.er1
35703 ac_status=$?
35704 grep -v '^ *+' conftest.er1 >conftest.err
35705 rm -f conftest.er1
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } &&
35709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; } &&
35715 { ac_try='test -s conftest$ac_exeext'
35716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35717 (eval $ac_try) 2>&5
35718 ac_status=$?
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); }; }; then
35721 eval "$as_ac_var=yes"
35722 else
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35726 eval "$as_ac_var=no"
35728 rm -f conftest.err conftest.$ac_objext \
35729 conftest$ac_exeext conftest.$ac_ext
35731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35733 if test `eval echo '${'$as_ac_var'}'` = yes; then
35734 cat >>confdefs.h <<_ACEOF
35735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35736 _ACEOF
35739 done
35741 else
35743 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
35744 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
35745 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35746 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
35747 echo $ECHO_N "(cached) $ECHO_C" >&6
35748 else
35752 ac_ext=cc
35753 ac_cpp='$CXXCPP $CPPFLAGS'
35754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35758 cat >conftest.$ac_ext <<_ACEOF
35759 /* confdefs.h. */
35760 _ACEOF
35761 cat confdefs.h >>conftest.$ac_ext
35762 cat >>conftest.$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764 #include <math.h>
35766 main ()
35768 _atan2f(0, 0);
35770 return 0;
35772 _ACEOF
35773 rm -f conftest.$ac_objext
35774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35775 (eval $ac_compile) 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } &&
35782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try='test -s conftest.$ac_objext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794 glibcxx_cv_func__atan2f_use=yes
35795 else
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.$ac_ext >&5
35799 glibcxx_cv_func__atan2f_use=no
35801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35802 ac_ext=c
35803 ac_cpp='$CPP $CPPFLAGS'
35804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
35813 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
35815 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35817 for ac_func in _atan2f
35819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35820 echo "$as_me:$LINENO: checking for $ac_func" >&5
35821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35822 if eval "test \"\${$as_ac_var+set}\" = set"; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35824 else
35825 if test x$gcc_no_link = xyes; then
35826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35828 { (exit 1); exit 1; }; }
35830 cat >conftest.$ac_ext <<_ACEOF
35831 /* confdefs.h. */
35832 _ACEOF
35833 cat confdefs.h >>conftest.$ac_ext
35834 cat >>conftest.$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35838 #define $ac_func innocuous_$ac_func
35840 /* System header to define __stub macros and hopefully few prototypes,
35841 which can conflict with char $ac_func (); below.
35842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35843 <limits.h> exists even on freestanding compilers. */
35845 #ifdef __STDC__
35846 # include <limits.h>
35847 #else
35848 # include <assert.h>
35849 #endif
35851 #undef $ac_func
35853 /* Override any gcc2 internal prototype to avoid an error. */
35854 #ifdef __cplusplus
35855 extern "C"
35857 #endif
35858 /* We use char because int might match the return type of a gcc2
35859 builtin and then its argument prototype would still apply. */
35860 char $ac_func ();
35861 /* The GNU C library defines this for functions which it implements
35862 to always fail with ENOSYS. Some functions are actually named
35863 something starting with __ and the normal name is an alias. */
35864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35865 choke me
35866 #else
35867 char (*f) () = $ac_func;
35868 #endif
35869 #ifdef __cplusplus
35871 #endif
35874 main ()
35876 return f != $ac_func;
35878 return 0;
35880 _ACEOF
35881 rm -f conftest.$ac_objext conftest$ac_exeext
35882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35883 (eval $ac_link) 2>conftest.er1
35884 ac_status=$?
35885 grep -v '^ *+' conftest.er1 >conftest.err
35886 rm -f conftest.er1
35887 cat conftest.err >&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } &&
35890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35893 ac_status=$?
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; } &&
35896 { ac_try='test -s conftest$ac_exeext'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35899 ac_status=$?
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; }; then
35902 eval "$as_ac_var=yes"
35903 else
35904 echo "$as_me: failed program was:" >&5
35905 sed 's/^/| /' conftest.$ac_ext >&5
35907 eval "$as_ac_var=no"
35909 rm -f conftest.err conftest.$ac_objext \
35910 conftest$ac_exeext conftest.$ac_ext
35912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35914 if test `eval echo '${'$as_ac_var'}'` = yes; then
35915 cat >>confdefs.h <<_ACEOF
35916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35917 _ACEOF
35920 done
35927 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
35928 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
35929 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35930 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35932 else
35936 ac_ext=cc
35937 ac_cpp='$CXXCPP $CPPFLAGS'
35938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35942 cat >conftest.$ac_ext <<_ACEOF
35943 /* confdefs.h. */
35944 _ACEOF
35945 cat confdefs.h >>conftest.$ac_ext
35946 cat >>conftest.$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35948 #include <math.h>
35949 #ifdef HAVE_IEEEFP_H
35950 #include <ieeefp.h>
35951 #endif
35954 main ()
35956 fabsf(0);
35958 return 0;
35960 _ACEOF
35961 rm -f conftest.$ac_objext
35962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35963 (eval $ac_compile) 2>conftest.er1
35964 ac_status=$?
35965 grep -v '^ *+' conftest.er1 >conftest.err
35966 rm -f conftest.er1
35967 cat conftest.err >&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); } &&
35970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35973 ac_status=$?
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; } &&
35976 { ac_try='test -s conftest.$ac_objext'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35979 ac_status=$?
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; }; then
35982 glibcxx_cv_func_fabsf_use=yes
35983 else
35984 echo "$as_me: failed program was:" >&5
35985 sed 's/^/| /' conftest.$ac_ext >&5
35987 glibcxx_cv_func_fabsf_use=no
35989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36001 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36003 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36005 for ac_func in fabsf
36007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36008 echo "$as_me:$LINENO: checking for $ac_func" >&5
36009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36010 if eval "test \"\${$as_ac_var+set}\" = set"; then
36011 echo $ECHO_N "(cached) $ECHO_C" >&6
36012 else
36013 if test x$gcc_no_link = xyes; then
36014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36016 { (exit 1); exit 1; }; }
36018 cat >conftest.$ac_ext <<_ACEOF
36019 /* confdefs.h. */
36020 _ACEOF
36021 cat confdefs.h >>conftest.$ac_ext
36022 cat >>conftest.$ac_ext <<_ACEOF
36023 /* end confdefs.h. */
36024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36026 #define $ac_func innocuous_$ac_func
36028 /* System header to define __stub macros and hopefully few prototypes,
36029 which can conflict with char $ac_func (); below.
36030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36031 <limits.h> exists even on freestanding compilers. */
36033 #ifdef __STDC__
36034 # include <limits.h>
36035 #else
36036 # include <assert.h>
36037 #endif
36039 #undef $ac_func
36041 /* Override any gcc2 internal prototype to avoid an error. */
36042 #ifdef __cplusplus
36043 extern "C"
36045 #endif
36046 /* We use char because int might match the return type of a gcc2
36047 builtin and then its argument prototype would still apply. */
36048 char $ac_func ();
36049 /* The GNU C library defines this for functions which it implements
36050 to always fail with ENOSYS. Some functions are actually named
36051 something starting with __ and the normal name is an alias. */
36052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36053 choke me
36054 #else
36055 char (*f) () = $ac_func;
36056 #endif
36057 #ifdef __cplusplus
36059 #endif
36062 main ()
36064 return f != $ac_func;
36066 return 0;
36068 _ACEOF
36069 rm -f conftest.$ac_objext conftest$ac_exeext
36070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36071 (eval $ac_link) 2>conftest.er1
36072 ac_status=$?
36073 grep -v '^ *+' conftest.er1 >conftest.err
36074 rm -f conftest.er1
36075 cat conftest.err >&5
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); } &&
36078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36081 ac_status=$?
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; } &&
36084 { ac_try='test -s conftest$ac_exeext'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36087 ac_status=$?
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; }; then
36090 eval "$as_ac_var=yes"
36091 else
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.$ac_ext >&5
36095 eval "$as_ac_var=no"
36097 rm -f conftest.err conftest.$ac_objext \
36098 conftest$ac_exeext conftest.$ac_ext
36100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36102 if test `eval echo '${'$as_ac_var'}'` = yes; then
36103 cat >>confdefs.h <<_ACEOF
36104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36105 _ACEOF
36108 done
36110 else
36112 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36113 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36114 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36115 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36116 echo $ECHO_N "(cached) $ECHO_C" >&6
36117 else
36121 ac_ext=cc
36122 ac_cpp='$CXXCPP $CPPFLAGS'
36123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36127 cat >conftest.$ac_ext <<_ACEOF
36128 /* confdefs.h. */
36129 _ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133 #include <math.h>
36134 #ifdef HAVE_IEEEFP_H
36135 #include <ieeefp.h>
36136 #endif
36139 main ()
36141 _fabsf(0);
36143 return 0;
36145 _ACEOF
36146 rm -f conftest.$ac_objext
36147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36148 (eval $ac_compile) 2>conftest.er1
36149 ac_status=$?
36150 grep -v '^ *+' conftest.er1 >conftest.err
36151 rm -f conftest.er1
36152 cat conftest.err >&5
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); } &&
36155 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157 (eval $ac_try) 2>&5
36158 ac_status=$?
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); }; } &&
36161 { ac_try='test -s conftest.$ac_objext'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; }; then
36167 glibcxx_cv_func__fabsf_use=yes
36168 else
36169 echo "$as_me: failed program was:" >&5
36170 sed 's/^/| /' conftest.$ac_ext >&5
36172 glibcxx_cv_func__fabsf_use=no
36174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36175 ac_ext=c
36176 ac_cpp='$CPP $CPPFLAGS'
36177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36186 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36188 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36190 for ac_func in _fabsf
36192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36193 echo "$as_me:$LINENO: checking for $ac_func" >&5
36194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36195 if eval "test \"\${$as_ac_var+set}\" = set"; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 else
36198 if test x$gcc_no_link = xyes; then
36199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36201 { (exit 1); exit 1; }; }
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36211 #define $ac_func innocuous_$ac_func
36213 /* System header to define __stub macros and hopefully few prototypes,
36214 which can conflict with char $ac_func (); below.
36215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36216 <limits.h> exists even on freestanding compilers. */
36218 #ifdef __STDC__
36219 # include <limits.h>
36220 #else
36221 # include <assert.h>
36222 #endif
36224 #undef $ac_func
36226 /* Override any gcc2 internal prototype to avoid an error. */
36227 #ifdef __cplusplus
36228 extern "C"
36230 #endif
36231 /* We use char because int might match the return type of a gcc2
36232 builtin and then its argument prototype would still apply. */
36233 char $ac_func ();
36234 /* The GNU C library defines this for functions which it implements
36235 to always fail with ENOSYS. Some functions are actually named
36236 something starting with __ and the normal name is an alias. */
36237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36238 choke me
36239 #else
36240 char (*f) () = $ac_func;
36241 #endif
36242 #ifdef __cplusplus
36244 #endif
36247 main ()
36249 return f != $ac_func;
36251 return 0;
36253 _ACEOF
36254 rm -f conftest.$ac_objext conftest$ac_exeext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36256 (eval $ac_link) 2>conftest.er1
36257 ac_status=$?
36258 grep -v '^ *+' conftest.er1 >conftest.err
36259 rm -f conftest.er1
36260 cat conftest.err >&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); } &&
36263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try='test -s conftest$ac_exeext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36272 ac_status=$?
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 eval "$as_ac_var=yes"
36276 else
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36280 eval "$as_ac_var=no"
36282 rm -f conftest.err conftest.$ac_objext \
36283 conftest$ac_exeext conftest.$ac_ext
36285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36287 if test `eval echo '${'$as_ac_var'}'` = yes; then
36288 cat >>confdefs.h <<_ACEOF
36289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36290 _ACEOF
36293 done
36300 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36301 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36302 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36303 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36304 echo $ECHO_N "(cached) $ECHO_C" >&6
36305 else
36309 ac_ext=cc
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36315 cat >conftest.$ac_ext <<_ACEOF
36316 /* confdefs.h. */
36317 _ACEOF
36318 cat confdefs.h >>conftest.$ac_ext
36319 cat >>conftest.$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36321 #include <math.h>
36323 main ()
36325 fmodf(0, 0);
36327 return 0;
36329 _ACEOF
36330 rm -f conftest.$ac_objext
36331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36332 (eval $ac_compile) 2>conftest.er1
36333 ac_status=$?
36334 grep -v '^ *+' conftest.er1 >conftest.err
36335 rm -f conftest.er1
36336 cat conftest.err >&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); } &&
36339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341 (eval $ac_try) 2>&5
36342 ac_status=$?
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; } &&
36345 { ac_try='test -s conftest.$ac_objext'
36346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36347 (eval $ac_try) 2>&5
36348 ac_status=$?
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); }; }; then
36351 glibcxx_cv_func_fmodf_use=yes
36352 else
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.$ac_ext >&5
36356 glibcxx_cv_func_fmodf_use=no
36358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36359 ac_ext=c
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36370 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36372 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36374 for ac_func in fmodf
36376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36377 echo "$as_me:$LINENO: checking for $ac_func" >&5
36378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36379 if eval "test \"\${$as_ac_var+set}\" = set"; then
36380 echo $ECHO_N "(cached) $ECHO_C" >&6
36381 else
36382 if test x$gcc_no_link = xyes; then
36383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36385 { (exit 1); exit 1; }; }
36387 cat >conftest.$ac_ext <<_ACEOF
36388 /* confdefs.h. */
36389 _ACEOF
36390 cat confdefs.h >>conftest.$ac_ext
36391 cat >>conftest.$ac_ext <<_ACEOF
36392 /* end confdefs.h. */
36393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36395 #define $ac_func innocuous_$ac_func
36397 /* System header to define __stub macros and hopefully few prototypes,
36398 which can conflict with char $ac_func (); below.
36399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36400 <limits.h> exists even on freestanding compilers. */
36402 #ifdef __STDC__
36403 # include <limits.h>
36404 #else
36405 # include <assert.h>
36406 #endif
36408 #undef $ac_func
36410 /* Override any gcc2 internal prototype to avoid an error. */
36411 #ifdef __cplusplus
36412 extern "C"
36414 #endif
36415 /* We use char because int might match the return type of a gcc2
36416 builtin and then its argument prototype would still apply. */
36417 char $ac_func ();
36418 /* The GNU C library defines this for functions which it implements
36419 to always fail with ENOSYS. Some functions are actually named
36420 something starting with __ and the normal name is an alias. */
36421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36422 choke me
36423 #else
36424 char (*f) () = $ac_func;
36425 #endif
36426 #ifdef __cplusplus
36428 #endif
36431 main ()
36433 return f != $ac_func;
36435 return 0;
36437 _ACEOF
36438 rm -f conftest.$ac_objext conftest$ac_exeext
36439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36440 (eval $ac_link) 2>conftest.er1
36441 ac_status=$?
36442 grep -v '^ *+' conftest.er1 >conftest.err
36443 rm -f conftest.er1
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } &&
36447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; } &&
36453 { ac_try='test -s conftest$ac_exeext'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; }; then
36459 eval "$as_ac_var=yes"
36460 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36464 eval "$as_ac_var=no"
36466 rm -f conftest.err conftest.$ac_objext \
36467 conftest$ac_exeext conftest.$ac_ext
36469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36471 if test `eval echo '${'$as_ac_var'}'` = yes; then
36472 cat >>confdefs.h <<_ACEOF
36473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36474 _ACEOF
36477 done
36479 else
36481 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36482 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36483 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36484 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36485 echo $ECHO_N "(cached) $ECHO_C" >&6
36486 else
36490 ac_ext=cc
36491 ac_cpp='$CXXCPP $CPPFLAGS'
36492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36496 cat >conftest.$ac_ext <<_ACEOF
36497 /* confdefs.h. */
36498 _ACEOF
36499 cat confdefs.h >>conftest.$ac_ext
36500 cat >>conftest.$ac_ext <<_ACEOF
36501 /* end confdefs.h. */
36502 #include <math.h>
36504 main ()
36506 _fmodf(0, 0);
36508 return 0;
36510 _ACEOF
36511 rm -f conftest.$ac_objext
36512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36513 (eval $ac_compile) 2>conftest.er1
36514 ac_status=$?
36515 grep -v '^ *+' conftest.er1 >conftest.err
36516 rm -f conftest.er1
36517 cat conftest.err >&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } &&
36520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522 (eval $ac_try) 2>&5
36523 ac_status=$?
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; } &&
36526 { ac_try='test -s conftest.$ac_objext'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; }; then
36532 glibcxx_cv_func__fmodf_use=yes
36533 else
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36537 glibcxx_cv_func__fmodf_use=no
36539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36540 ac_ext=c
36541 ac_cpp='$CPP $CPPFLAGS'
36542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36551 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36553 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36555 for ac_func in _fmodf
36557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36558 echo "$as_me:$LINENO: checking for $ac_func" >&5
36559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36560 if eval "test \"\${$as_ac_var+set}\" = set"; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 else
36563 if test x$gcc_no_link = xyes; then
36564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36566 { (exit 1); exit 1; }; }
36568 cat >conftest.$ac_ext <<_ACEOF
36569 /* confdefs.h. */
36570 _ACEOF
36571 cat confdefs.h >>conftest.$ac_ext
36572 cat >>conftest.$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36576 #define $ac_func innocuous_$ac_func
36578 /* System header to define __stub macros and hopefully few prototypes,
36579 which can conflict with char $ac_func (); below.
36580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36581 <limits.h> exists even on freestanding compilers. */
36583 #ifdef __STDC__
36584 # include <limits.h>
36585 #else
36586 # include <assert.h>
36587 #endif
36589 #undef $ac_func
36591 /* Override any gcc2 internal prototype to avoid an error. */
36592 #ifdef __cplusplus
36593 extern "C"
36595 #endif
36596 /* We use char because int might match the return type of a gcc2
36597 builtin and then its argument prototype would still apply. */
36598 char $ac_func ();
36599 /* The GNU C library defines this for functions which it implements
36600 to always fail with ENOSYS. Some functions are actually named
36601 something starting with __ and the normal name is an alias. */
36602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36603 choke me
36604 #else
36605 char (*f) () = $ac_func;
36606 #endif
36607 #ifdef __cplusplus
36609 #endif
36612 main ()
36614 return f != $ac_func;
36616 return 0;
36618 _ACEOF
36619 rm -f conftest.$ac_objext conftest$ac_exeext
36620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36621 (eval $ac_link) 2>conftest.er1
36622 ac_status=$?
36623 grep -v '^ *+' conftest.er1 >conftest.err
36624 rm -f conftest.er1
36625 cat conftest.err >&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); } &&
36628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36630 (eval $ac_try) 2>&5
36631 ac_status=$?
36632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36633 (exit $ac_status); }; } &&
36634 { ac_try='test -s conftest$ac_exeext'
36635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36636 (eval $ac_try) 2>&5
36637 ac_status=$?
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); }; }; then
36640 eval "$as_ac_var=yes"
36641 else
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36645 eval "$as_ac_var=no"
36647 rm -f conftest.err conftest.$ac_objext \
36648 conftest$ac_exeext conftest.$ac_ext
36650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36652 if test `eval echo '${'$as_ac_var'}'` = yes; then
36653 cat >>confdefs.h <<_ACEOF
36654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36655 _ACEOF
36658 done
36665 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
36666 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
36667 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36668 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
36669 echo $ECHO_N "(cached) $ECHO_C" >&6
36670 else
36674 ac_ext=cc
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36680 cat >conftest.$ac_ext <<_ACEOF
36681 /* confdefs.h. */
36682 _ACEOF
36683 cat confdefs.h >>conftest.$ac_ext
36684 cat >>conftest.$ac_ext <<_ACEOF
36685 /* end confdefs.h. */
36686 #include <math.h>
36688 main ()
36690 frexpf(0, 0);
36692 return 0;
36694 _ACEOF
36695 rm -f conftest.$ac_objext
36696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36697 (eval $ac_compile) 2>conftest.er1
36698 ac_status=$?
36699 grep -v '^ *+' conftest.er1 >conftest.err
36700 rm -f conftest.er1
36701 cat conftest.err >&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); } &&
36704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 (eval $ac_try) 2>&5
36707 ac_status=$?
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); }; } &&
36710 { ac_try='test -s conftest.$ac_objext'
36711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36712 (eval $ac_try) 2>&5
36713 ac_status=$?
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); }; }; then
36716 glibcxx_cv_func_frexpf_use=yes
36717 else
36718 echo "$as_me: failed program was:" >&5
36719 sed 's/^/| /' conftest.$ac_ext >&5
36721 glibcxx_cv_func_frexpf_use=no
36723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36724 ac_ext=c
36725 ac_cpp='$CPP $CPPFLAGS'
36726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
36735 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
36737 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36739 for ac_func in frexpf
36741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36742 echo "$as_me:$LINENO: checking for $ac_func" >&5
36743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36744 if eval "test \"\${$as_ac_var+set}\" = set"; then
36745 echo $ECHO_N "(cached) $ECHO_C" >&6
36746 else
36747 if test x$gcc_no_link = xyes; then
36748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36750 { (exit 1); exit 1; }; }
36752 cat >conftest.$ac_ext <<_ACEOF
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36760 #define $ac_func innocuous_$ac_func
36762 /* System header to define __stub macros and hopefully few prototypes,
36763 which can conflict with char $ac_func (); below.
36764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36765 <limits.h> exists even on freestanding compilers. */
36767 #ifdef __STDC__
36768 # include <limits.h>
36769 #else
36770 # include <assert.h>
36771 #endif
36773 #undef $ac_func
36775 /* Override any gcc2 internal prototype to avoid an error. */
36776 #ifdef __cplusplus
36777 extern "C"
36779 #endif
36780 /* We use char because int might match the return type of a gcc2
36781 builtin and then its argument prototype would still apply. */
36782 char $ac_func ();
36783 /* The GNU C library defines this for functions which it implements
36784 to always fail with ENOSYS. Some functions are actually named
36785 something starting with __ and the normal name is an alias. */
36786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36787 choke me
36788 #else
36789 char (*f) () = $ac_func;
36790 #endif
36791 #ifdef __cplusplus
36793 #endif
36796 main ()
36798 return f != $ac_func;
36800 return 0;
36802 _ACEOF
36803 rm -f conftest.$ac_objext conftest$ac_exeext
36804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36805 (eval $ac_link) 2>conftest.er1
36806 ac_status=$?
36807 grep -v '^ *+' conftest.er1 >conftest.err
36808 rm -f conftest.er1
36809 cat conftest.err >&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } &&
36812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814 (eval $ac_try) 2>&5
36815 ac_status=$?
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); }; } &&
36818 { ac_try='test -s conftest$ac_exeext'
36819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36820 (eval $ac_try) 2>&5
36821 ac_status=$?
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); }; }; then
36824 eval "$as_ac_var=yes"
36825 else
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.$ac_ext >&5
36829 eval "$as_ac_var=no"
36831 rm -f conftest.err conftest.$ac_objext \
36832 conftest$ac_exeext conftest.$ac_ext
36834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36836 if test `eval echo '${'$as_ac_var'}'` = yes; then
36837 cat >>confdefs.h <<_ACEOF
36838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36839 _ACEOF
36842 done
36844 else
36846 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
36847 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
36848 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36849 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36851 else
36855 ac_ext=cc
36856 ac_cpp='$CXXCPP $CPPFLAGS'
36857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861 cat >conftest.$ac_ext <<_ACEOF
36862 /* confdefs.h. */
36863 _ACEOF
36864 cat confdefs.h >>conftest.$ac_ext
36865 cat >>conftest.$ac_ext <<_ACEOF
36866 /* end confdefs.h. */
36867 #include <math.h>
36869 main ()
36871 _frexpf(0, 0);
36873 return 0;
36875 _ACEOF
36876 rm -f conftest.$ac_objext
36877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36878 (eval $ac_compile) 2>conftest.er1
36879 ac_status=$?
36880 grep -v '^ *+' conftest.er1 >conftest.err
36881 rm -f conftest.er1
36882 cat conftest.err >&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); } &&
36885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36887 (eval $ac_try) 2>&5
36888 ac_status=$?
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); }; } &&
36891 { ac_try='test -s conftest.$ac_objext'
36892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36893 (eval $ac_try) 2>&5
36894 ac_status=$?
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); }; }; then
36897 glibcxx_cv_func__frexpf_use=yes
36898 else
36899 echo "$as_me: failed program was:" >&5
36900 sed 's/^/| /' conftest.$ac_ext >&5
36902 glibcxx_cv_func__frexpf_use=no
36904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36905 ac_ext=c
36906 ac_cpp='$CPP $CPPFLAGS'
36907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
36916 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
36918 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36920 for ac_func in _frexpf
36922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36923 echo "$as_me:$LINENO: checking for $ac_func" >&5
36924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36925 if eval "test \"\${$as_ac_var+set}\" = set"; then
36926 echo $ECHO_N "(cached) $ECHO_C" >&6
36927 else
36928 if test x$gcc_no_link = xyes; then
36929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36931 { (exit 1); exit 1; }; }
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36941 #define $ac_func innocuous_$ac_func
36943 /* System header to define __stub macros and hopefully few prototypes,
36944 which can conflict with char $ac_func (); below.
36945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36946 <limits.h> exists even on freestanding compilers. */
36948 #ifdef __STDC__
36949 # include <limits.h>
36950 #else
36951 # include <assert.h>
36952 #endif
36954 #undef $ac_func
36956 /* Override any gcc2 internal prototype to avoid an error. */
36957 #ifdef __cplusplus
36958 extern "C"
36960 #endif
36961 /* We use char because int might match the return type of a gcc2
36962 builtin and then its argument prototype would still apply. */
36963 char $ac_func ();
36964 /* The GNU C library defines this for functions which it implements
36965 to always fail with ENOSYS. Some functions are actually named
36966 something starting with __ and the normal name is an alias. */
36967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36968 choke me
36969 #else
36970 char (*f) () = $ac_func;
36971 #endif
36972 #ifdef __cplusplus
36974 #endif
36977 main ()
36979 return f != $ac_func;
36981 return 0;
36983 _ACEOF
36984 rm -f conftest.$ac_objext conftest$ac_exeext
36985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36986 (eval $ac_link) 2>conftest.er1
36987 ac_status=$?
36988 grep -v '^ *+' conftest.er1 >conftest.err
36989 rm -f conftest.er1
36990 cat conftest.err >&5
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); } &&
36993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36995 (eval $ac_try) 2>&5
36996 ac_status=$?
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); }; } &&
36999 { ac_try='test -s conftest$ac_exeext'
37000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37001 (eval $ac_try) 2>&5
37002 ac_status=$?
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); }; }; then
37005 eval "$as_ac_var=yes"
37006 else
37007 echo "$as_me: failed program was:" >&5
37008 sed 's/^/| /' conftest.$ac_ext >&5
37010 eval "$as_ac_var=no"
37012 rm -f conftest.err conftest.$ac_objext \
37013 conftest$ac_exeext conftest.$ac_ext
37015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37017 if test `eval echo '${'$as_ac_var'}'` = yes; then
37018 cat >>confdefs.h <<_ACEOF
37019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37020 _ACEOF
37023 done
37030 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37031 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37032 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37033 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37034 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 else
37039 ac_ext=cc
37040 ac_cpp='$CXXCPP $CPPFLAGS'
37041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37045 cat >conftest.$ac_ext <<_ACEOF
37046 /* confdefs.h. */
37047 _ACEOF
37048 cat confdefs.h >>conftest.$ac_ext
37049 cat >>conftest.$ac_ext <<_ACEOF
37050 /* end confdefs.h. */
37051 #include <math.h>
37053 main ()
37055 hypotf(0, 0);
37057 return 0;
37059 _ACEOF
37060 rm -f conftest.$ac_objext
37061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37062 (eval $ac_compile) 2>conftest.er1
37063 ac_status=$?
37064 grep -v '^ *+' conftest.er1 >conftest.err
37065 rm -f conftest.er1
37066 cat conftest.err >&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); } &&
37069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37071 (eval $ac_try) 2>&5
37072 ac_status=$?
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; } &&
37075 { ac_try='test -s conftest.$ac_objext'
37076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37077 (eval $ac_try) 2>&5
37078 ac_status=$?
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); }; }; then
37081 glibcxx_cv_func_hypotf_use=yes
37082 else
37083 echo "$as_me: failed program was:" >&5
37084 sed 's/^/| /' conftest.$ac_ext >&5
37086 glibcxx_cv_func_hypotf_use=no
37088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37089 ac_ext=c
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37100 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37102 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37104 for ac_func in hypotf
37106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37107 echo "$as_me:$LINENO: checking for $ac_func" >&5
37108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37109 if eval "test \"\${$as_ac_var+set}\" = set"; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37111 else
37112 if test x$gcc_no_link = xyes; then
37113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37115 { (exit 1); exit 1; }; }
37117 cat >conftest.$ac_ext <<_ACEOF
37118 /* confdefs.h. */
37119 _ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37125 #define $ac_func innocuous_$ac_func
37127 /* System header to define __stub macros and hopefully few prototypes,
37128 which can conflict with char $ac_func (); below.
37129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37130 <limits.h> exists even on freestanding compilers. */
37132 #ifdef __STDC__
37133 # include <limits.h>
37134 #else
37135 # include <assert.h>
37136 #endif
37138 #undef $ac_func
37140 /* Override any gcc2 internal prototype to avoid an error. */
37141 #ifdef __cplusplus
37142 extern "C"
37144 #endif
37145 /* We use char because int might match the return type of a gcc2
37146 builtin and then its argument prototype would still apply. */
37147 char $ac_func ();
37148 /* The GNU C library defines this for functions which it implements
37149 to always fail with ENOSYS. Some functions are actually named
37150 something starting with __ and the normal name is an alias. */
37151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37152 choke me
37153 #else
37154 char (*f) () = $ac_func;
37155 #endif
37156 #ifdef __cplusplus
37158 #endif
37161 main ()
37163 return f != $ac_func;
37165 return 0;
37167 _ACEOF
37168 rm -f conftest.$ac_objext conftest$ac_exeext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37170 (eval $ac_link) 2>conftest.er1
37171 ac_status=$?
37172 grep -v '^ *+' conftest.er1 >conftest.err
37173 rm -f conftest.er1
37174 cat conftest.err >&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); } &&
37177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37179 (eval $ac_try) 2>&5
37180 ac_status=$?
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); }; } &&
37183 { ac_try='test -s conftest$ac_exeext'
37184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37185 (eval $ac_try) 2>&5
37186 ac_status=$?
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); }; }; then
37189 eval "$as_ac_var=yes"
37190 else
37191 echo "$as_me: failed program was:" >&5
37192 sed 's/^/| /' conftest.$ac_ext >&5
37194 eval "$as_ac_var=no"
37196 rm -f conftest.err conftest.$ac_objext \
37197 conftest$ac_exeext conftest.$ac_ext
37199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37201 if test `eval echo '${'$as_ac_var'}'` = yes; then
37202 cat >>confdefs.h <<_ACEOF
37203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37204 _ACEOF
37207 done
37209 else
37211 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37212 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37213 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37214 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37220 ac_ext=cc
37221 ac_cpp='$CXXCPP $CPPFLAGS'
37222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37226 cat >conftest.$ac_ext <<_ACEOF
37227 /* confdefs.h. */
37228 _ACEOF
37229 cat confdefs.h >>conftest.$ac_ext
37230 cat >>conftest.$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37232 #include <math.h>
37234 main ()
37236 _hypotf(0, 0);
37238 return 0;
37240 _ACEOF
37241 rm -f conftest.$ac_objext
37242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37243 (eval $ac_compile) 2>conftest.er1
37244 ac_status=$?
37245 grep -v '^ *+' conftest.er1 >conftest.err
37246 rm -f conftest.er1
37247 cat conftest.err >&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); } &&
37250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37253 ac_status=$?
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; } &&
37256 { ac_try='test -s conftest.$ac_objext'
37257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37258 (eval $ac_try) 2>&5
37259 ac_status=$?
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); }; }; then
37262 glibcxx_cv_func__hypotf_use=yes
37263 else
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.$ac_ext >&5
37267 glibcxx_cv_func__hypotf_use=no
37269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37270 ac_ext=c
37271 ac_cpp='$CPP $CPPFLAGS'
37272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37281 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37283 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37285 for ac_func in _hypotf
37287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37288 echo "$as_me:$LINENO: checking for $ac_func" >&5
37289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37290 if eval "test \"\${$as_ac_var+set}\" = set"; then
37291 echo $ECHO_N "(cached) $ECHO_C" >&6
37292 else
37293 if test x$gcc_no_link = xyes; then
37294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37296 { (exit 1); exit 1; }; }
37298 cat >conftest.$ac_ext <<_ACEOF
37299 /* confdefs.h. */
37300 _ACEOF
37301 cat confdefs.h >>conftest.$ac_ext
37302 cat >>conftest.$ac_ext <<_ACEOF
37303 /* end confdefs.h. */
37304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37306 #define $ac_func innocuous_$ac_func
37308 /* System header to define __stub macros and hopefully few prototypes,
37309 which can conflict with char $ac_func (); below.
37310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37311 <limits.h> exists even on freestanding compilers. */
37313 #ifdef __STDC__
37314 # include <limits.h>
37315 #else
37316 # include <assert.h>
37317 #endif
37319 #undef $ac_func
37321 /* Override any gcc2 internal prototype to avoid an error. */
37322 #ifdef __cplusplus
37323 extern "C"
37325 #endif
37326 /* We use char because int might match the return type of a gcc2
37327 builtin and then its argument prototype would still apply. */
37328 char $ac_func ();
37329 /* The GNU C library defines this for functions which it implements
37330 to always fail with ENOSYS. Some functions are actually named
37331 something starting with __ and the normal name is an alias. */
37332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37333 choke me
37334 #else
37335 char (*f) () = $ac_func;
37336 #endif
37337 #ifdef __cplusplus
37339 #endif
37342 main ()
37344 return f != $ac_func;
37346 return 0;
37348 _ACEOF
37349 rm -f conftest.$ac_objext conftest$ac_exeext
37350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37351 (eval $ac_link) 2>conftest.er1
37352 ac_status=$?
37353 grep -v '^ *+' conftest.er1 >conftest.err
37354 rm -f conftest.er1
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } &&
37358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try='test -s conftest$ac_exeext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 eval "$as_ac_var=yes"
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37375 eval "$as_ac_var=no"
37377 rm -f conftest.err conftest.$ac_objext \
37378 conftest$ac_exeext conftest.$ac_ext
37380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37382 if test `eval echo '${'$as_ac_var'}'` = yes; then
37383 cat >>confdefs.h <<_ACEOF
37384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37385 _ACEOF
37388 done
37395 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37396 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37397 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37398 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 else
37404 ac_ext=cc
37405 ac_cpp='$CXXCPP $CPPFLAGS'
37406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37410 cat >conftest.$ac_ext <<_ACEOF
37411 /* confdefs.h. */
37412 _ACEOF
37413 cat confdefs.h >>conftest.$ac_ext
37414 cat >>conftest.$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416 #include <math.h>
37418 main ()
37420 ldexpf(0, 0);
37422 return 0;
37424 _ACEOF
37425 rm -f conftest.$ac_objext
37426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37427 (eval $ac_compile) 2>conftest.er1
37428 ac_status=$?
37429 grep -v '^ *+' conftest.er1 >conftest.err
37430 rm -f conftest.er1
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } &&
37434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37436 (eval $ac_try) 2>&5
37437 ac_status=$?
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); }; } &&
37440 { ac_try='test -s conftest.$ac_objext'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37443 ac_status=$?
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; }; then
37446 glibcxx_cv_func_ldexpf_use=yes
37447 else
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.$ac_ext >&5
37451 glibcxx_cv_func_ldexpf_use=no
37453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37454 ac_ext=c
37455 ac_cpp='$CPP $CPPFLAGS'
37456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37465 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37467 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37469 for ac_func in ldexpf
37471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37472 echo "$as_me:$LINENO: checking for $ac_func" >&5
37473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37474 if eval "test \"\${$as_ac_var+set}\" = set"; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37476 else
37477 if test x$gcc_no_link = xyes; then
37478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37480 { (exit 1); exit 1; }; }
37482 cat >conftest.$ac_ext <<_ACEOF
37483 /* confdefs.h. */
37484 _ACEOF
37485 cat confdefs.h >>conftest.$ac_ext
37486 cat >>conftest.$ac_ext <<_ACEOF
37487 /* end confdefs.h. */
37488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37490 #define $ac_func innocuous_$ac_func
37492 /* System header to define __stub macros and hopefully few prototypes,
37493 which can conflict with char $ac_func (); below.
37494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37495 <limits.h> exists even on freestanding compilers. */
37497 #ifdef __STDC__
37498 # include <limits.h>
37499 #else
37500 # include <assert.h>
37501 #endif
37503 #undef $ac_func
37505 /* Override any gcc2 internal prototype to avoid an error. */
37506 #ifdef __cplusplus
37507 extern "C"
37509 #endif
37510 /* We use char because int might match the return type of a gcc2
37511 builtin and then its argument prototype would still apply. */
37512 char $ac_func ();
37513 /* The GNU C library defines this for functions which it implements
37514 to always fail with ENOSYS. Some functions are actually named
37515 something starting with __ and the normal name is an alias. */
37516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37517 choke me
37518 #else
37519 char (*f) () = $ac_func;
37520 #endif
37521 #ifdef __cplusplus
37523 #endif
37526 main ()
37528 return f != $ac_func;
37530 return 0;
37532 _ACEOF
37533 rm -f conftest.$ac_objext conftest$ac_exeext
37534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37535 (eval $ac_link) 2>conftest.er1
37536 ac_status=$?
37537 grep -v '^ *+' conftest.er1 >conftest.err
37538 rm -f conftest.er1
37539 cat conftest.err >&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } &&
37542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37544 (eval $ac_try) 2>&5
37545 ac_status=$?
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); }; } &&
37548 { ac_try='test -s conftest$ac_exeext'
37549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37550 (eval $ac_try) 2>&5
37551 ac_status=$?
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); }; }; then
37554 eval "$as_ac_var=yes"
37555 else
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.$ac_ext >&5
37559 eval "$as_ac_var=no"
37561 rm -f conftest.err conftest.$ac_objext \
37562 conftest$ac_exeext conftest.$ac_ext
37564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37566 if test `eval echo '${'$as_ac_var'}'` = yes; then
37567 cat >>confdefs.h <<_ACEOF
37568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37569 _ACEOF
37572 done
37574 else
37576 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37577 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37578 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37579 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37581 else
37585 ac_ext=cc
37586 ac_cpp='$CXXCPP $CPPFLAGS'
37587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591 cat >conftest.$ac_ext <<_ACEOF
37592 /* confdefs.h. */
37593 _ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37597 #include <math.h>
37599 main ()
37601 _ldexpf(0, 0);
37603 return 0;
37605 _ACEOF
37606 rm -f conftest.$ac_objext
37607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37608 (eval $ac_compile) 2>conftest.er1
37609 ac_status=$?
37610 grep -v '^ *+' conftest.er1 >conftest.err
37611 rm -f conftest.er1
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } &&
37615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37618 ac_status=$?
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; } &&
37621 { ac_try='test -s conftest.$ac_objext'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37624 ac_status=$?
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; }; then
37627 glibcxx_cv_func__ldexpf_use=yes
37628 else
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37632 glibcxx_cv_func__ldexpf_use=no
37634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37635 ac_ext=c
37636 ac_cpp='$CPP $CPPFLAGS'
37637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
37646 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
37648 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37650 for ac_func in _ldexpf
37652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37653 echo "$as_me:$LINENO: checking for $ac_func" >&5
37654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37655 if eval "test \"\${$as_ac_var+set}\" = set"; then
37656 echo $ECHO_N "(cached) $ECHO_C" >&6
37657 else
37658 if test x$gcc_no_link = xyes; then
37659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37661 { (exit 1); exit 1; }; }
37663 cat >conftest.$ac_ext <<_ACEOF
37664 /* confdefs.h. */
37665 _ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37671 #define $ac_func innocuous_$ac_func
37673 /* System header to define __stub macros and hopefully few prototypes,
37674 which can conflict with char $ac_func (); below.
37675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37676 <limits.h> exists even on freestanding compilers. */
37678 #ifdef __STDC__
37679 # include <limits.h>
37680 #else
37681 # include <assert.h>
37682 #endif
37684 #undef $ac_func
37686 /* Override any gcc2 internal prototype to avoid an error. */
37687 #ifdef __cplusplus
37688 extern "C"
37690 #endif
37691 /* We use char because int might match the return type of a gcc2
37692 builtin and then its argument prototype would still apply. */
37693 char $ac_func ();
37694 /* The GNU C library defines this for functions which it implements
37695 to always fail with ENOSYS. Some functions are actually named
37696 something starting with __ and the normal name is an alias. */
37697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37698 choke me
37699 #else
37700 char (*f) () = $ac_func;
37701 #endif
37702 #ifdef __cplusplus
37704 #endif
37707 main ()
37709 return f != $ac_func;
37711 return 0;
37713 _ACEOF
37714 rm -f conftest.$ac_objext conftest$ac_exeext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37716 (eval $ac_link) 2>conftest.er1
37717 ac_status=$?
37718 grep -v '^ *+' conftest.er1 >conftest.err
37719 rm -f conftest.er1
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } &&
37723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725 (eval $ac_try) 2>&5
37726 ac_status=$?
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); }; } &&
37729 { ac_try='test -s conftest$ac_exeext'
37730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37731 (eval $ac_try) 2>&5
37732 ac_status=$?
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); }; }; then
37735 eval "$as_ac_var=yes"
37736 else
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.$ac_ext >&5
37740 eval "$as_ac_var=no"
37742 rm -f conftest.err conftest.$ac_objext \
37743 conftest$ac_exeext conftest.$ac_ext
37745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37747 if test `eval echo '${'$as_ac_var'}'` = yes; then
37748 cat >>confdefs.h <<_ACEOF
37749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37750 _ACEOF
37753 done
37760 echo "$as_me:$LINENO: checking for logf declaration" >&5
37761 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
37762 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37763 if test "${glibcxx_cv_func_logf_use+set}" = set; then
37764 echo $ECHO_N "(cached) $ECHO_C" >&6
37765 else
37769 ac_ext=cc
37770 ac_cpp='$CXXCPP $CPPFLAGS'
37771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37775 cat >conftest.$ac_ext <<_ACEOF
37776 /* confdefs.h. */
37777 _ACEOF
37778 cat confdefs.h >>conftest.$ac_ext
37779 cat >>conftest.$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37781 #include <math.h>
37782 #ifdef HAVE_IEEEFP_H
37783 #include <ieeefp.h>
37784 #endif
37787 main ()
37789 logf(0);
37791 return 0;
37793 _ACEOF
37794 rm -f conftest.$ac_objext
37795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37796 (eval $ac_compile) 2>conftest.er1
37797 ac_status=$?
37798 grep -v '^ *+' conftest.er1 >conftest.err
37799 rm -f conftest.er1
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } &&
37803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37805 (eval $ac_try) 2>&5
37806 ac_status=$?
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); }; } &&
37809 { ac_try='test -s conftest.$ac_objext'
37810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37811 (eval $ac_try) 2>&5
37812 ac_status=$?
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); }; }; then
37815 glibcxx_cv_func_logf_use=yes
37816 else
37817 echo "$as_me: failed program was:" >&5
37818 sed 's/^/| /' conftest.$ac_ext >&5
37820 glibcxx_cv_func_logf_use=no
37822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37823 ac_ext=c
37824 ac_cpp='$CPP $CPPFLAGS'
37825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
37834 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
37836 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37838 for ac_func in logf
37840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37841 echo "$as_me:$LINENO: checking for $ac_func" >&5
37842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37843 if eval "test \"\${$as_ac_var+set}\" = set"; then
37844 echo $ECHO_N "(cached) $ECHO_C" >&6
37845 else
37846 if test x$gcc_no_link = xyes; then
37847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37849 { (exit 1); exit 1; }; }
37851 cat >conftest.$ac_ext <<_ACEOF
37852 /* confdefs.h. */
37853 _ACEOF
37854 cat confdefs.h >>conftest.$ac_ext
37855 cat >>conftest.$ac_ext <<_ACEOF
37856 /* end confdefs.h. */
37857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37859 #define $ac_func innocuous_$ac_func
37861 /* System header to define __stub macros and hopefully few prototypes,
37862 which can conflict with char $ac_func (); below.
37863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37864 <limits.h> exists even on freestanding compilers. */
37866 #ifdef __STDC__
37867 # include <limits.h>
37868 #else
37869 # include <assert.h>
37870 #endif
37872 #undef $ac_func
37874 /* Override any gcc2 internal prototype to avoid an error. */
37875 #ifdef __cplusplus
37876 extern "C"
37878 #endif
37879 /* We use char because int might match the return type of a gcc2
37880 builtin and then its argument prototype would still apply. */
37881 char $ac_func ();
37882 /* The GNU C library defines this for functions which it implements
37883 to always fail with ENOSYS. Some functions are actually named
37884 something starting with __ and the normal name is an alias. */
37885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37886 choke me
37887 #else
37888 char (*f) () = $ac_func;
37889 #endif
37890 #ifdef __cplusplus
37892 #endif
37895 main ()
37897 return f != $ac_func;
37899 return 0;
37901 _ACEOF
37902 rm -f conftest.$ac_objext conftest$ac_exeext
37903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37904 (eval $ac_link) 2>conftest.er1
37905 ac_status=$?
37906 grep -v '^ *+' conftest.er1 >conftest.err
37907 rm -f conftest.er1
37908 cat conftest.err >&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } &&
37911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37913 (eval $ac_try) 2>&5
37914 ac_status=$?
37915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916 (exit $ac_status); }; } &&
37917 { ac_try='test -s conftest$ac_exeext'
37918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919 (eval $ac_try) 2>&5
37920 ac_status=$?
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); }; }; then
37923 eval "$as_ac_var=yes"
37924 else
37925 echo "$as_me: failed program was:" >&5
37926 sed 's/^/| /' conftest.$ac_ext >&5
37928 eval "$as_ac_var=no"
37930 rm -f conftest.err conftest.$ac_objext \
37931 conftest$ac_exeext conftest.$ac_ext
37933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37935 if test `eval echo '${'$as_ac_var'}'` = yes; then
37936 cat >>confdefs.h <<_ACEOF
37937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37938 _ACEOF
37941 done
37943 else
37945 echo "$as_me:$LINENO: checking for _logf declaration" >&5
37946 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
37947 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37948 if test "${glibcxx_cv_func__logf_use+set}" = set; then
37949 echo $ECHO_N "(cached) $ECHO_C" >&6
37950 else
37954 ac_ext=cc
37955 ac_cpp='$CXXCPP $CPPFLAGS'
37956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37960 cat >conftest.$ac_ext <<_ACEOF
37961 /* confdefs.h. */
37962 _ACEOF
37963 cat confdefs.h >>conftest.$ac_ext
37964 cat >>conftest.$ac_ext <<_ACEOF
37965 /* end confdefs.h. */
37966 #include <math.h>
37967 #ifdef HAVE_IEEEFP_H
37968 #include <ieeefp.h>
37969 #endif
37972 main ()
37974 _logf(0);
37976 return 0;
37978 _ACEOF
37979 rm -f conftest.$ac_objext
37980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37981 (eval $ac_compile) 2>conftest.er1
37982 ac_status=$?
37983 grep -v '^ *+' conftest.er1 >conftest.err
37984 rm -f conftest.er1
37985 cat conftest.err >&5
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); } &&
37988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37991 ac_status=$?
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; } &&
37994 { ac_try='test -s conftest.$ac_objext'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37997 ac_status=$?
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; }; then
38000 glibcxx_cv_func__logf_use=yes
38001 else
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38005 glibcxx_cv_func__logf_use=no
38007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38008 ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38019 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38021 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38023 for ac_func in _logf
38025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38026 echo "$as_me:$LINENO: checking for $ac_func" >&5
38027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38028 if eval "test \"\${$as_ac_var+set}\" = set"; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031 if test x$gcc_no_link = xyes; then
38032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38034 { (exit 1); exit 1; }; }
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38044 #define $ac_func innocuous_$ac_func
38046 /* System header to define __stub macros and hopefully few prototypes,
38047 which can conflict with char $ac_func (); below.
38048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38049 <limits.h> exists even on freestanding compilers. */
38051 #ifdef __STDC__
38052 # include <limits.h>
38053 #else
38054 # include <assert.h>
38055 #endif
38057 #undef $ac_func
38059 /* Override any gcc2 internal prototype to avoid an error. */
38060 #ifdef __cplusplus
38061 extern "C"
38063 #endif
38064 /* We use char because int might match the return type of a gcc2
38065 builtin and then its argument prototype would still apply. */
38066 char $ac_func ();
38067 /* The GNU C library defines this for functions which it implements
38068 to always fail with ENOSYS. Some functions are actually named
38069 something starting with __ and the normal name is an alias. */
38070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38071 choke me
38072 #else
38073 char (*f) () = $ac_func;
38074 #endif
38075 #ifdef __cplusplus
38077 #endif
38080 main ()
38082 return f != $ac_func;
38084 return 0;
38086 _ACEOF
38087 rm -f conftest.$ac_objext conftest$ac_exeext
38088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38089 (eval $ac_link) 2>conftest.er1
38090 ac_status=$?
38091 grep -v '^ *+' conftest.er1 >conftest.err
38092 rm -f conftest.er1
38093 cat conftest.err >&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } &&
38096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098 (eval $ac_try) 2>&5
38099 ac_status=$?
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); }; } &&
38102 { ac_try='test -s conftest$ac_exeext'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38105 ac_status=$?
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; }; then
38108 eval "$as_ac_var=yes"
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38113 eval "$as_ac_var=no"
38115 rm -f conftest.err conftest.$ac_objext \
38116 conftest$ac_exeext conftest.$ac_ext
38118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38120 if test `eval echo '${'$as_ac_var'}'` = yes; then
38121 cat >>confdefs.h <<_ACEOF
38122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38123 _ACEOF
38126 done
38133 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38134 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38135 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38136 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38137 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 else
38142 ac_ext=cc
38143 ac_cpp='$CXXCPP $CPPFLAGS'
38144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38148 cat >conftest.$ac_ext <<_ACEOF
38149 /* confdefs.h. */
38150 _ACEOF
38151 cat confdefs.h >>conftest.$ac_ext
38152 cat >>conftest.$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38154 #include <math.h>
38155 #ifdef HAVE_IEEEFP_H
38156 #include <ieeefp.h>
38157 #endif
38160 main ()
38162 log10f(0);
38164 return 0;
38166 _ACEOF
38167 rm -f conftest.$ac_objext
38168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38169 (eval $ac_compile) 2>conftest.er1
38170 ac_status=$?
38171 grep -v '^ *+' conftest.er1 >conftest.err
38172 rm -f conftest.er1
38173 cat conftest.err >&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); } &&
38176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38178 (eval $ac_try) 2>&5
38179 ac_status=$?
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); }; } &&
38182 { ac_try='test -s conftest.$ac_objext'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38185 ac_status=$?
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; }; then
38188 glibcxx_cv_func_log10f_use=yes
38189 else
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38193 glibcxx_cv_func_log10f_use=no
38195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38196 ac_ext=c
38197 ac_cpp='$CPP $CPPFLAGS'
38198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38207 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38209 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38211 for ac_func in log10f
38213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38214 echo "$as_me:$LINENO: checking for $ac_func" >&5
38215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38216 if eval "test \"\${$as_ac_var+set}\" = set"; then
38217 echo $ECHO_N "(cached) $ECHO_C" >&6
38218 else
38219 if test x$gcc_no_link = xyes; then
38220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38222 { (exit 1); exit 1; }; }
38224 cat >conftest.$ac_ext <<_ACEOF
38225 /* confdefs.h. */
38226 _ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38232 #define $ac_func innocuous_$ac_func
38234 /* System header to define __stub macros and hopefully few prototypes,
38235 which can conflict with char $ac_func (); below.
38236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38237 <limits.h> exists even on freestanding compilers. */
38239 #ifdef __STDC__
38240 # include <limits.h>
38241 #else
38242 # include <assert.h>
38243 #endif
38245 #undef $ac_func
38247 /* Override any gcc2 internal prototype to avoid an error. */
38248 #ifdef __cplusplus
38249 extern "C"
38251 #endif
38252 /* We use char because int might match the return type of a gcc2
38253 builtin and then its argument prototype would still apply. */
38254 char $ac_func ();
38255 /* The GNU C library defines this for functions which it implements
38256 to always fail with ENOSYS. Some functions are actually named
38257 something starting with __ and the normal name is an alias. */
38258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38259 choke me
38260 #else
38261 char (*f) () = $ac_func;
38262 #endif
38263 #ifdef __cplusplus
38265 #endif
38268 main ()
38270 return f != $ac_func;
38272 return 0;
38274 _ACEOF
38275 rm -f conftest.$ac_objext conftest$ac_exeext
38276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38277 (eval $ac_link) 2>conftest.er1
38278 ac_status=$?
38279 grep -v '^ *+' conftest.er1 >conftest.err
38280 rm -f conftest.er1
38281 cat conftest.err >&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); } &&
38284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286 (eval $ac_try) 2>&5
38287 ac_status=$?
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); }; } &&
38290 { ac_try='test -s conftest$ac_exeext'
38291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38292 (eval $ac_try) 2>&5
38293 ac_status=$?
38294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295 (exit $ac_status); }; }; then
38296 eval "$as_ac_var=yes"
38297 else
38298 echo "$as_me: failed program was:" >&5
38299 sed 's/^/| /' conftest.$ac_ext >&5
38301 eval "$as_ac_var=no"
38303 rm -f conftest.err conftest.$ac_objext \
38304 conftest$ac_exeext conftest.$ac_ext
38306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38308 if test `eval echo '${'$as_ac_var'}'` = yes; then
38309 cat >>confdefs.h <<_ACEOF
38310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38311 _ACEOF
38314 done
38316 else
38318 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38319 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38320 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38321 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38322 echo $ECHO_N "(cached) $ECHO_C" >&6
38323 else
38327 ac_ext=cc
38328 ac_cpp='$CXXCPP $CPPFLAGS'
38329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38333 cat >conftest.$ac_ext <<_ACEOF
38334 /* confdefs.h. */
38335 _ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339 #include <math.h>
38340 #ifdef HAVE_IEEEFP_H
38341 #include <ieeefp.h>
38342 #endif
38345 main ()
38347 _log10f(0);
38349 return 0;
38351 _ACEOF
38352 rm -f conftest.$ac_objext
38353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38354 (eval $ac_compile) 2>conftest.er1
38355 ac_status=$?
38356 grep -v '^ *+' conftest.er1 >conftest.err
38357 rm -f conftest.er1
38358 cat conftest.err >&5
38359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360 (exit $ac_status); } &&
38361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38363 (eval $ac_try) 2>&5
38364 ac_status=$?
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); }; } &&
38367 { ac_try='test -s conftest.$ac_objext'
38368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38369 (eval $ac_try) 2>&5
38370 ac_status=$?
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; }; then
38373 glibcxx_cv_func__log10f_use=yes
38374 else
38375 echo "$as_me: failed program was:" >&5
38376 sed 's/^/| /' conftest.$ac_ext >&5
38378 glibcxx_cv_func__log10f_use=no
38380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38381 ac_ext=c
38382 ac_cpp='$CPP $CPPFLAGS'
38383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38392 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38394 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38396 for ac_func in _log10f
38398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38399 echo "$as_me:$LINENO: checking for $ac_func" >&5
38400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38401 if eval "test \"\${$as_ac_var+set}\" = set"; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38403 else
38404 if test x$gcc_no_link = xyes; then
38405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38407 { (exit 1); exit 1; }; }
38409 cat >conftest.$ac_ext <<_ACEOF
38410 /* confdefs.h. */
38411 _ACEOF
38412 cat confdefs.h >>conftest.$ac_ext
38413 cat >>conftest.$ac_ext <<_ACEOF
38414 /* end confdefs.h. */
38415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38417 #define $ac_func innocuous_$ac_func
38419 /* System header to define __stub macros and hopefully few prototypes,
38420 which can conflict with char $ac_func (); below.
38421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38422 <limits.h> exists even on freestanding compilers. */
38424 #ifdef __STDC__
38425 # include <limits.h>
38426 #else
38427 # include <assert.h>
38428 #endif
38430 #undef $ac_func
38432 /* Override any gcc2 internal prototype to avoid an error. */
38433 #ifdef __cplusplus
38434 extern "C"
38436 #endif
38437 /* We use char because int might match the return type of a gcc2
38438 builtin and then its argument prototype would still apply. */
38439 char $ac_func ();
38440 /* The GNU C library defines this for functions which it implements
38441 to always fail with ENOSYS. Some functions are actually named
38442 something starting with __ and the normal name is an alias. */
38443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38444 choke me
38445 #else
38446 char (*f) () = $ac_func;
38447 #endif
38448 #ifdef __cplusplus
38450 #endif
38453 main ()
38455 return f != $ac_func;
38457 return 0;
38459 _ACEOF
38460 rm -f conftest.$ac_objext conftest$ac_exeext
38461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38462 (eval $ac_link) 2>conftest.er1
38463 ac_status=$?
38464 grep -v '^ *+' conftest.er1 >conftest.err
38465 rm -f conftest.er1
38466 cat conftest.err >&5
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); } &&
38469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38471 (eval $ac_try) 2>&5
38472 ac_status=$?
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); }; } &&
38475 { ac_try='test -s conftest$ac_exeext'
38476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38477 (eval $ac_try) 2>&5
38478 ac_status=$?
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; }; then
38481 eval "$as_ac_var=yes"
38482 else
38483 echo "$as_me: failed program was:" >&5
38484 sed 's/^/| /' conftest.$ac_ext >&5
38486 eval "$as_ac_var=no"
38488 rm -f conftest.err conftest.$ac_objext \
38489 conftest$ac_exeext conftest.$ac_ext
38491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38493 if test `eval echo '${'$as_ac_var'}'` = yes; then
38494 cat >>confdefs.h <<_ACEOF
38495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38496 _ACEOF
38499 done
38506 echo "$as_me:$LINENO: checking for modff declaration" >&5
38507 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38508 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38509 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38515 ac_ext=cc
38516 ac_cpp='$CXXCPP $CPPFLAGS'
38517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521 cat >conftest.$ac_ext <<_ACEOF
38522 /* confdefs.h. */
38523 _ACEOF
38524 cat confdefs.h >>conftest.$ac_ext
38525 cat >>conftest.$ac_ext <<_ACEOF
38526 /* end confdefs.h. */
38527 #include <math.h>
38529 main ()
38531 modff(0, 0);
38533 return 0;
38535 _ACEOF
38536 rm -f conftest.$ac_objext
38537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38538 (eval $ac_compile) 2>conftest.er1
38539 ac_status=$?
38540 grep -v '^ *+' conftest.er1 >conftest.err
38541 rm -f conftest.er1
38542 cat conftest.err >&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); } &&
38545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547 (eval $ac_try) 2>&5
38548 ac_status=$?
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); }; } &&
38551 { ac_try='test -s conftest.$ac_objext'
38552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553 (eval $ac_try) 2>&5
38554 ac_status=$?
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); }; }; then
38557 glibcxx_cv_func_modff_use=yes
38558 else
38559 echo "$as_me: failed program was:" >&5
38560 sed 's/^/| /' conftest.$ac_ext >&5
38562 glibcxx_cv_func_modff_use=no
38564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38565 ac_ext=c
38566 ac_cpp='$CPP $CPPFLAGS'
38567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38576 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38578 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38580 for ac_func in modff
38582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38583 echo "$as_me:$LINENO: checking for $ac_func" >&5
38584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38585 if eval "test \"\${$as_ac_var+set}\" = set"; then
38586 echo $ECHO_N "(cached) $ECHO_C" >&6
38587 else
38588 if test x$gcc_no_link = xyes; then
38589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38591 { (exit 1); exit 1; }; }
38593 cat >conftest.$ac_ext <<_ACEOF
38594 /* confdefs.h. */
38595 _ACEOF
38596 cat confdefs.h >>conftest.$ac_ext
38597 cat >>conftest.$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38601 #define $ac_func innocuous_$ac_func
38603 /* System header to define __stub macros and hopefully few prototypes,
38604 which can conflict with char $ac_func (); below.
38605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38606 <limits.h> exists even on freestanding compilers. */
38608 #ifdef __STDC__
38609 # include <limits.h>
38610 #else
38611 # include <assert.h>
38612 #endif
38614 #undef $ac_func
38616 /* Override any gcc2 internal prototype to avoid an error. */
38617 #ifdef __cplusplus
38618 extern "C"
38620 #endif
38621 /* We use char because int might match the return type of a gcc2
38622 builtin and then its argument prototype would still apply. */
38623 char $ac_func ();
38624 /* The GNU C library defines this for functions which it implements
38625 to always fail with ENOSYS. Some functions are actually named
38626 something starting with __ and the normal name is an alias. */
38627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38628 choke me
38629 #else
38630 char (*f) () = $ac_func;
38631 #endif
38632 #ifdef __cplusplus
38634 #endif
38637 main ()
38639 return f != $ac_func;
38641 return 0;
38643 _ACEOF
38644 rm -f conftest.$ac_objext conftest$ac_exeext
38645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38646 (eval $ac_link) 2>conftest.er1
38647 ac_status=$?
38648 grep -v '^ *+' conftest.er1 >conftest.err
38649 rm -f conftest.er1
38650 cat conftest.err >&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } &&
38653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38655 (eval $ac_try) 2>&5
38656 ac_status=$?
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); }; } &&
38659 { ac_try='test -s conftest$ac_exeext'
38660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38661 (eval $ac_try) 2>&5
38662 ac_status=$?
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); }; }; then
38665 eval "$as_ac_var=yes"
38666 else
38667 echo "$as_me: failed program was:" >&5
38668 sed 's/^/| /' conftest.$ac_ext >&5
38670 eval "$as_ac_var=no"
38672 rm -f conftest.err conftest.$ac_objext \
38673 conftest$ac_exeext conftest.$ac_ext
38675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38677 if test `eval echo '${'$as_ac_var'}'` = yes; then
38678 cat >>confdefs.h <<_ACEOF
38679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38680 _ACEOF
38683 done
38685 else
38687 echo "$as_me:$LINENO: checking for _modff declaration" >&5
38688 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
38689 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38690 if test "${glibcxx_cv_func__modff_use+set}" = set; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38692 else
38696 ac_ext=cc
38697 ac_cpp='$CXXCPP $CPPFLAGS'
38698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38702 cat >conftest.$ac_ext <<_ACEOF
38703 /* confdefs.h. */
38704 _ACEOF
38705 cat confdefs.h >>conftest.$ac_ext
38706 cat >>conftest.$ac_ext <<_ACEOF
38707 /* end confdefs.h. */
38708 #include <math.h>
38710 main ()
38712 _modff(0, 0);
38714 return 0;
38716 _ACEOF
38717 rm -f conftest.$ac_objext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38719 (eval $ac_compile) 2>conftest.er1
38720 ac_status=$?
38721 grep -v '^ *+' conftest.er1 >conftest.err
38722 rm -f conftest.er1
38723 cat conftest.err >&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38729 ac_status=$?
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; } &&
38732 { ac_try='test -s conftest.$ac_objext'
38733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734 (eval $ac_try) 2>&5
38735 ac_status=$?
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); }; }; then
38738 glibcxx_cv_func__modff_use=yes
38739 else
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.$ac_ext >&5
38743 glibcxx_cv_func__modff_use=no
38745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38746 ac_ext=c
38747 ac_cpp='$CPP $CPPFLAGS'
38748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
38757 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
38759 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38761 for ac_func in _modff
38763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38764 echo "$as_me:$LINENO: checking for $ac_func" >&5
38765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38766 if eval "test \"\${$as_ac_var+set}\" = set"; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 else
38769 if test x$gcc_no_link = xyes; then
38770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38772 { (exit 1); exit 1; }; }
38774 cat >conftest.$ac_ext <<_ACEOF
38775 /* confdefs.h. */
38776 _ACEOF
38777 cat confdefs.h >>conftest.$ac_ext
38778 cat >>conftest.$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38782 #define $ac_func innocuous_$ac_func
38784 /* System header to define __stub macros and hopefully few prototypes,
38785 which can conflict with char $ac_func (); below.
38786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38787 <limits.h> exists even on freestanding compilers. */
38789 #ifdef __STDC__
38790 # include <limits.h>
38791 #else
38792 # include <assert.h>
38793 #endif
38795 #undef $ac_func
38797 /* Override any gcc2 internal prototype to avoid an error. */
38798 #ifdef __cplusplus
38799 extern "C"
38801 #endif
38802 /* We use char because int might match the return type of a gcc2
38803 builtin and then its argument prototype would still apply. */
38804 char $ac_func ();
38805 /* The GNU C library defines this for functions which it implements
38806 to always fail with ENOSYS. Some functions are actually named
38807 something starting with __ and the normal name is an alias. */
38808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38809 choke me
38810 #else
38811 char (*f) () = $ac_func;
38812 #endif
38813 #ifdef __cplusplus
38815 #endif
38818 main ()
38820 return f != $ac_func;
38822 return 0;
38824 _ACEOF
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38827 (eval $ac_link) 2>conftest.er1
38828 ac_status=$?
38829 grep -v '^ *+' conftest.er1 >conftest.err
38830 rm -f conftest.er1
38831 cat conftest.err >&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } &&
38834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38837 ac_status=$?
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; } &&
38840 { ac_try='test -s conftest$ac_exeext'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38843 ac_status=$?
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; }; then
38846 eval "$as_ac_var=yes"
38847 else
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.$ac_ext >&5
38851 eval "$as_ac_var=no"
38853 rm -f conftest.err conftest.$ac_objext \
38854 conftest$ac_exeext conftest.$ac_ext
38856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38858 if test `eval echo '${'$as_ac_var'}'` = yes; then
38859 cat >>confdefs.h <<_ACEOF
38860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38861 _ACEOF
38864 done
38871 echo "$as_me:$LINENO: checking for powf declaration" >&5
38872 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
38873 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38874 if test "${glibcxx_cv_func_powf_use+set}" = set; then
38875 echo $ECHO_N "(cached) $ECHO_C" >&6
38876 else
38880 ac_ext=cc
38881 ac_cpp='$CXXCPP $CPPFLAGS'
38882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38886 cat >conftest.$ac_ext <<_ACEOF
38887 /* confdefs.h. */
38888 _ACEOF
38889 cat confdefs.h >>conftest.$ac_ext
38890 cat >>conftest.$ac_ext <<_ACEOF
38891 /* end confdefs.h. */
38892 #include <math.h>
38894 main ()
38896 powf(0, 0);
38898 return 0;
38900 _ACEOF
38901 rm -f conftest.$ac_objext
38902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38903 (eval $ac_compile) 2>conftest.er1
38904 ac_status=$?
38905 grep -v '^ *+' conftest.er1 >conftest.err
38906 rm -f conftest.er1
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } &&
38910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912 (eval $ac_try) 2>&5
38913 ac_status=$?
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); }; } &&
38916 { ac_try='test -s conftest.$ac_objext'
38917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38918 (eval $ac_try) 2>&5
38919 ac_status=$?
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); }; }; then
38922 glibcxx_cv_func_powf_use=yes
38923 else
38924 echo "$as_me: failed program was:" >&5
38925 sed 's/^/| /' conftest.$ac_ext >&5
38927 glibcxx_cv_func_powf_use=no
38929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
38941 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
38943 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38945 for ac_func in powf
38947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38948 echo "$as_me:$LINENO: checking for $ac_func" >&5
38949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38950 if eval "test \"\${$as_ac_var+set}\" = set"; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 else
38953 if test x$gcc_no_link = xyes; then
38954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38956 { (exit 1); exit 1; }; }
38958 cat >conftest.$ac_ext <<_ACEOF
38959 /* confdefs.h. */
38960 _ACEOF
38961 cat confdefs.h >>conftest.$ac_ext
38962 cat >>conftest.$ac_ext <<_ACEOF
38963 /* end confdefs.h. */
38964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38966 #define $ac_func innocuous_$ac_func
38968 /* System header to define __stub macros and hopefully few prototypes,
38969 which can conflict with char $ac_func (); below.
38970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38971 <limits.h> exists even on freestanding compilers. */
38973 #ifdef __STDC__
38974 # include <limits.h>
38975 #else
38976 # include <assert.h>
38977 #endif
38979 #undef $ac_func
38981 /* Override any gcc2 internal prototype to avoid an error. */
38982 #ifdef __cplusplus
38983 extern "C"
38985 #endif
38986 /* We use char because int might match the return type of a gcc2
38987 builtin and then its argument prototype would still apply. */
38988 char $ac_func ();
38989 /* The GNU C library defines this for functions which it implements
38990 to always fail with ENOSYS. Some functions are actually named
38991 something starting with __ and the normal name is an alias. */
38992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38993 choke me
38994 #else
38995 char (*f) () = $ac_func;
38996 #endif
38997 #ifdef __cplusplus
38999 #endif
39002 main ()
39004 return f != $ac_func;
39006 return 0;
39008 _ACEOF
39009 rm -f conftest.$ac_objext conftest$ac_exeext
39010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39011 (eval $ac_link) 2>conftest.er1
39012 ac_status=$?
39013 grep -v '^ *+' conftest.er1 >conftest.err
39014 rm -f conftest.er1
39015 cat conftest.err >&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } &&
39018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39021 ac_status=$?
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; } &&
39024 { ac_try='test -s conftest$ac_exeext'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39027 ac_status=$?
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; }; then
39030 eval "$as_ac_var=yes"
39031 else
39032 echo "$as_me: failed program was:" >&5
39033 sed 's/^/| /' conftest.$ac_ext >&5
39035 eval "$as_ac_var=no"
39037 rm -f conftest.err conftest.$ac_objext \
39038 conftest$ac_exeext conftest.$ac_ext
39040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39042 if test `eval echo '${'$as_ac_var'}'` = yes; then
39043 cat >>confdefs.h <<_ACEOF
39044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39045 _ACEOF
39048 done
39050 else
39052 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39053 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39054 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39055 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39056 echo $ECHO_N "(cached) $ECHO_C" >&6
39057 else
39061 ac_ext=cc
39062 ac_cpp='$CXXCPP $CPPFLAGS'
39063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39067 cat >conftest.$ac_ext <<_ACEOF
39068 /* confdefs.h. */
39069 _ACEOF
39070 cat confdefs.h >>conftest.$ac_ext
39071 cat >>conftest.$ac_ext <<_ACEOF
39072 /* end confdefs.h. */
39073 #include <math.h>
39075 main ()
39077 _powf(0, 0);
39079 return 0;
39081 _ACEOF
39082 rm -f conftest.$ac_objext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39084 (eval $ac_compile) 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39094 ac_status=$?
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
39103 glibcxx_cv_func__powf_use=yes
39104 else
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39108 glibcxx_cv_func__powf_use=no
39110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39111 ac_ext=c
39112 ac_cpp='$CPP $CPPFLAGS'
39113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39122 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39124 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39126 for ac_func in _powf
39128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39129 echo "$as_me:$LINENO: checking for $ac_func" >&5
39130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39131 if eval "test \"\${$as_ac_var+set}\" = set"; then
39132 echo $ECHO_N "(cached) $ECHO_C" >&6
39133 else
39134 if test x$gcc_no_link = xyes; then
39135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39137 { (exit 1); exit 1; }; }
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h. */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39147 #define $ac_func innocuous_$ac_func
39149 /* System header to define __stub macros and hopefully few prototypes,
39150 which can conflict with char $ac_func (); below.
39151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39152 <limits.h> exists even on freestanding compilers. */
39154 #ifdef __STDC__
39155 # include <limits.h>
39156 #else
39157 # include <assert.h>
39158 #endif
39160 #undef $ac_func
39162 /* Override any gcc2 internal prototype to avoid an error. */
39163 #ifdef __cplusplus
39164 extern "C"
39166 #endif
39167 /* We use char because int might match the return type of a gcc2
39168 builtin and then its argument prototype would still apply. */
39169 char $ac_func ();
39170 /* The GNU C library defines this for functions which it implements
39171 to always fail with ENOSYS. Some functions are actually named
39172 something starting with __ and the normal name is an alias. */
39173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39174 choke me
39175 #else
39176 char (*f) () = $ac_func;
39177 #endif
39178 #ifdef __cplusplus
39180 #endif
39183 main ()
39185 return f != $ac_func;
39187 return 0;
39189 _ACEOF
39190 rm -f conftest.$ac_objext conftest$ac_exeext
39191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39192 (eval $ac_link) 2>conftest.er1
39193 ac_status=$?
39194 grep -v '^ *+' conftest.er1 >conftest.err
39195 rm -f conftest.er1
39196 cat conftest.err >&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } &&
39199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39201 (eval $ac_try) 2>&5
39202 ac_status=$?
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); }; } &&
39205 { ac_try='test -s conftest$ac_exeext'
39206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207 (eval $ac_try) 2>&5
39208 ac_status=$?
39209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210 (exit $ac_status); }; }; then
39211 eval "$as_ac_var=yes"
39212 else
39213 echo "$as_me: failed program was:" >&5
39214 sed 's/^/| /' conftest.$ac_ext >&5
39216 eval "$as_ac_var=no"
39218 rm -f conftest.err conftest.$ac_objext \
39219 conftest$ac_exeext conftest.$ac_ext
39221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39223 if test `eval echo '${'$as_ac_var'}'` = yes; then
39224 cat >>confdefs.h <<_ACEOF
39225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39226 _ACEOF
39229 done
39236 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39237 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39238 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39239 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39240 echo $ECHO_N "(cached) $ECHO_C" >&6
39241 else
39245 ac_ext=cc
39246 ac_cpp='$CXXCPP $CPPFLAGS'
39247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39251 cat >conftest.$ac_ext <<_ACEOF
39252 /* confdefs.h. */
39253 _ACEOF
39254 cat confdefs.h >>conftest.$ac_ext
39255 cat >>conftest.$ac_ext <<_ACEOF
39256 /* end confdefs.h. */
39257 #include <math.h>
39258 #ifdef HAVE_IEEEFP_H
39259 #include <ieeefp.h>
39260 #endif
39263 main ()
39265 sqrtf(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" || test ! -s conftest.err'
39280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39281 (eval $ac_try) 2>&5
39282 ac_status=$?
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); }; } &&
39285 { ac_try='test -s conftest.$ac_objext'
39286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39287 (eval $ac_try) 2>&5
39288 ac_status=$?
39289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39290 (exit $ac_status); }; }; then
39291 glibcxx_cv_func_sqrtf_use=yes
39292 else
39293 echo "$as_me: failed program was:" >&5
39294 sed 's/^/| /' conftest.$ac_ext >&5
39296 glibcxx_cv_func_sqrtf_use=no
39298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39299 ac_ext=c
39300 ac_cpp='$CPP $CPPFLAGS'
39301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39310 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39312 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39314 for ac_func in sqrtf
39316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39317 echo "$as_me:$LINENO: checking for $ac_func" >&5
39318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39319 if eval "test \"\${$as_ac_var+set}\" = set"; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 else
39322 if test x$gcc_no_link = xyes; then
39323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39325 { (exit 1); exit 1; }; }
39327 cat >conftest.$ac_ext <<_ACEOF
39328 /* confdefs.h. */
39329 _ACEOF
39330 cat confdefs.h >>conftest.$ac_ext
39331 cat >>conftest.$ac_ext <<_ACEOF
39332 /* end confdefs.h. */
39333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39335 #define $ac_func innocuous_$ac_func
39337 /* System header to define __stub macros and hopefully few prototypes,
39338 which can conflict with char $ac_func (); below.
39339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39340 <limits.h> exists even on freestanding compilers. */
39342 #ifdef __STDC__
39343 # include <limits.h>
39344 #else
39345 # include <assert.h>
39346 #endif
39348 #undef $ac_func
39350 /* Override any gcc2 internal prototype to avoid an error. */
39351 #ifdef __cplusplus
39352 extern "C"
39354 #endif
39355 /* We use char because int might match the return type of a gcc2
39356 builtin and then its argument prototype would still apply. */
39357 char $ac_func ();
39358 /* The GNU C library defines this for functions which it implements
39359 to always fail with ENOSYS. Some functions are actually named
39360 something starting with __ and the normal name is an alias. */
39361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39362 choke me
39363 #else
39364 char (*f) () = $ac_func;
39365 #endif
39366 #ifdef __cplusplus
39368 #endif
39371 main ()
39373 return f != $ac_func;
39375 return 0;
39377 _ACEOF
39378 rm -f conftest.$ac_objext conftest$ac_exeext
39379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39380 (eval $ac_link) 2>conftest.er1
39381 ac_status=$?
39382 grep -v '^ *+' conftest.er1 >conftest.err
39383 rm -f conftest.er1
39384 cat conftest.err >&5
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); } &&
39387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39389 (eval $ac_try) 2>&5
39390 ac_status=$?
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); }; } &&
39393 { ac_try='test -s conftest$ac_exeext'
39394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39395 (eval $ac_try) 2>&5
39396 ac_status=$?
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); }; }; then
39399 eval "$as_ac_var=yes"
39400 else
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.$ac_ext >&5
39404 eval "$as_ac_var=no"
39406 rm -f conftest.err conftest.$ac_objext \
39407 conftest$ac_exeext conftest.$ac_ext
39409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39411 if test `eval echo '${'$as_ac_var'}'` = yes; then
39412 cat >>confdefs.h <<_ACEOF
39413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39414 _ACEOF
39417 done
39419 else
39421 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39422 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39423 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39424 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39425 echo $ECHO_N "(cached) $ECHO_C" >&6
39426 else
39430 ac_ext=cc
39431 ac_cpp='$CXXCPP $CPPFLAGS'
39432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436 cat >conftest.$ac_ext <<_ACEOF
39437 /* confdefs.h. */
39438 _ACEOF
39439 cat confdefs.h >>conftest.$ac_ext
39440 cat >>conftest.$ac_ext <<_ACEOF
39441 /* end confdefs.h. */
39442 #include <math.h>
39443 #ifdef HAVE_IEEEFP_H
39444 #include <ieeefp.h>
39445 #endif
39448 main ()
39450 _sqrtf(0);
39452 return 0;
39454 _ACEOF
39455 rm -f conftest.$ac_objext
39456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39457 (eval $ac_compile) 2>conftest.er1
39458 ac_status=$?
39459 grep -v '^ *+' conftest.er1 >conftest.err
39460 rm -f conftest.er1
39461 cat conftest.err >&5
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); } &&
39464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39466 (eval $ac_try) 2>&5
39467 ac_status=$?
39468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39469 (exit $ac_status); }; } &&
39470 { ac_try='test -s conftest.$ac_objext'
39471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39472 (eval $ac_try) 2>&5
39473 ac_status=$?
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); }; }; then
39476 glibcxx_cv_func__sqrtf_use=yes
39477 else
39478 echo "$as_me: failed program was:" >&5
39479 sed 's/^/| /' conftest.$ac_ext >&5
39481 glibcxx_cv_func__sqrtf_use=no
39483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39484 ac_ext=c
39485 ac_cpp='$CPP $CPPFLAGS'
39486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39495 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39497 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39499 for ac_func in _sqrtf
39501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39502 echo "$as_me:$LINENO: checking for $ac_func" >&5
39503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39504 if eval "test \"\${$as_ac_var+set}\" = set"; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39506 else
39507 if test x$gcc_no_link = xyes; then
39508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39510 { (exit 1); exit 1; }; }
39512 cat >conftest.$ac_ext <<_ACEOF
39513 /* confdefs.h. */
39514 _ACEOF
39515 cat confdefs.h >>conftest.$ac_ext
39516 cat >>conftest.$ac_ext <<_ACEOF
39517 /* end confdefs.h. */
39518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39520 #define $ac_func innocuous_$ac_func
39522 /* System header to define __stub macros and hopefully few prototypes,
39523 which can conflict with char $ac_func (); below.
39524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39525 <limits.h> exists even on freestanding compilers. */
39527 #ifdef __STDC__
39528 # include <limits.h>
39529 #else
39530 # include <assert.h>
39531 #endif
39533 #undef $ac_func
39535 /* Override any gcc2 internal prototype to avoid an error. */
39536 #ifdef __cplusplus
39537 extern "C"
39539 #endif
39540 /* We use char because int might match the return type of a gcc2
39541 builtin and then its argument prototype would still apply. */
39542 char $ac_func ();
39543 /* The GNU C library defines this for functions which it implements
39544 to always fail with ENOSYS. Some functions are actually named
39545 something starting with __ and the normal name is an alias. */
39546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39547 choke me
39548 #else
39549 char (*f) () = $ac_func;
39550 #endif
39551 #ifdef __cplusplus
39553 #endif
39556 main ()
39558 return f != $ac_func;
39560 return 0;
39562 _ACEOF
39563 rm -f conftest.$ac_objext conftest$ac_exeext
39564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39565 (eval $ac_link) 2>conftest.er1
39566 ac_status=$?
39567 grep -v '^ *+' conftest.er1 >conftest.err
39568 rm -f conftest.er1
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } &&
39572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39574 (eval $ac_try) 2>&5
39575 ac_status=$?
39576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39577 (exit $ac_status); }; } &&
39578 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39584 eval "$as_ac_var=yes"
39585 else
39586 echo "$as_me: failed program was:" >&5
39587 sed 's/^/| /' conftest.$ac_ext >&5
39589 eval "$as_ac_var=no"
39591 rm -f conftest.err conftest.$ac_objext \
39592 conftest$ac_exeext conftest.$ac_ext
39594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39596 if test `eval echo '${'$as_ac_var'}'` = yes; then
39597 cat >>confdefs.h <<_ACEOF
39598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39599 _ACEOF
39602 done
39609 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39610 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39611 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39612 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
39613 echo $ECHO_N "(cached) $ECHO_C" >&6
39614 else
39618 ac_ext=cc
39619 ac_cpp='$CXXCPP $CPPFLAGS'
39620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39624 cat >conftest.$ac_ext <<_ACEOF
39625 /* confdefs.h. */
39626 _ACEOF
39627 cat confdefs.h >>conftest.$ac_ext
39628 cat >>conftest.$ac_ext <<_ACEOF
39629 /* end confdefs.h. */
39630 #include <math.h>
39632 main ()
39634 sincosf(0, 0, 0);
39636 return 0;
39638 _ACEOF
39639 rm -f conftest.$ac_objext
39640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39641 (eval $ac_compile) 2>conftest.er1
39642 ac_status=$?
39643 grep -v '^ *+' conftest.er1 >conftest.err
39644 rm -f conftest.er1
39645 cat conftest.err >&5
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); } &&
39648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39650 (eval $ac_try) 2>&5
39651 ac_status=$?
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); }; } &&
39654 { ac_try='test -s conftest.$ac_objext'
39655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39656 (eval $ac_try) 2>&5
39657 ac_status=$?
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); }; }; then
39660 glibcxx_cv_func_sincosf_use=yes
39661 else
39662 echo "$as_me: failed program was:" >&5
39663 sed 's/^/| /' conftest.$ac_ext >&5
39665 glibcxx_cv_func_sincosf_use=no
39667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_ext=c
39669 ac_cpp='$CPP $CPPFLAGS'
39670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
39679 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
39681 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39683 for ac_func in sincosf
39685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39686 echo "$as_me:$LINENO: checking for $ac_func" >&5
39687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39688 if eval "test \"\${$as_ac_var+set}\" = set"; then
39689 echo $ECHO_N "(cached) $ECHO_C" >&6
39690 else
39691 if test x$gcc_no_link = xyes; then
39692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39694 { (exit 1); exit 1; }; }
39696 cat >conftest.$ac_ext <<_ACEOF
39697 /* confdefs.h. */
39698 _ACEOF
39699 cat confdefs.h >>conftest.$ac_ext
39700 cat >>conftest.$ac_ext <<_ACEOF
39701 /* end confdefs.h. */
39702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39704 #define $ac_func innocuous_$ac_func
39706 /* System header to define __stub macros and hopefully few prototypes,
39707 which can conflict with char $ac_func (); below.
39708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39709 <limits.h> exists even on freestanding compilers. */
39711 #ifdef __STDC__
39712 # include <limits.h>
39713 #else
39714 # include <assert.h>
39715 #endif
39717 #undef $ac_func
39719 /* Override any gcc2 internal prototype to avoid an error. */
39720 #ifdef __cplusplus
39721 extern "C"
39723 #endif
39724 /* We use char because int might match the return type of a gcc2
39725 builtin and then its argument prototype would still apply. */
39726 char $ac_func ();
39727 /* The GNU C library defines this for functions which it implements
39728 to always fail with ENOSYS. Some functions are actually named
39729 something starting with __ and the normal name is an alias. */
39730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39731 choke me
39732 #else
39733 char (*f) () = $ac_func;
39734 #endif
39735 #ifdef __cplusplus
39737 #endif
39740 main ()
39742 return f != $ac_func;
39744 return 0;
39746 _ACEOF
39747 rm -f conftest.$ac_objext conftest$ac_exeext
39748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39749 (eval $ac_link) 2>conftest.er1
39750 ac_status=$?
39751 grep -v '^ *+' conftest.er1 >conftest.err
39752 rm -f conftest.er1
39753 cat conftest.err >&5
39754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755 (exit $ac_status); } &&
39756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39758 (eval $ac_try) 2>&5
39759 ac_status=$?
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); }; } &&
39762 { ac_try='test -s conftest$ac_exeext'
39763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764 (eval $ac_try) 2>&5
39765 ac_status=$?
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; }; then
39768 eval "$as_ac_var=yes"
39769 else
39770 echo "$as_me: failed program was:" >&5
39771 sed 's/^/| /' conftest.$ac_ext >&5
39773 eval "$as_ac_var=no"
39775 rm -f conftest.err conftest.$ac_objext \
39776 conftest$ac_exeext conftest.$ac_ext
39778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39780 if test `eval echo '${'$as_ac_var'}'` = yes; then
39781 cat >>confdefs.h <<_ACEOF
39782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39783 _ACEOF
39786 done
39788 else
39790 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
39791 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
39792 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39793 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
39794 echo $ECHO_N "(cached) $ECHO_C" >&6
39795 else
39799 ac_ext=cc
39800 ac_cpp='$CXXCPP $CPPFLAGS'
39801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39805 cat >conftest.$ac_ext <<_ACEOF
39806 /* confdefs.h. */
39807 _ACEOF
39808 cat confdefs.h >>conftest.$ac_ext
39809 cat >>conftest.$ac_ext <<_ACEOF
39810 /* end confdefs.h. */
39811 #include <math.h>
39813 main ()
39815 _sincosf(0, 0, 0);
39817 return 0;
39819 _ACEOF
39820 rm -f conftest.$ac_objext
39821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39822 (eval $ac_compile) 2>conftest.er1
39823 ac_status=$?
39824 grep -v '^ *+' conftest.er1 >conftest.err
39825 rm -f conftest.er1
39826 cat conftest.err >&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } &&
39829 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39831 (eval $ac_try) 2>&5
39832 ac_status=$?
39833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834 (exit $ac_status); }; } &&
39835 { ac_try='test -s conftest.$ac_objext'
39836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39837 (eval $ac_try) 2>&5
39838 ac_status=$?
39839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39840 (exit $ac_status); }; }; then
39841 glibcxx_cv_func__sincosf_use=yes
39842 else
39843 echo "$as_me: failed program was:" >&5
39844 sed 's/^/| /' conftest.$ac_ext >&5
39846 glibcxx_cv_func__sincosf_use=no
39848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39849 ac_ext=c
39850 ac_cpp='$CPP $CPPFLAGS'
39851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
39860 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
39862 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39864 for ac_func in _sincosf
39866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39867 echo "$as_me:$LINENO: checking for $ac_func" >&5
39868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39869 if eval "test \"\${$as_ac_var+set}\" = set"; then
39870 echo $ECHO_N "(cached) $ECHO_C" >&6
39871 else
39872 if test x$gcc_no_link = xyes; then
39873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39875 { (exit 1); exit 1; }; }
39877 cat >conftest.$ac_ext <<_ACEOF
39878 /* confdefs.h. */
39879 _ACEOF
39880 cat confdefs.h >>conftest.$ac_ext
39881 cat >>conftest.$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39885 #define $ac_func innocuous_$ac_func
39887 /* System header to define __stub macros and hopefully few prototypes,
39888 which can conflict with char $ac_func (); below.
39889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39890 <limits.h> exists even on freestanding compilers. */
39892 #ifdef __STDC__
39893 # include <limits.h>
39894 #else
39895 # include <assert.h>
39896 #endif
39898 #undef $ac_func
39900 /* Override any gcc2 internal prototype to avoid an error. */
39901 #ifdef __cplusplus
39902 extern "C"
39904 #endif
39905 /* We use char because int might match the return type of a gcc2
39906 builtin and then its argument prototype would still apply. */
39907 char $ac_func ();
39908 /* The GNU C library defines this for functions which it implements
39909 to always fail with ENOSYS. Some functions are actually named
39910 something starting with __ and the normal name is an alias. */
39911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39912 choke me
39913 #else
39914 char (*f) () = $ac_func;
39915 #endif
39916 #ifdef __cplusplus
39918 #endif
39921 main ()
39923 return f != $ac_func;
39925 return 0;
39927 _ACEOF
39928 rm -f conftest.$ac_objext conftest$ac_exeext
39929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39930 (eval $ac_link) 2>conftest.er1
39931 ac_status=$?
39932 grep -v '^ *+' conftest.er1 >conftest.err
39933 rm -f conftest.er1
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } &&
39937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; } &&
39943 { ac_try='test -s conftest$ac_exeext'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39946 ac_status=$?
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; }; then
39949 eval "$as_ac_var=yes"
39950 else
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39954 eval "$as_ac_var=no"
39956 rm -f conftest.err conftest.$ac_objext \
39957 conftest$ac_exeext conftest.$ac_ext
39959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39961 if test `eval echo '${'$as_ac_var'}'` = yes; then
39962 cat >>confdefs.h <<_ACEOF
39963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39964 _ACEOF
39967 done
39974 echo "$as_me:$LINENO: checking for finitef declaration" >&5
39975 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
39976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
39978 echo $ECHO_N "(cached) $ECHO_C" >&6
39979 else
39983 ac_ext=cc
39984 ac_cpp='$CXXCPP $CPPFLAGS'
39985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39989 cat >conftest.$ac_ext <<_ACEOF
39990 /* confdefs.h. */
39991 _ACEOF
39992 cat confdefs.h >>conftest.$ac_ext
39993 cat >>conftest.$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39995 #include <math.h>
39996 #ifdef HAVE_IEEEFP_H
39997 #include <ieeefp.h>
39998 #endif
40001 main ()
40003 finitef(0);
40005 return 0;
40007 _ACEOF
40008 rm -f conftest.$ac_objext
40009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40010 (eval $ac_compile) 2>conftest.er1
40011 ac_status=$?
40012 grep -v '^ *+' conftest.er1 >conftest.err
40013 rm -f conftest.er1
40014 cat conftest.err >&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } &&
40017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40020 ac_status=$?
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; } &&
40023 { ac_try='test -s conftest.$ac_objext'
40024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40025 (eval $ac_try) 2>&5
40026 ac_status=$?
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); }; }; then
40029 glibcxx_cv_func_finitef_use=yes
40030 else
40031 echo "$as_me: failed program was:" >&5
40032 sed 's/^/| /' conftest.$ac_ext >&5
40034 glibcxx_cv_func_finitef_use=no
40036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40037 ac_ext=c
40038 ac_cpp='$CPP $CPPFLAGS'
40039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40048 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40050 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40052 for ac_func in finitef
40054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40055 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40057 if eval "test \"\${$as_ac_var+set}\" = set"; then
40058 echo $ECHO_N "(cached) $ECHO_C" >&6
40059 else
40060 if test x$gcc_no_link = xyes; then
40061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40063 { (exit 1); exit 1; }; }
40065 cat >conftest.$ac_ext <<_ACEOF
40066 /* confdefs.h. */
40067 _ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40073 #define $ac_func innocuous_$ac_func
40075 /* System header to define __stub macros and hopefully few prototypes,
40076 which can conflict with char $ac_func (); below.
40077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40078 <limits.h> exists even on freestanding compilers. */
40080 #ifdef __STDC__
40081 # include <limits.h>
40082 #else
40083 # include <assert.h>
40084 #endif
40086 #undef $ac_func
40088 /* Override any gcc2 internal prototype to avoid an error. */
40089 #ifdef __cplusplus
40090 extern "C"
40092 #endif
40093 /* We use char because int might match the return type of a gcc2
40094 builtin and then its argument prototype would still apply. */
40095 char $ac_func ();
40096 /* The GNU C library defines this for functions which it implements
40097 to always fail with ENOSYS. Some functions are actually named
40098 something starting with __ and the normal name is an alias. */
40099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40100 choke me
40101 #else
40102 char (*f) () = $ac_func;
40103 #endif
40104 #ifdef __cplusplus
40106 #endif
40109 main ()
40111 return f != $ac_func;
40113 return 0;
40115 _ACEOF
40116 rm -f conftest.$ac_objext conftest$ac_exeext
40117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40118 (eval $ac_link) 2>conftest.er1
40119 ac_status=$?
40120 grep -v '^ *+' conftest.er1 >conftest.err
40121 rm -f conftest.er1
40122 cat conftest.err >&5
40123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40124 (exit $ac_status); } &&
40125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40127 (eval $ac_try) 2>&5
40128 ac_status=$?
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); }; } &&
40131 { ac_try='test -s conftest$ac_exeext'
40132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40133 (eval $ac_try) 2>&5
40134 ac_status=$?
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); }; }; then
40137 eval "$as_ac_var=yes"
40138 else
40139 echo "$as_me: failed program was:" >&5
40140 sed 's/^/| /' conftest.$ac_ext >&5
40142 eval "$as_ac_var=no"
40144 rm -f conftest.err conftest.$ac_objext \
40145 conftest$ac_exeext conftest.$ac_ext
40147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40149 if test `eval echo '${'$as_ac_var'}'` = yes; then
40150 cat >>confdefs.h <<_ACEOF
40151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40152 _ACEOF
40155 done
40157 else
40159 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40160 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40161 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40162 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40163 echo $ECHO_N "(cached) $ECHO_C" >&6
40164 else
40168 ac_ext=cc
40169 ac_cpp='$CXXCPP $CPPFLAGS'
40170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40174 cat >conftest.$ac_ext <<_ACEOF
40175 /* confdefs.h. */
40176 _ACEOF
40177 cat confdefs.h >>conftest.$ac_ext
40178 cat >>conftest.$ac_ext <<_ACEOF
40179 /* end confdefs.h. */
40180 #include <math.h>
40181 #ifdef HAVE_IEEEFP_H
40182 #include <ieeefp.h>
40183 #endif
40186 main ()
40188 _finitef(0);
40190 return 0;
40192 _ACEOF
40193 rm -f conftest.$ac_objext
40194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40195 (eval $ac_compile) 2>conftest.er1
40196 ac_status=$?
40197 grep -v '^ *+' conftest.er1 >conftest.err
40198 rm -f conftest.er1
40199 cat conftest.err >&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); } &&
40202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40204 (eval $ac_try) 2>&5
40205 ac_status=$?
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); }; } &&
40208 { ac_try='test -s conftest.$ac_objext'
40209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40210 (eval $ac_try) 2>&5
40211 ac_status=$?
40212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40213 (exit $ac_status); }; }; then
40214 glibcxx_cv_func__finitef_use=yes
40215 else
40216 echo "$as_me: failed program was:" >&5
40217 sed 's/^/| /' conftest.$ac_ext >&5
40219 glibcxx_cv_func__finitef_use=no
40221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40222 ac_ext=c
40223 ac_cpp='$CPP $CPPFLAGS'
40224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40233 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40235 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40237 for ac_func in _finitef
40239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40240 echo "$as_me:$LINENO: checking for $ac_func" >&5
40241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40242 if eval "test \"\${$as_ac_var+set}\" = set"; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40244 else
40245 if test x$gcc_no_link = xyes; then
40246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40248 { (exit 1); exit 1; }; }
40250 cat >conftest.$ac_ext <<_ACEOF
40251 /* confdefs.h. */
40252 _ACEOF
40253 cat confdefs.h >>conftest.$ac_ext
40254 cat >>conftest.$ac_ext <<_ACEOF
40255 /* end confdefs.h. */
40256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40258 #define $ac_func innocuous_$ac_func
40260 /* System header to define __stub macros and hopefully few prototypes,
40261 which can conflict with char $ac_func (); below.
40262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40263 <limits.h> exists even on freestanding compilers. */
40265 #ifdef __STDC__
40266 # include <limits.h>
40267 #else
40268 # include <assert.h>
40269 #endif
40271 #undef $ac_func
40273 /* Override any gcc2 internal prototype to avoid an error. */
40274 #ifdef __cplusplus
40275 extern "C"
40277 #endif
40278 /* We use char because int might match the return type of a gcc2
40279 builtin and then its argument prototype would still apply. */
40280 char $ac_func ();
40281 /* The GNU C library defines this for functions which it implements
40282 to always fail with ENOSYS. Some functions are actually named
40283 something starting with __ and the normal name is an alias. */
40284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40285 choke me
40286 #else
40287 char (*f) () = $ac_func;
40288 #endif
40289 #ifdef __cplusplus
40291 #endif
40294 main ()
40296 return f != $ac_func;
40298 return 0;
40300 _ACEOF
40301 rm -f conftest.$ac_objext conftest$ac_exeext
40302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40303 (eval $ac_link) 2>conftest.er1
40304 ac_status=$?
40305 grep -v '^ *+' conftest.er1 >conftest.err
40306 rm -f conftest.er1
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } &&
40310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40312 (eval $ac_try) 2>&5
40313 ac_status=$?
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); }; } &&
40316 { ac_try='test -s conftest$ac_exeext'
40317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40318 (eval $ac_try) 2>&5
40319 ac_status=$?
40320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321 (exit $ac_status); }; }; then
40322 eval "$as_ac_var=yes"
40323 else
40324 echo "$as_me: failed program was:" >&5
40325 sed 's/^/| /' conftest.$ac_ext >&5
40327 eval "$as_ac_var=no"
40329 rm -f conftest.err conftest.$ac_objext \
40330 conftest$ac_exeext conftest.$ac_ext
40332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40334 if test `eval echo '${'$as_ac_var'}'` = yes; then
40335 cat >>confdefs.h <<_ACEOF
40336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40337 _ACEOF
40340 done
40347 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40348 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40349 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40350 echo $ECHO_N "(cached) $ECHO_C" >&6
40351 else
40355 ac_ext=cc
40356 ac_cpp='$CXXCPP $CPPFLAGS'
40357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40361 cat >conftest.$ac_ext <<_ACEOF
40362 /* confdefs.h. */
40363 _ACEOF
40364 cat confdefs.h >>conftest.$ac_ext
40365 cat >>conftest.$ac_ext <<_ACEOF
40366 /* end confdefs.h. */
40367 #include <math.h>
40369 main ()
40371 `for x in acosl asinl atanl \
40372 cosl sinl tanl \
40373 coshl sinhl tanhl; do echo "$x (0);"; done`
40375 return 0;
40377 _ACEOF
40378 rm -f conftest.$ac_objext
40379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40380 (eval $ac_compile) 2>conftest.er1
40381 ac_status=$?
40382 grep -v '^ *+' conftest.er1 >conftest.err
40383 rm -f conftest.er1
40384 cat conftest.err >&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } &&
40387 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40390 ac_status=$?
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; } &&
40393 { ac_try='test -s conftest.$ac_objext'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40396 ac_status=$?
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; }; then
40399 glibcxx_cv_func_long_double_trig_use=yes
40400 else
40401 echo "$as_me: failed program was:" >&5
40402 sed 's/^/| /' conftest.$ac_ext >&5
40404 glibcxx_cv_func_long_double_trig_use=no
40406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40407 ac_ext=c
40408 ac_cpp='$CPP $CPPFLAGS'
40409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40416 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40417 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40427 for ac_func in acosl asinl atanl \
40428 cosl sinl tanl \
40429 coshl sinhl tanhl
40431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40432 echo "$as_me:$LINENO: checking for $ac_func" >&5
40433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40434 if eval "test \"\${$as_ac_var+set}\" = set"; then
40435 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 else
40437 if test x$gcc_no_link = xyes; then
40438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40440 { (exit 1); exit 1; }; }
40442 cat >conftest.$ac_ext <<_ACEOF
40443 /* confdefs.h. */
40444 _ACEOF
40445 cat confdefs.h >>conftest.$ac_ext
40446 cat >>conftest.$ac_ext <<_ACEOF
40447 /* end confdefs.h. */
40448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40450 #define $ac_func innocuous_$ac_func
40452 /* System header to define __stub macros and hopefully few prototypes,
40453 which can conflict with char $ac_func (); below.
40454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40455 <limits.h> exists even on freestanding compilers. */
40457 #ifdef __STDC__
40458 # include <limits.h>
40459 #else
40460 # include <assert.h>
40461 #endif
40463 #undef $ac_func
40465 /* Override any gcc2 internal prototype to avoid an error. */
40466 #ifdef __cplusplus
40467 extern "C"
40469 #endif
40470 /* We use char because int might match the return type of a gcc2
40471 builtin and then its argument prototype would still apply. */
40472 char $ac_func ();
40473 /* The GNU C library defines this for functions which it implements
40474 to always fail with ENOSYS. Some functions are actually named
40475 something starting with __ and the normal name is an alias. */
40476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40477 choke me
40478 #else
40479 char (*f) () = $ac_func;
40480 #endif
40481 #ifdef __cplusplus
40483 #endif
40486 main ()
40488 return f != $ac_func;
40490 return 0;
40492 _ACEOF
40493 rm -f conftest.$ac_objext conftest$ac_exeext
40494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40495 (eval $ac_link) 2>conftest.er1
40496 ac_status=$?
40497 grep -v '^ *+' conftest.er1 >conftest.err
40498 rm -f conftest.er1
40499 cat conftest.err >&5
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); } &&
40502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504 (eval $ac_try) 2>&5
40505 ac_status=$?
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); }; } &&
40508 { ac_try='test -s conftest$ac_exeext'
40509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40510 (eval $ac_try) 2>&5
40511 ac_status=$?
40512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40513 (exit $ac_status); }; }; then
40514 eval "$as_ac_var=yes"
40515 else
40516 echo "$as_me: failed program was:" >&5
40517 sed 's/^/| /' conftest.$ac_ext >&5
40519 eval "$as_ac_var=no"
40521 rm -f conftest.err conftest.$ac_objext \
40522 conftest$ac_exeext conftest.$ac_ext
40524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40526 if test `eval echo '${'$as_ac_var'}'` = yes; then
40527 cat >>confdefs.h <<_ACEOF
40528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40529 _ACEOF
40532 done
40537 echo "$as_me:$LINENO: checking for long double round functions" >&5
40538 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40545 ac_ext=cc
40546 ac_cpp='$CXXCPP $CPPFLAGS'
40547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40551 cat >conftest.$ac_ext <<_ACEOF
40552 /* confdefs.h. */
40553 _ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40557 #include <math.h>
40559 main ()
40561 `for x in ceill floorl; do echo "$x (0);"; done`
40563 return 0;
40565 _ACEOF
40566 rm -f conftest.$ac_objext
40567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40568 (eval $ac_compile) 2>conftest.er1
40569 ac_status=$?
40570 grep -v '^ *+' conftest.er1 >conftest.err
40571 rm -f conftest.er1
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } &&
40575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40578 ac_status=$?
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; } &&
40581 { ac_try='test -s conftest.$ac_objext'
40582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40583 (eval $ac_try) 2>&5
40584 ac_status=$?
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); }; }; then
40587 glibcxx_cv_func_long_double_round_use=yes
40588 else
40589 echo "$as_me: failed program was:" >&5
40590 sed 's/^/| /' conftest.$ac_ext >&5
40592 glibcxx_cv_func_long_double_round_use=no
40594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40595 ac_ext=c
40596 ac_cpp='$CPP $CPPFLAGS'
40597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
40604 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
40605 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40608 for ac_func in ceill floorl
40610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40611 echo "$as_me:$LINENO: checking for $ac_func" >&5
40612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40613 if eval "test \"\${$as_ac_var+set}\" = set"; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40615 else
40616 if test x$gcc_no_link = xyes; then
40617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40619 { (exit 1); exit 1; }; }
40621 cat >conftest.$ac_ext <<_ACEOF
40622 /* confdefs.h. */
40623 _ACEOF
40624 cat confdefs.h >>conftest.$ac_ext
40625 cat >>conftest.$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40629 #define $ac_func innocuous_$ac_func
40631 /* System header to define __stub macros and hopefully few prototypes,
40632 which can conflict with char $ac_func (); below.
40633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40634 <limits.h> exists even on freestanding compilers. */
40636 #ifdef __STDC__
40637 # include <limits.h>
40638 #else
40639 # include <assert.h>
40640 #endif
40642 #undef $ac_func
40644 /* Override any gcc2 internal prototype to avoid an error. */
40645 #ifdef __cplusplus
40646 extern "C"
40648 #endif
40649 /* We use char because int might match the return type of a gcc2
40650 builtin and then its argument prototype would still apply. */
40651 char $ac_func ();
40652 /* The GNU C library defines this for functions which it implements
40653 to always fail with ENOSYS. Some functions are actually named
40654 something starting with __ and the normal name is an alias. */
40655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40656 choke me
40657 #else
40658 char (*f) () = $ac_func;
40659 #endif
40660 #ifdef __cplusplus
40662 #endif
40665 main ()
40667 return f != $ac_func;
40669 return 0;
40671 _ACEOF
40672 rm -f conftest.$ac_objext conftest$ac_exeext
40673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40674 (eval $ac_link) 2>conftest.er1
40675 ac_status=$?
40676 grep -v '^ *+' conftest.er1 >conftest.err
40677 rm -f conftest.er1
40678 cat conftest.err >&5
40679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40680 (exit $ac_status); } &&
40681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40684 ac_status=$?
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } &&
40687 { ac_try='test -s conftest$ac_exeext'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40690 ac_status=$?
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; }; then
40693 eval "$as_ac_var=yes"
40694 else
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40698 eval "$as_ac_var=no"
40700 rm -f conftest.err conftest.$ac_objext \
40701 conftest$ac_exeext conftest.$ac_ext
40703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40705 if test `eval echo '${'$as_ac_var'}'` = yes; then
40706 cat >>confdefs.h <<_ACEOF
40707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40708 _ACEOF
40711 done
40717 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
40718 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
40719 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40720 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
40721 echo $ECHO_N "(cached) $ECHO_C" >&6
40722 else
40726 ac_ext=cc
40727 ac_cpp='$CXXCPP $CPPFLAGS'
40728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40732 cat >conftest.$ac_ext <<_ACEOF
40733 /* confdefs.h. */
40734 _ACEOF
40735 cat confdefs.h >>conftest.$ac_ext
40736 cat >>conftest.$ac_ext <<_ACEOF
40737 /* end confdefs.h. */
40738 #include <math.h>
40739 #ifdef HAVE_IEEEFP_H
40740 #include <ieeefp.h>
40741 #endif
40744 main ()
40746 isnanl(0);
40748 return 0;
40750 _ACEOF
40751 rm -f conftest.$ac_objext
40752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40753 (eval $ac_compile) 2>conftest.er1
40754 ac_status=$?
40755 grep -v '^ *+' conftest.er1 >conftest.err
40756 rm -f conftest.er1
40757 cat conftest.err >&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); } &&
40760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40762 (eval $ac_try) 2>&5
40763 ac_status=$?
40764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40765 (exit $ac_status); }; } &&
40766 { ac_try='test -s conftest.$ac_objext'
40767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40768 (eval $ac_try) 2>&5
40769 ac_status=$?
40770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40771 (exit $ac_status); }; }; then
40772 glibcxx_cv_func_isnanl_use=yes
40773 else
40774 echo "$as_me: failed program was:" >&5
40775 sed 's/^/| /' conftest.$ac_ext >&5
40777 glibcxx_cv_func_isnanl_use=no
40779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40780 ac_ext=c
40781 ac_cpp='$CPP $CPPFLAGS'
40782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
40791 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
40793 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40795 for ac_func in isnanl
40797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40798 echo "$as_me:$LINENO: checking for $ac_func" >&5
40799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40800 if eval "test \"\${$as_ac_var+set}\" = set"; then
40801 echo $ECHO_N "(cached) $ECHO_C" >&6
40802 else
40803 if test x$gcc_no_link = xyes; then
40804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40806 { (exit 1); exit 1; }; }
40808 cat >conftest.$ac_ext <<_ACEOF
40809 /* confdefs.h. */
40810 _ACEOF
40811 cat confdefs.h >>conftest.$ac_ext
40812 cat >>conftest.$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40816 #define $ac_func innocuous_$ac_func
40818 /* System header to define __stub macros and hopefully few prototypes,
40819 which can conflict with char $ac_func (); below.
40820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40821 <limits.h> exists even on freestanding compilers. */
40823 #ifdef __STDC__
40824 # include <limits.h>
40825 #else
40826 # include <assert.h>
40827 #endif
40829 #undef $ac_func
40831 /* Override any gcc2 internal prototype to avoid an error. */
40832 #ifdef __cplusplus
40833 extern "C"
40835 #endif
40836 /* We use char because int might match the return type of a gcc2
40837 builtin and then its argument prototype would still apply. */
40838 char $ac_func ();
40839 /* The GNU C library defines this for functions which it implements
40840 to always fail with ENOSYS. Some functions are actually named
40841 something starting with __ and the normal name is an alias. */
40842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40843 choke me
40844 #else
40845 char (*f) () = $ac_func;
40846 #endif
40847 #ifdef __cplusplus
40849 #endif
40852 main ()
40854 return f != $ac_func;
40856 return 0;
40858 _ACEOF
40859 rm -f conftest.$ac_objext conftest$ac_exeext
40860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40861 (eval $ac_link) 2>conftest.er1
40862 ac_status=$?
40863 grep -v '^ *+' conftest.er1 >conftest.err
40864 rm -f conftest.er1
40865 cat conftest.err >&5
40866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40867 (exit $ac_status); } &&
40868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40870 (eval $ac_try) 2>&5
40871 ac_status=$?
40872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873 (exit $ac_status); }; } &&
40874 { ac_try='test -s conftest$ac_exeext'
40875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40876 (eval $ac_try) 2>&5
40877 ac_status=$?
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); }; }; then
40880 eval "$as_ac_var=yes"
40881 else
40882 echo "$as_me: failed program was:" >&5
40883 sed 's/^/| /' conftest.$ac_ext >&5
40885 eval "$as_ac_var=no"
40887 rm -f conftest.err conftest.$ac_objext \
40888 conftest$ac_exeext conftest.$ac_ext
40890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40892 if test `eval echo '${'$as_ac_var'}'` = yes; then
40893 cat >>confdefs.h <<_ACEOF
40894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40895 _ACEOF
40898 done
40900 else
40902 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
40903 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
40904 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40905 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
40906 echo $ECHO_N "(cached) $ECHO_C" >&6
40907 else
40911 ac_ext=cc
40912 ac_cpp='$CXXCPP $CPPFLAGS'
40913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40917 cat >conftest.$ac_ext <<_ACEOF
40918 /* confdefs.h. */
40919 _ACEOF
40920 cat confdefs.h >>conftest.$ac_ext
40921 cat >>conftest.$ac_ext <<_ACEOF
40922 /* end confdefs.h. */
40923 #include <math.h>
40924 #ifdef HAVE_IEEEFP_H
40925 #include <ieeefp.h>
40926 #endif
40929 main ()
40931 _isnanl(0);
40933 return 0;
40935 _ACEOF
40936 rm -f conftest.$ac_objext
40937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40938 (eval $ac_compile) 2>conftest.er1
40939 ac_status=$?
40940 grep -v '^ *+' conftest.er1 >conftest.err
40941 rm -f conftest.er1
40942 cat conftest.err >&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } &&
40945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40947 (eval $ac_try) 2>&5
40948 ac_status=$?
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); }; } &&
40951 { ac_try='test -s conftest.$ac_objext'
40952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40953 (eval $ac_try) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); }; }; then
40957 glibcxx_cv_func__isnanl_use=yes
40958 else
40959 echo "$as_me: failed program was:" >&5
40960 sed 's/^/| /' conftest.$ac_ext >&5
40962 glibcxx_cv_func__isnanl_use=no
40964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40965 ac_ext=c
40966 ac_cpp='$CPP $CPPFLAGS'
40967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
40976 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
40978 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40980 for ac_func in _isnanl
40982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40983 echo "$as_me:$LINENO: checking for $ac_func" >&5
40984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40985 if eval "test \"\${$as_ac_var+set}\" = set"; then
40986 echo $ECHO_N "(cached) $ECHO_C" >&6
40987 else
40988 if test x$gcc_no_link = xyes; then
40989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40991 { (exit 1); exit 1; }; }
40993 cat >conftest.$ac_ext <<_ACEOF
40994 /* confdefs.h. */
40995 _ACEOF
40996 cat confdefs.h >>conftest.$ac_ext
40997 cat >>conftest.$ac_ext <<_ACEOF
40998 /* end confdefs.h. */
40999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41001 #define $ac_func innocuous_$ac_func
41003 /* System header to define __stub macros and hopefully few prototypes,
41004 which can conflict with char $ac_func (); below.
41005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41006 <limits.h> exists even on freestanding compilers. */
41008 #ifdef __STDC__
41009 # include <limits.h>
41010 #else
41011 # include <assert.h>
41012 #endif
41014 #undef $ac_func
41016 /* Override any gcc2 internal prototype to avoid an error. */
41017 #ifdef __cplusplus
41018 extern "C"
41020 #endif
41021 /* We use char because int might match the return type of a gcc2
41022 builtin and then its argument prototype would still apply. */
41023 char $ac_func ();
41024 /* The GNU C library defines this for functions which it implements
41025 to always fail with ENOSYS. Some functions are actually named
41026 something starting with __ and the normal name is an alias. */
41027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41028 choke me
41029 #else
41030 char (*f) () = $ac_func;
41031 #endif
41032 #ifdef __cplusplus
41034 #endif
41037 main ()
41039 return f != $ac_func;
41041 return 0;
41043 _ACEOF
41044 rm -f conftest.$ac_objext conftest$ac_exeext
41045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41046 (eval $ac_link) 2>conftest.er1
41047 ac_status=$?
41048 grep -v '^ *+' conftest.er1 >conftest.err
41049 rm -f conftest.er1
41050 cat conftest.err >&5
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); } &&
41053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41055 (eval $ac_try) 2>&5
41056 ac_status=$?
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); }; } &&
41059 { ac_try='test -s conftest$ac_exeext'
41060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41061 (eval $ac_try) 2>&5
41062 ac_status=$?
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); }; }; then
41065 eval "$as_ac_var=yes"
41066 else
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41070 eval "$as_ac_var=no"
41072 rm -f conftest.err conftest.$ac_objext \
41073 conftest$ac_exeext conftest.$ac_ext
41075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41077 if test `eval echo '${'$as_ac_var'}'` = yes; then
41078 cat >>confdefs.h <<_ACEOF
41079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41080 _ACEOF
41083 done
41090 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41091 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41092 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41093 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41094 echo $ECHO_N "(cached) $ECHO_C" >&6
41095 else
41099 ac_ext=cc
41100 ac_cpp='$CXXCPP $CPPFLAGS'
41101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41105 cat >conftest.$ac_ext <<_ACEOF
41106 /* confdefs.h. */
41107 _ACEOF
41108 cat confdefs.h >>conftest.$ac_ext
41109 cat >>conftest.$ac_ext <<_ACEOF
41110 /* end confdefs.h. */
41111 #include <math.h>
41112 #ifdef HAVE_IEEEFP_H
41113 #include <ieeefp.h>
41114 #endif
41117 main ()
41119 isinfl(0);
41121 return 0;
41123 _ACEOF
41124 rm -f conftest.$ac_objext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41126 (eval $ac_compile) 2>conftest.er1
41127 ac_status=$?
41128 grep -v '^ *+' conftest.er1 >conftest.err
41129 rm -f conftest.er1
41130 cat conftest.err >&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } &&
41133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41135 (eval $ac_try) 2>&5
41136 ac_status=$?
41137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41138 (exit $ac_status); }; } &&
41139 { ac_try='test -s conftest.$ac_objext'
41140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41141 (eval $ac_try) 2>&5
41142 ac_status=$?
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); }; }; then
41145 glibcxx_cv_func_isinfl_use=yes
41146 else
41147 echo "$as_me: failed program was:" >&5
41148 sed 's/^/| /' conftest.$ac_ext >&5
41150 glibcxx_cv_func_isinfl_use=no
41152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41153 ac_ext=c
41154 ac_cpp='$CPP $CPPFLAGS'
41155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41164 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41166 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41168 for ac_func in isinfl
41170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41171 echo "$as_me:$LINENO: checking for $ac_func" >&5
41172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41173 if eval "test \"\${$as_ac_var+set}\" = set"; then
41174 echo $ECHO_N "(cached) $ECHO_C" >&6
41175 else
41176 if test x$gcc_no_link = xyes; then
41177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41179 { (exit 1); exit 1; }; }
41181 cat >conftest.$ac_ext <<_ACEOF
41182 /* confdefs.h. */
41183 _ACEOF
41184 cat confdefs.h >>conftest.$ac_ext
41185 cat >>conftest.$ac_ext <<_ACEOF
41186 /* end confdefs.h. */
41187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41189 #define $ac_func innocuous_$ac_func
41191 /* System header to define __stub macros and hopefully few prototypes,
41192 which can conflict with char $ac_func (); below.
41193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41194 <limits.h> exists even on freestanding compilers. */
41196 #ifdef __STDC__
41197 # include <limits.h>
41198 #else
41199 # include <assert.h>
41200 #endif
41202 #undef $ac_func
41204 /* Override any gcc2 internal prototype to avoid an error. */
41205 #ifdef __cplusplus
41206 extern "C"
41208 #endif
41209 /* We use char because int might match the return type of a gcc2
41210 builtin and then its argument prototype would still apply. */
41211 char $ac_func ();
41212 /* The GNU C library defines this for functions which it implements
41213 to always fail with ENOSYS. Some functions are actually named
41214 something starting with __ and the normal name is an alias. */
41215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41216 choke me
41217 #else
41218 char (*f) () = $ac_func;
41219 #endif
41220 #ifdef __cplusplus
41222 #endif
41225 main ()
41227 return f != $ac_func;
41229 return 0;
41231 _ACEOF
41232 rm -f conftest.$ac_objext conftest$ac_exeext
41233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41234 (eval $ac_link) 2>conftest.er1
41235 ac_status=$?
41236 grep -v '^ *+' conftest.er1 >conftest.err
41237 rm -f conftest.er1
41238 cat conftest.err >&5
41239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240 (exit $ac_status); } &&
41241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41243 (eval $ac_try) 2>&5
41244 ac_status=$?
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); }; } &&
41247 { ac_try='test -s conftest$ac_exeext'
41248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41249 (eval $ac_try) 2>&5
41250 ac_status=$?
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); }; }; then
41253 eval "$as_ac_var=yes"
41254 else
41255 echo "$as_me: failed program was:" >&5
41256 sed 's/^/| /' conftest.$ac_ext >&5
41258 eval "$as_ac_var=no"
41260 rm -f conftest.err conftest.$ac_objext \
41261 conftest$ac_exeext conftest.$ac_ext
41263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41265 if test `eval echo '${'$as_ac_var'}'` = yes; then
41266 cat >>confdefs.h <<_ACEOF
41267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41268 _ACEOF
41271 done
41273 else
41275 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41276 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41277 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41278 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41279 echo $ECHO_N "(cached) $ECHO_C" >&6
41280 else
41284 ac_ext=cc
41285 ac_cpp='$CXXCPP $CPPFLAGS'
41286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41290 cat >conftest.$ac_ext <<_ACEOF
41291 /* confdefs.h. */
41292 _ACEOF
41293 cat confdefs.h >>conftest.$ac_ext
41294 cat >>conftest.$ac_ext <<_ACEOF
41295 /* end confdefs.h. */
41296 #include <math.h>
41297 #ifdef HAVE_IEEEFP_H
41298 #include <ieeefp.h>
41299 #endif
41302 main ()
41304 _isinfl(0);
41306 return 0;
41308 _ACEOF
41309 rm -f conftest.$ac_objext
41310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41311 (eval $ac_compile) 2>conftest.er1
41312 ac_status=$?
41313 grep -v '^ *+' conftest.er1 >conftest.err
41314 rm -f conftest.er1
41315 cat conftest.err >&5
41316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41317 (exit $ac_status); } &&
41318 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41320 (eval $ac_try) 2>&5
41321 ac_status=$?
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); }; } &&
41324 { ac_try='test -s conftest.$ac_objext'
41325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41326 (eval $ac_try) 2>&5
41327 ac_status=$?
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); }; }; then
41330 glibcxx_cv_func__isinfl_use=yes
41331 else
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.$ac_ext >&5
41335 glibcxx_cv_func__isinfl_use=no
41337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41338 ac_ext=c
41339 ac_cpp='$CPP $CPPFLAGS'
41340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41349 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41351 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41353 for ac_func in _isinfl
41355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41356 echo "$as_me:$LINENO: checking for $ac_func" >&5
41357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41358 if eval "test \"\${$as_ac_var+set}\" = set"; then
41359 echo $ECHO_N "(cached) $ECHO_C" >&6
41360 else
41361 if test x$gcc_no_link = xyes; then
41362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41364 { (exit 1); exit 1; }; }
41366 cat >conftest.$ac_ext <<_ACEOF
41367 /* confdefs.h. */
41368 _ACEOF
41369 cat confdefs.h >>conftest.$ac_ext
41370 cat >>conftest.$ac_ext <<_ACEOF
41371 /* end confdefs.h. */
41372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41374 #define $ac_func innocuous_$ac_func
41376 /* System header to define __stub macros and hopefully few prototypes,
41377 which can conflict with char $ac_func (); below.
41378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41379 <limits.h> exists even on freestanding compilers. */
41381 #ifdef __STDC__
41382 # include <limits.h>
41383 #else
41384 # include <assert.h>
41385 #endif
41387 #undef $ac_func
41389 /* Override any gcc2 internal prototype to avoid an error. */
41390 #ifdef __cplusplus
41391 extern "C"
41393 #endif
41394 /* We use char because int might match the return type of a gcc2
41395 builtin and then its argument prototype would still apply. */
41396 char $ac_func ();
41397 /* The GNU C library defines this for functions which it implements
41398 to always fail with ENOSYS. Some functions are actually named
41399 something starting with __ and the normal name is an alias. */
41400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41401 choke me
41402 #else
41403 char (*f) () = $ac_func;
41404 #endif
41405 #ifdef __cplusplus
41407 #endif
41410 main ()
41412 return f != $ac_func;
41414 return 0;
41416 _ACEOF
41417 rm -f conftest.$ac_objext conftest$ac_exeext
41418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41419 (eval $ac_link) 2>conftest.er1
41420 ac_status=$?
41421 grep -v '^ *+' conftest.er1 >conftest.err
41422 rm -f conftest.er1
41423 cat conftest.err >&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); } &&
41426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41428 (eval $ac_try) 2>&5
41429 ac_status=$?
41430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41431 (exit $ac_status); }; } &&
41432 { ac_try='test -s conftest$ac_exeext'
41433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41434 (eval $ac_try) 2>&5
41435 ac_status=$?
41436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41437 (exit $ac_status); }; }; then
41438 eval "$as_ac_var=yes"
41439 else
41440 echo "$as_me: failed program was:" >&5
41441 sed 's/^/| /' conftest.$ac_ext >&5
41443 eval "$as_ac_var=no"
41445 rm -f conftest.err conftest.$ac_objext \
41446 conftest$ac_exeext conftest.$ac_ext
41448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41450 if test `eval echo '${'$as_ac_var'}'` = yes; then
41451 cat >>confdefs.h <<_ACEOF
41452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41453 _ACEOF
41456 done
41463 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41464 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41465 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41466 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41467 echo $ECHO_N "(cached) $ECHO_C" >&6
41468 else
41472 ac_ext=cc
41473 ac_cpp='$CXXCPP $CPPFLAGS'
41474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41478 cat >conftest.$ac_ext <<_ACEOF
41479 /* confdefs.h. */
41480 _ACEOF
41481 cat confdefs.h >>conftest.$ac_ext
41482 cat >>conftest.$ac_ext <<_ACEOF
41483 /* end confdefs.h. */
41484 #include <math.h>
41486 main ()
41488 copysignl(0, 0);
41490 return 0;
41492 _ACEOF
41493 rm -f conftest.$ac_objext
41494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41495 (eval $ac_compile) 2>conftest.er1
41496 ac_status=$?
41497 grep -v '^ *+' conftest.er1 >conftest.err
41498 rm -f conftest.er1
41499 cat conftest.err >&5
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); } &&
41502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504 (eval $ac_try) 2>&5
41505 ac_status=$?
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; } &&
41508 { ac_try='test -s conftest.$ac_objext'
41509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41510 (eval $ac_try) 2>&5
41511 ac_status=$?
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); }; }; then
41514 glibcxx_cv_func_copysignl_use=yes
41515 else
41516 echo "$as_me: failed program was:" >&5
41517 sed 's/^/| /' conftest.$ac_ext >&5
41519 glibcxx_cv_func_copysignl_use=no
41521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41522 ac_ext=c
41523 ac_cpp='$CPP $CPPFLAGS'
41524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41533 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41535 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41537 for ac_func in copysignl
41539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41540 echo "$as_me:$LINENO: checking for $ac_func" >&5
41541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41542 if eval "test \"\${$as_ac_var+set}\" = set"; then
41543 echo $ECHO_N "(cached) $ECHO_C" >&6
41544 else
41545 if test x$gcc_no_link = xyes; then
41546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41548 { (exit 1); exit 1; }; }
41550 cat >conftest.$ac_ext <<_ACEOF
41551 /* confdefs.h. */
41552 _ACEOF
41553 cat confdefs.h >>conftest.$ac_ext
41554 cat >>conftest.$ac_ext <<_ACEOF
41555 /* end confdefs.h. */
41556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41558 #define $ac_func innocuous_$ac_func
41560 /* System header to define __stub macros and hopefully few prototypes,
41561 which can conflict with char $ac_func (); below.
41562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41563 <limits.h> exists even on freestanding compilers. */
41565 #ifdef __STDC__
41566 # include <limits.h>
41567 #else
41568 # include <assert.h>
41569 #endif
41571 #undef $ac_func
41573 /* Override any gcc2 internal prototype to avoid an error. */
41574 #ifdef __cplusplus
41575 extern "C"
41577 #endif
41578 /* We use char because int might match the return type of a gcc2
41579 builtin and then its argument prototype would still apply. */
41580 char $ac_func ();
41581 /* The GNU C library defines this for functions which it implements
41582 to always fail with ENOSYS. Some functions are actually named
41583 something starting with __ and the normal name is an alias. */
41584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41585 choke me
41586 #else
41587 char (*f) () = $ac_func;
41588 #endif
41589 #ifdef __cplusplus
41591 #endif
41594 main ()
41596 return f != $ac_func;
41598 return 0;
41600 _ACEOF
41601 rm -f conftest.$ac_objext conftest$ac_exeext
41602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41603 (eval $ac_link) 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } &&
41610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41613 ac_status=$?
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; } &&
41616 { ac_try='test -s conftest$ac_exeext'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41619 ac_status=$?
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; }; then
41622 eval "$as_ac_var=yes"
41623 else
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41627 eval "$as_ac_var=no"
41629 rm -f conftest.err conftest.$ac_objext \
41630 conftest$ac_exeext conftest.$ac_ext
41632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41634 if test `eval echo '${'$as_ac_var'}'` = yes; then
41635 cat >>confdefs.h <<_ACEOF
41636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41637 _ACEOF
41640 done
41642 else
41644 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
41645 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
41646 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
41647 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
41648 echo $ECHO_N "(cached) $ECHO_C" >&6
41649 else
41653 ac_ext=cc
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41659 cat >conftest.$ac_ext <<_ACEOF
41660 /* confdefs.h. */
41661 _ACEOF
41662 cat confdefs.h >>conftest.$ac_ext
41663 cat >>conftest.$ac_ext <<_ACEOF
41664 /* end confdefs.h. */
41665 #include <math.h>
41667 main ()
41669 _copysignl(0, 0);
41671 return 0;
41673 _ACEOF
41674 rm -f conftest.$ac_objext
41675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41676 (eval $ac_compile) 2>conftest.er1
41677 ac_status=$?
41678 grep -v '^ *+' conftest.er1 >conftest.err
41679 rm -f conftest.er1
41680 cat conftest.err >&5
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); } &&
41683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41685 (eval $ac_try) 2>&5
41686 ac_status=$?
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); }; } &&
41689 { ac_try='test -s conftest.$ac_objext'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41692 ac_status=$?
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; }; then
41695 glibcxx_cv_func__copysignl_use=yes
41696 else
41697 echo "$as_me: failed program was:" >&5
41698 sed 's/^/| /' conftest.$ac_ext >&5
41700 glibcxx_cv_func__copysignl_use=no
41702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41703 ac_ext=c
41704 ac_cpp='$CPP $CPPFLAGS'
41705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
41714 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
41716 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
41718 for ac_func in _copysignl
41720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41721 echo "$as_me:$LINENO: checking for $ac_func" >&5
41722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41723 if eval "test \"\${$as_ac_var+set}\" = set"; then
41724 echo $ECHO_N "(cached) $ECHO_C" >&6
41725 else
41726 if test x$gcc_no_link = xyes; then
41727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41729 { (exit 1); exit 1; }; }
41731 cat >conftest.$ac_ext <<_ACEOF
41732 /* confdefs.h. */
41733 _ACEOF
41734 cat confdefs.h >>conftest.$ac_ext
41735 cat >>conftest.$ac_ext <<_ACEOF
41736 /* end confdefs.h. */
41737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41739 #define $ac_func innocuous_$ac_func
41741 /* System header to define __stub macros and hopefully few prototypes,
41742 which can conflict with char $ac_func (); below.
41743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41744 <limits.h> exists even on freestanding compilers. */
41746 #ifdef __STDC__
41747 # include <limits.h>
41748 #else
41749 # include <assert.h>
41750 #endif
41752 #undef $ac_func
41754 /* Override any gcc2 internal prototype to avoid an error. */
41755 #ifdef __cplusplus
41756 extern "C"
41758 #endif
41759 /* We use char because int might match the return type of a gcc2
41760 builtin and then its argument prototype would still apply. */
41761 char $ac_func ();
41762 /* The GNU C library defines this for functions which it implements
41763 to always fail with ENOSYS. Some functions are actually named
41764 something starting with __ and the normal name is an alias. */
41765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41766 choke me
41767 #else
41768 char (*f) () = $ac_func;
41769 #endif
41770 #ifdef __cplusplus
41772 #endif
41775 main ()
41777 return f != $ac_func;
41779 return 0;
41781 _ACEOF
41782 rm -f conftest.$ac_objext conftest$ac_exeext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41784 (eval $ac_link) 2>conftest.er1
41785 ac_status=$?
41786 grep -v '^ *+' conftest.er1 >conftest.err
41787 rm -f conftest.er1
41788 cat conftest.err >&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } &&
41791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41793 (eval $ac_try) 2>&5
41794 ac_status=$?
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); }; } &&
41797 { ac_try='test -s conftest$ac_exeext'
41798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41799 (eval $ac_try) 2>&5
41800 ac_status=$?
41801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41802 (exit $ac_status); }; }; then
41803 eval "$as_ac_var=yes"
41804 else
41805 echo "$as_me: failed program was:" >&5
41806 sed 's/^/| /' conftest.$ac_ext >&5
41808 eval "$as_ac_var=no"
41810 rm -f conftest.err conftest.$ac_objext \
41811 conftest$ac_exeext conftest.$ac_ext
41813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41815 if test `eval echo '${'$as_ac_var'}'` = yes; then
41816 cat >>confdefs.h <<_ACEOF
41817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41818 _ACEOF
41821 done
41828 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
41829 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
41830 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41831 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
41832 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 else
41837 ac_ext=cc
41838 ac_cpp='$CXXCPP $CPPFLAGS'
41839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h. */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h. */
41849 #include <math.h>
41851 main ()
41853 atan2l(0, 0);
41855 return 0;
41857 _ACEOF
41858 rm -f conftest.$ac_objext
41859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41860 (eval $ac_compile) 2>conftest.er1
41861 ac_status=$?
41862 grep -v '^ *+' conftest.er1 >conftest.err
41863 rm -f conftest.er1
41864 cat conftest.err >&5
41865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41866 (exit $ac_status); } &&
41867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41869 (eval $ac_try) 2>&5
41870 ac_status=$?
41871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41872 (exit $ac_status); }; } &&
41873 { ac_try='test -s conftest.$ac_objext'
41874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41875 (eval $ac_try) 2>&5
41876 ac_status=$?
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); }; }; then
41879 glibcxx_cv_func_atan2l_use=yes
41880 else
41881 echo "$as_me: failed program was:" >&5
41882 sed 's/^/| /' conftest.$ac_ext >&5
41884 glibcxx_cv_func_atan2l_use=no
41886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41887 ac_ext=c
41888 ac_cpp='$CPP $CPPFLAGS'
41889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
41898 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
41900 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41902 for ac_func in atan2l
41904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41905 echo "$as_me:$LINENO: checking for $ac_func" >&5
41906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41907 if eval "test \"\${$as_ac_var+set}\" = set"; then
41908 echo $ECHO_N "(cached) $ECHO_C" >&6
41909 else
41910 if test x$gcc_no_link = xyes; then
41911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41913 { (exit 1); exit 1; }; }
41915 cat >conftest.$ac_ext <<_ACEOF
41916 /* confdefs.h. */
41917 _ACEOF
41918 cat confdefs.h >>conftest.$ac_ext
41919 cat >>conftest.$ac_ext <<_ACEOF
41920 /* end confdefs.h. */
41921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41923 #define $ac_func innocuous_$ac_func
41925 /* System header to define __stub macros and hopefully few prototypes,
41926 which can conflict with char $ac_func (); below.
41927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41928 <limits.h> exists even on freestanding compilers. */
41930 #ifdef __STDC__
41931 # include <limits.h>
41932 #else
41933 # include <assert.h>
41934 #endif
41936 #undef $ac_func
41938 /* Override any gcc2 internal prototype to avoid an error. */
41939 #ifdef __cplusplus
41940 extern "C"
41942 #endif
41943 /* We use char because int might match the return type of a gcc2
41944 builtin and then its argument prototype would still apply. */
41945 char $ac_func ();
41946 /* The GNU C library defines this for functions which it implements
41947 to always fail with ENOSYS. Some functions are actually named
41948 something starting with __ and the normal name is an alias. */
41949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41950 choke me
41951 #else
41952 char (*f) () = $ac_func;
41953 #endif
41954 #ifdef __cplusplus
41956 #endif
41959 main ()
41961 return f != $ac_func;
41963 return 0;
41965 _ACEOF
41966 rm -f conftest.$ac_objext conftest$ac_exeext
41967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41968 (eval $ac_link) 2>conftest.er1
41969 ac_status=$?
41970 grep -v '^ *+' conftest.er1 >conftest.err
41971 rm -f conftest.er1
41972 cat conftest.err >&5
41973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974 (exit $ac_status); } &&
41975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41977 (eval $ac_try) 2>&5
41978 ac_status=$?
41979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41980 (exit $ac_status); }; } &&
41981 { ac_try='test -s conftest$ac_exeext'
41982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41983 (eval $ac_try) 2>&5
41984 ac_status=$?
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; }; then
41987 eval "$as_ac_var=yes"
41988 else
41989 echo "$as_me: failed program was:" >&5
41990 sed 's/^/| /' conftest.$ac_ext >&5
41992 eval "$as_ac_var=no"
41994 rm -f conftest.err conftest.$ac_objext \
41995 conftest$ac_exeext conftest.$ac_ext
41997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41999 if test `eval echo '${'$as_ac_var'}'` = yes; then
42000 cat >>confdefs.h <<_ACEOF
42001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42002 _ACEOF
42005 done
42007 else
42009 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42010 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42011 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42012 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42013 echo $ECHO_N "(cached) $ECHO_C" >&6
42014 else
42018 ac_ext=cc
42019 ac_cpp='$CXXCPP $CPPFLAGS'
42020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42024 cat >conftest.$ac_ext <<_ACEOF
42025 /* confdefs.h. */
42026 _ACEOF
42027 cat confdefs.h >>conftest.$ac_ext
42028 cat >>conftest.$ac_ext <<_ACEOF
42029 /* end confdefs.h. */
42030 #include <math.h>
42032 main ()
42034 _atan2l(0, 0);
42036 return 0;
42038 _ACEOF
42039 rm -f conftest.$ac_objext
42040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42041 (eval $ac_compile) 2>conftest.er1
42042 ac_status=$?
42043 grep -v '^ *+' conftest.er1 >conftest.err
42044 rm -f conftest.er1
42045 cat conftest.err >&5
42046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42047 (exit $ac_status); } &&
42048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42050 (eval $ac_try) 2>&5
42051 ac_status=$?
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); }; } &&
42054 { ac_try='test -s conftest.$ac_objext'
42055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42056 (eval $ac_try) 2>&5
42057 ac_status=$?
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); }; }; then
42060 glibcxx_cv_func__atan2l_use=yes
42061 else
42062 echo "$as_me: failed program was:" >&5
42063 sed 's/^/| /' conftest.$ac_ext >&5
42065 glibcxx_cv_func__atan2l_use=no
42067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42068 ac_ext=c
42069 ac_cpp='$CPP $CPPFLAGS'
42070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42079 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42081 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42083 for ac_func in _atan2l
42085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42086 echo "$as_me:$LINENO: checking for $ac_func" >&5
42087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42088 if eval "test \"\${$as_ac_var+set}\" = set"; then
42089 echo $ECHO_N "(cached) $ECHO_C" >&6
42090 else
42091 if test x$gcc_no_link = xyes; then
42092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42094 { (exit 1); exit 1; }; }
42096 cat >conftest.$ac_ext <<_ACEOF
42097 /* confdefs.h. */
42098 _ACEOF
42099 cat confdefs.h >>conftest.$ac_ext
42100 cat >>conftest.$ac_ext <<_ACEOF
42101 /* end confdefs.h. */
42102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42104 #define $ac_func innocuous_$ac_func
42106 /* System header to define __stub macros and hopefully few prototypes,
42107 which can conflict with char $ac_func (); below.
42108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42109 <limits.h> exists even on freestanding compilers. */
42111 #ifdef __STDC__
42112 # include <limits.h>
42113 #else
42114 # include <assert.h>
42115 #endif
42117 #undef $ac_func
42119 /* Override any gcc2 internal prototype to avoid an error. */
42120 #ifdef __cplusplus
42121 extern "C"
42123 #endif
42124 /* We use char because int might match the return type of a gcc2
42125 builtin and then its argument prototype would still apply. */
42126 char $ac_func ();
42127 /* The GNU C library defines this for functions which it implements
42128 to always fail with ENOSYS. Some functions are actually named
42129 something starting with __ and the normal name is an alias. */
42130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42131 choke me
42132 #else
42133 char (*f) () = $ac_func;
42134 #endif
42135 #ifdef __cplusplus
42137 #endif
42140 main ()
42142 return f != $ac_func;
42144 return 0;
42146 _ACEOF
42147 rm -f conftest.$ac_objext conftest$ac_exeext
42148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42149 (eval $ac_link) 2>conftest.er1
42150 ac_status=$?
42151 grep -v '^ *+' conftest.er1 >conftest.err
42152 rm -f conftest.er1
42153 cat conftest.err >&5
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); } &&
42156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42158 (eval $ac_try) 2>&5
42159 ac_status=$?
42160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161 (exit $ac_status); }; } &&
42162 { ac_try='test -s conftest$ac_exeext'
42163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42164 (eval $ac_try) 2>&5
42165 ac_status=$?
42166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42167 (exit $ac_status); }; }; then
42168 eval "$as_ac_var=yes"
42169 else
42170 echo "$as_me: failed program was:" >&5
42171 sed 's/^/| /' conftest.$ac_ext >&5
42173 eval "$as_ac_var=no"
42175 rm -f conftest.err conftest.$ac_objext \
42176 conftest$ac_exeext conftest.$ac_ext
42178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42180 if test `eval echo '${'$as_ac_var'}'` = yes; then
42181 cat >>confdefs.h <<_ACEOF
42182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42183 _ACEOF
42186 done
42193 echo "$as_me:$LINENO: checking for expl declaration" >&5
42194 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42195 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42196 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42197 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 else
42202 ac_ext=cc
42203 ac_cpp='$CXXCPP $CPPFLAGS'
42204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42208 cat >conftest.$ac_ext <<_ACEOF
42209 /* confdefs.h. */
42210 _ACEOF
42211 cat confdefs.h >>conftest.$ac_ext
42212 cat >>conftest.$ac_ext <<_ACEOF
42213 /* end confdefs.h. */
42214 #include <math.h>
42215 #ifdef HAVE_IEEEFP_H
42216 #include <ieeefp.h>
42217 #endif
42220 main ()
42222 expl(0);
42224 return 0;
42226 _ACEOF
42227 rm -f conftest.$ac_objext
42228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42229 (eval $ac_compile) 2>conftest.er1
42230 ac_status=$?
42231 grep -v '^ *+' conftest.er1 >conftest.err
42232 rm -f conftest.er1
42233 cat conftest.err >&5
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); } &&
42236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42238 (eval $ac_try) 2>&5
42239 ac_status=$?
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); }; } &&
42242 { ac_try='test -s conftest.$ac_objext'
42243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 (eval $ac_try) 2>&5
42245 ac_status=$?
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); }; }; then
42248 glibcxx_cv_func_expl_use=yes
42249 else
42250 echo "$as_me: failed program was:" >&5
42251 sed 's/^/| /' conftest.$ac_ext >&5
42253 glibcxx_cv_func_expl_use=no
42255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42256 ac_ext=c
42257 ac_cpp='$CPP $CPPFLAGS'
42258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42267 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42269 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42271 for ac_func in expl
42273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42274 echo "$as_me:$LINENO: checking for $ac_func" >&5
42275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42276 if eval "test \"\${$as_ac_var+set}\" = set"; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42278 else
42279 if test x$gcc_no_link = xyes; then
42280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42282 { (exit 1); exit 1; }; }
42284 cat >conftest.$ac_ext <<_ACEOF
42285 /* confdefs.h. */
42286 _ACEOF
42287 cat confdefs.h >>conftest.$ac_ext
42288 cat >>conftest.$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42292 #define $ac_func innocuous_$ac_func
42294 /* System header to define __stub macros and hopefully few prototypes,
42295 which can conflict with char $ac_func (); below.
42296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42297 <limits.h> exists even on freestanding compilers. */
42299 #ifdef __STDC__
42300 # include <limits.h>
42301 #else
42302 # include <assert.h>
42303 #endif
42305 #undef $ac_func
42307 /* Override any gcc2 internal prototype to avoid an error. */
42308 #ifdef __cplusplus
42309 extern "C"
42311 #endif
42312 /* We use char because int might match the return type of a gcc2
42313 builtin and then its argument prototype would still apply. */
42314 char $ac_func ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42319 choke me
42320 #else
42321 char (*f) () = $ac_func;
42322 #endif
42323 #ifdef __cplusplus
42325 #endif
42328 main ()
42330 return f != $ac_func;
42332 return 0;
42334 _ACEOF
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42337 (eval $ac_link) 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } &&
42344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42346 (eval $ac_try) 2>&5
42347 ac_status=$?
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); }; } &&
42350 { ac_try='test -s conftest$ac_exeext'
42351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42352 (eval $ac_try) 2>&5
42353 ac_status=$?
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); }; }; then
42356 eval "$as_ac_var=yes"
42357 else
42358 echo "$as_me: failed program was:" >&5
42359 sed 's/^/| /' conftest.$ac_ext >&5
42361 eval "$as_ac_var=no"
42363 rm -f conftest.err conftest.$ac_objext \
42364 conftest$ac_exeext conftest.$ac_ext
42366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42368 if test `eval echo '${'$as_ac_var'}'` = yes; then
42369 cat >>confdefs.h <<_ACEOF
42370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42371 _ACEOF
42374 done
42376 else
42378 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42379 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42380 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42381 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42382 echo $ECHO_N "(cached) $ECHO_C" >&6
42383 else
42387 ac_ext=cc
42388 ac_cpp='$CXXCPP $CPPFLAGS'
42389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42393 cat >conftest.$ac_ext <<_ACEOF
42394 /* confdefs.h. */
42395 _ACEOF
42396 cat confdefs.h >>conftest.$ac_ext
42397 cat >>conftest.$ac_ext <<_ACEOF
42398 /* end confdefs.h. */
42399 #include <math.h>
42400 #ifdef HAVE_IEEEFP_H
42401 #include <ieeefp.h>
42402 #endif
42405 main ()
42407 _expl(0);
42409 return 0;
42411 _ACEOF
42412 rm -f conftest.$ac_objext
42413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42414 (eval $ac_compile) 2>conftest.er1
42415 ac_status=$?
42416 grep -v '^ *+' conftest.er1 >conftest.err
42417 rm -f conftest.er1
42418 cat conftest.err >&5
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); } &&
42421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423 (eval $ac_try) 2>&5
42424 ac_status=$?
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); }; } &&
42427 { ac_try='test -s conftest.$ac_objext'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42430 ac_status=$?
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; }; then
42433 glibcxx_cv_func__expl_use=yes
42434 else
42435 echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42438 glibcxx_cv_func__expl_use=no
42440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42441 ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42452 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42454 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42456 for ac_func in _expl
42458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 echo "$as_me:$LINENO: checking for $ac_func" >&5
42460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42461 if eval "test \"\${$as_ac_var+set}\" = set"; then
42462 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 else
42464 if test x$gcc_no_link = xyes; then
42465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42467 { (exit 1); exit 1; }; }
42469 cat >conftest.$ac_ext <<_ACEOF
42470 /* confdefs.h. */
42471 _ACEOF
42472 cat confdefs.h >>conftest.$ac_ext
42473 cat >>conftest.$ac_ext <<_ACEOF
42474 /* end confdefs.h. */
42475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42477 #define $ac_func innocuous_$ac_func
42479 /* System header to define __stub macros and hopefully few prototypes,
42480 which can conflict with char $ac_func (); below.
42481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42482 <limits.h> exists even on freestanding compilers. */
42484 #ifdef __STDC__
42485 # include <limits.h>
42486 #else
42487 # include <assert.h>
42488 #endif
42490 #undef $ac_func
42492 /* Override any gcc2 internal prototype to avoid an error. */
42493 #ifdef __cplusplus
42494 extern "C"
42496 #endif
42497 /* We use char because int might match the return type of a gcc2
42498 builtin and then its argument prototype would still apply. */
42499 char $ac_func ();
42500 /* The GNU C library defines this for functions which it implements
42501 to always fail with ENOSYS. Some functions are actually named
42502 something starting with __ and the normal name is an alias. */
42503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42504 choke me
42505 #else
42506 char (*f) () = $ac_func;
42507 #endif
42508 #ifdef __cplusplus
42510 #endif
42513 main ()
42515 return f != $ac_func;
42517 return 0;
42519 _ACEOF
42520 rm -f conftest.$ac_objext conftest$ac_exeext
42521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42522 (eval $ac_link) 2>conftest.er1
42523 ac_status=$?
42524 grep -v '^ *+' conftest.er1 >conftest.err
42525 rm -f conftest.er1
42526 cat conftest.err >&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } &&
42529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try='test -s conftest$ac_exeext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42538 ac_status=$?
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 eval "$as_ac_var=yes"
42542 else
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42546 eval "$as_ac_var=no"
42548 rm -f conftest.err conftest.$ac_objext \
42549 conftest$ac_exeext conftest.$ac_ext
42551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42553 if test `eval echo '${'$as_ac_var'}'` = yes; then
42554 cat >>confdefs.h <<_ACEOF
42555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42556 _ACEOF
42559 done
42566 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42567 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42568 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42569 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42570 echo $ECHO_N "(cached) $ECHO_C" >&6
42571 else
42575 ac_ext=cc
42576 ac_cpp='$CXXCPP $CPPFLAGS'
42577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42581 cat >conftest.$ac_ext <<_ACEOF
42582 /* confdefs.h. */
42583 _ACEOF
42584 cat confdefs.h >>conftest.$ac_ext
42585 cat >>conftest.$ac_ext <<_ACEOF
42586 /* end confdefs.h. */
42587 #include <math.h>
42588 #ifdef HAVE_IEEEFP_H
42589 #include <ieeefp.h>
42590 #endif
42593 main ()
42595 fabsl(0);
42597 return 0;
42599 _ACEOF
42600 rm -f conftest.$ac_objext
42601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42602 (eval $ac_compile) 2>conftest.er1
42603 ac_status=$?
42604 grep -v '^ *+' conftest.er1 >conftest.err
42605 rm -f conftest.er1
42606 cat conftest.err >&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); } &&
42609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42611 (eval $ac_try) 2>&5
42612 ac_status=$?
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); }; } &&
42615 { ac_try='test -s conftest.$ac_objext'
42616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617 (eval $ac_try) 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; }; then
42621 glibcxx_cv_func_fabsl_use=yes
42622 else
42623 echo "$as_me: failed program was:" >&5
42624 sed 's/^/| /' conftest.$ac_ext >&5
42626 glibcxx_cv_func_fabsl_use=no
42628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42629 ac_ext=c
42630 ac_cpp='$CPP $CPPFLAGS'
42631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
42640 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
42642 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42644 for ac_func in fabsl
42646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42647 echo "$as_me:$LINENO: checking for $ac_func" >&5
42648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42649 if eval "test \"\${$as_ac_var+set}\" = set"; then
42650 echo $ECHO_N "(cached) $ECHO_C" >&6
42651 else
42652 if test x$gcc_no_link = xyes; then
42653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42655 { (exit 1); exit 1; }; }
42657 cat >conftest.$ac_ext <<_ACEOF
42658 /* confdefs.h. */
42659 _ACEOF
42660 cat confdefs.h >>conftest.$ac_ext
42661 cat >>conftest.$ac_ext <<_ACEOF
42662 /* end confdefs.h. */
42663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42665 #define $ac_func innocuous_$ac_func
42667 /* System header to define __stub macros and hopefully few prototypes,
42668 which can conflict with char $ac_func (); below.
42669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42670 <limits.h> exists even on freestanding compilers. */
42672 #ifdef __STDC__
42673 # include <limits.h>
42674 #else
42675 # include <assert.h>
42676 #endif
42678 #undef $ac_func
42680 /* Override any gcc2 internal prototype to avoid an error. */
42681 #ifdef __cplusplus
42682 extern "C"
42684 #endif
42685 /* We use char because int might match the return type of a gcc2
42686 builtin and then its argument prototype would still apply. */
42687 char $ac_func ();
42688 /* The GNU C library defines this for functions which it implements
42689 to always fail with ENOSYS. Some functions are actually named
42690 something starting with __ and the normal name is an alias. */
42691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42692 choke me
42693 #else
42694 char (*f) () = $ac_func;
42695 #endif
42696 #ifdef __cplusplus
42698 #endif
42701 main ()
42703 return f != $ac_func;
42705 return 0;
42707 _ACEOF
42708 rm -f conftest.$ac_objext conftest$ac_exeext
42709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42710 (eval $ac_link) 2>conftest.er1
42711 ac_status=$?
42712 grep -v '^ *+' conftest.er1 >conftest.err
42713 rm -f conftest.er1
42714 cat conftest.err >&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } &&
42717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42720 ac_status=$?
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; } &&
42723 { ac_try='test -s conftest$ac_exeext'
42724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725 (eval $ac_try) 2>&5
42726 ac_status=$?
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); }; }; then
42729 eval "$as_ac_var=yes"
42730 else
42731 echo "$as_me: failed program was:" >&5
42732 sed 's/^/| /' conftest.$ac_ext >&5
42734 eval "$as_ac_var=no"
42736 rm -f conftest.err conftest.$ac_objext \
42737 conftest$ac_exeext conftest.$ac_ext
42739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42741 if test `eval echo '${'$as_ac_var'}'` = yes; then
42742 cat >>confdefs.h <<_ACEOF
42743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42744 _ACEOF
42747 done
42749 else
42751 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
42752 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
42753 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42754 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42756 else
42760 ac_ext=cc
42761 ac_cpp='$CXXCPP $CPPFLAGS'
42762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42766 cat >conftest.$ac_ext <<_ACEOF
42767 /* confdefs.h. */
42768 _ACEOF
42769 cat confdefs.h >>conftest.$ac_ext
42770 cat >>conftest.$ac_ext <<_ACEOF
42771 /* end confdefs.h. */
42772 #include <math.h>
42773 #ifdef HAVE_IEEEFP_H
42774 #include <ieeefp.h>
42775 #endif
42778 main ()
42780 _fabsl(0);
42782 return 0;
42784 _ACEOF
42785 rm -f conftest.$ac_objext
42786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42787 (eval $ac_compile) 2>conftest.er1
42788 ac_status=$?
42789 grep -v '^ *+' conftest.er1 >conftest.err
42790 rm -f conftest.er1
42791 cat conftest.err >&5
42792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793 (exit $ac_status); } &&
42794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796 (eval $ac_try) 2>&5
42797 ac_status=$?
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; } &&
42800 { ac_try='test -s conftest.$ac_objext'
42801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42802 (eval $ac_try) 2>&5
42803 ac_status=$?
42804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805 (exit $ac_status); }; }; then
42806 glibcxx_cv_func__fabsl_use=yes
42807 else
42808 echo "$as_me: failed program was:" >&5
42809 sed 's/^/| /' conftest.$ac_ext >&5
42811 glibcxx_cv_func__fabsl_use=no
42813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42814 ac_ext=c
42815 ac_cpp='$CPP $CPPFLAGS'
42816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
42825 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
42827 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42829 for ac_func in _fabsl
42831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42832 echo "$as_me:$LINENO: checking for $ac_func" >&5
42833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42834 if eval "test \"\${$as_ac_var+set}\" = set"; then
42835 echo $ECHO_N "(cached) $ECHO_C" >&6
42836 else
42837 if test x$gcc_no_link = xyes; then
42838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42840 { (exit 1); exit 1; }; }
42842 cat >conftest.$ac_ext <<_ACEOF
42843 /* confdefs.h. */
42844 _ACEOF
42845 cat confdefs.h >>conftest.$ac_ext
42846 cat >>conftest.$ac_ext <<_ACEOF
42847 /* end confdefs.h. */
42848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42850 #define $ac_func innocuous_$ac_func
42852 /* System header to define __stub macros and hopefully few prototypes,
42853 which can conflict with char $ac_func (); below.
42854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42855 <limits.h> exists even on freestanding compilers. */
42857 #ifdef __STDC__
42858 # include <limits.h>
42859 #else
42860 # include <assert.h>
42861 #endif
42863 #undef $ac_func
42865 /* Override any gcc2 internal prototype to avoid an error. */
42866 #ifdef __cplusplus
42867 extern "C"
42869 #endif
42870 /* We use char because int might match the return type of a gcc2
42871 builtin and then its argument prototype would still apply. */
42872 char $ac_func ();
42873 /* The GNU C library defines this for functions which it implements
42874 to always fail with ENOSYS. Some functions are actually named
42875 something starting with __ and the normal name is an alias. */
42876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42877 choke me
42878 #else
42879 char (*f) () = $ac_func;
42880 #endif
42881 #ifdef __cplusplus
42883 #endif
42886 main ()
42888 return f != $ac_func;
42890 return 0;
42892 _ACEOF
42893 rm -f conftest.$ac_objext conftest$ac_exeext
42894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42895 (eval $ac_link) 2>conftest.er1
42896 ac_status=$?
42897 grep -v '^ *+' conftest.er1 >conftest.err
42898 rm -f conftest.er1
42899 cat conftest.err >&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); } &&
42902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42904 (eval $ac_try) 2>&5
42905 ac_status=$?
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); }; } &&
42908 { ac_try='test -s conftest$ac_exeext'
42909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42910 (eval $ac_try) 2>&5
42911 ac_status=$?
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); }; }; then
42914 eval "$as_ac_var=yes"
42915 else
42916 echo "$as_me: failed program was:" >&5
42917 sed 's/^/| /' conftest.$ac_ext >&5
42919 eval "$as_ac_var=no"
42921 rm -f conftest.err conftest.$ac_objext \
42922 conftest$ac_exeext conftest.$ac_ext
42924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42926 if test `eval echo '${'$as_ac_var'}'` = yes; then
42927 cat >>confdefs.h <<_ACEOF
42928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42929 _ACEOF
42932 done
42939 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
42940 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
42941 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42942 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
42943 echo $ECHO_N "(cached) $ECHO_C" >&6
42944 else
42948 ac_ext=cc
42949 ac_cpp='$CXXCPP $CPPFLAGS'
42950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42954 cat >conftest.$ac_ext <<_ACEOF
42955 /* confdefs.h. */
42956 _ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h. */
42960 #include <math.h>
42962 main ()
42964 fmodl(0, 0);
42966 return 0;
42968 _ACEOF
42969 rm -f conftest.$ac_objext
42970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42971 (eval $ac_compile) 2>conftest.er1
42972 ac_status=$?
42973 grep -v '^ *+' conftest.er1 >conftest.err
42974 rm -f conftest.er1
42975 cat conftest.err >&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } &&
42978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42980 (eval $ac_try) 2>&5
42981 ac_status=$?
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); }; } &&
42984 { ac_try='test -s conftest.$ac_objext'
42985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42986 (eval $ac_try) 2>&5
42987 ac_status=$?
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); }; }; then
42990 glibcxx_cv_func_fmodl_use=yes
42991 else
42992 echo "$as_me: failed program was:" >&5
42993 sed 's/^/| /' conftest.$ac_ext >&5
42995 glibcxx_cv_func_fmodl_use=no
42997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42998 ac_ext=c
42999 ac_cpp='$CPP $CPPFLAGS'
43000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43009 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43011 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43013 for ac_func in fmodl
43015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43016 echo "$as_me:$LINENO: checking for $ac_func" >&5
43017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43018 if eval "test \"\${$as_ac_var+set}\" = set"; then
43019 echo $ECHO_N "(cached) $ECHO_C" >&6
43020 else
43021 if test x$gcc_no_link = xyes; then
43022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43024 { (exit 1); exit 1; }; }
43026 cat >conftest.$ac_ext <<_ACEOF
43027 /* confdefs.h. */
43028 _ACEOF
43029 cat confdefs.h >>conftest.$ac_ext
43030 cat >>conftest.$ac_ext <<_ACEOF
43031 /* end confdefs.h. */
43032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43034 #define $ac_func innocuous_$ac_func
43036 /* System header to define __stub macros and hopefully few prototypes,
43037 which can conflict with char $ac_func (); below.
43038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43039 <limits.h> exists even on freestanding compilers. */
43041 #ifdef __STDC__
43042 # include <limits.h>
43043 #else
43044 # include <assert.h>
43045 #endif
43047 #undef $ac_func
43049 /* Override any gcc2 internal prototype to avoid an error. */
43050 #ifdef __cplusplus
43051 extern "C"
43053 #endif
43054 /* We use char because int might match the return type of a gcc2
43055 builtin and then its argument prototype would still apply. */
43056 char $ac_func ();
43057 /* The GNU C library defines this for functions which it implements
43058 to always fail with ENOSYS. Some functions are actually named
43059 something starting with __ and the normal name is an alias. */
43060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43061 choke me
43062 #else
43063 char (*f) () = $ac_func;
43064 #endif
43065 #ifdef __cplusplus
43067 #endif
43070 main ()
43072 return f != $ac_func;
43074 return 0;
43076 _ACEOF
43077 rm -f conftest.$ac_objext conftest$ac_exeext
43078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43079 (eval $ac_link) 2>conftest.er1
43080 ac_status=$?
43081 grep -v '^ *+' conftest.er1 >conftest.err
43082 rm -f conftest.er1
43083 cat conftest.err >&5
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); } &&
43086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43088 (eval $ac_try) 2>&5
43089 ac_status=$?
43090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091 (exit $ac_status); }; } &&
43092 { ac_try='test -s conftest$ac_exeext'
43093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43094 (eval $ac_try) 2>&5
43095 ac_status=$?
43096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097 (exit $ac_status); }; }; then
43098 eval "$as_ac_var=yes"
43099 else
43100 echo "$as_me: failed program was:" >&5
43101 sed 's/^/| /' conftest.$ac_ext >&5
43103 eval "$as_ac_var=no"
43105 rm -f conftest.err conftest.$ac_objext \
43106 conftest$ac_exeext conftest.$ac_ext
43108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43110 if test `eval echo '${'$as_ac_var'}'` = yes; then
43111 cat >>confdefs.h <<_ACEOF
43112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43113 _ACEOF
43116 done
43118 else
43120 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43121 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43122 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43123 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43124 echo $ECHO_N "(cached) $ECHO_C" >&6
43125 else
43129 ac_ext=cc
43130 ac_cpp='$CXXCPP $CPPFLAGS'
43131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43135 cat >conftest.$ac_ext <<_ACEOF
43136 /* confdefs.h. */
43137 _ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 #include <math.h>
43143 main ()
43145 _fmodl(0, 0);
43147 return 0;
43149 _ACEOF
43150 rm -f conftest.$ac_objext
43151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43152 (eval $ac_compile) 2>conftest.er1
43153 ac_status=$?
43154 grep -v '^ *+' conftest.er1 >conftest.err
43155 rm -f conftest.er1
43156 cat conftest.err >&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); } &&
43159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43161 (eval $ac_try) 2>&5
43162 ac_status=$?
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); }; } &&
43165 { ac_try='test -s conftest.$ac_objext'
43166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43167 (eval $ac_try) 2>&5
43168 ac_status=$?
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); }; }; then
43171 glibcxx_cv_func__fmodl_use=yes
43172 else
43173 echo "$as_me: failed program was:" >&5
43174 sed 's/^/| /' conftest.$ac_ext >&5
43176 glibcxx_cv_func__fmodl_use=no
43178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43179 ac_ext=c
43180 ac_cpp='$CPP $CPPFLAGS'
43181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43190 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43192 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43194 for ac_func in _fmodl
43196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43197 echo "$as_me:$LINENO: checking for $ac_func" >&5
43198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43199 if eval "test \"\${$as_ac_var+set}\" = set"; then
43200 echo $ECHO_N "(cached) $ECHO_C" >&6
43201 else
43202 if test x$gcc_no_link = xyes; then
43203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43205 { (exit 1); exit 1; }; }
43207 cat >conftest.$ac_ext <<_ACEOF
43208 /* confdefs.h. */
43209 _ACEOF
43210 cat confdefs.h >>conftest.$ac_ext
43211 cat >>conftest.$ac_ext <<_ACEOF
43212 /* end confdefs.h. */
43213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43215 #define $ac_func innocuous_$ac_func
43217 /* System header to define __stub macros and hopefully few prototypes,
43218 which can conflict with char $ac_func (); below.
43219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43220 <limits.h> exists even on freestanding compilers. */
43222 #ifdef __STDC__
43223 # include <limits.h>
43224 #else
43225 # include <assert.h>
43226 #endif
43228 #undef $ac_func
43230 /* Override any gcc2 internal prototype to avoid an error. */
43231 #ifdef __cplusplus
43232 extern "C"
43234 #endif
43235 /* We use char because int might match the return type of a gcc2
43236 builtin and then its argument prototype would still apply. */
43237 char $ac_func ();
43238 /* The GNU C library defines this for functions which it implements
43239 to always fail with ENOSYS. Some functions are actually named
43240 something starting with __ and the normal name is an alias. */
43241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43242 choke me
43243 #else
43244 char (*f) () = $ac_func;
43245 #endif
43246 #ifdef __cplusplus
43248 #endif
43251 main ()
43253 return f != $ac_func;
43255 return 0;
43257 _ACEOF
43258 rm -f conftest.$ac_objext conftest$ac_exeext
43259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43260 (eval $ac_link) 2>conftest.er1
43261 ac_status=$?
43262 grep -v '^ *+' conftest.er1 >conftest.err
43263 rm -f conftest.er1
43264 cat conftest.err >&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); } &&
43267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; } &&
43273 { ac_try='test -s conftest$ac_exeext'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; }; then
43279 eval "$as_ac_var=yes"
43280 else
43281 echo "$as_me: failed program was:" >&5
43282 sed 's/^/| /' conftest.$ac_ext >&5
43284 eval "$as_ac_var=no"
43286 rm -f conftest.err conftest.$ac_objext \
43287 conftest$ac_exeext conftest.$ac_ext
43289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43291 if test `eval echo '${'$as_ac_var'}'` = yes; then
43292 cat >>confdefs.h <<_ACEOF
43293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43294 _ACEOF
43297 done
43304 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43305 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43306 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43307 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43308 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 else
43313 ac_ext=cc
43314 ac_cpp='$CXXCPP $CPPFLAGS'
43315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43319 cat >conftest.$ac_ext <<_ACEOF
43320 /* confdefs.h. */
43321 _ACEOF
43322 cat confdefs.h >>conftest.$ac_ext
43323 cat >>conftest.$ac_ext <<_ACEOF
43324 /* end confdefs.h. */
43325 #include <math.h>
43327 main ()
43329 frexpl(0, 0);
43331 return 0;
43333 _ACEOF
43334 rm -f conftest.$ac_objext
43335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43336 (eval $ac_compile) 2>conftest.er1
43337 ac_status=$?
43338 grep -v '^ *+' conftest.er1 >conftest.err
43339 rm -f conftest.er1
43340 cat conftest.err >&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } &&
43343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43346 ac_status=$?
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; } &&
43349 { ac_try='test -s conftest.$ac_objext'
43350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43351 (eval $ac_try) 2>&5
43352 ac_status=$?
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; }; then
43355 glibcxx_cv_func_frexpl_use=yes
43356 else
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.$ac_ext >&5
43360 glibcxx_cv_func_frexpl_use=no
43362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43363 ac_ext=c
43364 ac_cpp='$CPP $CPPFLAGS'
43365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43374 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43376 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43378 for ac_func in frexpl
43380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43381 echo "$as_me:$LINENO: checking for $ac_func" >&5
43382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43383 if eval "test \"\${$as_ac_var+set}\" = set"; then
43384 echo $ECHO_N "(cached) $ECHO_C" >&6
43385 else
43386 if test x$gcc_no_link = xyes; then
43387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43389 { (exit 1); exit 1; }; }
43391 cat >conftest.$ac_ext <<_ACEOF
43392 /* confdefs.h. */
43393 _ACEOF
43394 cat confdefs.h >>conftest.$ac_ext
43395 cat >>conftest.$ac_ext <<_ACEOF
43396 /* end confdefs.h. */
43397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43399 #define $ac_func innocuous_$ac_func
43401 /* System header to define __stub macros and hopefully few prototypes,
43402 which can conflict with char $ac_func (); below.
43403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43404 <limits.h> exists even on freestanding compilers. */
43406 #ifdef __STDC__
43407 # include <limits.h>
43408 #else
43409 # include <assert.h>
43410 #endif
43412 #undef $ac_func
43414 /* Override any gcc2 internal prototype to avoid an error. */
43415 #ifdef __cplusplus
43416 extern "C"
43418 #endif
43419 /* We use char because int might match the return type of a gcc2
43420 builtin and then its argument prototype would still apply. */
43421 char $ac_func ();
43422 /* The GNU C library defines this for functions which it implements
43423 to always fail with ENOSYS. Some functions are actually named
43424 something starting with __ and the normal name is an alias. */
43425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43426 choke me
43427 #else
43428 char (*f) () = $ac_func;
43429 #endif
43430 #ifdef __cplusplus
43432 #endif
43435 main ()
43437 return f != $ac_func;
43439 return 0;
43441 _ACEOF
43442 rm -f conftest.$ac_objext conftest$ac_exeext
43443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43444 (eval $ac_link) 2>conftest.er1
43445 ac_status=$?
43446 grep -v '^ *+' conftest.er1 >conftest.err
43447 rm -f conftest.er1
43448 cat conftest.err >&5
43449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450 (exit $ac_status); } &&
43451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43453 (eval $ac_try) 2>&5
43454 ac_status=$?
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); }; } &&
43457 { ac_try='test -s conftest$ac_exeext'
43458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43459 (eval $ac_try) 2>&5
43460 ac_status=$?
43461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43462 (exit $ac_status); }; }; then
43463 eval "$as_ac_var=yes"
43464 else
43465 echo "$as_me: failed program was:" >&5
43466 sed 's/^/| /' conftest.$ac_ext >&5
43468 eval "$as_ac_var=no"
43470 rm -f conftest.err conftest.$ac_objext \
43471 conftest$ac_exeext conftest.$ac_ext
43473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43475 if test `eval echo '${'$as_ac_var'}'` = yes; then
43476 cat >>confdefs.h <<_ACEOF
43477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43478 _ACEOF
43481 done
43483 else
43485 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43486 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43487 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43488 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43489 echo $ECHO_N "(cached) $ECHO_C" >&6
43490 else
43494 ac_ext=cc
43495 ac_cpp='$CXXCPP $CPPFLAGS'
43496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43500 cat >conftest.$ac_ext <<_ACEOF
43501 /* confdefs.h. */
43502 _ACEOF
43503 cat confdefs.h >>conftest.$ac_ext
43504 cat >>conftest.$ac_ext <<_ACEOF
43505 /* end confdefs.h. */
43506 #include <math.h>
43508 main ()
43510 _frexpl(0, 0);
43512 return 0;
43514 _ACEOF
43515 rm -f conftest.$ac_objext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43517 (eval $ac_compile) 2>conftest.er1
43518 ac_status=$?
43519 grep -v '^ *+' conftest.er1 >conftest.err
43520 rm -f conftest.er1
43521 cat conftest.err >&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } &&
43524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43526 (eval $ac_try) 2>&5
43527 ac_status=$?
43528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43529 (exit $ac_status); }; } &&
43530 { ac_try='test -s conftest.$ac_objext'
43531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43532 (eval $ac_try) 2>&5
43533 ac_status=$?
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); }; }; then
43536 glibcxx_cv_func__frexpl_use=yes
43537 else
43538 echo "$as_me: failed program was:" >&5
43539 sed 's/^/| /' conftest.$ac_ext >&5
43541 glibcxx_cv_func__frexpl_use=no
43543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43544 ac_ext=c
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43555 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43557 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43559 for ac_func in _frexpl
43561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43562 echo "$as_me:$LINENO: checking for $ac_func" >&5
43563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43564 if eval "test \"\${$as_ac_var+set}\" = set"; then
43565 echo $ECHO_N "(cached) $ECHO_C" >&6
43566 else
43567 if test x$gcc_no_link = xyes; then
43568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43570 { (exit 1); exit 1; }; }
43572 cat >conftest.$ac_ext <<_ACEOF
43573 /* confdefs.h. */
43574 _ACEOF
43575 cat confdefs.h >>conftest.$ac_ext
43576 cat >>conftest.$ac_ext <<_ACEOF
43577 /* end confdefs.h. */
43578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43580 #define $ac_func innocuous_$ac_func
43582 /* System header to define __stub macros and hopefully few prototypes,
43583 which can conflict with char $ac_func (); below.
43584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43585 <limits.h> exists even on freestanding compilers. */
43587 #ifdef __STDC__
43588 # include <limits.h>
43589 #else
43590 # include <assert.h>
43591 #endif
43593 #undef $ac_func
43595 /* Override any gcc2 internal prototype to avoid an error. */
43596 #ifdef __cplusplus
43597 extern "C"
43599 #endif
43600 /* We use char because int might match the return type of a gcc2
43601 builtin and then its argument prototype would still apply. */
43602 char $ac_func ();
43603 /* The GNU C library defines this for functions which it implements
43604 to always fail with ENOSYS. Some functions are actually named
43605 something starting with __ and the normal name is an alias. */
43606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43607 choke me
43608 #else
43609 char (*f) () = $ac_func;
43610 #endif
43611 #ifdef __cplusplus
43613 #endif
43616 main ()
43618 return f != $ac_func;
43620 return 0;
43622 _ACEOF
43623 rm -f conftest.$ac_objext conftest$ac_exeext
43624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43625 (eval $ac_link) 2>conftest.er1
43626 ac_status=$?
43627 grep -v '^ *+' conftest.er1 >conftest.err
43628 rm -f conftest.er1
43629 cat conftest.err >&5
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); } &&
43632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43634 (eval $ac_try) 2>&5
43635 ac_status=$?
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); }; } &&
43638 { ac_try='test -s conftest$ac_exeext'
43639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43640 (eval $ac_try) 2>&5
43641 ac_status=$?
43642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43643 (exit $ac_status); }; }; then
43644 eval "$as_ac_var=yes"
43645 else
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.$ac_ext >&5
43649 eval "$as_ac_var=no"
43651 rm -f conftest.err conftest.$ac_objext \
43652 conftest$ac_exeext conftest.$ac_ext
43654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43656 if test `eval echo '${'$as_ac_var'}'` = yes; then
43657 cat >>confdefs.h <<_ACEOF
43658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43659 _ACEOF
43662 done
43669 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
43670 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
43671 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43672 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
43673 echo $ECHO_N "(cached) $ECHO_C" >&6
43674 else
43678 ac_ext=cc
43679 ac_cpp='$CXXCPP $CPPFLAGS'
43680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43684 cat >conftest.$ac_ext <<_ACEOF
43685 /* confdefs.h. */
43686 _ACEOF
43687 cat confdefs.h >>conftest.$ac_ext
43688 cat >>conftest.$ac_ext <<_ACEOF
43689 /* end confdefs.h. */
43690 #include <math.h>
43692 main ()
43694 hypotl(0, 0);
43696 return 0;
43698 _ACEOF
43699 rm -f conftest.$ac_objext
43700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43701 (eval $ac_compile) 2>conftest.er1
43702 ac_status=$?
43703 grep -v '^ *+' conftest.er1 >conftest.err
43704 rm -f conftest.er1
43705 cat conftest.err >&5
43706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707 (exit $ac_status); } &&
43708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43710 (eval $ac_try) 2>&5
43711 ac_status=$?
43712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713 (exit $ac_status); }; } &&
43714 { ac_try='test -s conftest.$ac_objext'
43715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43716 (eval $ac_try) 2>&5
43717 ac_status=$?
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); }; }; then
43720 glibcxx_cv_func_hypotl_use=yes
43721 else
43722 echo "$as_me: failed program was:" >&5
43723 sed 's/^/| /' conftest.$ac_ext >&5
43725 glibcxx_cv_func_hypotl_use=no
43727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43728 ac_ext=c
43729 ac_cpp='$CPP $CPPFLAGS'
43730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
43739 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
43741 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43743 for ac_func in hypotl
43745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43746 echo "$as_me:$LINENO: checking for $ac_func" >&5
43747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43748 if eval "test \"\${$as_ac_var+set}\" = set"; then
43749 echo $ECHO_N "(cached) $ECHO_C" >&6
43750 else
43751 if test x$gcc_no_link = xyes; then
43752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43754 { (exit 1); exit 1; }; }
43756 cat >conftest.$ac_ext <<_ACEOF
43757 /* confdefs.h. */
43758 _ACEOF
43759 cat confdefs.h >>conftest.$ac_ext
43760 cat >>conftest.$ac_ext <<_ACEOF
43761 /* end confdefs.h. */
43762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43764 #define $ac_func innocuous_$ac_func
43766 /* System header to define __stub macros and hopefully few prototypes,
43767 which can conflict with char $ac_func (); below.
43768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43769 <limits.h> exists even on freestanding compilers. */
43771 #ifdef __STDC__
43772 # include <limits.h>
43773 #else
43774 # include <assert.h>
43775 #endif
43777 #undef $ac_func
43779 /* Override any gcc2 internal prototype to avoid an error. */
43780 #ifdef __cplusplus
43781 extern "C"
43783 #endif
43784 /* We use char because int might match the return type of a gcc2
43785 builtin and then its argument prototype would still apply. */
43786 char $ac_func ();
43787 /* The GNU C library defines this for functions which it implements
43788 to always fail with ENOSYS. Some functions are actually named
43789 something starting with __ and the normal name is an alias. */
43790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43791 choke me
43792 #else
43793 char (*f) () = $ac_func;
43794 #endif
43795 #ifdef __cplusplus
43797 #endif
43800 main ()
43802 return f != $ac_func;
43804 return 0;
43806 _ACEOF
43807 rm -f conftest.$ac_objext conftest$ac_exeext
43808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43809 (eval $ac_link) 2>conftest.er1
43810 ac_status=$?
43811 grep -v '^ *+' conftest.er1 >conftest.err
43812 rm -f conftest.er1
43813 cat conftest.err >&5
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); } &&
43816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43818 (eval $ac_try) 2>&5
43819 ac_status=$?
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); }; } &&
43822 { ac_try='test -s conftest$ac_exeext'
43823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43824 (eval $ac_try) 2>&5
43825 ac_status=$?
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); }; }; then
43828 eval "$as_ac_var=yes"
43829 else
43830 echo "$as_me: failed program was:" >&5
43831 sed 's/^/| /' conftest.$ac_ext >&5
43833 eval "$as_ac_var=no"
43835 rm -f conftest.err conftest.$ac_objext \
43836 conftest$ac_exeext conftest.$ac_ext
43838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43840 if test `eval echo '${'$as_ac_var'}'` = yes; then
43841 cat >>confdefs.h <<_ACEOF
43842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43843 _ACEOF
43846 done
43848 else
43850 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
43851 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
43852 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43853 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
43854 echo $ECHO_N "(cached) $ECHO_C" >&6
43855 else
43859 ac_ext=cc
43860 ac_cpp='$CXXCPP $CPPFLAGS'
43861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43865 cat >conftest.$ac_ext <<_ACEOF
43866 /* confdefs.h. */
43867 _ACEOF
43868 cat confdefs.h >>conftest.$ac_ext
43869 cat >>conftest.$ac_ext <<_ACEOF
43870 /* end confdefs.h. */
43871 #include <math.h>
43873 main ()
43875 _hypotl(0, 0);
43877 return 0;
43879 _ACEOF
43880 rm -f conftest.$ac_objext
43881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43882 (eval $ac_compile) 2>conftest.er1
43883 ac_status=$?
43884 grep -v '^ *+' conftest.er1 >conftest.err
43885 rm -f conftest.er1
43886 cat conftest.err >&5
43887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888 (exit $ac_status); } &&
43889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43891 (eval $ac_try) 2>&5
43892 ac_status=$?
43893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43894 (exit $ac_status); }; } &&
43895 { ac_try='test -s conftest.$ac_objext'
43896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43897 (eval $ac_try) 2>&5
43898 ac_status=$?
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); }; }; then
43901 glibcxx_cv_func__hypotl_use=yes
43902 else
43903 echo "$as_me: failed program was:" >&5
43904 sed 's/^/| /' conftest.$ac_ext >&5
43906 glibcxx_cv_func__hypotl_use=no
43908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43909 ac_ext=c
43910 ac_cpp='$CPP $CPPFLAGS'
43911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
43920 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
43922 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43924 for ac_func in _hypotl
43926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43927 echo "$as_me:$LINENO: checking for $ac_func" >&5
43928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43929 if eval "test \"\${$as_ac_var+set}\" = set"; then
43930 echo $ECHO_N "(cached) $ECHO_C" >&6
43931 else
43932 if test x$gcc_no_link = xyes; then
43933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43935 { (exit 1); exit 1; }; }
43937 cat >conftest.$ac_ext <<_ACEOF
43938 /* confdefs.h. */
43939 _ACEOF
43940 cat confdefs.h >>conftest.$ac_ext
43941 cat >>conftest.$ac_ext <<_ACEOF
43942 /* end confdefs.h. */
43943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43945 #define $ac_func innocuous_$ac_func
43947 /* System header to define __stub macros and hopefully few prototypes,
43948 which can conflict with char $ac_func (); below.
43949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43950 <limits.h> exists even on freestanding compilers. */
43952 #ifdef __STDC__
43953 # include <limits.h>
43954 #else
43955 # include <assert.h>
43956 #endif
43958 #undef $ac_func
43960 /* Override any gcc2 internal prototype to avoid an error. */
43961 #ifdef __cplusplus
43962 extern "C"
43964 #endif
43965 /* We use char because int might match the return type of a gcc2
43966 builtin and then its argument prototype would still apply. */
43967 char $ac_func ();
43968 /* The GNU C library defines this for functions which it implements
43969 to always fail with ENOSYS. Some functions are actually named
43970 something starting with __ and the normal name is an alias. */
43971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43972 choke me
43973 #else
43974 char (*f) () = $ac_func;
43975 #endif
43976 #ifdef __cplusplus
43978 #endif
43981 main ()
43983 return f != $ac_func;
43985 return 0;
43987 _ACEOF
43988 rm -f conftest.$ac_objext conftest$ac_exeext
43989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43990 (eval $ac_link) 2>conftest.er1
43991 ac_status=$?
43992 grep -v '^ *+' conftest.er1 >conftest.err
43993 rm -f conftest.er1
43994 cat conftest.err >&5
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); } &&
43997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43999 (eval $ac_try) 2>&5
44000 ac_status=$?
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); }; } &&
44003 { ac_try='test -s conftest$ac_exeext'
44004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44005 (eval $ac_try) 2>&5
44006 ac_status=$?
44007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44008 (exit $ac_status); }; }; then
44009 eval "$as_ac_var=yes"
44010 else
44011 echo "$as_me: failed program was:" >&5
44012 sed 's/^/| /' conftest.$ac_ext >&5
44014 eval "$as_ac_var=no"
44016 rm -f conftest.err conftest.$ac_objext \
44017 conftest$ac_exeext conftest.$ac_ext
44019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44021 if test `eval echo '${'$as_ac_var'}'` = yes; then
44022 cat >>confdefs.h <<_ACEOF
44023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44024 _ACEOF
44027 done
44034 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44035 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44036 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44037 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44038 echo $ECHO_N "(cached) $ECHO_C" >&6
44039 else
44043 ac_ext=cc
44044 ac_cpp='$CXXCPP $CPPFLAGS'
44045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44049 cat >conftest.$ac_ext <<_ACEOF
44050 /* confdefs.h. */
44051 _ACEOF
44052 cat confdefs.h >>conftest.$ac_ext
44053 cat >>conftest.$ac_ext <<_ACEOF
44054 /* end confdefs.h. */
44055 #include <math.h>
44057 main ()
44059 ldexpl(0, 0);
44061 return 0;
44063 _ACEOF
44064 rm -f conftest.$ac_objext
44065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44066 (eval $ac_compile) 2>conftest.er1
44067 ac_status=$?
44068 grep -v '^ *+' conftest.er1 >conftest.err
44069 rm -f conftest.er1
44070 cat conftest.err >&5
44071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072 (exit $ac_status); } &&
44073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44075 (eval $ac_try) 2>&5
44076 ac_status=$?
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); }; } &&
44079 { ac_try='test -s conftest.$ac_objext'
44080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44081 (eval $ac_try) 2>&5
44082 ac_status=$?
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); }; }; then
44085 glibcxx_cv_func_ldexpl_use=yes
44086 else
44087 echo "$as_me: failed program was:" >&5
44088 sed 's/^/| /' conftest.$ac_ext >&5
44090 glibcxx_cv_func_ldexpl_use=no
44092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44093 ac_ext=c
44094 ac_cpp='$CPP $CPPFLAGS'
44095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44104 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44106 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44108 for ac_func in ldexpl
44110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44111 echo "$as_me:$LINENO: checking for $ac_func" >&5
44112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44113 if eval "test \"\${$as_ac_var+set}\" = set"; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116 if test x$gcc_no_link = xyes; then
44117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44119 { (exit 1); exit 1; }; }
44121 cat >conftest.$ac_ext <<_ACEOF
44122 /* confdefs.h. */
44123 _ACEOF
44124 cat confdefs.h >>conftest.$ac_ext
44125 cat >>conftest.$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44129 #define $ac_func innocuous_$ac_func
44131 /* System header to define __stub macros and hopefully few prototypes,
44132 which can conflict with char $ac_func (); below.
44133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44134 <limits.h> exists even on freestanding compilers. */
44136 #ifdef __STDC__
44137 # include <limits.h>
44138 #else
44139 # include <assert.h>
44140 #endif
44142 #undef $ac_func
44144 /* Override any gcc2 internal prototype to avoid an error. */
44145 #ifdef __cplusplus
44146 extern "C"
44148 #endif
44149 /* We use char because int might match the return type of a gcc2
44150 builtin and then its argument prototype would still apply. */
44151 char $ac_func ();
44152 /* The GNU C library defines this for functions which it implements
44153 to always fail with ENOSYS. Some functions are actually named
44154 something starting with __ and the normal name is an alias. */
44155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44156 choke me
44157 #else
44158 char (*f) () = $ac_func;
44159 #endif
44160 #ifdef __cplusplus
44162 #endif
44165 main ()
44167 return f != $ac_func;
44169 return 0;
44171 _ACEOF
44172 rm -f conftest.$ac_objext conftest$ac_exeext
44173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44174 (eval $ac_link) 2>conftest.er1
44175 ac_status=$?
44176 grep -v '^ *+' conftest.er1 >conftest.err
44177 rm -f conftest.er1
44178 cat conftest.err >&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); } &&
44181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44183 (eval $ac_try) 2>&5
44184 ac_status=$?
44185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186 (exit $ac_status); }; } &&
44187 { ac_try='test -s conftest$ac_exeext'
44188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44189 (eval $ac_try) 2>&5
44190 ac_status=$?
44191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44192 (exit $ac_status); }; }; then
44193 eval "$as_ac_var=yes"
44194 else
44195 echo "$as_me: failed program was:" >&5
44196 sed 's/^/| /' conftest.$ac_ext >&5
44198 eval "$as_ac_var=no"
44200 rm -f conftest.err conftest.$ac_objext \
44201 conftest$ac_exeext conftest.$ac_ext
44203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44205 if test `eval echo '${'$as_ac_var'}'` = yes; then
44206 cat >>confdefs.h <<_ACEOF
44207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44208 _ACEOF
44211 done
44213 else
44215 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44216 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44217 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44218 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44219 echo $ECHO_N "(cached) $ECHO_C" >&6
44220 else
44224 ac_ext=cc
44225 ac_cpp='$CXXCPP $CPPFLAGS'
44226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44230 cat >conftest.$ac_ext <<_ACEOF
44231 /* confdefs.h. */
44232 _ACEOF
44233 cat confdefs.h >>conftest.$ac_ext
44234 cat >>conftest.$ac_ext <<_ACEOF
44235 /* end confdefs.h. */
44236 #include <math.h>
44238 main ()
44240 _ldexpl(0, 0);
44242 return 0;
44244 _ACEOF
44245 rm -f conftest.$ac_objext
44246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44247 (eval $ac_compile) 2>conftest.er1
44248 ac_status=$?
44249 grep -v '^ *+' conftest.er1 >conftest.err
44250 rm -f conftest.er1
44251 cat conftest.err >&5
44252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44253 (exit $ac_status); } &&
44254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44256 (eval $ac_try) 2>&5
44257 ac_status=$?
44258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44259 (exit $ac_status); }; } &&
44260 { ac_try='test -s conftest.$ac_objext'
44261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44262 (eval $ac_try) 2>&5
44263 ac_status=$?
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); }; }; then
44266 glibcxx_cv_func__ldexpl_use=yes
44267 else
44268 echo "$as_me: failed program was:" >&5
44269 sed 's/^/| /' conftest.$ac_ext >&5
44271 glibcxx_cv_func__ldexpl_use=no
44273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44274 ac_ext=c
44275 ac_cpp='$CPP $CPPFLAGS'
44276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44285 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44287 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44289 for ac_func in _ldexpl
44291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44292 echo "$as_me:$LINENO: checking for $ac_func" >&5
44293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44294 if eval "test \"\${$as_ac_var+set}\" = set"; then
44295 echo $ECHO_N "(cached) $ECHO_C" >&6
44296 else
44297 if test x$gcc_no_link = xyes; then
44298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44300 { (exit 1); exit 1; }; }
44302 cat >conftest.$ac_ext <<_ACEOF
44303 /* confdefs.h. */
44304 _ACEOF
44305 cat confdefs.h >>conftest.$ac_ext
44306 cat >>conftest.$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44310 #define $ac_func innocuous_$ac_func
44312 /* System header to define __stub macros and hopefully few prototypes,
44313 which can conflict with char $ac_func (); below.
44314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44315 <limits.h> exists even on freestanding compilers. */
44317 #ifdef __STDC__
44318 # include <limits.h>
44319 #else
44320 # include <assert.h>
44321 #endif
44323 #undef $ac_func
44325 /* Override any gcc2 internal prototype to avoid an error. */
44326 #ifdef __cplusplus
44327 extern "C"
44329 #endif
44330 /* We use char because int might match the return type of a gcc2
44331 builtin and then its argument prototype would still apply. */
44332 char $ac_func ();
44333 /* The GNU C library defines this for functions which it implements
44334 to always fail with ENOSYS. Some functions are actually named
44335 something starting with __ and the normal name is an alias. */
44336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44337 choke me
44338 #else
44339 char (*f) () = $ac_func;
44340 #endif
44341 #ifdef __cplusplus
44343 #endif
44346 main ()
44348 return f != $ac_func;
44350 return 0;
44352 _ACEOF
44353 rm -f conftest.$ac_objext conftest$ac_exeext
44354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44355 (eval $ac_link) 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_c_werror_flag" || test ! -s conftest.err'
44363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364 (eval $ac_try) 2>&5
44365 ac_status=$?
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); }; } &&
44368 { ac_try='test -s conftest$ac_exeext'
44369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44370 (eval $ac_try) 2>&5
44371 ac_status=$?
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); }; }; then
44374 eval "$as_ac_var=yes"
44375 else
44376 echo "$as_me: failed program was:" >&5
44377 sed 's/^/| /' conftest.$ac_ext >&5
44379 eval "$as_ac_var=no"
44381 rm -f conftest.err conftest.$ac_objext \
44382 conftest$ac_exeext conftest.$ac_ext
44384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44386 if test `eval echo '${'$as_ac_var'}'` = yes; then
44387 cat >>confdefs.h <<_ACEOF
44388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44389 _ACEOF
44392 done
44399 echo "$as_me:$LINENO: checking for logl declaration" >&5
44400 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44401 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44402 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44403 echo $ECHO_N "(cached) $ECHO_C" >&6
44404 else
44408 ac_ext=cc
44409 ac_cpp='$CXXCPP $CPPFLAGS'
44410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44414 cat >conftest.$ac_ext <<_ACEOF
44415 /* confdefs.h. */
44416 _ACEOF
44417 cat confdefs.h >>conftest.$ac_ext
44418 cat >>conftest.$ac_ext <<_ACEOF
44419 /* end confdefs.h. */
44420 #include <math.h>
44421 #ifdef HAVE_IEEEFP_H
44422 #include <ieeefp.h>
44423 #endif
44426 main ()
44428 logl(0);
44430 return 0;
44432 _ACEOF
44433 rm -f conftest.$ac_objext
44434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44435 (eval $ac_compile) 2>conftest.er1
44436 ac_status=$?
44437 grep -v '^ *+' conftest.er1 >conftest.err
44438 rm -f conftest.er1
44439 cat conftest.err >&5
44440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441 (exit $ac_status); } &&
44442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44444 (eval $ac_try) 2>&5
44445 ac_status=$?
44446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44447 (exit $ac_status); }; } &&
44448 { ac_try='test -s conftest.$ac_objext'
44449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44450 (eval $ac_try) 2>&5
44451 ac_status=$?
44452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44453 (exit $ac_status); }; }; then
44454 glibcxx_cv_func_logl_use=yes
44455 else
44456 echo "$as_me: failed program was:" >&5
44457 sed 's/^/| /' conftest.$ac_ext >&5
44459 glibcxx_cv_func_logl_use=no
44461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44462 ac_ext=c
44463 ac_cpp='$CPP $CPPFLAGS'
44464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44473 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44475 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44477 for ac_func in logl
44479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44480 echo "$as_me:$LINENO: checking for $ac_func" >&5
44481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44482 if eval "test \"\${$as_ac_var+set}\" = set"; then
44483 echo $ECHO_N "(cached) $ECHO_C" >&6
44484 else
44485 if test x$gcc_no_link = xyes; then
44486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44488 { (exit 1); exit 1; }; }
44490 cat >conftest.$ac_ext <<_ACEOF
44491 /* confdefs.h. */
44492 _ACEOF
44493 cat confdefs.h >>conftest.$ac_ext
44494 cat >>conftest.$ac_ext <<_ACEOF
44495 /* end confdefs.h. */
44496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44498 #define $ac_func innocuous_$ac_func
44500 /* System header to define __stub macros and hopefully few prototypes,
44501 which can conflict with char $ac_func (); below.
44502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44503 <limits.h> exists even on freestanding compilers. */
44505 #ifdef __STDC__
44506 # include <limits.h>
44507 #else
44508 # include <assert.h>
44509 #endif
44511 #undef $ac_func
44513 /* Override any gcc2 internal prototype to avoid an error. */
44514 #ifdef __cplusplus
44515 extern "C"
44517 #endif
44518 /* We use char because int might match the return type of a gcc2
44519 builtin and then its argument prototype would still apply. */
44520 char $ac_func ();
44521 /* The GNU C library defines this for functions which it implements
44522 to always fail with ENOSYS. Some functions are actually named
44523 something starting with __ and the normal name is an alias. */
44524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44525 choke me
44526 #else
44527 char (*f) () = $ac_func;
44528 #endif
44529 #ifdef __cplusplus
44531 #endif
44534 main ()
44536 return f != $ac_func;
44538 return 0;
44540 _ACEOF
44541 rm -f conftest.$ac_objext conftest$ac_exeext
44542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44543 (eval $ac_link) 2>conftest.er1
44544 ac_status=$?
44545 grep -v '^ *+' conftest.er1 >conftest.err
44546 rm -f conftest.er1
44547 cat conftest.err >&5
44548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44549 (exit $ac_status); } &&
44550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44552 (eval $ac_try) 2>&5
44553 ac_status=$?
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); }; } &&
44556 { ac_try='test -s conftest$ac_exeext'
44557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44558 (eval $ac_try) 2>&5
44559 ac_status=$?
44560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561 (exit $ac_status); }; }; then
44562 eval "$as_ac_var=yes"
44563 else
44564 echo "$as_me: failed program was:" >&5
44565 sed 's/^/| /' conftest.$ac_ext >&5
44567 eval "$as_ac_var=no"
44569 rm -f conftest.err conftest.$ac_objext \
44570 conftest$ac_exeext conftest.$ac_ext
44572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44574 if test `eval echo '${'$as_ac_var'}'` = yes; then
44575 cat >>confdefs.h <<_ACEOF
44576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44577 _ACEOF
44580 done
44582 else
44584 echo "$as_me:$LINENO: checking for _logl declaration" >&5
44585 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
44586 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44587 if test "${glibcxx_cv_func__logl_use+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44589 else
44593 ac_ext=cc
44594 ac_cpp='$CXXCPP $CPPFLAGS'
44595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599 cat >conftest.$ac_ext <<_ACEOF
44600 /* confdefs.h. */
44601 _ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44605 #include <math.h>
44606 #ifdef HAVE_IEEEFP_H
44607 #include <ieeefp.h>
44608 #endif
44611 main ()
44613 _logl(0);
44615 return 0;
44617 _ACEOF
44618 rm -f conftest.$ac_objext
44619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44620 (eval $ac_compile) 2>conftest.er1
44621 ac_status=$?
44622 grep -v '^ *+' conftest.er1 >conftest.err
44623 rm -f conftest.er1
44624 cat conftest.err >&5
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); } &&
44627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44629 (eval $ac_try) 2>&5
44630 ac_status=$?
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); }; } &&
44633 { ac_try='test -s conftest.$ac_objext'
44634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44635 (eval $ac_try) 2>&5
44636 ac_status=$?
44637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44638 (exit $ac_status); }; }; then
44639 glibcxx_cv_func__logl_use=yes
44640 else
44641 echo "$as_me: failed program was:" >&5
44642 sed 's/^/| /' conftest.$ac_ext >&5
44644 glibcxx_cv_func__logl_use=no
44646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44647 ac_ext=c
44648 ac_cpp='$CPP $CPPFLAGS'
44649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
44658 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
44660 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44662 for ac_func in _logl
44664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44665 echo "$as_me:$LINENO: checking for $ac_func" >&5
44666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44667 if eval "test \"\${$as_ac_var+set}\" = set"; then
44668 echo $ECHO_N "(cached) $ECHO_C" >&6
44669 else
44670 if test x$gcc_no_link = xyes; then
44671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44673 { (exit 1); exit 1; }; }
44675 cat >conftest.$ac_ext <<_ACEOF
44676 /* confdefs.h. */
44677 _ACEOF
44678 cat confdefs.h >>conftest.$ac_ext
44679 cat >>conftest.$ac_ext <<_ACEOF
44680 /* end confdefs.h. */
44681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44683 #define $ac_func innocuous_$ac_func
44685 /* System header to define __stub macros and hopefully few prototypes,
44686 which can conflict with char $ac_func (); below.
44687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44688 <limits.h> exists even on freestanding compilers. */
44690 #ifdef __STDC__
44691 # include <limits.h>
44692 #else
44693 # include <assert.h>
44694 #endif
44696 #undef $ac_func
44698 /* Override any gcc2 internal prototype to avoid an error. */
44699 #ifdef __cplusplus
44700 extern "C"
44702 #endif
44703 /* We use char because int might match the return type of a gcc2
44704 builtin and then its argument prototype would still apply. */
44705 char $ac_func ();
44706 /* The GNU C library defines this for functions which it implements
44707 to always fail with ENOSYS. Some functions are actually named
44708 something starting with __ and the normal name is an alias. */
44709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44710 choke me
44711 #else
44712 char (*f) () = $ac_func;
44713 #endif
44714 #ifdef __cplusplus
44716 #endif
44719 main ()
44721 return f != $ac_func;
44723 return 0;
44725 _ACEOF
44726 rm -f conftest.$ac_objext conftest$ac_exeext
44727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44728 (eval $ac_link) 2>conftest.er1
44729 ac_status=$?
44730 grep -v '^ *+' conftest.er1 >conftest.err
44731 rm -f conftest.er1
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } &&
44735 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
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 eval "$as_ac_var=yes"
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44752 eval "$as_ac_var=no"
44754 rm -f conftest.err conftest.$ac_objext \
44755 conftest$ac_exeext conftest.$ac_ext
44757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44759 if test `eval echo '${'$as_ac_var'}'` = yes; then
44760 cat >>confdefs.h <<_ACEOF
44761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44762 _ACEOF
44765 done
44772 echo "$as_me:$LINENO: checking for log10l declaration" >&5
44773 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
44774 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44775 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
44776 echo $ECHO_N "(cached) $ECHO_C" >&6
44777 else
44781 ac_ext=cc
44782 ac_cpp='$CXXCPP $CPPFLAGS'
44783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44787 cat >conftest.$ac_ext <<_ACEOF
44788 /* confdefs.h. */
44789 _ACEOF
44790 cat confdefs.h >>conftest.$ac_ext
44791 cat >>conftest.$ac_ext <<_ACEOF
44792 /* end confdefs.h. */
44793 #include <math.h>
44794 #ifdef HAVE_IEEEFP_H
44795 #include <ieeefp.h>
44796 #endif
44799 main ()
44801 log10l(0);
44803 return 0;
44805 _ACEOF
44806 rm -f conftest.$ac_objext
44807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44808 (eval $ac_compile) 2>conftest.er1
44809 ac_status=$?
44810 grep -v '^ *+' conftest.er1 >conftest.err
44811 rm -f conftest.er1
44812 cat conftest.err >&5
44813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44814 (exit $ac_status); } &&
44815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44817 (eval $ac_try) 2>&5
44818 ac_status=$?
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); }; } &&
44821 { ac_try='test -s conftest.$ac_objext'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44824 ac_status=$?
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; }; then
44827 glibcxx_cv_func_log10l_use=yes
44828 else
44829 echo "$as_me: failed program was:" >&5
44830 sed 's/^/| /' conftest.$ac_ext >&5
44832 glibcxx_cv_func_log10l_use=no
44834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44835 ac_ext=c
44836 ac_cpp='$CPP $CPPFLAGS'
44837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
44846 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
44848 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44850 for ac_func in log10l
44852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44853 echo "$as_me:$LINENO: checking for $ac_func" >&5
44854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44855 if eval "test \"\${$as_ac_var+set}\" = set"; then
44856 echo $ECHO_N "(cached) $ECHO_C" >&6
44857 else
44858 if test x$gcc_no_link = xyes; then
44859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44861 { (exit 1); exit 1; }; }
44863 cat >conftest.$ac_ext <<_ACEOF
44864 /* confdefs.h. */
44865 _ACEOF
44866 cat confdefs.h >>conftest.$ac_ext
44867 cat >>conftest.$ac_ext <<_ACEOF
44868 /* end confdefs.h. */
44869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44871 #define $ac_func innocuous_$ac_func
44873 /* System header to define __stub macros and hopefully few prototypes,
44874 which can conflict with char $ac_func (); below.
44875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44876 <limits.h> exists even on freestanding compilers. */
44878 #ifdef __STDC__
44879 # include <limits.h>
44880 #else
44881 # include <assert.h>
44882 #endif
44884 #undef $ac_func
44886 /* Override any gcc2 internal prototype to avoid an error. */
44887 #ifdef __cplusplus
44888 extern "C"
44890 #endif
44891 /* We use char because int might match the return type of a gcc2
44892 builtin and then its argument prototype would still apply. */
44893 char $ac_func ();
44894 /* The GNU C library defines this for functions which it implements
44895 to always fail with ENOSYS. Some functions are actually named
44896 something starting with __ and the normal name is an alias. */
44897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44898 choke me
44899 #else
44900 char (*f) () = $ac_func;
44901 #endif
44902 #ifdef __cplusplus
44904 #endif
44907 main ()
44909 return f != $ac_func;
44911 return 0;
44913 _ACEOF
44914 rm -f conftest.$ac_objext conftest$ac_exeext
44915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44916 (eval $ac_link) 2>conftest.er1
44917 ac_status=$?
44918 grep -v '^ *+' conftest.er1 >conftest.err
44919 rm -f conftest.er1
44920 cat conftest.err >&5
44921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44922 (exit $ac_status); } &&
44923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44925 (eval $ac_try) 2>&5
44926 ac_status=$?
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); }; } &&
44929 { ac_try='test -s conftest$ac_exeext'
44930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44931 (eval $ac_try) 2>&5
44932 ac_status=$?
44933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44934 (exit $ac_status); }; }; then
44935 eval "$as_ac_var=yes"
44936 else
44937 echo "$as_me: failed program was:" >&5
44938 sed 's/^/| /' conftest.$ac_ext >&5
44940 eval "$as_ac_var=no"
44942 rm -f conftest.err conftest.$ac_objext \
44943 conftest$ac_exeext conftest.$ac_ext
44945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44947 if test `eval echo '${'$as_ac_var'}'` = yes; then
44948 cat >>confdefs.h <<_ACEOF
44949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44950 _ACEOF
44953 done
44955 else
44957 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
44958 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
44959 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44960 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
44961 echo $ECHO_N "(cached) $ECHO_C" >&6
44962 else
44966 ac_ext=cc
44967 ac_cpp='$CXXCPP $CPPFLAGS'
44968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44972 cat >conftest.$ac_ext <<_ACEOF
44973 /* confdefs.h. */
44974 _ACEOF
44975 cat confdefs.h >>conftest.$ac_ext
44976 cat >>conftest.$ac_ext <<_ACEOF
44977 /* end confdefs.h. */
44978 #include <math.h>
44979 #ifdef HAVE_IEEEFP_H
44980 #include <ieeefp.h>
44981 #endif
44984 main ()
44986 _log10l(0);
44988 return 0;
44990 _ACEOF
44991 rm -f conftest.$ac_objext
44992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44993 (eval $ac_compile) 2>conftest.er1
44994 ac_status=$?
44995 grep -v '^ *+' conftest.er1 >conftest.err
44996 rm -f conftest.er1
44997 cat conftest.err >&5
44998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 (exit $ac_status); } &&
45000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45002 (eval $ac_try) 2>&5
45003 ac_status=$?
45004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005 (exit $ac_status); }; } &&
45006 { ac_try='test -s conftest.$ac_objext'
45007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45008 (eval $ac_try) 2>&5
45009 ac_status=$?
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); }; }; then
45012 glibcxx_cv_func__log10l_use=yes
45013 else
45014 echo "$as_me: failed program was:" >&5
45015 sed 's/^/| /' conftest.$ac_ext >&5
45017 glibcxx_cv_func__log10l_use=no
45019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45020 ac_ext=c
45021 ac_cpp='$CPP $CPPFLAGS'
45022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45031 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45033 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45035 for ac_func in _log10l
45037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45038 echo "$as_me:$LINENO: checking for $ac_func" >&5
45039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45040 if eval "test \"\${$as_ac_var+set}\" = set"; then
45041 echo $ECHO_N "(cached) $ECHO_C" >&6
45042 else
45043 if test x$gcc_no_link = xyes; then
45044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45046 { (exit 1); exit 1; }; }
45048 cat >conftest.$ac_ext <<_ACEOF
45049 /* confdefs.h. */
45050 _ACEOF
45051 cat confdefs.h >>conftest.$ac_ext
45052 cat >>conftest.$ac_ext <<_ACEOF
45053 /* end confdefs.h. */
45054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45056 #define $ac_func innocuous_$ac_func
45058 /* System header to define __stub macros and hopefully few prototypes,
45059 which can conflict with char $ac_func (); below.
45060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45061 <limits.h> exists even on freestanding compilers. */
45063 #ifdef __STDC__
45064 # include <limits.h>
45065 #else
45066 # include <assert.h>
45067 #endif
45069 #undef $ac_func
45071 /* Override any gcc2 internal prototype to avoid an error. */
45072 #ifdef __cplusplus
45073 extern "C"
45075 #endif
45076 /* We use char because int might match the return type of a gcc2
45077 builtin and then its argument prototype would still apply. */
45078 char $ac_func ();
45079 /* The GNU C library defines this for functions which it implements
45080 to always fail with ENOSYS. Some functions are actually named
45081 something starting with __ and the normal name is an alias. */
45082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45083 choke me
45084 #else
45085 char (*f) () = $ac_func;
45086 #endif
45087 #ifdef __cplusplus
45089 #endif
45092 main ()
45094 return f != $ac_func;
45096 return 0;
45098 _ACEOF
45099 rm -f conftest.$ac_objext conftest$ac_exeext
45100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45101 (eval $ac_link) 2>conftest.er1
45102 ac_status=$?
45103 grep -v '^ *+' conftest.er1 >conftest.err
45104 rm -f conftest.er1
45105 cat conftest.err >&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); } &&
45108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45110 (eval $ac_try) 2>&5
45111 ac_status=$?
45112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45113 (exit $ac_status); }; } &&
45114 { ac_try='test -s conftest$ac_exeext'
45115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45116 (eval $ac_try) 2>&5
45117 ac_status=$?
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); }; }; then
45120 eval "$as_ac_var=yes"
45121 else
45122 echo "$as_me: failed program was:" >&5
45123 sed 's/^/| /' conftest.$ac_ext >&5
45125 eval "$as_ac_var=no"
45127 rm -f conftest.err conftest.$ac_objext \
45128 conftest$ac_exeext conftest.$ac_ext
45130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45132 if test `eval echo '${'$as_ac_var'}'` = yes; then
45133 cat >>confdefs.h <<_ACEOF
45134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45135 _ACEOF
45138 done
45145 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45146 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45147 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45148 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45149 echo $ECHO_N "(cached) $ECHO_C" >&6
45150 else
45154 ac_ext=cc
45155 ac_cpp='$CXXCPP $CPPFLAGS'
45156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45160 cat >conftest.$ac_ext <<_ACEOF
45161 /* confdefs.h. */
45162 _ACEOF
45163 cat confdefs.h >>conftest.$ac_ext
45164 cat >>conftest.$ac_ext <<_ACEOF
45165 /* end confdefs.h. */
45166 #include <math.h>
45168 main ()
45170 modfl(0, 0);
45172 return 0;
45174 _ACEOF
45175 rm -f conftest.$ac_objext
45176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45177 (eval $ac_compile) 2>conftest.er1
45178 ac_status=$?
45179 grep -v '^ *+' conftest.er1 >conftest.err
45180 rm -f conftest.er1
45181 cat conftest.err >&5
45182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45183 (exit $ac_status); } &&
45184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45186 (eval $ac_try) 2>&5
45187 ac_status=$?
45188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45189 (exit $ac_status); }; } &&
45190 { ac_try='test -s conftest.$ac_objext'
45191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45192 (eval $ac_try) 2>&5
45193 ac_status=$?
45194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195 (exit $ac_status); }; }; then
45196 glibcxx_cv_func_modfl_use=yes
45197 else
45198 echo "$as_me: failed program was:" >&5
45199 sed 's/^/| /' conftest.$ac_ext >&5
45201 glibcxx_cv_func_modfl_use=no
45203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45204 ac_ext=c
45205 ac_cpp='$CPP $CPPFLAGS'
45206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45215 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45217 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45219 for ac_func in modfl
45221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45222 echo "$as_me:$LINENO: checking for $ac_func" >&5
45223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45224 if eval "test \"\${$as_ac_var+set}\" = set"; then
45225 echo $ECHO_N "(cached) $ECHO_C" >&6
45226 else
45227 if test x$gcc_no_link = xyes; then
45228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45230 { (exit 1); exit 1; }; }
45232 cat >conftest.$ac_ext <<_ACEOF
45233 /* confdefs.h. */
45234 _ACEOF
45235 cat confdefs.h >>conftest.$ac_ext
45236 cat >>conftest.$ac_ext <<_ACEOF
45237 /* end confdefs.h. */
45238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45240 #define $ac_func innocuous_$ac_func
45242 /* System header to define __stub macros and hopefully few prototypes,
45243 which can conflict with char $ac_func (); below.
45244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45245 <limits.h> exists even on freestanding compilers. */
45247 #ifdef __STDC__
45248 # include <limits.h>
45249 #else
45250 # include <assert.h>
45251 #endif
45253 #undef $ac_func
45255 /* Override any gcc2 internal prototype to avoid an error. */
45256 #ifdef __cplusplus
45257 extern "C"
45259 #endif
45260 /* We use char because int might match the return type of a gcc2
45261 builtin and then its argument prototype would still apply. */
45262 char $ac_func ();
45263 /* The GNU C library defines this for functions which it implements
45264 to always fail with ENOSYS. Some functions are actually named
45265 something starting with __ and the normal name is an alias. */
45266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45267 choke me
45268 #else
45269 char (*f) () = $ac_func;
45270 #endif
45271 #ifdef __cplusplus
45273 #endif
45276 main ()
45278 return f != $ac_func;
45280 return 0;
45282 _ACEOF
45283 rm -f conftest.$ac_objext conftest$ac_exeext
45284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45285 (eval $ac_link) 2>conftest.er1
45286 ac_status=$?
45287 grep -v '^ *+' conftest.er1 >conftest.err
45288 rm -f conftest.er1
45289 cat conftest.err >&5
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); } &&
45292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45294 (eval $ac_try) 2>&5
45295 ac_status=$?
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; } &&
45298 { ac_try='test -s conftest$ac_exeext'
45299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45300 (eval $ac_try) 2>&5
45301 ac_status=$?
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); }; }; then
45304 eval "$as_ac_var=yes"
45305 else
45306 echo "$as_me: failed program was:" >&5
45307 sed 's/^/| /' conftest.$ac_ext >&5
45309 eval "$as_ac_var=no"
45311 rm -f conftest.err conftest.$ac_objext \
45312 conftest$ac_exeext conftest.$ac_ext
45314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45316 if test `eval echo '${'$as_ac_var'}'` = yes; then
45317 cat >>confdefs.h <<_ACEOF
45318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45319 _ACEOF
45322 done
45324 else
45326 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45327 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45328 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45329 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45330 echo $ECHO_N "(cached) $ECHO_C" >&6
45331 else
45335 ac_ext=cc
45336 ac_cpp='$CXXCPP $CPPFLAGS'
45337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45341 cat >conftest.$ac_ext <<_ACEOF
45342 /* confdefs.h. */
45343 _ACEOF
45344 cat confdefs.h >>conftest.$ac_ext
45345 cat >>conftest.$ac_ext <<_ACEOF
45346 /* end confdefs.h. */
45347 #include <math.h>
45349 main ()
45351 _modfl(0, 0);
45353 return 0;
45355 _ACEOF
45356 rm -f conftest.$ac_objext
45357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45358 (eval $ac_compile) 2>conftest.er1
45359 ac_status=$?
45360 grep -v '^ *+' conftest.er1 >conftest.err
45361 rm -f conftest.er1
45362 cat conftest.err >&5
45363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364 (exit $ac_status); } &&
45365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45367 (eval $ac_try) 2>&5
45368 ac_status=$?
45369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45370 (exit $ac_status); }; } &&
45371 { ac_try='test -s conftest.$ac_objext'
45372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45373 (eval $ac_try) 2>&5
45374 ac_status=$?
45375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45376 (exit $ac_status); }; }; then
45377 glibcxx_cv_func__modfl_use=yes
45378 else
45379 echo "$as_me: failed program was:" >&5
45380 sed 's/^/| /' conftest.$ac_ext >&5
45382 glibcxx_cv_func__modfl_use=no
45384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45385 ac_ext=c
45386 ac_cpp='$CPP $CPPFLAGS'
45387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45396 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45398 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45400 for ac_func in _modfl
45402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45403 echo "$as_me:$LINENO: checking for $ac_func" >&5
45404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45405 if eval "test \"\${$as_ac_var+set}\" = set"; then
45406 echo $ECHO_N "(cached) $ECHO_C" >&6
45407 else
45408 if test x$gcc_no_link = xyes; then
45409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45411 { (exit 1); exit 1; }; }
45413 cat >conftest.$ac_ext <<_ACEOF
45414 /* confdefs.h. */
45415 _ACEOF
45416 cat confdefs.h >>conftest.$ac_ext
45417 cat >>conftest.$ac_ext <<_ACEOF
45418 /* end confdefs.h. */
45419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45421 #define $ac_func innocuous_$ac_func
45423 /* System header to define __stub macros and hopefully few prototypes,
45424 which can conflict with char $ac_func (); below.
45425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45426 <limits.h> exists even on freestanding compilers. */
45428 #ifdef __STDC__
45429 # include <limits.h>
45430 #else
45431 # include <assert.h>
45432 #endif
45434 #undef $ac_func
45436 /* Override any gcc2 internal prototype to avoid an error. */
45437 #ifdef __cplusplus
45438 extern "C"
45440 #endif
45441 /* We use char because int might match the return type of a gcc2
45442 builtin and then its argument prototype would still apply. */
45443 char $ac_func ();
45444 /* The GNU C library defines this for functions which it implements
45445 to always fail with ENOSYS. Some functions are actually named
45446 something starting with __ and the normal name is an alias. */
45447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45448 choke me
45449 #else
45450 char (*f) () = $ac_func;
45451 #endif
45452 #ifdef __cplusplus
45454 #endif
45457 main ()
45459 return f != $ac_func;
45461 return 0;
45463 _ACEOF
45464 rm -f conftest.$ac_objext conftest$ac_exeext
45465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45466 (eval $ac_link) 2>conftest.er1
45467 ac_status=$?
45468 grep -v '^ *+' conftest.er1 >conftest.err
45469 rm -f conftest.er1
45470 cat conftest.err >&5
45471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45472 (exit $ac_status); } &&
45473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45475 (eval $ac_try) 2>&5
45476 ac_status=$?
45477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45478 (exit $ac_status); }; } &&
45479 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
45485 eval "$as_ac_var=yes"
45486 else
45487 echo "$as_me: failed program was:" >&5
45488 sed 's/^/| /' conftest.$ac_ext >&5
45490 eval "$as_ac_var=no"
45492 rm -f conftest.err conftest.$ac_objext \
45493 conftest$ac_exeext conftest.$ac_ext
45495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45497 if test `eval echo '${'$as_ac_var'}'` = yes; then
45498 cat >>confdefs.h <<_ACEOF
45499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45500 _ACEOF
45503 done
45510 echo "$as_me:$LINENO: checking for powl declaration" >&5
45511 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45512 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45513 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45514 echo $ECHO_N "(cached) $ECHO_C" >&6
45515 else
45519 ac_ext=cc
45520 ac_cpp='$CXXCPP $CPPFLAGS'
45521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45525 cat >conftest.$ac_ext <<_ACEOF
45526 /* confdefs.h. */
45527 _ACEOF
45528 cat confdefs.h >>conftest.$ac_ext
45529 cat >>conftest.$ac_ext <<_ACEOF
45530 /* end confdefs.h. */
45531 #include <math.h>
45533 main ()
45535 powl(0, 0);
45537 return 0;
45539 _ACEOF
45540 rm -f conftest.$ac_objext
45541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45542 (eval $ac_compile) 2>conftest.er1
45543 ac_status=$?
45544 grep -v '^ *+' conftest.er1 >conftest.err
45545 rm -f conftest.er1
45546 cat conftest.err >&5
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); } &&
45549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45551 (eval $ac_try) 2>&5
45552 ac_status=$?
45553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45554 (exit $ac_status); }; } &&
45555 { ac_try='test -s conftest.$ac_objext'
45556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45557 (eval $ac_try) 2>&5
45558 ac_status=$?
45559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560 (exit $ac_status); }; }; then
45561 glibcxx_cv_func_powl_use=yes
45562 else
45563 echo "$as_me: failed program was:" >&5
45564 sed 's/^/| /' conftest.$ac_ext >&5
45566 glibcxx_cv_func_powl_use=no
45568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45569 ac_ext=c
45570 ac_cpp='$CPP $CPPFLAGS'
45571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
45580 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
45582 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45584 for ac_func in powl
45586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45587 echo "$as_me:$LINENO: checking for $ac_func" >&5
45588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45589 if eval "test \"\${$as_ac_var+set}\" = set"; then
45590 echo $ECHO_N "(cached) $ECHO_C" >&6
45591 else
45592 if test x$gcc_no_link = xyes; then
45593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45595 { (exit 1); exit 1; }; }
45597 cat >conftest.$ac_ext <<_ACEOF
45598 /* confdefs.h. */
45599 _ACEOF
45600 cat confdefs.h >>conftest.$ac_ext
45601 cat >>conftest.$ac_ext <<_ACEOF
45602 /* end confdefs.h. */
45603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45605 #define $ac_func innocuous_$ac_func
45607 /* System header to define __stub macros and hopefully few prototypes,
45608 which can conflict with char $ac_func (); below.
45609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45610 <limits.h> exists even on freestanding compilers. */
45612 #ifdef __STDC__
45613 # include <limits.h>
45614 #else
45615 # include <assert.h>
45616 #endif
45618 #undef $ac_func
45620 /* Override any gcc2 internal prototype to avoid an error. */
45621 #ifdef __cplusplus
45622 extern "C"
45624 #endif
45625 /* We use char because int might match the return type of a gcc2
45626 builtin and then its argument prototype would still apply. */
45627 char $ac_func ();
45628 /* The GNU C library defines this for functions which it implements
45629 to always fail with ENOSYS. Some functions are actually named
45630 something starting with __ and the normal name is an alias. */
45631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45632 choke me
45633 #else
45634 char (*f) () = $ac_func;
45635 #endif
45636 #ifdef __cplusplus
45638 #endif
45641 main ()
45643 return f != $ac_func;
45645 return 0;
45647 _ACEOF
45648 rm -f conftest.$ac_objext conftest$ac_exeext
45649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45650 (eval $ac_link) 2>conftest.er1
45651 ac_status=$?
45652 grep -v '^ *+' conftest.er1 >conftest.err
45653 rm -f conftest.er1
45654 cat conftest.err >&5
45655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45656 (exit $ac_status); } &&
45657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45659 (eval $ac_try) 2>&5
45660 ac_status=$?
45661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45662 (exit $ac_status); }; } &&
45663 { ac_try='test -s conftest$ac_exeext'
45664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45665 (eval $ac_try) 2>&5
45666 ac_status=$?
45667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45668 (exit $ac_status); }; }; then
45669 eval "$as_ac_var=yes"
45670 else
45671 echo "$as_me: failed program was:" >&5
45672 sed 's/^/| /' conftest.$ac_ext >&5
45674 eval "$as_ac_var=no"
45676 rm -f conftest.err conftest.$ac_objext \
45677 conftest$ac_exeext conftest.$ac_ext
45679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45681 if test `eval echo '${'$as_ac_var'}'` = yes; then
45682 cat >>confdefs.h <<_ACEOF
45683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45684 _ACEOF
45687 done
45689 else
45691 echo "$as_me:$LINENO: checking for _powl declaration" >&5
45692 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
45693 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45694 if test "${glibcxx_cv_func__powl_use+set}" = set; then
45695 echo $ECHO_N "(cached) $ECHO_C" >&6
45696 else
45700 ac_ext=cc
45701 ac_cpp='$CXXCPP $CPPFLAGS'
45702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706 cat >conftest.$ac_ext <<_ACEOF
45707 /* confdefs.h. */
45708 _ACEOF
45709 cat confdefs.h >>conftest.$ac_ext
45710 cat >>conftest.$ac_ext <<_ACEOF
45711 /* end confdefs.h. */
45712 #include <math.h>
45714 main ()
45716 _powl(0, 0);
45718 return 0;
45720 _ACEOF
45721 rm -f conftest.$ac_objext
45722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45723 (eval $ac_compile) 2>conftest.er1
45724 ac_status=$?
45725 grep -v '^ *+' conftest.er1 >conftest.err
45726 rm -f conftest.er1
45727 cat conftest.err >&5
45728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45729 (exit $ac_status); } &&
45730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45732 (eval $ac_try) 2>&5
45733 ac_status=$?
45734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45735 (exit $ac_status); }; } &&
45736 { ac_try='test -s conftest.$ac_objext'
45737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45738 (eval $ac_try) 2>&5
45739 ac_status=$?
45740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45741 (exit $ac_status); }; }; then
45742 glibcxx_cv_func__powl_use=yes
45743 else
45744 echo "$as_me: failed program was:" >&5
45745 sed 's/^/| /' conftest.$ac_ext >&5
45747 glibcxx_cv_func__powl_use=no
45749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45750 ac_ext=c
45751 ac_cpp='$CPP $CPPFLAGS'
45752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
45761 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
45763 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45765 for ac_func in _powl
45767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45768 echo "$as_me:$LINENO: checking for $ac_func" >&5
45769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45770 if eval "test \"\${$as_ac_var+set}\" = set"; then
45771 echo $ECHO_N "(cached) $ECHO_C" >&6
45772 else
45773 if test x$gcc_no_link = xyes; then
45774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45776 { (exit 1); exit 1; }; }
45778 cat >conftest.$ac_ext <<_ACEOF
45779 /* confdefs.h. */
45780 _ACEOF
45781 cat confdefs.h >>conftest.$ac_ext
45782 cat >>conftest.$ac_ext <<_ACEOF
45783 /* end confdefs.h. */
45784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45786 #define $ac_func innocuous_$ac_func
45788 /* System header to define __stub macros and hopefully few prototypes,
45789 which can conflict with char $ac_func (); below.
45790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45791 <limits.h> exists even on freestanding compilers. */
45793 #ifdef __STDC__
45794 # include <limits.h>
45795 #else
45796 # include <assert.h>
45797 #endif
45799 #undef $ac_func
45801 /* Override any gcc2 internal prototype to avoid an error. */
45802 #ifdef __cplusplus
45803 extern "C"
45805 #endif
45806 /* We use char because int might match the return type of a gcc2
45807 builtin and then its argument prototype would still apply. */
45808 char $ac_func ();
45809 /* The GNU C library defines this for functions which it implements
45810 to always fail with ENOSYS. Some functions are actually named
45811 something starting with __ and the normal name is an alias. */
45812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45813 choke me
45814 #else
45815 char (*f) () = $ac_func;
45816 #endif
45817 #ifdef __cplusplus
45819 #endif
45822 main ()
45824 return f != $ac_func;
45826 return 0;
45828 _ACEOF
45829 rm -f conftest.$ac_objext conftest$ac_exeext
45830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45831 (eval $ac_link) 2>conftest.er1
45832 ac_status=$?
45833 grep -v '^ *+' conftest.er1 >conftest.err
45834 rm -f conftest.er1
45835 cat conftest.err >&5
45836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45837 (exit $ac_status); } &&
45838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45840 (eval $ac_try) 2>&5
45841 ac_status=$?
45842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45843 (exit $ac_status); }; } &&
45844 { ac_try='test -s conftest$ac_exeext'
45845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45846 (eval $ac_try) 2>&5
45847 ac_status=$?
45848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45849 (exit $ac_status); }; }; then
45850 eval "$as_ac_var=yes"
45851 else
45852 echo "$as_me: failed program was:" >&5
45853 sed 's/^/| /' conftest.$ac_ext >&5
45855 eval "$as_ac_var=no"
45857 rm -f conftest.err conftest.$ac_objext \
45858 conftest$ac_exeext conftest.$ac_ext
45860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45862 if test `eval echo '${'$as_ac_var'}'` = yes; then
45863 cat >>confdefs.h <<_ACEOF
45864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45865 _ACEOF
45868 done
45875 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
45876 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
45877 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45878 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
45879 echo $ECHO_N "(cached) $ECHO_C" >&6
45880 else
45884 ac_ext=cc
45885 ac_cpp='$CXXCPP $CPPFLAGS'
45886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890 cat >conftest.$ac_ext <<_ACEOF
45891 /* confdefs.h. */
45892 _ACEOF
45893 cat confdefs.h >>conftest.$ac_ext
45894 cat >>conftest.$ac_ext <<_ACEOF
45895 /* end confdefs.h. */
45896 #include <math.h>
45897 #ifdef HAVE_IEEEFP_H
45898 #include <ieeefp.h>
45899 #endif
45902 main ()
45904 sqrtl(0);
45906 return 0;
45908 _ACEOF
45909 rm -f conftest.$ac_objext
45910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45911 (eval $ac_compile) 2>conftest.er1
45912 ac_status=$?
45913 grep -v '^ *+' conftest.er1 >conftest.err
45914 rm -f conftest.er1
45915 cat conftest.err >&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } &&
45918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45920 (eval $ac_try) 2>&5
45921 ac_status=$?
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); }; } &&
45924 { ac_try='test -s conftest.$ac_objext'
45925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45926 (eval $ac_try) 2>&5
45927 ac_status=$?
45928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45929 (exit $ac_status); }; }; then
45930 glibcxx_cv_func_sqrtl_use=yes
45931 else
45932 echo "$as_me: failed program was:" >&5
45933 sed 's/^/| /' conftest.$ac_ext >&5
45935 glibcxx_cv_func_sqrtl_use=no
45937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45938 ac_ext=c
45939 ac_cpp='$CPP $CPPFLAGS'
45940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
45949 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
45951 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45953 for ac_func in sqrtl
45955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45956 echo "$as_me:$LINENO: checking for $ac_func" >&5
45957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45958 if eval "test \"\${$as_ac_var+set}\" = set"; then
45959 echo $ECHO_N "(cached) $ECHO_C" >&6
45960 else
45961 if test x$gcc_no_link = xyes; then
45962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45964 { (exit 1); exit 1; }; }
45966 cat >conftest.$ac_ext <<_ACEOF
45967 /* confdefs.h. */
45968 _ACEOF
45969 cat confdefs.h >>conftest.$ac_ext
45970 cat >>conftest.$ac_ext <<_ACEOF
45971 /* end confdefs.h. */
45972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45974 #define $ac_func innocuous_$ac_func
45976 /* System header to define __stub macros and hopefully few prototypes,
45977 which can conflict with char $ac_func (); below.
45978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45979 <limits.h> exists even on freestanding compilers. */
45981 #ifdef __STDC__
45982 # include <limits.h>
45983 #else
45984 # include <assert.h>
45985 #endif
45987 #undef $ac_func
45989 /* Override any gcc2 internal prototype to avoid an error. */
45990 #ifdef __cplusplus
45991 extern "C"
45993 #endif
45994 /* We use char because int might match the return type of a gcc2
45995 builtin and then its argument prototype would still apply. */
45996 char $ac_func ();
45997 /* The GNU C library defines this for functions which it implements
45998 to always fail with ENOSYS. Some functions are actually named
45999 something starting with __ and the normal name is an alias. */
46000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46001 choke me
46002 #else
46003 char (*f) () = $ac_func;
46004 #endif
46005 #ifdef __cplusplus
46007 #endif
46010 main ()
46012 return f != $ac_func;
46014 return 0;
46016 _ACEOF
46017 rm -f conftest.$ac_objext conftest$ac_exeext
46018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46019 (eval $ac_link) 2>conftest.er1
46020 ac_status=$?
46021 grep -v '^ *+' conftest.er1 >conftest.err
46022 rm -f conftest.er1
46023 cat conftest.err >&5
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); } &&
46026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46028 (eval $ac_try) 2>&5
46029 ac_status=$?
46030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031 (exit $ac_status); }; } &&
46032 { ac_try='test -s conftest$ac_exeext'
46033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46034 (eval $ac_try) 2>&5
46035 ac_status=$?
46036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46037 (exit $ac_status); }; }; then
46038 eval "$as_ac_var=yes"
46039 else
46040 echo "$as_me: failed program was:" >&5
46041 sed 's/^/| /' conftest.$ac_ext >&5
46043 eval "$as_ac_var=no"
46045 rm -f conftest.err conftest.$ac_objext \
46046 conftest$ac_exeext conftest.$ac_ext
46048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46050 if test `eval echo '${'$as_ac_var'}'` = yes; then
46051 cat >>confdefs.h <<_ACEOF
46052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46053 _ACEOF
46056 done
46058 else
46060 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46061 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46062 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46063 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46064 echo $ECHO_N "(cached) $ECHO_C" >&6
46065 else
46069 ac_ext=cc
46070 ac_cpp='$CXXCPP $CPPFLAGS'
46071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46075 cat >conftest.$ac_ext <<_ACEOF
46076 /* confdefs.h. */
46077 _ACEOF
46078 cat confdefs.h >>conftest.$ac_ext
46079 cat >>conftest.$ac_ext <<_ACEOF
46080 /* end confdefs.h. */
46081 #include <math.h>
46082 #ifdef HAVE_IEEEFP_H
46083 #include <ieeefp.h>
46084 #endif
46087 main ()
46089 _sqrtl(0);
46091 return 0;
46093 _ACEOF
46094 rm -f conftest.$ac_objext
46095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46096 (eval $ac_compile) 2>conftest.er1
46097 ac_status=$?
46098 grep -v '^ *+' conftest.er1 >conftest.err
46099 rm -f conftest.er1
46100 cat conftest.err >&5
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); } &&
46103 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46105 (eval $ac_try) 2>&5
46106 ac_status=$?
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); }; } &&
46109 { ac_try='test -s conftest.$ac_objext'
46110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46111 (eval $ac_try) 2>&5
46112 ac_status=$?
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); }; }; then
46115 glibcxx_cv_func__sqrtl_use=yes
46116 else
46117 echo "$as_me: failed program was:" >&5
46118 sed 's/^/| /' conftest.$ac_ext >&5
46120 glibcxx_cv_func__sqrtl_use=no
46122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46123 ac_ext=c
46124 ac_cpp='$CPP $CPPFLAGS'
46125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46134 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46136 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46138 for ac_func in _sqrtl
46140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46141 echo "$as_me:$LINENO: checking for $ac_func" >&5
46142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46143 if eval "test \"\${$as_ac_var+set}\" = set"; then
46144 echo $ECHO_N "(cached) $ECHO_C" >&6
46145 else
46146 if test x$gcc_no_link = xyes; then
46147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46149 { (exit 1); exit 1; }; }
46151 cat >conftest.$ac_ext <<_ACEOF
46152 /* confdefs.h. */
46153 _ACEOF
46154 cat confdefs.h >>conftest.$ac_ext
46155 cat >>conftest.$ac_ext <<_ACEOF
46156 /* end confdefs.h. */
46157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46159 #define $ac_func innocuous_$ac_func
46161 /* System header to define __stub macros and hopefully few prototypes,
46162 which can conflict with char $ac_func (); below.
46163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46164 <limits.h> exists even on freestanding compilers. */
46166 #ifdef __STDC__
46167 # include <limits.h>
46168 #else
46169 # include <assert.h>
46170 #endif
46172 #undef $ac_func
46174 /* Override any gcc2 internal prototype to avoid an error. */
46175 #ifdef __cplusplus
46176 extern "C"
46178 #endif
46179 /* We use char because int might match the return type of a gcc2
46180 builtin and then its argument prototype would still apply. */
46181 char $ac_func ();
46182 /* The GNU C library defines this for functions which it implements
46183 to always fail with ENOSYS. Some functions are actually named
46184 something starting with __ and the normal name is an alias. */
46185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46186 choke me
46187 #else
46188 char (*f) () = $ac_func;
46189 #endif
46190 #ifdef __cplusplus
46192 #endif
46195 main ()
46197 return f != $ac_func;
46199 return 0;
46201 _ACEOF
46202 rm -f conftest.$ac_objext conftest$ac_exeext
46203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46204 (eval $ac_link) 2>conftest.er1
46205 ac_status=$?
46206 grep -v '^ *+' conftest.er1 >conftest.err
46207 rm -f conftest.er1
46208 cat conftest.err >&5
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); } &&
46211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46213 (eval $ac_try) 2>&5
46214 ac_status=$?
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); }; } &&
46217 { ac_try='test -s conftest$ac_exeext'
46218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219 (eval $ac_try) 2>&5
46220 ac_status=$?
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); }; }; then
46223 eval "$as_ac_var=yes"
46224 else
46225 echo "$as_me: failed program was:" >&5
46226 sed 's/^/| /' conftest.$ac_ext >&5
46228 eval "$as_ac_var=no"
46230 rm -f conftest.err conftest.$ac_objext \
46231 conftest$ac_exeext conftest.$ac_ext
46233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46235 if test `eval echo '${'$as_ac_var'}'` = yes; then
46236 cat >>confdefs.h <<_ACEOF
46237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46238 _ACEOF
46241 done
46248 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46249 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46250 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46251 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46252 echo $ECHO_N "(cached) $ECHO_C" >&6
46253 else
46257 ac_ext=cc
46258 ac_cpp='$CXXCPP $CPPFLAGS'
46259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46263 cat >conftest.$ac_ext <<_ACEOF
46264 /* confdefs.h. */
46265 _ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46269 #include <math.h>
46271 main ()
46273 sincosl(0, 0, 0);
46275 return 0;
46277 _ACEOF
46278 rm -f conftest.$ac_objext
46279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46280 (eval $ac_compile) 2>conftest.er1
46281 ac_status=$?
46282 grep -v '^ *+' conftest.er1 >conftest.err
46283 rm -f conftest.er1
46284 cat conftest.err >&5
46285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286 (exit $ac_status); } &&
46287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46289 (eval $ac_try) 2>&5
46290 ac_status=$?
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); }; } &&
46293 { ac_try='test -s conftest.$ac_objext'
46294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46295 (eval $ac_try) 2>&5
46296 ac_status=$?
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); }; }; then
46299 glibcxx_cv_func_sincosl_use=yes
46300 else
46301 echo "$as_me: failed program was:" >&5
46302 sed 's/^/| /' conftest.$ac_ext >&5
46304 glibcxx_cv_func_sincosl_use=no
46306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46307 ac_ext=c
46308 ac_cpp='$CPP $CPPFLAGS'
46309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46318 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46320 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46322 for ac_func in sincosl
46324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46325 echo "$as_me:$LINENO: checking for $ac_func" >&5
46326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46327 if eval "test \"\${$as_ac_var+set}\" = set"; then
46328 echo $ECHO_N "(cached) $ECHO_C" >&6
46329 else
46330 if test x$gcc_no_link = xyes; then
46331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46333 { (exit 1); exit 1; }; }
46335 cat >conftest.$ac_ext <<_ACEOF
46336 /* confdefs.h. */
46337 _ACEOF
46338 cat confdefs.h >>conftest.$ac_ext
46339 cat >>conftest.$ac_ext <<_ACEOF
46340 /* end confdefs.h. */
46341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46343 #define $ac_func innocuous_$ac_func
46345 /* System header to define __stub macros and hopefully few prototypes,
46346 which can conflict with char $ac_func (); below.
46347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46348 <limits.h> exists even on freestanding compilers. */
46350 #ifdef __STDC__
46351 # include <limits.h>
46352 #else
46353 # include <assert.h>
46354 #endif
46356 #undef $ac_func
46358 /* Override any gcc2 internal prototype to avoid an error. */
46359 #ifdef __cplusplus
46360 extern "C"
46362 #endif
46363 /* We use char because int might match the return type of a gcc2
46364 builtin and then its argument prototype would still apply. */
46365 char $ac_func ();
46366 /* The GNU C library defines this for functions which it implements
46367 to always fail with ENOSYS. Some functions are actually named
46368 something starting with __ and the normal name is an alias. */
46369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46370 choke me
46371 #else
46372 char (*f) () = $ac_func;
46373 #endif
46374 #ifdef __cplusplus
46376 #endif
46379 main ()
46381 return f != $ac_func;
46383 return 0;
46385 _ACEOF
46386 rm -f conftest.$ac_objext conftest$ac_exeext
46387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46388 (eval $ac_link) 2>conftest.er1
46389 ac_status=$?
46390 grep -v '^ *+' conftest.er1 >conftest.err
46391 rm -f conftest.er1
46392 cat conftest.err >&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } &&
46395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46397 (eval $ac_try) 2>&5
46398 ac_status=$?
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); }; } &&
46401 { ac_try='test -s conftest$ac_exeext'
46402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46403 (eval $ac_try) 2>&5
46404 ac_status=$?
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); }; }; then
46407 eval "$as_ac_var=yes"
46408 else
46409 echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.$ac_ext >&5
46412 eval "$as_ac_var=no"
46414 rm -f conftest.err conftest.$ac_objext \
46415 conftest$ac_exeext conftest.$ac_ext
46417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46419 if test `eval echo '${'$as_ac_var'}'` = yes; then
46420 cat >>confdefs.h <<_ACEOF
46421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46422 _ACEOF
46425 done
46427 else
46429 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46430 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46431 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46432 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46433 echo $ECHO_N "(cached) $ECHO_C" >&6
46434 else
46438 ac_ext=cc
46439 ac_cpp='$CXXCPP $CPPFLAGS'
46440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46444 cat >conftest.$ac_ext <<_ACEOF
46445 /* confdefs.h. */
46446 _ACEOF
46447 cat confdefs.h >>conftest.$ac_ext
46448 cat >>conftest.$ac_ext <<_ACEOF
46449 /* end confdefs.h. */
46450 #include <math.h>
46452 main ()
46454 _sincosl(0, 0, 0);
46456 return 0;
46458 _ACEOF
46459 rm -f conftest.$ac_objext
46460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46461 (eval $ac_compile) 2>conftest.er1
46462 ac_status=$?
46463 grep -v '^ *+' conftest.er1 >conftest.err
46464 rm -f conftest.er1
46465 cat conftest.err >&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } &&
46468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46470 (eval $ac_try) 2>&5
46471 ac_status=$?
46472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473 (exit $ac_status); }; } &&
46474 { ac_try='test -s conftest.$ac_objext'
46475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46476 (eval $ac_try) 2>&5
46477 ac_status=$?
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); }; }; then
46480 glibcxx_cv_func__sincosl_use=yes
46481 else
46482 echo "$as_me: failed program was:" >&5
46483 sed 's/^/| /' conftest.$ac_ext >&5
46485 glibcxx_cv_func__sincosl_use=no
46487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46488 ac_ext=c
46489 ac_cpp='$CPP $CPPFLAGS'
46490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46499 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46501 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46503 for ac_func in _sincosl
46505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46506 echo "$as_me:$LINENO: checking for $ac_func" >&5
46507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46508 if eval "test \"\${$as_ac_var+set}\" = set"; then
46509 echo $ECHO_N "(cached) $ECHO_C" >&6
46510 else
46511 if test x$gcc_no_link = xyes; then
46512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46514 { (exit 1); exit 1; }; }
46516 cat >conftest.$ac_ext <<_ACEOF
46517 /* confdefs.h. */
46518 _ACEOF
46519 cat confdefs.h >>conftest.$ac_ext
46520 cat >>conftest.$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46524 #define $ac_func innocuous_$ac_func
46526 /* System header to define __stub macros and hopefully few prototypes,
46527 which can conflict with char $ac_func (); below.
46528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46529 <limits.h> exists even on freestanding compilers. */
46531 #ifdef __STDC__
46532 # include <limits.h>
46533 #else
46534 # include <assert.h>
46535 #endif
46537 #undef $ac_func
46539 /* Override any gcc2 internal prototype to avoid an error. */
46540 #ifdef __cplusplus
46541 extern "C"
46543 #endif
46544 /* We use char because int might match the return type of a gcc2
46545 builtin and then its argument prototype would still apply. */
46546 char $ac_func ();
46547 /* The GNU C library defines this for functions which it implements
46548 to always fail with ENOSYS. Some functions are actually named
46549 something starting with __ and the normal name is an alias. */
46550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46551 choke me
46552 #else
46553 char (*f) () = $ac_func;
46554 #endif
46555 #ifdef __cplusplus
46557 #endif
46560 main ()
46562 return f != $ac_func;
46564 return 0;
46566 _ACEOF
46567 rm -f conftest.$ac_objext conftest$ac_exeext
46568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46569 (eval $ac_link) 2>conftest.er1
46570 ac_status=$?
46571 grep -v '^ *+' conftest.er1 >conftest.err
46572 rm -f conftest.er1
46573 cat conftest.err >&5
46574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46575 (exit $ac_status); } &&
46576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46578 (eval $ac_try) 2>&5
46579 ac_status=$?
46580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581 (exit $ac_status); }; } &&
46582 { ac_try='test -s conftest$ac_exeext'
46583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46584 (eval $ac_try) 2>&5
46585 ac_status=$?
46586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46587 (exit $ac_status); }; }; then
46588 eval "$as_ac_var=yes"
46589 else
46590 echo "$as_me: failed program was:" >&5
46591 sed 's/^/| /' conftest.$ac_ext >&5
46593 eval "$as_ac_var=no"
46595 rm -f conftest.err conftest.$ac_objext \
46596 conftest$ac_exeext conftest.$ac_ext
46598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46600 if test `eval echo '${'$as_ac_var'}'` = yes; then
46601 cat >>confdefs.h <<_ACEOF
46602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46603 _ACEOF
46606 done
46613 echo "$as_me:$LINENO: checking for finitel declaration" >&5
46614 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
46615 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46616 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
46617 echo $ECHO_N "(cached) $ECHO_C" >&6
46618 else
46622 ac_ext=cc
46623 ac_cpp='$CXXCPP $CPPFLAGS'
46624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46628 cat >conftest.$ac_ext <<_ACEOF
46629 /* confdefs.h. */
46630 _ACEOF
46631 cat confdefs.h >>conftest.$ac_ext
46632 cat >>conftest.$ac_ext <<_ACEOF
46633 /* end confdefs.h. */
46634 #include <math.h>
46635 #ifdef HAVE_IEEEFP_H
46636 #include <ieeefp.h>
46637 #endif
46640 main ()
46642 finitel(0);
46644 return 0;
46646 _ACEOF
46647 rm -f conftest.$ac_objext
46648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46649 (eval $ac_compile) 2>conftest.er1
46650 ac_status=$?
46651 grep -v '^ *+' conftest.er1 >conftest.err
46652 rm -f conftest.er1
46653 cat conftest.err >&5
46654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655 (exit $ac_status); } &&
46656 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46658 (eval $ac_try) 2>&5
46659 ac_status=$?
46660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46661 (exit $ac_status); }; } &&
46662 { ac_try='test -s conftest.$ac_objext'
46663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46664 (eval $ac_try) 2>&5
46665 ac_status=$?
46666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46667 (exit $ac_status); }; }; then
46668 glibcxx_cv_func_finitel_use=yes
46669 else
46670 echo "$as_me: failed program was:" >&5
46671 sed 's/^/| /' conftest.$ac_ext >&5
46673 glibcxx_cv_func_finitel_use=no
46675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46676 ac_ext=c
46677 ac_cpp='$CPP $CPPFLAGS'
46678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46686 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
46687 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
46689 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46691 for ac_func in finitel
46693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46694 echo "$as_me:$LINENO: checking for $ac_func" >&5
46695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46696 if eval "test \"\${$as_ac_var+set}\" = set"; then
46697 echo $ECHO_N "(cached) $ECHO_C" >&6
46698 else
46699 if test x$gcc_no_link = xyes; then
46700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46702 { (exit 1); exit 1; }; }
46704 cat >conftest.$ac_ext <<_ACEOF
46705 /* confdefs.h. */
46706 _ACEOF
46707 cat confdefs.h >>conftest.$ac_ext
46708 cat >>conftest.$ac_ext <<_ACEOF
46709 /* end confdefs.h. */
46710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46712 #define $ac_func innocuous_$ac_func
46714 /* System header to define __stub macros and hopefully few prototypes,
46715 which can conflict with char $ac_func (); below.
46716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46717 <limits.h> exists even on freestanding compilers. */
46719 #ifdef __STDC__
46720 # include <limits.h>
46721 #else
46722 # include <assert.h>
46723 #endif
46725 #undef $ac_func
46727 /* Override any gcc2 internal prototype to avoid an error. */
46728 #ifdef __cplusplus
46729 extern "C"
46731 #endif
46732 /* We use char because int might match the return type of a gcc2
46733 builtin and then its argument prototype would still apply. */
46734 char $ac_func ();
46735 /* The GNU C library defines this for functions which it implements
46736 to always fail with ENOSYS. Some functions are actually named
46737 something starting with __ and the normal name is an alias. */
46738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46739 choke me
46740 #else
46741 char (*f) () = $ac_func;
46742 #endif
46743 #ifdef __cplusplus
46745 #endif
46748 main ()
46750 return f != $ac_func;
46752 return 0;
46754 _ACEOF
46755 rm -f conftest.$ac_objext conftest$ac_exeext
46756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46757 (eval $ac_link) 2>conftest.er1
46758 ac_status=$?
46759 grep -v '^ *+' conftest.er1 >conftest.err
46760 rm -f conftest.er1
46761 cat conftest.err >&5
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); } &&
46764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46766 (eval $ac_try) 2>&5
46767 ac_status=$?
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; } &&
46770 { ac_try='test -s conftest$ac_exeext'
46771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46772 (eval $ac_try) 2>&5
46773 ac_status=$?
46774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46775 (exit $ac_status); }; }; then
46776 eval "$as_ac_var=yes"
46777 else
46778 echo "$as_me: failed program was:" >&5
46779 sed 's/^/| /' conftest.$ac_ext >&5
46781 eval "$as_ac_var=no"
46783 rm -f conftest.err conftest.$ac_objext \
46784 conftest$ac_exeext conftest.$ac_ext
46786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46788 if test `eval echo '${'$as_ac_var'}'` = yes; then
46789 cat >>confdefs.h <<_ACEOF
46790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46791 _ACEOF
46794 done
46796 else
46798 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
46799 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
46800 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46801 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
46802 echo $ECHO_N "(cached) $ECHO_C" >&6
46803 else
46807 ac_ext=cc
46808 ac_cpp='$CXXCPP $CPPFLAGS'
46809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46813 cat >conftest.$ac_ext <<_ACEOF
46814 /* confdefs.h. */
46815 _ACEOF
46816 cat confdefs.h >>conftest.$ac_ext
46817 cat >>conftest.$ac_ext <<_ACEOF
46818 /* end confdefs.h. */
46819 #include <math.h>
46820 #ifdef HAVE_IEEEFP_H
46821 #include <ieeefp.h>
46822 #endif
46825 main ()
46827 _finitel(0);
46829 return 0;
46831 _ACEOF
46832 rm -f conftest.$ac_objext
46833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46834 (eval $ac_compile) 2>conftest.er1
46835 ac_status=$?
46836 grep -v '^ *+' conftest.er1 >conftest.err
46837 rm -f conftest.er1
46838 cat conftest.err >&5
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); } &&
46841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46843 (eval $ac_try) 2>&5
46844 ac_status=$?
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }; } &&
46847 { ac_try='test -s conftest.$ac_objext'
46848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46849 (eval $ac_try) 2>&5
46850 ac_status=$?
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); }; }; then
46853 glibcxx_cv_func__finitel_use=yes
46854 else
46855 echo "$as_me: failed program was:" >&5
46856 sed 's/^/| /' conftest.$ac_ext >&5
46858 glibcxx_cv_func__finitel_use=no
46860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46861 ac_ext=c
46862 ac_cpp='$CPP $CPPFLAGS'
46863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
46872 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
46874 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46876 for ac_func in _finitel
46878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46879 echo "$as_me:$LINENO: checking for $ac_func" >&5
46880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46881 if eval "test \"\${$as_ac_var+set}\" = set"; then
46882 echo $ECHO_N "(cached) $ECHO_C" >&6
46883 else
46884 if test x$gcc_no_link = xyes; then
46885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46887 { (exit 1); exit 1; }; }
46889 cat >conftest.$ac_ext <<_ACEOF
46890 /* confdefs.h. */
46891 _ACEOF
46892 cat confdefs.h >>conftest.$ac_ext
46893 cat >>conftest.$ac_ext <<_ACEOF
46894 /* end confdefs.h. */
46895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46897 #define $ac_func innocuous_$ac_func
46899 /* System header to define __stub macros and hopefully few prototypes,
46900 which can conflict with char $ac_func (); below.
46901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46902 <limits.h> exists even on freestanding compilers. */
46904 #ifdef __STDC__
46905 # include <limits.h>
46906 #else
46907 # include <assert.h>
46908 #endif
46910 #undef $ac_func
46912 /* Override any gcc2 internal prototype to avoid an error. */
46913 #ifdef __cplusplus
46914 extern "C"
46916 #endif
46917 /* We use char because int might match the return type of a gcc2
46918 builtin and then its argument prototype would still apply. */
46919 char $ac_func ();
46920 /* The GNU C library defines this for functions which it implements
46921 to always fail with ENOSYS. Some functions are actually named
46922 something starting with __ and the normal name is an alias. */
46923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46924 choke me
46925 #else
46926 char (*f) () = $ac_func;
46927 #endif
46928 #ifdef __cplusplus
46930 #endif
46933 main ()
46935 return f != $ac_func;
46937 return 0;
46939 _ACEOF
46940 rm -f conftest.$ac_objext conftest$ac_exeext
46941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46942 (eval $ac_link) 2>conftest.er1
46943 ac_status=$?
46944 grep -v '^ *+' conftest.er1 >conftest.err
46945 rm -f conftest.er1
46946 cat conftest.err >&5
46947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948 (exit $ac_status); } &&
46949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46951 (eval $ac_try) 2>&5
46952 ac_status=$?
46953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46954 (exit $ac_status); }; } &&
46955 { ac_try='test -s conftest$ac_exeext'
46956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46957 (eval $ac_try) 2>&5
46958 ac_status=$?
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); }; }; then
46961 eval "$as_ac_var=yes"
46962 else
46963 echo "$as_me: failed program was:" >&5
46964 sed 's/^/| /' conftest.$ac_ext >&5
46966 eval "$as_ac_var=no"
46968 rm -f conftest.err conftest.$ac_objext \
46969 conftest$ac_exeext conftest.$ac_ext
46971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46973 if test `eval echo '${'$as_ac_var'}'` = yes; then
46974 cat >>confdefs.h <<_ACEOF
46975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46976 _ACEOF
46979 done
46987 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46988 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46989 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46990 echo $ECHO_N "(cached) $ECHO_C" >&6
46991 else
46995 ac_ext=cc
46996 ac_cpp='$CXXCPP $CPPFLAGS'
46997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47001 cat >conftest.$ac_ext <<_ACEOF
47002 /* confdefs.h. */
47003 _ACEOF
47004 cat confdefs.h >>conftest.$ac_ext
47005 cat >>conftest.$ac_ext <<_ACEOF
47006 /* end confdefs.h. */
47007 #include <math.h>
47009 main ()
47011 `for x in _acosf _asinf _atanf \
47012 _cosf _sinf _tanf \
47013 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47015 return 0;
47017 _ACEOF
47018 rm -f conftest.$ac_objext
47019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47020 (eval $ac_compile) 2>conftest.er1
47021 ac_status=$?
47022 grep -v '^ *+' conftest.er1 >conftest.err
47023 rm -f conftest.er1
47024 cat conftest.err >&5
47025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47026 (exit $ac_status); } &&
47027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47029 (eval $ac_try) 2>&5
47030 ac_status=$?
47031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032 (exit $ac_status); }; } &&
47033 { ac_try='test -s conftest.$ac_objext'
47034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47035 (eval $ac_try) 2>&5
47036 ac_status=$?
47037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47038 (exit $ac_status); }; }; then
47039 glibcxx_cv_func__float_trig_use=yes
47040 else
47041 echo "$as_me: failed program was:" >&5
47042 sed 's/^/| /' conftest.$ac_ext >&5
47044 glibcxx_cv_func__float_trig_use=no
47046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47047 ac_ext=c
47048 ac_cpp='$CPP $CPPFLAGS'
47049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47056 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47057 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47067 for ac_func in _acosf _asinf _atanf \
47068 _cosf _sinf _tanf \
47069 _coshf _sinhf _tanhf
47071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47072 echo "$as_me:$LINENO: checking for $ac_func" >&5
47073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47074 if eval "test \"\${$as_ac_var+set}\" = set"; then
47075 echo $ECHO_N "(cached) $ECHO_C" >&6
47076 else
47077 if test x$gcc_no_link = xyes; then
47078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47080 { (exit 1); exit 1; }; }
47082 cat >conftest.$ac_ext <<_ACEOF
47083 /* confdefs.h. */
47084 _ACEOF
47085 cat confdefs.h >>conftest.$ac_ext
47086 cat >>conftest.$ac_ext <<_ACEOF
47087 /* end confdefs.h. */
47088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47090 #define $ac_func innocuous_$ac_func
47092 /* System header to define __stub macros and hopefully few prototypes,
47093 which can conflict with char $ac_func (); below.
47094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47095 <limits.h> exists even on freestanding compilers. */
47097 #ifdef __STDC__
47098 # include <limits.h>
47099 #else
47100 # include <assert.h>
47101 #endif
47103 #undef $ac_func
47105 /* Override any gcc2 internal prototype to avoid an error. */
47106 #ifdef __cplusplus
47107 extern "C"
47109 #endif
47110 /* We use char because int might match the return type of a gcc2
47111 builtin and then its argument prototype would still apply. */
47112 char $ac_func ();
47113 /* The GNU C library defines this for functions which it implements
47114 to always fail with ENOSYS. Some functions are actually named
47115 something starting with __ and the normal name is an alias. */
47116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47117 choke me
47118 #else
47119 char (*f) () = $ac_func;
47120 #endif
47121 #ifdef __cplusplus
47123 #endif
47126 main ()
47128 return f != $ac_func;
47130 return 0;
47132 _ACEOF
47133 rm -f conftest.$ac_objext conftest$ac_exeext
47134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47135 (eval $ac_link) 2>conftest.er1
47136 ac_status=$?
47137 grep -v '^ *+' conftest.er1 >conftest.err
47138 rm -f conftest.er1
47139 cat conftest.err >&5
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); } &&
47142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47144 (eval $ac_try) 2>&5
47145 ac_status=$?
47146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47147 (exit $ac_status); }; } &&
47148 { ac_try='test -s conftest$ac_exeext'
47149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47150 (eval $ac_try) 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; }; then
47154 eval "$as_ac_var=yes"
47155 else
47156 echo "$as_me: failed program was:" >&5
47157 sed 's/^/| /' conftest.$ac_ext >&5
47159 eval "$as_ac_var=no"
47161 rm -f conftest.err conftest.$ac_objext \
47162 conftest$ac_exeext conftest.$ac_ext
47164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47166 if test `eval echo '${'$as_ac_var'}'` = yes; then
47167 cat >>confdefs.h <<_ACEOF
47168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47169 _ACEOF
47172 done
47177 echo "$as_me:$LINENO: checking for _float round functions" >&5
47178 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47179 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47180 echo $ECHO_N "(cached) $ECHO_C" >&6
47181 else
47185 ac_ext=cc
47186 ac_cpp='$CXXCPP $CPPFLAGS'
47187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47191 cat >conftest.$ac_ext <<_ACEOF
47192 /* confdefs.h. */
47193 _ACEOF
47194 cat confdefs.h >>conftest.$ac_ext
47195 cat >>conftest.$ac_ext <<_ACEOF
47196 /* end confdefs.h. */
47197 #include <math.h>
47199 main ()
47201 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47203 return 0;
47205 _ACEOF
47206 rm -f conftest.$ac_objext
47207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47208 (eval $ac_compile) 2>conftest.er1
47209 ac_status=$?
47210 grep -v '^ *+' conftest.er1 >conftest.err
47211 rm -f conftest.er1
47212 cat conftest.err >&5
47213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47214 (exit $ac_status); } &&
47215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47217 (eval $ac_try) 2>&5
47218 ac_status=$?
47219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47220 (exit $ac_status); }; } &&
47221 { ac_try='test -s conftest.$ac_objext'
47222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47223 (eval $ac_try) 2>&5
47224 ac_status=$?
47225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226 (exit $ac_status); }; }; then
47227 glibcxx_cv_func__float_round_use=yes
47228 else
47229 echo "$as_me: failed program was:" >&5
47230 sed 's/^/| /' conftest.$ac_ext >&5
47232 glibcxx_cv_func__float_round_use=no
47234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47235 ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47244 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47245 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47248 for ac_func in _ceilf _floorf
47250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47251 echo "$as_me:$LINENO: checking for $ac_func" >&5
47252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47253 if eval "test \"\${$as_ac_var+set}\" = set"; then
47254 echo $ECHO_N "(cached) $ECHO_C" >&6
47255 else
47256 if test x$gcc_no_link = xyes; then
47257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47259 { (exit 1); exit 1; }; }
47261 cat >conftest.$ac_ext <<_ACEOF
47262 /* confdefs.h. */
47263 _ACEOF
47264 cat confdefs.h >>conftest.$ac_ext
47265 cat >>conftest.$ac_ext <<_ACEOF
47266 /* end confdefs.h. */
47267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47269 #define $ac_func innocuous_$ac_func
47271 /* System header to define __stub macros and hopefully few prototypes,
47272 which can conflict with char $ac_func (); below.
47273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47274 <limits.h> exists even on freestanding compilers. */
47276 #ifdef __STDC__
47277 # include <limits.h>
47278 #else
47279 # include <assert.h>
47280 #endif
47282 #undef $ac_func
47284 /* Override any gcc2 internal prototype to avoid an error. */
47285 #ifdef __cplusplus
47286 extern "C"
47288 #endif
47289 /* We use char because int might match the return type of a gcc2
47290 builtin and then its argument prototype would still apply. */
47291 char $ac_func ();
47292 /* The GNU C library defines this for functions which it implements
47293 to always fail with ENOSYS. Some functions are actually named
47294 something starting with __ and the normal name is an alias. */
47295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47296 choke me
47297 #else
47298 char (*f) () = $ac_func;
47299 #endif
47300 #ifdef __cplusplus
47302 #endif
47305 main ()
47307 return f != $ac_func;
47309 return 0;
47311 _ACEOF
47312 rm -f conftest.$ac_objext conftest$ac_exeext
47313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47314 (eval $ac_link) 2>conftest.er1
47315 ac_status=$?
47316 grep -v '^ *+' conftest.er1 >conftest.err
47317 rm -f conftest.er1
47318 cat conftest.err >&5
47319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47320 (exit $ac_status); } &&
47321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47323 (eval $ac_try) 2>&5
47324 ac_status=$?
47325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47326 (exit $ac_status); }; } &&
47327 { ac_try='test -s conftest$ac_exeext'
47328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47329 (eval $ac_try) 2>&5
47330 ac_status=$?
47331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47332 (exit $ac_status); }; }; then
47333 eval "$as_ac_var=yes"
47334 else
47335 echo "$as_me: failed program was:" >&5
47336 sed 's/^/| /' conftest.$ac_ext >&5
47338 eval "$as_ac_var=no"
47340 rm -f conftest.err conftest.$ac_objext \
47341 conftest$ac_exeext conftest.$ac_ext
47343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47345 if test `eval echo '${'$as_ac_var'}'` = yes; then
47346 cat >>confdefs.h <<_ACEOF
47347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47348 _ACEOF
47351 done
47357 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47358 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47359 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47365 ac_ext=cc
47366 ac_cpp='$CXXCPP $CPPFLAGS'
47367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47371 cat >conftest.$ac_ext <<_ACEOF
47372 /* confdefs.h. */
47373 _ACEOF
47374 cat confdefs.h >>conftest.$ac_ext
47375 cat >>conftest.$ac_ext <<_ACEOF
47376 /* end confdefs.h. */
47377 #include <math.h>
47379 main ()
47381 `for x in _acosl _asinl _atanl \
47382 _cosl _sinl _tanl \
47383 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47385 return 0;
47387 _ACEOF
47388 rm -f conftest.$ac_objext
47389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47390 (eval $ac_compile) 2>conftest.er1
47391 ac_status=$?
47392 grep -v '^ *+' conftest.er1 >conftest.err
47393 rm -f conftest.er1
47394 cat conftest.err >&5
47395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47396 (exit $ac_status); } &&
47397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47399 (eval $ac_try) 2>&5
47400 ac_status=$?
47401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47402 (exit $ac_status); }; } &&
47403 { ac_try='test -s conftest.$ac_objext'
47404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47405 (eval $ac_try) 2>&5
47406 ac_status=$?
47407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47408 (exit $ac_status); }; }; then
47409 glibcxx_cv_func__long_double_trig_use=yes
47410 else
47411 echo "$as_me: failed program was:" >&5
47412 sed 's/^/| /' conftest.$ac_ext >&5
47414 glibcxx_cv_func__long_double_trig_use=no
47416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47417 ac_ext=c
47418 ac_cpp='$CPP $CPPFLAGS'
47419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47426 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47427 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47437 for ac_func in _acosl _asinl _atanl \
47438 _cosl _sinl _tanl \
47439 _coshl _sinhl _tanhl
47441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47442 echo "$as_me:$LINENO: checking for $ac_func" >&5
47443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47444 if eval "test \"\${$as_ac_var+set}\" = set"; then
47445 echo $ECHO_N "(cached) $ECHO_C" >&6
47446 else
47447 if test x$gcc_no_link = xyes; then
47448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47450 { (exit 1); exit 1; }; }
47452 cat >conftest.$ac_ext <<_ACEOF
47453 /* confdefs.h. */
47454 _ACEOF
47455 cat confdefs.h >>conftest.$ac_ext
47456 cat >>conftest.$ac_ext <<_ACEOF
47457 /* end confdefs.h. */
47458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47460 #define $ac_func innocuous_$ac_func
47462 /* System header to define __stub macros and hopefully few prototypes,
47463 which can conflict with char $ac_func (); below.
47464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47465 <limits.h> exists even on freestanding compilers. */
47467 #ifdef __STDC__
47468 # include <limits.h>
47469 #else
47470 # include <assert.h>
47471 #endif
47473 #undef $ac_func
47475 /* Override any gcc2 internal prototype to avoid an error. */
47476 #ifdef __cplusplus
47477 extern "C"
47479 #endif
47480 /* We use char because int might match the return type of a gcc2
47481 builtin and then its argument prototype would still apply. */
47482 char $ac_func ();
47483 /* The GNU C library defines this for functions which it implements
47484 to always fail with ENOSYS. Some functions are actually named
47485 something starting with __ and the normal name is an alias. */
47486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47487 choke me
47488 #else
47489 char (*f) () = $ac_func;
47490 #endif
47491 #ifdef __cplusplus
47493 #endif
47496 main ()
47498 return f != $ac_func;
47500 return 0;
47502 _ACEOF
47503 rm -f conftest.$ac_objext conftest$ac_exeext
47504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47505 (eval $ac_link) 2>conftest.er1
47506 ac_status=$?
47507 grep -v '^ *+' conftest.er1 >conftest.err
47508 rm -f conftest.er1
47509 cat conftest.err >&5
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); } &&
47512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47514 (eval $ac_try) 2>&5
47515 ac_status=$?
47516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47517 (exit $ac_status); }; } &&
47518 { ac_try='test -s conftest$ac_exeext'
47519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47520 (eval $ac_try) 2>&5
47521 ac_status=$?
47522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47523 (exit $ac_status); }; }; then
47524 eval "$as_ac_var=yes"
47525 else
47526 echo "$as_me: failed program was:" >&5
47527 sed 's/^/| /' conftest.$ac_ext >&5
47529 eval "$as_ac_var=no"
47531 rm -f conftest.err conftest.$ac_objext \
47532 conftest$ac_exeext conftest.$ac_ext
47534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47536 if test `eval echo '${'$as_ac_var'}'` = yes; then
47537 cat >>confdefs.h <<_ACEOF
47538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47539 _ACEOF
47542 done
47547 echo "$as_me:$LINENO: checking for _long double round functions" >&5
47548 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
47549 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47555 ac_ext=cc
47556 ac_cpp='$CXXCPP $CPPFLAGS'
47557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47561 cat >conftest.$ac_ext <<_ACEOF
47562 /* confdefs.h. */
47563 _ACEOF
47564 cat confdefs.h >>conftest.$ac_ext
47565 cat >>conftest.$ac_ext <<_ACEOF
47566 /* end confdefs.h. */
47567 #include <math.h>
47569 main ()
47571 `for x in _ceill _floorl; do echo "$x (0);"; done`
47573 return 0;
47575 _ACEOF
47576 rm -f conftest.$ac_objext
47577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47578 (eval $ac_compile) 2>conftest.er1
47579 ac_status=$?
47580 grep -v '^ *+' conftest.er1 >conftest.err
47581 rm -f conftest.er1
47582 cat conftest.err >&5
47583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584 (exit $ac_status); } &&
47585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47587 (eval $ac_try) 2>&5
47588 ac_status=$?
47589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47590 (exit $ac_status); }; } &&
47591 { ac_try='test -s conftest.$ac_objext'
47592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47593 (eval $ac_try) 2>&5
47594 ac_status=$?
47595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47596 (exit $ac_status); }; }; then
47597 glibcxx_cv_func__long_double_round_use=yes
47598 else
47599 echo "$as_me: failed program was:" >&5
47600 sed 's/^/| /' conftest.$ac_ext >&5
47602 glibcxx_cv_func__long_double_round_use=no
47604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47605 ac_ext=c
47606 ac_cpp='$CPP $CPPFLAGS'
47607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
47614 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
47615 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
47618 for ac_func in _ceill _floorl
47620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47621 echo "$as_me:$LINENO: checking for $ac_func" >&5
47622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47623 if eval "test \"\${$as_ac_var+set}\" = set"; then
47624 echo $ECHO_N "(cached) $ECHO_C" >&6
47625 else
47626 if test x$gcc_no_link = xyes; then
47627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47629 { (exit 1); exit 1; }; }
47631 cat >conftest.$ac_ext <<_ACEOF
47632 /* confdefs.h. */
47633 _ACEOF
47634 cat confdefs.h >>conftest.$ac_ext
47635 cat >>conftest.$ac_ext <<_ACEOF
47636 /* end confdefs.h. */
47637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47639 #define $ac_func innocuous_$ac_func
47641 /* System header to define __stub macros and hopefully few prototypes,
47642 which can conflict with char $ac_func (); below.
47643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47644 <limits.h> exists even on freestanding compilers. */
47646 #ifdef __STDC__
47647 # include <limits.h>
47648 #else
47649 # include <assert.h>
47650 #endif
47652 #undef $ac_func
47654 /* Override any gcc2 internal prototype to avoid an error. */
47655 #ifdef __cplusplus
47656 extern "C"
47658 #endif
47659 /* We use char because int might match the return type of a gcc2
47660 builtin and then its argument prototype would still apply. */
47661 char $ac_func ();
47662 /* The GNU C library defines this for functions which it implements
47663 to always fail with ENOSYS. Some functions are actually named
47664 something starting with __ and the normal name is an alias. */
47665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47666 choke me
47667 #else
47668 char (*f) () = $ac_func;
47669 #endif
47670 #ifdef __cplusplus
47672 #endif
47675 main ()
47677 return f != $ac_func;
47679 return 0;
47681 _ACEOF
47682 rm -f conftest.$ac_objext conftest$ac_exeext
47683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47684 (eval $ac_link) 2>conftest.er1
47685 ac_status=$?
47686 grep -v '^ *+' conftest.er1 >conftest.err
47687 rm -f conftest.er1
47688 cat conftest.err >&5
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); } &&
47691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47694 ac_status=$?
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; } &&
47697 { ac_try='test -s conftest$ac_exeext'
47698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47699 (eval $ac_try) 2>&5
47700 ac_status=$?
47701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47702 (exit $ac_status); }; }; then
47703 eval "$as_ac_var=yes"
47704 else
47705 echo "$as_me: failed program was:" >&5
47706 sed 's/^/| /' conftest.$ac_ext >&5
47708 eval "$as_ac_var=no"
47710 rm -f conftest.err conftest.$ac_objext \
47711 conftest$ac_exeext conftest.$ac_ext
47713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47715 if test `eval echo '${'$as_ac_var'}'` = yes; then
47716 cat >>confdefs.h <<_ACEOF
47717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47718 _ACEOF
47721 done
47726 LIBS="$ac_save_LIBS"
47727 CXXFLAGS="$ac_save_CXXFLAGS"
47731 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
47732 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
47733 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
47734 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
47735 echo $ECHO_N "(cached) $ECHO_C" >&6
47736 else
47740 ac_ext=cc
47741 ac_cpp='$CXXCPP $CPPFLAGS'
47742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47746 cat >conftest.$ac_ext <<_ACEOF
47747 /* confdefs.h. */
47748 _ACEOF
47749 cat confdefs.h >>conftest.$ac_ext
47750 cat >>conftest.$ac_ext <<_ACEOF
47751 /* end confdefs.h. */
47752 #include <math.h>
47754 main ()
47756 __builtin_abs(0);
47758 return 0;
47760 _ACEOF
47761 rm -f conftest.$ac_objext
47762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47763 (eval $ac_compile) 2>conftest.er1
47764 ac_status=$?
47765 grep -v '^ *+' conftest.er1 >conftest.err
47766 rm -f conftest.er1
47767 cat conftest.err >&5
47768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47769 (exit $ac_status); } &&
47770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47772 (eval $ac_try) 2>&5
47773 ac_status=$?
47774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47775 (exit $ac_status); }; } &&
47776 { ac_try='test -s conftest.$ac_objext'
47777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47778 (eval $ac_try) 2>&5
47779 ac_status=$?
47780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47781 (exit $ac_status); }; }; then
47782 glibcxx_cv_func___builtin_abs_use=yes
47783 else
47784 echo "$as_me: failed program was:" >&5
47785 sed 's/^/| /' conftest.$ac_ext >&5
47787 glibcxx_cv_func___builtin_abs_use=no
47789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47790 ac_ext=c
47791 ac_cpp='$CPP $CPPFLAGS'
47792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47800 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
47801 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
47802 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
47803 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
47804 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
47805 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
47806 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47808 else
47810 if test x$gcc_no_link = xyes; then
47811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47813 { (exit 1); exit 1; }; }
47815 cat >conftest.$ac_ext <<_ACEOF
47816 /* confdefs.h. */
47817 _ACEOF
47818 cat confdefs.h >>conftest.$ac_ext
47819 cat >>conftest.$ac_ext <<_ACEOF
47820 /* end confdefs.h. */
47821 #include <math.h>
47823 main ()
47825 __builtin_abs(0);
47827 return 0;
47829 _ACEOF
47830 rm -f conftest.$ac_objext conftest$ac_exeext
47831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47832 (eval $ac_link) 2>conftest.er1
47833 ac_status=$?
47834 grep -v '^ *+' conftest.er1 >conftest.err
47835 rm -f conftest.er1
47836 cat conftest.err >&5
47837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47838 (exit $ac_status); } &&
47839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47841 (eval $ac_try) 2>&5
47842 ac_status=$?
47843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47844 (exit $ac_status); }; } &&
47845 { ac_try='test -s conftest$ac_exeext'
47846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47847 (eval $ac_try) 2>&5
47848 ac_status=$?
47849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47850 (exit $ac_status); }; }; then
47851 glibcxx_cv_func___builtin_abs_link=yes
47852 else
47853 echo "$as_me: failed program was:" >&5
47854 sed 's/^/| /' conftest.$ac_ext >&5
47856 glibcxx_cv_func___builtin_abs_link=no
47858 rm -f conftest.err conftest.$ac_objext \
47859 conftest$ac_exeext conftest.$ac_ext
47864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
47865 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
47866 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
47867 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47869 cat >>confdefs.h <<_ACEOF
47870 #define ${ac_tr_func} 1
47871 _ACEOF
47877 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
47878 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
47879 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
47880 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
47881 echo $ECHO_N "(cached) $ECHO_C" >&6
47882 else
47886 ac_ext=cc
47887 ac_cpp='$CXXCPP $CPPFLAGS'
47888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47892 cat >conftest.$ac_ext <<_ACEOF
47893 /* confdefs.h. */
47894 _ACEOF
47895 cat confdefs.h >>conftest.$ac_ext
47896 cat >>conftest.$ac_ext <<_ACEOF
47897 /* end confdefs.h. */
47898 #include <math.h>
47900 main ()
47902 __builtin_fabsf(0);
47904 return 0;
47906 _ACEOF
47907 rm -f conftest.$ac_objext
47908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47909 (eval $ac_compile) 2>conftest.er1
47910 ac_status=$?
47911 grep -v '^ *+' conftest.er1 >conftest.err
47912 rm -f conftest.er1
47913 cat conftest.err >&5
47914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47915 (exit $ac_status); } &&
47916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47918 (eval $ac_try) 2>&5
47919 ac_status=$?
47920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47921 (exit $ac_status); }; } &&
47922 { ac_try='test -s conftest.$ac_objext'
47923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47924 (eval $ac_try) 2>&5
47925 ac_status=$?
47926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47927 (exit $ac_status); }; }; then
47928 glibcxx_cv_func___builtin_fabsf_use=yes
47929 else
47930 echo "$as_me: failed program was:" >&5
47931 sed 's/^/| /' conftest.$ac_ext >&5
47933 glibcxx_cv_func___builtin_fabsf_use=no
47935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47936 ac_ext=c
47937 ac_cpp='$CPP $CPPFLAGS'
47938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47946 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
47947 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
47948 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
47949 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
47950 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
47951 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
47952 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
47953 echo $ECHO_N "(cached) $ECHO_C" >&6
47954 else
47956 if test x$gcc_no_link = xyes; then
47957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47959 { (exit 1); exit 1; }; }
47961 cat >conftest.$ac_ext <<_ACEOF
47962 /* confdefs.h. */
47963 _ACEOF
47964 cat confdefs.h >>conftest.$ac_ext
47965 cat >>conftest.$ac_ext <<_ACEOF
47966 /* end confdefs.h. */
47967 #include <math.h>
47969 main ()
47971 __builtin_fabsf(0);
47973 return 0;
47975 _ACEOF
47976 rm -f conftest.$ac_objext conftest$ac_exeext
47977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47978 (eval $ac_link) 2>conftest.er1
47979 ac_status=$?
47980 grep -v '^ *+' conftest.er1 >conftest.err
47981 rm -f conftest.er1
47982 cat conftest.err >&5
47983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47984 (exit $ac_status); } &&
47985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47987 (eval $ac_try) 2>&5
47988 ac_status=$?
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); }; } &&
47991 { ac_try='test -s conftest$ac_exeext'
47992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47993 (eval $ac_try) 2>&5
47994 ac_status=$?
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); }; }; then
47997 glibcxx_cv_func___builtin_fabsf_link=yes
47998 else
47999 echo "$as_me: failed program was:" >&5
48000 sed 's/^/| /' conftest.$ac_ext >&5
48002 glibcxx_cv_func___builtin_fabsf_link=no
48004 rm -f conftest.err conftest.$ac_objext \
48005 conftest$ac_exeext conftest.$ac_ext
48010 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48011 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48012 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48013 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48015 cat >>confdefs.h <<_ACEOF
48016 #define ${ac_tr_func} 1
48017 _ACEOF
48023 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48024 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48025 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48026 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48027 echo $ECHO_N "(cached) $ECHO_C" >&6
48028 else
48032 ac_ext=cc
48033 ac_cpp='$CXXCPP $CPPFLAGS'
48034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038 cat >conftest.$ac_ext <<_ACEOF
48039 /* confdefs.h. */
48040 _ACEOF
48041 cat confdefs.h >>conftest.$ac_ext
48042 cat >>conftest.$ac_ext <<_ACEOF
48043 /* end confdefs.h. */
48044 #include <math.h>
48046 main ()
48048 __builtin_fabs(0);
48050 return 0;
48052 _ACEOF
48053 rm -f conftest.$ac_objext
48054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48055 (eval $ac_compile) 2>conftest.er1
48056 ac_status=$?
48057 grep -v '^ *+' conftest.er1 >conftest.err
48058 rm -f conftest.er1
48059 cat conftest.err >&5
48060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061 (exit $ac_status); } &&
48062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48064 (eval $ac_try) 2>&5
48065 ac_status=$?
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); }; } &&
48068 { ac_try='test -s conftest.$ac_objext'
48069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48070 (eval $ac_try) 2>&5
48071 ac_status=$?
48072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48073 (exit $ac_status); }; }; then
48074 glibcxx_cv_func___builtin_fabs_use=yes
48075 else
48076 echo "$as_me: failed program was:" >&5
48077 sed 's/^/| /' conftest.$ac_ext >&5
48079 glibcxx_cv_func___builtin_fabs_use=no
48081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48082 ac_ext=c
48083 ac_cpp='$CPP $CPPFLAGS'
48084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48092 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48093 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48094 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48095 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48096 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48097 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48098 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48099 echo $ECHO_N "(cached) $ECHO_C" >&6
48100 else
48102 if test x$gcc_no_link = xyes; then
48103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48105 { (exit 1); exit 1; }; }
48107 cat >conftest.$ac_ext <<_ACEOF
48108 /* confdefs.h. */
48109 _ACEOF
48110 cat confdefs.h >>conftest.$ac_ext
48111 cat >>conftest.$ac_ext <<_ACEOF
48112 /* end confdefs.h. */
48113 #include <math.h>
48115 main ()
48117 __builtin_fabs(0);
48119 return 0;
48121 _ACEOF
48122 rm -f conftest.$ac_objext conftest$ac_exeext
48123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48124 (eval $ac_link) 2>conftest.er1
48125 ac_status=$?
48126 grep -v '^ *+' conftest.er1 >conftest.err
48127 rm -f conftest.er1
48128 cat conftest.err >&5
48129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48130 (exit $ac_status); } &&
48131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48133 (eval $ac_try) 2>&5
48134 ac_status=$?
48135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48136 (exit $ac_status); }; } &&
48137 { ac_try='test -s conftest$ac_exeext'
48138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48139 (eval $ac_try) 2>&5
48140 ac_status=$?
48141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48142 (exit $ac_status); }; }; then
48143 glibcxx_cv_func___builtin_fabs_link=yes
48144 else
48145 echo "$as_me: failed program was:" >&5
48146 sed 's/^/| /' conftest.$ac_ext >&5
48148 glibcxx_cv_func___builtin_fabs_link=no
48150 rm -f conftest.err conftest.$ac_objext \
48151 conftest$ac_exeext conftest.$ac_ext
48156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48157 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48158 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48159 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48161 cat >>confdefs.h <<_ACEOF
48162 #define ${ac_tr_func} 1
48163 _ACEOF
48169 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48170 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48171 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48172 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48173 echo $ECHO_N "(cached) $ECHO_C" >&6
48174 else
48178 ac_ext=cc
48179 ac_cpp='$CXXCPP $CPPFLAGS'
48180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48184 cat >conftest.$ac_ext <<_ACEOF
48185 /* confdefs.h. */
48186 _ACEOF
48187 cat confdefs.h >>conftest.$ac_ext
48188 cat >>conftest.$ac_ext <<_ACEOF
48189 /* end confdefs.h. */
48190 #include <math.h>
48192 main ()
48194 __builtin_fabsl(0);
48196 return 0;
48198 _ACEOF
48199 rm -f conftest.$ac_objext
48200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48201 (eval $ac_compile) 2>conftest.er1
48202 ac_status=$?
48203 grep -v '^ *+' conftest.er1 >conftest.err
48204 rm -f conftest.er1
48205 cat conftest.err >&5
48206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48207 (exit $ac_status); } &&
48208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48210 (eval $ac_try) 2>&5
48211 ac_status=$?
48212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48213 (exit $ac_status); }; } &&
48214 { ac_try='test -s conftest.$ac_objext'
48215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48216 (eval $ac_try) 2>&5
48217 ac_status=$?
48218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48219 (exit $ac_status); }; }; then
48220 glibcxx_cv_func___builtin_fabsl_use=yes
48221 else
48222 echo "$as_me: failed program was:" >&5
48223 sed 's/^/| /' conftest.$ac_ext >&5
48225 glibcxx_cv_func___builtin_fabsl_use=no
48227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48228 ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48239 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48240 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48241 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48242 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48243 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48244 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48245 echo $ECHO_N "(cached) $ECHO_C" >&6
48246 else
48248 if test x$gcc_no_link = xyes; then
48249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48251 { (exit 1); exit 1; }; }
48253 cat >conftest.$ac_ext <<_ACEOF
48254 /* confdefs.h. */
48255 _ACEOF
48256 cat confdefs.h >>conftest.$ac_ext
48257 cat >>conftest.$ac_ext <<_ACEOF
48258 /* end confdefs.h. */
48259 #include <math.h>
48261 main ()
48263 __builtin_fabsl(0);
48265 return 0;
48267 _ACEOF
48268 rm -f conftest.$ac_objext conftest$ac_exeext
48269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48270 (eval $ac_link) 2>conftest.er1
48271 ac_status=$?
48272 grep -v '^ *+' conftest.er1 >conftest.err
48273 rm -f conftest.er1
48274 cat conftest.err >&5
48275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48276 (exit $ac_status); } &&
48277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48279 (eval $ac_try) 2>&5
48280 ac_status=$?
48281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48282 (exit $ac_status); }; } &&
48283 { ac_try='test -s conftest$ac_exeext'
48284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48285 (eval $ac_try) 2>&5
48286 ac_status=$?
48287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48288 (exit $ac_status); }; }; then
48289 glibcxx_cv_func___builtin_fabsl_link=yes
48290 else
48291 echo "$as_me: failed program was:" >&5
48292 sed 's/^/| /' conftest.$ac_ext >&5
48294 glibcxx_cv_func___builtin_fabsl_link=no
48296 rm -f conftest.err conftest.$ac_objext \
48297 conftest$ac_exeext conftest.$ac_ext
48302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48303 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48304 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48305 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48307 cat >>confdefs.h <<_ACEOF
48308 #define ${ac_tr_func} 1
48309 _ACEOF
48315 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48316 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48317 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48318 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48319 echo $ECHO_N "(cached) $ECHO_C" >&6
48320 else
48324 ac_ext=cc
48325 ac_cpp='$CXXCPP $CPPFLAGS'
48326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48330 cat >conftest.$ac_ext <<_ACEOF
48331 /* confdefs.h. */
48332 _ACEOF
48333 cat confdefs.h >>conftest.$ac_ext
48334 cat >>conftest.$ac_ext <<_ACEOF
48335 /* end confdefs.h. */
48336 #include <math.h>
48338 main ()
48340 __builtin_labs(0);
48342 return 0;
48344 _ACEOF
48345 rm -f conftest.$ac_objext
48346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48347 (eval $ac_compile) 2>conftest.er1
48348 ac_status=$?
48349 grep -v '^ *+' conftest.er1 >conftest.err
48350 rm -f conftest.er1
48351 cat conftest.err >&5
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); } &&
48354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48356 (eval $ac_try) 2>&5
48357 ac_status=$?
48358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359 (exit $ac_status); }; } &&
48360 { ac_try='test -s conftest.$ac_objext'
48361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48362 (eval $ac_try) 2>&5
48363 ac_status=$?
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); }; }; then
48366 glibcxx_cv_func___builtin_labs_use=yes
48367 else
48368 echo "$as_me: failed program was:" >&5
48369 sed 's/^/| /' conftest.$ac_ext >&5
48371 glibcxx_cv_func___builtin_labs_use=no
48373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48374 ac_ext=c
48375 ac_cpp='$CPP $CPPFLAGS'
48376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48385 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48386 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48387 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48388 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48389 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48390 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48391 echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48394 if test x$gcc_no_link = xyes; then
48395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48397 { (exit 1); exit 1; }; }
48399 cat >conftest.$ac_ext <<_ACEOF
48400 /* confdefs.h. */
48401 _ACEOF
48402 cat confdefs.h >>conftest.$ac_ext
48403 cat >>conftest.$ac_ext <<_ACEOF
48404 /* end confdefs.h. */
48405 #include <math.h>
48407 main ()
48409 __builtin_labs(0);
48411 return 0;
48413 _ACEOF
48414 rm -f conftest.$ac_objext conftest$ac_exeext
48415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48416 (eval $ac_link) 2>conftest.er1
48417 ac_status=$?
48418 grep -v '^ *+' conftest.er1 >conftest.err
48419 rm -f conftest.er1
48420 cat conftest.err >&5
48421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48422 (exit $ac_status); } &&
48423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48425 (eval $ac_try) 2>&5
48426 ac_status=$?
48427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48428 (exit $ac_status); }; } &&
48429 { ac_try='test -s conftest$ac_exeext'
48430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48431 (eval $ac_try) 2>&5
48432 ac_status=$?
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); }; }; then
48435 glibcxx_cv_func___builtin_labs_link=yes
48436 else
48437 echo "$as_me: failed program was:" >&5
48438 sed 's/^/| /' conftest.$ac_ext >&5
48440 glibcxx_cv_func___builtin_labs_link=no
48442 rm -f conftest.err conftest.$ac_objext \
48443 conftest$ac_exeext conftest.$ac_ext
48448 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48449 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48450 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48451 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48453 cat >>confdefs.h <<_ACEOF
48454 #define ${ac_tr_func} 1
48455 _ACEOF
48462 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48463 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48464 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48465 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48466 echo $ECHO_N "(cached) $ECHO_C" >&6
48467 else
48471 ac_ext=cc
48472 ac_cpp='$CXXCPP $CPPFLAGS'
48473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48477 cat >conftest.$ac_ext <<_ACEOF
48478 /* confdefs.h. */
48479 _ACEOF
48480 cat confdefs.h >>conftest.$ac_ext
48481 cat >>conftest.$ac_ext <<_ACEOF
48482 /* end confdefs.h. */
48483 #include <math.h>
48485 main ()
48487 __builtin_sqrtf(0);
48489 return 0;
48491 _ACEOF
48492 rm -f conftest.$ac_objext
48493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48494 (eval $ac_compile) 2>conftest.er1
48495 ac_status=$?
48496 grep -v '^ *+' conftest.er1 >conftest.err
48497 rm -f conftest.er1
48498 cat conftest.err >&5
48499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48500 (exit $ac_status); } &&
48501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48503 (eval $ac_try) 2>&5
48504 ac_status=$?
48505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48506 (exit $ac_status); }; } &&
48507 { ac_try='test -s conftest.$ac_objext'
48508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48509 (eval $ac_try) 2>&5
48510 ac_status=$?
48511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48512 (exit $ac_status); }; }; then
48513 glibcxx_cv_func___builtin_sqrtf_use=yes
48514 else
48515 echo "$as_me: failed program was:" >&5
48516 sed 's/^/| /' conftest.$ac_ext >&5
48518 glibcxx_cv_func___builtin_sqrtf_use=no
48520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48521 ac_ext=c
48522 ac_cpp='$CPP $CPPFLAGS'
48523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
48532 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
48533 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
48534 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
48535 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
48536 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
48537 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
48538 echo $ECHO_N "(cached) $ECHO_C" >&6
48539 else
48541 if test x$gcc_no_link = xyes; then
48542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48544 { (exit 1); exit 1; }; }
48546 cat >conftest.$ac_ext <<_ACEOF
48547 /* confdefs.h. */
48548 _ACEOF
48549 cat confdefs.h >>conftest.$ac_ext
48550 cat >>conftest.$ac_ext <<_ACEOF
48551 /* end confdefs.h. */
48552 #include <math.h>
48554 main ()
48556 __builtin_sqrtf(0);
48558 return 0;
48560 _ACEOF
48561 rm -f conftest.$ac_objext conftest$ac_exeext
48562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48563 (eval $ac_link) 2>conftest.er1
48564 ac_status=$?
48565 grep -v '^ *+' conftest.er1 >conftest.err
48566 rm -f conftest.er1
48567 cat conftest.err >&5
48568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48569 (exit $ac_status); } &&
48570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48572 (eval $ac_try) 2>&5
48573 ac_status=$?
48574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48575 (exit $ac_status); }; } &&
48576 { ac_try='test -s conftest$ac_exeext'
48577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48578 (eval $ac_try) 2>&5
48579 ac_status=$?
48580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48581 (exit $ac_status); }; }; then
48582 glibcxx_cv_func___builtin_sqrtf_link=yes
48583 else
48584 echo "$as_me: failed program was:" >&5
48585 sed 's/^/| /' conftest.$ac_ext >&5
48587 glibcxx_cv_func___builtin_sqrtf_link=no
48589 rm -f conftest.err conftest.$ac_objext \
48590 conftest$ac_exeext conftest.$ac_ext
48595 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
48596 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
48597 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
48598 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48600 cat >>confdefs.h <<_ACEOF
48601 #define ${ac_tr_func} 1
48602 _ACEOF
48608 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
48609 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
48610 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
48611 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
48612 echo $ECHO_N "(cached) $ECHO_C" >&6
48613 else
48617 ac_ext=cc
48618 ac_cpp='$CXXCPP $CPPFLAGS'
48619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48623 cat >conftest.$ac_ext <<_ACEOF
48624 /* confdefs.h. */
48625 _ACEOF
48626 cat confdefs.h >>conftest.$ac_ext
48627 cat >>conftest.$ac_ext <<_ACEOF
48628 /* end confdefs.h. */
48629 #include <math.h>
48631 main ()
48633 __builtin_sqrt(0);
48635 return 0;
48637 _ACEOF
48638 rm -f conftest.$ac_objext
48639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48640 (eval $ac_compile) 2>conftest.er1
48641 ac_status=$?
48642 grep -v '^ *+' conftest.er1 >conftest.err
48643 rm -f conftest.er1
48644 cat conftest.err >&5
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); } &&
48647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48649 (eval $ac_try) 2>&5
48650 ac_status=$?
48651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652 (exit $ac_status); }; } &&
48653 { ac_try='test -s conftest.$ac_objext'
48654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48655 (eval $ac_try) 2>&5
48656 ac_status=$?
48657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48658 (exit $ac_status); }; }; then
48659 glibcxx_cv_func___builtin_sqrt_use=yes
48660 else
48661 echo "$as_me: failed program was:" >&5
48662 sed 's/^/| /' conftest.$ac_ext >&5
48664 glibcxx_cv_func___builtin_sqrt_use=no
48666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48667 ac_ext=c
48668 ac_cpp='$CPP $CPPFLAGS'
48669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48677 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
48678 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
48679 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
48680 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
48681 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
48682 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
48683 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
48684 echo $ECHO_N "(cached) $ECHO_C" >&6
48685 else
48687 if test x$gcc_no_link = xyes; then
48688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48690 { (exit 1); exit 1; }; }
48692 cat >conftest.$ac_ext <<_ACEOF
48693 /* confdefs.h. */
48694 _ACEOF
48695 cat confdefs.h >>conftest.$ac_ext
48696 cat >>conftest.$ac_ext <<_ACEOF
48697 /* end confdefs.h. */
48698 #include <math.h>
48700 main ()
48702 __builtin_sqrt(0);
48704 return 0;
48706 _ACEOF
48707 rm -f conftest.$ac_objext conftest$ac_exeext
48708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48709 (eval $ac_link) 2>conftest.er1
48710 ac_status=$?
48711 grep -v '^ *+' conftest.er1 >conftest.err
48712 rm -f conftest.er1
48713 cat conftest.err >&5
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); } &&
48716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
48722 { ac_try='test -s conftest$ac_exeext'
48723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48724 (eval $ac_try) 2>&5
48725 ac_status=$?
48726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48727 (exit $ac_status); }; }; then
48728 glibcxx_cv_func___builtin_sqrt_link=yes
48729 else
48730 echo "$as_me: failed program was:" >&5
48731 sed 's/^/| /' conftest.$ac_ext >&5
48733 glibcxx_cv_func___builtin_sqrt_link=no
48735 rm -f conftest.err conftest.$ac_objext \
48736 conftest$ac_exeext conftest.$ac_ext
48741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
48742 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
48743 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
48744 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48746 cat >>confdefs.h <<_ACEOF
48747 #define ${ac_tr_func} 1
48748 _ACEOF
48754 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
48755 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
48756 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
48757 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
48758 echo $ECHO_N "(cached) $ECHO_C" >&6
48759 else
48763 ac_ext=cc
48764 ac_cpp='$CXXCPP $CPPFLAGS'
48765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48769 cat >conftest.$ac_ext <<_ACEOF
48770 /* confdefs.h. */
48771 _ACEOF
48772 cat confdefs.h >>conftest.$ac_ext
48773 cat >>conftest.$ac_ext <<_ACEOF
48774 /* end confdefs.h. */
48775 #include <math.h>
48777 main ()
48779 __builtin_sqrtl(0);
48781 return 0;
48783 _ACEOF
48784 rm -f conftest.$ac_objext
48785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48786 (eval $ac_compile) 2>conftest.er1
48787 ac_status=$?
48788 grep -v '^ *+' conftest.er1 >conftest.err
48789 rm -f conftest.er1
48790 cat conftest.err >&5
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); } &&
48793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48795 (eval $ac_try) 2>&5
48796 ac_status=$?
48797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798 (exit $ac_status); }; } &&
48799 { ac_try='test -s conftest.$ac_objext'
48800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48801 (eval $ac_try) 2>&5
48802 ac_status=$?
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); }; }; then
48805 glibcxx_cv_func___builtin_sqrtl_use=yes
48806 else
48807 echo "$as_me: failed program was:" >&5
48808 sed 's/^/| /' conftest.$ac_ext >&5
48810 glibcxx_cv_func___builtin_sqrtl_use=no
48812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48813 ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
48824 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
48825 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
48826 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
48827 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
48828 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
48829 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
48830 echo $ECHO_N "(cached) $ECHO_C" >&6
48831 else
48833 if test x$gcc_no_link = xyes; then
48834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48836 { (exit 1); exit 1; }; }
48838 cat >conftest.$ac_ext <<_ACEOF
48839 /* confdefs.h. */
48840 _ACEOF
48841 cat confdefs.h >>conftest.$ac_ext
48842 cat >>conftest.$ac_ext <<_ACEOF
48843 /* end confdefs.h. */
48844 #include <math.h>
48846 main ()
48848 __builtin_sqrtl(0);
48850 return 0;
48852 _ACEOF
48853 rm -f conftest.$ac_objext conftest$ac_exeext
48854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48855 (eval $ac_link) 2>conftest.er1
48856 ac_status=$?
48857 grep -v '^ *+' conftest.er1 >conftest.err
48858 rm -f conftest.er1
48859 cat conftest.err >&5
48860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48861 (exit $ac_status); } &&
48862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48864 (eval $ac_try) 2>&5
48865 ac_status=$?
48866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48867 (exit $ac_status); }; } &&
48868 { ac_try='test -s conftest$ac_exeext'
48869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48870 (eval $ac_try) 2>&5
48871 ac_status=$?
48872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48873 (exit $ac_status); }; }; then
48874 glibcxx_cv_func___builtin_sqrtl_link=yes
48875 else
48876 echo "$as_me: failed program was:" >&5
48877 sed 's/^/| /' conftest.$ac_ext >&5
48879 glibcxx_cv_func___builtin_sqrtl_link=no
48881 rm -f conftest.err conftest.$ac_objext \
48882 conftest$ac_exeext conftest.$ac_ext
48887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
48888 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
48889 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
48890 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48892 cat >>confdefs.h <<_ACEOF
48893 #define ${ac_tr_func} 1
48894 _ACEOF
48901 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
48902 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
48903 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
48904 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
48905 echo $ECHO_N "(cached) $ECHO_C" >&6
48906 else
48910 ac_ext=cc
48911 ac_cpp='$CXXCPP $CPPFLAGS'
48912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48916 cat >conftest.$ac_ext <<_ACEOF
48917 /* confdefs.h. */
48918 _ACEOF
48919 cat confdefs.h >>conftest.$ac_ext
48920 cat >>conftest.$ac_ext <<_ACEOF
48921 /* end confdefs.h. */
48922 #include <math.h>
48924 main ()
48926 __builtin_sinf(0);
48928 return 0;
48930 _ACEOF
48931 rm -f conftest.$ac_objext
48932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48933 (eval $ac_compile) 2>conftest.er1
48934 ac_status=$?
48935 grep -v '^ *+' conftest.er1 >conftest.err
48936 rm -f conftest.er1
48937 cat conftest.err >&5
48938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48939 (exit $ac_status); } &&
48940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48942 (eval $ac_try) 2>&5
48943 ac_status=$?
48944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48945 (exit $ac_status); }; } &&
48946 { ac_try='test -s conftest.$ac_objext'
48947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48948 (eval $ac_try) 2>&5
48949 ac_status=$?
48950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48951 (exit $ac_status); }; }; then
48952 glibcxx_cv_func___builtin_sinf_use=yes
48953 else
48954 echo "$as_me: failed program was:" >&5
48955 sed 's/^/| /' conftest.$ac_ext >&5
48957 glibcxx_cv_func___builtin_sinf_use=no
48959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48960 ac_ext=c
48961 ac_cpp='$CPP $CPPFLAGS'
48962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48970 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
48971 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
48972 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
48973 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
48974 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
48975 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
48976 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
48977 echo $ECHO_N "(cached) $ECHO_C" >&6
48978 else
48980 if test x$gcc_no_link = xyes; then
48981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48983 { (exit 1); exit 1; }; }
48985 cat >conftest.$ac_ext <<_ACEOF
48986 /* confdefs.h. */
48987 _ACEOF
48988 cat confdefs.h >>conftest.$ac_ext
48989 cat >>conftest.$ac_ext <<_ACEOF
48990 /* end confdefs.h. */
48991 #include <math.h>
48993 main ()
48995 __builtin_sinf(0);
48997 return 0;
48999 _ACEOF
49000 rm -f conftest.$ac_objext conftest$ac_exeext
49001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49002 (eval $ac_link) 2>conftest.er1
49003 ac_status=$?
49004 grep -v '^ *+' conftest.er1 >conftest.err
49005 rm -f conftest.er1
49006 cat conftest.err >&5
49007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49008 (exit $ac_status); } &&
49009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49011 (eval $ac_try) 2>&5
49012 ac_status=$?
49013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014 (exit $ac_status); }; } &&
49015 { ac_try='test -s conftest$ac_exeext'
49016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49017 (eval $ac_try) 2>&5
49018 ac_status=$?
49019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020 (exit $ac_status); }; }; then
49021 glibcxx_cv_func___builtin_sinf_link=yes
49022 else
49023 echo "$as_me: failed program was:" >&5
49024 sed 's/^/| /' conftest.$ac_ext >&5
49026 glibcxx_cv_func___builtin_sinf_link=no
49028 rm -f conftest.err conftest.$ac_objext \
49029 conftest$ac_exeext conftest.$ac_ext
49034 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49035 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49036 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49037 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49039 cat >>confdefs.h <<_ACEOF
49040 #define ${ac_tr_func} 1
49041 _ACEOF
49047 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49048 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49049 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49050 if test "${glibcxx_cv_func___builtin_sin_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_sin(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" || test ! -s conftest.err'
49087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49088 (eval $ac_try) 2>&5
49089 ac_status=$?
49090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49091 (exit $ac_status); }; } &&
49092 { ac_try='test -s conftest.$ac_objext'
49093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49094 (eval $ac_try) 2>&5
49095 ac_status=$?
49096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49097 (exit $ac_status); }; }; then
49098 glibcxx_cv_func___builtin_sin_use=yes
49099 else
49100 echo "$as_me: failed program was:" >&5
49101 sed 's/^/| /' conftest.$ac_ext >&5
49103 glibcxx_cv_func___builtin_sin_use=no
49105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49106 ac_ext=c
49107 ac_cpp='$CPP $CPPFLAGS'
49108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49116 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49117 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49118 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49119 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49120 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49121 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49122 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49123 echo $ECHO_N "(cached) $ECHO_C" >&6
49124 else
49126 if test x$gcc_no_link = xyes; then
49127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49129 { (exit 1); exit 1; }; }
49131 cat >conftest.$ac_ext <<_ACEOF
49132 /* confdefs.h. */
49133 _ACEOF
49134 cat confdefs.h >>conftest.$ac_ext
49135 cat >>conftest.$ac_ext <<_ACEOF
49136 /* end confdefs.h. */
49137 #include <math.h>
49139 main ()
49141 __builtin_sin(0);
49143 return 0;
49145 _ACEOF
49146 rm -f conftest.$ac_objext conftest$ac_exeext
49147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49148 (eval $ac_link) 2>conftest.er1
49149 ac_status=$?
49150 grep -v '^ *+' conftest.er1 >conftest.err
49151 rm -f conftest.er1
49152 cat conftest.err >&5
49153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49154 (exit $ac_status); } &&
49155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49157 (eval $ac_try) 2>&5
49158 ac_status=$?
49159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49160 (exit $ac_status); }; } &&
49161 { ac_try='test -s conftest$ac_exeext'
49162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49163 (eval $ac_try) 2>&5
49164 ac_status=$?
49165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166 (exit $ac_status); }; }; then
49167 glibcxx_cv_func___builtin_sin_link=yes
49168 else
49169 echo "$as_me: failed program was:" >&5
49170 sed 's/^/| /' conftest.$ac_ext >&5
49172 glibcxx_cv_func___builtin_sin_link=no
49174 rm -f conftest.err conftest.$ac_objext \
49175 conftest$ac_exeext conftest.$ac_ext
49180 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49181 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49182 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49183 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49185 cat >>confdefs.h <<_ACEOF
49186 #define ${ac_tr_func} 1
49187 _ACEOF
49193 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49194 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49195 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49196 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49202 ac_ext=cc
49203 ac_cpp='$CXXCPP $CPPFLAGS'
49204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49208 cat >conftest.$ac_ext <<_ACEOF
49209 /* confdefs.h. */
49210 _ACEOF
49211 cat confdefs.h >>conftest.$ac_ext
49212 cat >>conftest.$ac_ext <<_ACEOF
49213 /* end confdefs.h. */
49214 #include <math.h>
49216 main ()
49218 __builtin_sinl(0);
49220 return 0;
49222 _ACEOF
49223 rm -f conftest.$ac_objext
49224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49225 (eval $ac_compile) 2>conftest.er1
49226 ac_status=$?
49227 grep -v '^ *+' conftest.er1 >conftest.err
49228 rm -f conftest.er1
49229 cat conftest.err >&5
49230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49231 (exit $ac_status); } &&
49232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49234 (eval $ac_try) 2>&5
49235 ac_status=$?
49236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49237 (exit $ac_status); }; } &&
49238 { ac_try='test -s conftest.$ac_objext'
49239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49240 (eval $ac_try) 2>&5
49241 ac_status=$?
49242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49243 (exit $ac_status); }; }; then
49244 glibcxx_cv_func___builtin_sinl_use=yes
49245 else
49246 echo "$as_me: failed program was:" >&5
49247 sed 's/^/| /' conftest.$ac_ext >&5
49249 glibcxx_cv_func___builtin_sinl_use=no
49251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49252 ac_ext=c
49253 ac_cpp='$CPP $CPPFLAGS'
49254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49263 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49264 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49265 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49266 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49267 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49268 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49269 echo $ECHO_N "(cached) $ECHO_C" >&6
49270 else
49272 if test x$gcc_no_link = xyes; then
49273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49275 { (exit 1); exit 1; }; }
49277 cat >conftest.$ac_ext <<_ACEOF
49278 /* confdefs.h. */
49279 _ACEOF
49280 cat confdefs.h >>conftest.$ac_ext
49281 cat >>conftest.$ac_ext <<_ACEOF
49282 /* end confdefs.h. */
49283 #include <math.h>
49285 main ()
49287 __builtin_sinl(0);
49289 return 0;
49291 _ACEOF
49292 rm -f conftest.$ac_objext conftest$ac_exeext
49293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49294 (eval $ac_link) 2>conftest.er1
49295 ac_status=$?
49296 grep -v '^ *+' conftest.er1 >conftest.err
49297 rm -f conftest.er1
49298 cat conftest.err >&5
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); } &&
49301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49303 (eval $ac_try) 2>&5
49304 ac_status=$?
49305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49306 (exit $ac_status); }; } &&
49307 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
49313 glibcxx_cv_func___builtin_sinl_link=yes
49314 else
49315 echo "$as_me: failed program was:" >&5
49316 sed 's/^/| /' conftest.$ac_ext >&5
49318 glibcxx_cv_func___builtin_sinl_link=no
49320 rm -f conftest.err conftest.$ac_objext \
49321 conftest$ac_exeext conftest.$ac_ext
49326 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49327 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49328 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49329 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49331 cat >>confdefs.h <<_ACEOF
49332 #define ${ac_tr_func} 1
49333 _ACEOF
49340 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49341 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49342 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49343 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49344 echo $ECHO_N "(cached) $ECHO_C" >&6
49345 else
49349 ac_ext=cc
49350 ac_cpp='$CXXCPP $CPPFLAGS'
49351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49355 cat >conftest.$ac_ext <<_ACEOF
49356 /* confdefs.h. */
49357 _ACEOF
49358 cat confdefs.h >>conftest.$ac_ext
49359 cat >>conftest.$ac_ext <<_ACEOF
49360 /* end confdefs.h. */
49361 #include <math.h>
49363 main ()
49365 __builtin_cosf(0);
49367 return 0;
49369 _ACEOF
49370 rm -f conftest.$ac_objext
49371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49372 (eval $ac_compile) 2>conftest.er1
49373 ac_status=$?
49374 grep -v '^ *+' conftest.er1 >conftest.err
49375 rm -f conftest.er1
49376 cat conftest.err >&5
49377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49378 (exit $ac_status); } &&
49379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49381 (eval $ac_try) 2>&5
49382 ac_status=$?
49383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49384 (exit $ac_status); }; } &&
49385 { ac_try='test -s conftest.$ac_objext'
49386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49387 (eval $ac_try) 2>&5
49388 ac_status=$?
49389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49390 (exit $ac_status); }; }; then
49391 glibcxx_cv_func___builtin_cosf_use=yes
49392 else
49393 echo "$as_me: failed program was:" >&5
49394 sed 's/^/| /' conftest.$ac_ext >&5
49396 glibcxx_cv_func___builtin_cosf_use=no
49398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49410 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49411 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49412 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49413 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49414 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49415 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49416 echo $ECHO_N "(cached) $ECHO_C" >&6
49417 else
49419 if test x$gcc_no_link = xyes; then
49420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49422 { (exit 1); exit 1; }; }
49424 cat >conftest.$ac_ext <<_ACEOF
49425 /* confdefs.h. */
49426 _ACEOF
49427 cat confdefs.h >>conftest.$ac_ext
49428 cat >>conftest.$ac_ext <<_ACEOF
49429 /* end confdefs.h. */
49430 #include <math.h>
49432 main ()
49434 __builtin_cosf(0);
49436 return 0;
49438 _ACEOF
49439 rm -f conftest.$ac_objext conftest$ac_exeext
49440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49441 (eval $ac_link) 2>conftest.er1
49442 ac_status=$?
49443 grep -v '^ *+' conftest.er1 >conftest.err
49444 rm -f conftest.er1
49445 cat conftest.err >&5
49446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49447 (exit $ac_status); } &&
49448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49450 (eval $ac_try) 2>&5
49451 ac_status=$?
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); }; } &&
49454 { ac_try='test -s conftest$ac_exeext'
49455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49456 (eval $ac_try) 2>&5
49457 ac_status=$?
49458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49459 (exit $ac_status); }; }; then
49460 glibcxx_cv_func___builtin_cosf_link=yes
49461 else
49462 echo "$as_me: failed program was:" >&5
49463 sed 's/^/| /' conftest.$ac_ext >&5
49465 glibcxx_cv_func___builtin_cosf_link=no
49467 rm -f conftest.err conftest.$ac_objext \
49468 conftest$ac_exeext conftest.$ac_ext
49473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49474 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49475 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49476 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49478 cat >>confdefs.h <<_ACEOF
49479 #define ${ac_tr_func} 1
49480 _ACEOF
49486 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49487 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49488 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49489 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49490 echo $ECHO_N "(cached) $ECHO_C" >&6
49491 else
49495 ac_ext=cc
49496 ac_cpp='$CXXCPP $CPPFLAGS'
49497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49501 cat >conftest.$ac_ext <<_ACEOF
49502 /* confdefs.h. */
49503 _ACEOF
49504 cat confdefs.h >>conftest.$ac_ext
49505 cat >>conftest.$ac_ext <<_ACEOF
49506 /* end confdefs.h. */
49507 #include <math.h>
49509 main ()
49511 __builtin_cos(0);
49513 return 0;
49515 _ACEOF
49516 rm -f conftest.$ac_objext
49517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49518 (eval $ac_compile) 2>conftest.er1
49519 ac_status=$?
49520 grep -v '^ *+' conftest.er1 >conftest.err
49521 rm -f conftest.er1
49522 cat conftest.err >&5
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); } &&
49525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49527 (eval $ac_try) 2>&5
49528 ac_status=$?
49529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530 (exit $ac_status); }; } &&
49531 { ac_try='test -s conftest.$ac_objext'
49532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49533 (eval $ac_try) 2>&5
49534 ac_status=$?
49535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49536 (exit $ac_status); }; }; then
49537 glibcxx_cv_func___builtin_cos_use=yes
49538 else
49539 echo "$as_me: failed program was:" >&5
49540 sed 's/^/| /' conftest.$ac_ext >&5
49542 glibcxx_cv_func___builtin_cos_use=no
49544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49545 ac_ext=c
49546 ac_cpp='$CPP $CPPFLAGS'
49547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49555 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
49556 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
49557 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
49558 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
49559 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
49560 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
49561 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
49562 echo $ECHO_N "(cached) $ECHO_C" >&6
49563 else
49565 if test x$gcc_no_link = xyes; then
49566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49568 { (exit 1); exit 1; }; }
49570 cat >conftest.$ac_ext <<_ACEOF
49571 /* confdefs.h. */
49572 _ACEOF
49573 cat confdefs.h >>conftest.$ac_ext
49574 cat >>conftest.$ac_ext <<_ACEOF
49575 /* end confdefs.h. */
49576 #include <math.h>
49578 main ()
49580 __builtin_cos(0);
49582 return 0;
49584 _ACEOF
49585 rm -f conftest.$ac_objext conftest$ac_exeext
49586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49587 (eval $ac_link) 2>conftest.er1
49588 ac_status=$?
49589 grep -v '^ *+' conftest.er1 >conftest.err
49590 rm -f conftest.er1
49591 cat conftest.err >&5
49592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593 (exit $ac_status); } &&
49594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49596 (eval $ac_try) 2>&5
49597 ac_status=$?
49598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49599 (exit $ac_status); }; } &&
49600 { ac_try='test -s conftest$ac_exeext'
49601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49602 (eval $ac_try) 2>&5
49603 ac_status=$?
49604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49605 (exit $ac_status); }; }; then
49606 glibcxx_cv_func___builtin_cos_link=yes
49607 else
49608 echo "$as_me: failed program was:" >&5
49609 sed 's/^/| /' conftest.$ac_ext >&5
49611 glibcxx_cv_func___builtin_cos_link=no
49613 rm -f conftest.err conftest.$ac_objext \
49614 conftest$ac_exeext conftest.$ac_ext
49619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
49620 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
49621 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
49622 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49624 cat >>confdefs.h <<_ACEOF
49625 #define ${ac_tr_func} 1
49626 _ACEOF
49632 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
49633 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
49634 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
49635 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
49636 echo $ECHO_N "(cached) $ECHO_C" >&6
49637 else
49641 ac_ext=cc
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647 cat >conftest.$ac_ext <<_ACEOF
49648 /* confdefs.h. */
49649 _ACEOF
49650 cat confdefs.h >>conftest.$ac_ext
49651 cat >>conftest.$ac_ext <<_ACEOF
49652 /* end confdefs.h. */
49653 #include <math.h>
49655 main ()
49657 __builtin_cosl(0);
49659 return 0;
49661 _ACEOF
49662 rm -f conftest.$ac_objext
49663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49664 (eval $ac_compile) 2>conftest.er1
49665 ac_status=$?
49666 grep -v '^ *+' conftest.er1 >conftest.err
49667 rm -f conftest.er1
49668 cat conftest.err >&5
49669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49670 (exit $ac_status); } &&
49671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49673 (eval $ac_try) 2>&5
49674 ac_status=$?
49675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49676 (exit $ac_status); }; } &&
49677 { ac_try='test -s conftest.$ac_objext'
49678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49679 (eval $ac_try) 2>&5
49680 ac_status=$?
49681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49682 (exit $ac_status); }; }; then
49683 glibcxx_cv_func___builtin_cosl_use=yes
49684 else
49685 echo "$as_me: failed program was:" >&5
49686 sed 's/^/| /' conftest.$ac_ext >&5
49688 glibcxx_cv_func___builtin_cosl_use=no
49690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49691 ac_ext=c
49692 ac_cpp='$CPP $CPPFLAGS'
49693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
49702 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
49703 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
49704 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
49705 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
49706 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
49707 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
49708 echo $ECHO_N "(cached) $ECHO_C" >&6
49709 else
49711 if test x$gcc_no_link = xyes; then
49712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49714 { (exit 1); exit 1; }; }
49716 cat >conftest.$ac_ext <<_ACEOF
49717 /* confdefs.h. */
49718 _ACEOF
49719 cat confdefs.h >>conftest.$ac_ext
49720 cat >>conftest.$ac_ext <<_ACEOF
49721 /* end confdefs.h. */
49722 #include <math.h>
49724 main ()
49726 __builtin_cosl(0);
49728 return 0;
49730 _ACEOF
49731 rm -f conftest.$ac_objext conftest$ac_exeext
49732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49733 (eval $ac_link) 2>conftest.er1
49734 ac_status=$?
49735 grep -v '^ *+' conftest.er1 >conftest.err
49736 rm -f conftest.er1
49737 cat conftest.err >&5
49738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49739 (exit $ac_status); } &&
49740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49742 (eval $ac_try) 2>&5
49743 ac_status=$?
49744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49745 (exit $ac_status); }; } &&
49746 { ac_try='test -s conftest$ac_exeext'
49747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49748 (eval $ac_try) 2>&5
49749 ac_status=$?
49750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751 (exit $ac_status); }; }; then
49752 glibcxx_cv_func___builtin_cosl_link=yes
49753 else
49754 echo "$as_me: failed program was:" >&5
49755 sed 's/^/| /' conftest.$ac_ext >&5
49757 glibcxx_cv_func___builtin_cosl_link=no
49759 rm -f conftest.err conftest.$ac_objext \
49760 conftest$ac_exeext conftest.$ac_ext
49765 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
49766 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
49767 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
49768 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49770 cat >>confdefs.h <<_ACEOF
49771 #define ${ac_tr_func} 1
49772 _ACEOF
49780 echo "$as_me:$LINENO: checking for main in -lm" >&5
49781 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49782 if test "${ac_cv_lib_m_main+set}" = set; then
49783 echo $ECHO_N "(cached) $ECHO_C" >&6
49784 else
49785 ac_check_lib_save_LIBS=$LIBS
49786 LIBS="-lm $LIBS"
49787 if test x$gcc_no_link = xyes; then
49788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49790 { (exit 1); exit 1; }; }
49792 cat >conftest.$ac_ext <<_ACEOF
49793 /* confdefs.h. */
49794 _ACEOF
49795 cat confdefs.h >>conftest.$ac_ext
49796 cat >>conftest.$ac_ext <<_ACEOF
49797 /* end confdefs.h. */
49801 main ()
49803 main ();
49805 return 0;
49807 _ACEOF
49808 rm -f conftest.$ac_objext conftest$ac_exeext
49809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49810 (eval $ac_link) 2>conftest.er1
49811 ac_status=$?
49812 grep -v '^ *+' conftest.er1 >conftest.err
49813 rm -f conftest.er1
49814 cat conftest.err >&5
49815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49816 (exit $ac_status); } &&
49817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49819 (eval $ac_try) 2>&5
49820 ac_status=$?
49821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49822 (exit $ac_status); }; } &&
49823 { ac_try='test -s conftest$ac_exeext'
49824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49825 (eval $ac_try) 2>&5
49826 ac_status=$?
49827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49828 (exit $ac_status); }; }; then
49829 ac_cv_lib_m_main=yes
49830 else
49831 echo "$as_me: failed program was:" >&5
49832 sed 's/^/| /' conftest.$ac_ext >&5
49834 ac_cv_lib_m_main=no
49836 rm -f conftest.err conftest.$ac_objext \
49837 conftest$ac_exeext conftest.$ac_ext
49838 LIBS=$ac_check_lib_save_LIBS
49840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49841 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49842 if test $ac_cv_lib_m_main = yes; then
49843 cat >>confdefs.h <<_ACEOF
49844 #define HAVE_LIBM 1
49845 _ACEOF
49847 LIBS="-lm $LIBS"
49852 for ac_func in copysignf
49854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49855 echo "$as_me:$LINENO: checking for $ac_func" >&5
49856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49857 if eval "test \"\${$as_ac_var+set}\" = set"; then
49858 echo $ECHO_N "(cached) $ECHO_C" >&6
49859 else
49860 if test x$gcc_no_link = xyes; then
49861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49863 { (exit 1); exit 1; }; }
49865 cat >conftest.$ac_ext <<_ACEOF
49866 /* confdefs.h. */
49867 _ACEOF
49868 cat confdefs.h >>conftest.$ac_ext
49869 cat >>conftest.$ac_ext <<_ACEOF
49870 /* end confdefs.h. */
49871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49873 #define $ac_func innocuous_$ac_func
49875 /* System header to define __stub macros and hopefully few prototypes,
49876 which can conflict with char $ac_func (); below.
49877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49878 <limits.h> exists even on freestanding compilers. */
49880 #ifdef __STDC__
49881 # include <limits.h>
49882 #else
49883 # include <assert.h>
49884 #endif
49886 #undef $ac_func
49888 /* Override any gcc2 internal prototype to avoid an error. */
49889 #ifdef __cplusplus
49890 extern "C"
49892 #endif
49893 /* We use char because int might match the return type of a gcc2
49894 builtin and then its argument prototype would still apply. */
49895 char $ac_func ();
49896 /* The GNU C library defines this for functions which it implements
49897 to always fail with ENOSYS. Some functions are actually named
49898 something starting with __ and the normal name is an alias. */
49899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49900 choke me
49901 #else
49902 char (*f) () = $ac_func;
49903 #endif
49904 #ifdef __cplusplus
49906 #endif
49909 main ()
49911 return f != $ac_func;
49913 return 0;
49915 _ACEOF
49916 rm -f conftest.$ac_objext conftest$ac_exeext
49917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49918 (eval $ac_link) 2>conftest.er1
49919 ac_status=$?
49920 grep -v '^ *+' conftest.er1 >conftest.err
49921 rm -f conftest.er1
49922 cat conftest.err >&5
49923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49924 (exit $ac_status); } &&
49925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49927 (eval $ac_try) 2>&5
49928 ac_status=$?
49929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49930 (exit $ac_status); }; } &&
49931 { ac_try='test -s conftest$ac_exeext'
49932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49933 (eval $ac_try) 2>&5
49934 ac_status=$?
49935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49936 (exit $ac_status); }; }; then
49937 eval "$as_ac_var=yes"
49938 else
49939 echo "$as_me: failed program was:" >&5
49940 sed 's/^/| /' conftest.$ac_ext >&5
49942 eval "$as_ac_var=no"
49944 rm -f conftest.err conftest.$ac_objext \
49945 conftest$ac_exeext conftest.$ac_ext
49947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49949 if test `eval echo '${'$as_ac_var'}'` = yes; then
49950 cat >>confdefs.h <<_ACEOF
49951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49952 _ACEOF
49954 else
49955 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49957 done
49961 for ac_func in __signbit
49963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49964 echo "$as_me:$LINENO: checking for $ac_func" >&5
49965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49966 if eval "test \"\${$as_ac_var+set}\" = set"; then
49967 echo $ECHO_N "(cached) $ECHO_C" >&6
49968 else
49969 if test x$gcc_no_link = xyes; then
49970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49972 { (exit 1); exit 1; }; }
49974 cat >conftest.$ac_ext <<_ACEOF
49975 /* confdefs.h. */
49976 _ACEOF
49977 cat confdefs.h >>conftest.$ac_ext
49978 cat >>conftest.$ac_ext <<_ACEOF
49979 /* end confdefs.h. */
49980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49982 #define $ac_func innocuous_$ac_func
49984 /* System header to define __stub macros and hopefully few prototypes,
49985 which can conflict with char $ac_func (); below.
49986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49987 <limits.h> exists even on freestanding compilers. */
49989 #ifdef __STDC__
49990 # include <limits.h>
49991 #else
49992 # include <assert.h>
49993 #endif
49995 #undef $ac_func
49997 /* Override any gcc2 internal prototype to avoid an error. */
49998 #ifdef __cplusplus
49999 extern "C"
50001 #endif
50002 /* We use char because int might match the return type of a gcc2
50003 builtin and then its argument prototype would still apply. */
50004 char $ac_func ();
50005 /* The GNU C library defines this for functions which it implements
50006 to always fail with ENOSYS. Some functions are actually named
50007 something starting with __ and the normal name is an alias. */
50008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50009 choke me
50010 #else
50011 char (*f) () = $ac_func;
50012 #endif
50013 #ifdef __cplusplus
50015 #endif
50018 main ()
50020 return f != $ac_func;
50022 return 0;
50024 _ACEOF
50025 rm -f conftest.$ac_objext conftest$ac_exeext
50026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50027 (eval $ac_link) 2>conftest.er1
50028 ac_status=$?
50029 grep -v '^ *+' conftest.er1 >conftest.err
50030 rm -f conftest.er1
50031 cat conftest.err >&5
50032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033 (exit $ac_status); } &&
50034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50036 (eval $ac_try) 2>&5
50037 ac_status=$?
50038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50039 (exit $ac_status); }; } &&
50040 { ac_try='test -s conftest$ac_exeext'
50041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50042 (eval $ac_try) 2>&5
50043 ac_status=$?
50044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50045 (exit $ac_status); }; }; then
50046 eval "$as_ac_var=yes"
50047 else
50048 echo "$as_me: failed program was:" >&5
50049 sed 's/^/| /' conftest.$ac_ext >&5
50051 eval "$as_ac_var=no"
50053 rm -f conftest.err conftest.$ac_objext \
50054 conftest$ac_exeext conftest.$ac_ext
50056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50058 if test `eval echo '${'$as_ac_var'}'` = yes; then
50059 cat >>confdefs.h <<_ACEOF
50060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50061 _ACEOF
50063 else
50064 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50066 done
50070 for ac_func in __signbitf
50072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50073 echo "$as_me:$LINENO: checking for $ac_func" >&5
50074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50075 if eval "test \"\${$as_ac_var+set}\" = set"; then
50076 echo $ECHO_N "(cached) $ECHO_C" >&6
50077 else
50078 if test x$gcc_no_link = xyes; then
50079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50081 { (exit 1); exit 1; }; }
50083 cat >conftest.$ac_ext <<_ACEOF
50084 /* confdefs.h. */
50085 _ACEOF
50086 cat confdefs.h >>conftest.$ac_ext
50087 cat >>conftest.$ac_ext <<_ACEOF
50088 /* end confdefs.h. */
50089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50091 #define $ac_func innocuous_$ac_func
50093 /* System header to define __stub macros and hopefully few prototypes,
50094 which can conflict with char $ac_func (); below.
50095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50096 <limits.h> exists even on freestanding compilers. */
50098 #ifdef __STDC__
50099 # include <limits.h>
50100 #else
50101 # include <assert.h>
50102 #endif
50104 #undef $ac_func
50106 /* Override any gcc2 internal prototype to avoid an error. */
50107 #ifdef __cplusplus
50108 extern "C"
50110 #endif
50111 /* We use char because int might match the return type of a gcc2
50112 builtin and then its argument prototype would still apply. */
50113 char $ac_func ();
50114 /* The GNU C library defines this for functions which it implements
50115 to always fail with ENOSYS. Some functions are actually named
50116 something starting with __ and the normal name is an alias. */
50117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50118 choke me
50119 #else
50120 char (*f) () = $ac_func;
50121 #endif
50122 #ifdef __cplusplus
50124 #endif
50127 main ()
50129 return f != $ac_func;
50131 return 0;
50133 _ACEOF
50134 rm -f conftest.$ac_objext conftest$ac_exeext
50135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50136 (eval $ac_link) 2>conftest.er1
50137 ac_status=$?
50138 grep -v '^ *+' conftest.er1 >conftest.err
50139 rm -f conftest.er1
50140 cat conftest.err >&5
50141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142 (exit $ac_status); } &&
50143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145 (eval $ac_try) 2>&5
50146 ac_status=$?
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); }; } &&
50149 { ac_try='test -s conftest$ac_exeext'
50150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50151 (eval $ac_try) 2>&5
50152 ac_status=$?
50153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50154 (exit $ac_status); }; }; then
50155 eval "$as_ac_var=yes"
50156 else
50157 echo "$as_me: failed program was:" >&5
50158 sed 's/^/| /' conftest.$ac_ext >&5
50160 eval "$as_ac_var=no"
50162 rm -f conftest.err conftest.$ac_objext \
50163 conftest$ac_exeext conftest.$ac_ext
50165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50167 if test `eval echo '${'$as_ac_var'}'` = yes; then
50168 cat >>confdefs.h <<_ACEOF
50169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50170 _ACEOF
50172 else
50173 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50175 done
50178 if test x$ac_cv_func_copysignl = x"yes"; then
50180 for ac_func in __signbitl
50182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50183 echo "$as_me:$LINENO: checking for $ac_func" >&5
50184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50185 if eval "test \"\${$as_ac_var+set}\" = set"; then
50186 echo $ECHO_N "(cached) $ECHO_C" >&6
50187 else
50188 if test x$gcc_no_link = xyes; then
50189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50191 { (exit 1); exit 1; }; }
50193 cat >conftest.$ac_ext <<_ACEOF
50194 /* confdefs.h. */
50195 _ACEOF
50196 cat confdefs.h >>conftest.$ac_ext
50197 cat >>conftest.$ac_ext <<_ACEOF
50198 /* end confdefs.h. */
50199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50201 #define $ac_func innocuous_$ac_func
50203 /* System header to define __stub macros and hopefully few prototypes,
50204 which can conflict with char $ac_func (); below.
50205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50206 <limits.h> exists even on freestanding compilers. */
50208 #ifdef __STDC__
50209 # include <limits.h>
50210 #else
50211 # include <assert.h>
50212 #endif
50214 #undef $ac_func
50216 /* Override any gcc2 internal prototype to avoid an error. */
50217 #ifdef __cplusplus
50218 extern "C"
50220 #endif
50221 /* We use char because int might match the return type of a gcc2
50222 builtin and then its argument prototype would still apply. */
50223 char $ac_func ();
50224 /* The GNU C library defines this for functions which it implements
50225 to always fail with ENOSYS. Some functions are actually named
50226 something starting with __ and the normal name is an alias. */
50227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50228 choke me
50229 #else
50230 char (*f) () = $ac_func;
50231 #endif
50232 #ifdef __cplusplus
50234 #endif
50237 main ()
50239 return f != $ac_func;
50241 return 0;
50243 _ACEOF
50244 rm -f conftest.$ac_objext conftest$ac_exeext
50245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50246 (eval $ac_link) 2>conftest.er1
50247 ac_status=$?
50248 grep -v '^ *+' conftest.er1 >conftest.err
50249 rm -f conftest.er1
50250 cat conftest.err >&5
50251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50252 (exit $ac_status); } &&
50253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50255 (eval $ac_try) 2>&5
50256 ac_status=$?
50257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50258 (exit $ac_status); }; } &&
50259 { ac_try='test -s conftest$ac_exeext'
50260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50261 (eval $ac_try) 2>&5
50262 ac_status=$?
50263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50264 (exit $ac_status); }; }; then
50265 eval "$as_ac_var=yes"
50266 else
50267 echo "$as_me: failed program was:" >&5
50268 sed 's/^/| /' conftest.$ac_ext >&5
50270 eval "$as_ac_var=no"
50272 rm -f conftest.err conftest.$ac_objext \
50273 conftest$ac_exeext conftest.$ac_ext
50275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50277 if test `eval echo '${'$as_ac_var'}'` = yes; then
50278 cat >>confdefs.h <<_ACEOF
50279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50280 _ACEOF
50282 else
50283 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50285 done
50289 # Used in libmath/Makefile.am.
50290 if test -n "$LIBMATHOBJS"; then
50291 need_libmath=yes
50296 # Test wchar.h for mbstate_t, which is needed for char_traits and
50297 # others even if wchar_t support is not on.
50298 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50299 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50300 cat >conftest.$ac_ext <<_ACEOF
50301 /* confdefs.h. */
50302 _ACEOF
50303 cat confdefs.h >>conftest.$ac_ext
50304 cat >>conftest.$ac_ext <<_ACEOF
50305 /* end confdefs.h. */
50306 #include <wchar.h>
50308 main ()
50310 mbstate_t teststate;
50312 return 0;
50314 _ACEOF
50315 rm -f conftest.$ac_objext
50316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50317 (eval $ac_compile) 2>conftest.er1
50318 ac_status=$?
50319 grep -v '^ *+' conftest.er1 >conftest.err
50320 rm -f conftest.er1
50321 cat conftest.err >&5
50322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50323 (exit $ac_status); } &&
50324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50326 (eval $ac_try) 2>&5
50327 ac_status=$?
50328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50329 (exit $ac_status); }; } &&
50330 { ac_try='test -s conftest.$ac_objext'
50331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50332 (eval $ac_try) 2>&5
50333 ac_status=$?
50334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50335 (exit $ac_status); }; }; then
50336 have_mbstate_t=yes
50337 else
50338 echo "$as_me: failed program was:" >&5
50339 sed 's/^/| /' conftest.$ac_ext >&5
50341 have_mbstate_t=no
50343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50344 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50345 echo "${ECHO_T}$have_mbstate_t" >&6
50346 if test x"$have_mbstate_t" = xyes; then
50347 cat >>confdefs.h <<\_ACEOF
50348 #define HAVE_MBSTATE_T 1
50349 _ACEOF
50353 # Sanity check for existence of ISO C99 headers for extended encoding.
50355 for ac_header in wchar.h
50357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50359 echo "$as_me:$LINENO: checking for $ac_header" >&5
50360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50362 echo $ECHO_N "(cached) $ECHO_C" >&6
50364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50366 else
50367 # Is the header compilable?
50368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50370 cat >conftest.$ac_ext <<_ACEOF
50371 /* confdefs.h. */
50372 _ACEOF
50373 cat confdefs.h >>conftest.$ac_ext
50374 cat >>conftest.$ac_ext <<_ACEOF
50375 /* end confdefs.h. */
50376 $ac_includes_default
50377 #include <$ac_header>
50378 _ACEOF
50379 rm -f conftest.$ac_objext
50380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50381 (eval $ac_compile) 2>conftest.er1
50382 ac_status=$?
50383 grep -v '^ *+' conftest.er1 >conftest.err
50384 rm -f conftest.er1
50385 cat conftest.err >&5
50386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387 (exit $ac_status); } &&
50388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50390 (eval $ac_try) 2>&5
50391 ac_status=$?
50392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50393 (exit $ac_status); }; } &&
50394 { ac_try='test -s conftest.$ac_objext'
50395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50396 (eval $ac_try) 2>&5
50397 ac_status=$?
50398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50399 (exit $ac_status); }; }; then
50400 ac_header_compiler=yes
50401 else
50402 echo "$as_me: failed program was:" >&5
50403 sed 's/^/| /' conftest.$ac_ext >&5
50405 ac_header_compiler=no
50407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50409 echo "${ECHO_T}$ac_header_compiler" >&6
50411 # Is the header present?
50412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50414 cat >conftest.$ac_ext <<_ACEOF
50415 /* confdefs.h. */
50416 _ACEOF
50417 cat confdefs.h >>conftest.$ac_ext
50418 cat >>conftest.$ac_ext <<_ACEOF
50419 /* end confdefs.h. */
50420 #include <$ac_header>
50421 _ACEOF
50422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50423 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
50430 if test -s conftest.err; then
50431 ac_cpp_err=$ac_c_preproc_warn_flag
50432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50433 else
50434 ac_cpp_err=
50436 else
50437 ac_cpp_err=yes
50439 if test -z "$ac_cpp_err"; then
50440 ac_header_preproc=yes
50441 else
50442 echo "$as_me: failed program was:" >&5
50443 sed 's/^/| /' conftest.$ac_ext >&5
50445 ac_header_preproc=no
50447 rm -f conftest.err conftest.$ac_ext
50448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50449 echo "${ECHO_T}$ac_header_preproc" >&6
50451 # So? What about this header?
50452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50453 yes:no: )
50454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50458 ac_header_preproc=yes
50460 no:yes:* )
50461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50474 cat <<\_ASBOX
50475 ## ----------------------------------------- ##
50476 ## Report this to the package-unused lists. ##
50477 ## ----------------------------------------- ##
50478 _ASBOX
50480 sed "s/^/$as_me: WARNING: /" >&2
50482 esac
50483 echo "$as_me:$LINENO: checking for $ac_header" >&5
50484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50486 echo $ECHO_N "(cached) $ECHO_C" >&6
50487 else
50488 eval "$as_ac_Header=\$ac_header_preproc"
50490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50495 cat >>confdefs.h <<_ACEOF
50496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50497 _ACEOF
50498 ac_has_wchar_h=yes
50499 else
50500 ac_has_wchar_h=no
50503 done
50506 for ac_header in wctype.h
50508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50510 echo "$as_me:$LINENO: checking for $ac_header" >&5
50511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50513 echo $ECHO_N "(cached) $ECHO_C" >&6
50515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50517 else
50518 # Is the header compilable?
50519 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50521 cat >conftest.$ac_ext <<_ACEOF
50522 /* confdefs.h. */
50523 _ACEOF
50524 cat confdefs.h >>conftest.$ac_ext
50525 cat >>conftest.$ac_ext <<_ACEOF
50526 /* end confdefs.h. */
50527 $ac_includes_default
50528 #include <$ac_header>
50529 _ACEOF
50530 rm -f conftest.$ac_objext
50531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50532 (eval $ac_compile) 2>conftest.er1
50533 ac_status=$?
50534 grep -v '^ *+' conftest.er1 >conftest.err
50535 rm -f conftest.er1
50536 cat conftest.err >&5
50537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50538 (exit $ac_status); } &&
50539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50541 (eval $ac_try) 2>&5
50542 ac_status=$?
50543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50544 (exit $ac_status); }; } &&
50545 { ac_try='test -s conftest.$ac_objext'
50546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50547 (eval $ac_try) 2>&5
50548 ac_status=$?
50549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50550 (exit $ac_status); }; }; then
50551 ac_header_compiler=yes
50552 else
50553 echo "$as_me: failed program was:" >&5
50554 sed 's/^/| /' conftest.$ac_ext >&5
50556 ac_header_compiler=no
50558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50560 echo "${ECHO_T}$ac_header_compiler" >&6
50562 # Is the header present?
50563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50565 cat >conftest.$ac_ext <<_ACEOF
50566 /* confdefs.h. */
50567 _ACEOF
50568 cat confdefs.h >>conftest.$ac_ext
50569 cat >>conftest.$ac_ext <<_ACEOF
50570 /* end confdefs.h. */
50571 #include <$ac_header>
50572 _ACEOF
50573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50575 ac_status=$?
50576 grep -v '^ *+' conftest.er1 >conftest.err
50577 rm -f conftest.er1
50578 cat conftest.err >&5
50579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50580 (exit $ac_status); } >/dev/null; then
50581 if test -s conftest.err; then
50582 ac_cpp_err=$ac_c_preproc_warn_flag
50583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50584 else
50585 ac_cpp_err=
50587 else
50588 ac_cpp_err=yes
50590 if test -z "$ac_cpp_err"; then
50591 ac_header_preproc=yes
50592 else
50593 echo "$as_me: failed program was:" >&5
50594 sed 's/^/| /' conftest.$ac_ext >&5
50596 ac_header_preproc=no
50598 rm -f conftest.err conftest.$ac_ext
50599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50600 echo "${ECHO_T}$ac_header_preproc" >&6
50602 # So? What about this header?
50603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50604 yes:no: )
50605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50609 ac_header_preproc=yes
50611 no:yes:* )
50612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50625 cat <<\_ASBOX
50626 ## ----------------------------------------- ##
50627 ## Report this to the package-unused lists. ##
50628 ## ----------------------------------------- ##
50629 _ASBOX
50631 sed "s/^/$as_me: WARNING: /" >&2
50633 esac
50634 echo "$as_me:$LINENO: checking for $ac_header" >&5
50635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50637 echo $ECHO_N "(cached) $ECHO_C" >&6
50638 else
50639 eval "$as_ac_Header=\$ac_header_preproc"
50641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50646 cat >>confdefs.h <<_ACEOF
50647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50648 _ACEOF
50649 ac_has_wctype_h=yes
50650 else
50651 ac_has_wctype_h=no
50654 done
50657 # Only continue checking if the ISO C99 headers exist and support is on.
50658 if test x"$ac_has_wchar_h" = xyes &&
50659 test x"$ac_has_wctype_h" = xyes &&
50660 test x"$enable_c_mbchar" != xno; then
50662 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50663 # numeric_limits can instantiate type_traits<wchar_t>
50664 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50665 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50666 cat >conftest.$ac_ext <<_ACEOF
50667 /* confdefs.h. */
50668 _ACEOF
50669 cat confdefs.h >>conftest.$ac_ext
50670 cat >>conftest.$ac_ext <<_ACEOF
50671 /* end confdefs.h. */
50672 #include <wchar.h>
50674 main ()
50676 int i = WCHAR_MIN; int j = WCHAR_MAX;
50678 return 0;
50680 _ACEOF
50681 rm -f conftest.$ac_objext
50682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50683 (eval $ac_compile) 2>conftest.er1
50684 ac_status=$?
50685 grep -v '^ *+' conftest.er1 >conftest.err
50686 rm -f conftest.er1
50687 cat conftest.err >&5
50688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50689 (exit $ac_status); } &&
50690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50692 (eval $ac_try) 2>&5
50693 ac_status=$?
50694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50695 (exit $ac_status); }; } &&
50696 { ac_try='test -s conftest.$ac_objext'
50697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50698 (eval $ac_try) 2>&5
50699 ac_status=$?
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); }; }; then
50702 has_wchar_minmax=yes
50703 else
50704 echo "$as_me: failed program was:" >&5
50705 sed 's/^/| /' conftest.$ac_ext >&5
50707 has_wchar_minmax=no
50709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50710 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50711 echo "${ECHO_T}$has_wchar_minmax" >&6
50713 # Test wchar.h for WEOF, which is what we use to determine whether
50714 # to specialize for char_traits<wchar_t> or not.
50715 echo "$as_me:$LINENO: checking for WEOF" >&5
50716 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50717 cat >conftest.$ac_ext <<_ACEOF
50718 /* confdefs.h. */
50719 _ACEOF
50720 cat confdefs.h >>conftest.$ac_ext
50721 cat >>conftest.$ac_ext <<_ACEOF
50722 /* end confdefs.h. */
50724 #include <wchar.h>
50725 #include <stddef.h>
50727 main ()
50729 wint_t i = WEOF;
50731 return 0;
50733 _ACEOF
50734 rm -f conftest.$ac_objext
50735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50736 (eval $ac_compile) 2>conftest.er1
50737 ac_status=$?
50738 grep -v '^ *+' conftest.er1 >conftest.err
50739 rm -f conftest.er1
50740 cat conftest.err >&5
50741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50742 (exit $ac_status); } &&
50743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50745 (eval $ac_try) 2>&5
50746 ac_status=$?
50747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50748 (exit $ac_status); }; } &&
50749 { ac_try='test -s conftest.$ac_objext'
50750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50751 (eval $ac_try) 2>&5
50752 ac_status=$?
50753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50754 (exit $ac_status); }; }; then
50755 has_weof=yes
50756 else
50757 echo "$as_me: failed program was:" >&5
50758 sed 's/^/| /' conftest.$ac_ext >&5
50760 has_weof=no
50762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50763 echo "$as_me:$LINENO: result: $has_weof" >&5
50764 echo "${ECHO_T}$has_weof" >&6
50766 # Tests for wide character functions used in char_traits<wchar_t>.
50767 ac_wfuncs=yes
50774 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50777 echo "$as_me:$LINENO: checking for $ac_func" >&5
50778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50779 if eval "test \"\${$as_ac_var+set}\" = set"; then
50780 echo $ECHO_N "(cached) $ECHO_C" >&6
50781 else
50782 if test x$gcc_no_link = xyes; then
50783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50785 { (exit 1); exit 1; }; }
50787 cat >conftest.$ac_ext <<_ACEOF
50788 /* confdefs.h. */
50789 _ACEOF
50790 cat confdefs.h >>conftest.$ac_ext
50791 cat >>conftest.$ac_ext <<_ACEOF
50792 /* end confdefs.h. */
50793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50795 #define $ac_func innocuous_$ac_func
50797 /* System header to define __stub macros and hopefully few prototypes,
50798 which can conflict with char $ac_func (); below.
50799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50800 <limits.h> exists even on freestanding compilers. */
50802 #ifdef __STDC__
50803 # include <limits.h>
50804 #else
50805 # include <assert.h>
50806 #endif
50808 #undef $ac_func
50810 /* Override any gcc2 internal prototype to avoid an error. */
50811 #ifdef __cplusplus
50812 extern "C"
50814 #endif
50815 /* We use char because int might match the return type of a gcc2
50816 builtin and then its argument prototype would still apply. */
50817 char $ac_func ();
50818 /* The GNU C library defines this for functions which it implements
50819 to always fail with ENOSYS. Some functions are actually named
50820 something starting with __ and the normal name is an alias. */
50821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50822 choke me
50823 #else
50824 char (*f) () = $ac_func;
50825 #endif
50826 #ifdef __cplusplus
50828 #endif
50831 main ()
50833 return f != $ac_func;
50835 return 0;
50837 _ACEOF
50838 rm -f conftest.$ac_objext conftest$ac_exeext
50839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50840 (eval $ac_link) 2>conftest.er1
50841 ac_status=$?
50842 grep -v '^ *+' conftest.er1 >conftest.err
50843 rm -f conftest.er1
50844 cat conftest.err >&5
50845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846 (exit $ac_status); } &&
50847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50849 (eval $ac_try) 2>&5
50850 ac_status=$?
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); }; } &&
50853 { ac_try='test -s conftest$ac_exeext'
50854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50855 (eval $ac_try) 2>&5
50856 ac_status=$?
50857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50858 (exit $ac_status); }; }; then
50859 eval "$as_ac_var=yes"
50860 else
50861 echo "$as_me: failed program was:" >&5
50862 sed 's/^/| /' conftest.$ac_ext >&5
50864 eval "$as_ac_var=no"
50866 rm -f conftest.err conftest.$ac_objext \
50867 conftest$ac_exeext conftest.$ac_ext
50869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50871 if test `eval echo '${'$as_ac_var'}'` = yes; then
50872 cat >>confdefs.h <<_ACEOF
50873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50874 _ACEOF
50876 else
50877 ac_wfuncs=no
50879 done
50882 # Checks for names injected into std:: by the c_std headers.
50929 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50930 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50931 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50932 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50933 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50934 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50937 echo "$as_me:$LINENO: checking for $ac_func" >&5
50938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50939 if eval "test \"\${$as_ac_var+set}\" = set"; then
50940 echo $ECHO_N "(cached) $ECHO_C" >&6
50941 else
50942 if test x$gcc_no_link = xyes; then
50943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50945 { (exit 1); exit 1; }; }
50947 cat >conftest.$ac_ext <<_ACEOF
50948 /* confdefs.h. */
50949 _ACEOF
50950 cat confdefs.h >>conftest.$ac_ext
50951 cat >>conftest.$ac_ext <<_ACEOF
50952 /* end confdefs.h. */
50953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50955 #define $ac_func innocuous_$ac_func
50957 /* System header to define __stub macros and hopefully few prototypes,
50958 which can conflict with char $ac_func (); below.
50959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50960 <limits.h> exists even on freestanding compilers. */
50962 #ifdef __STDC__
50963 # include <limits.h>
50964 #else
50965 # include <assert.h>
50966 #endif
50968 #undef $ac_func
50970 /* Override any gcc2 internal prototype to avoid an error. */
50971 #ifdef __cplusplus
50972 extern "C"
50974 #endif
50975 /* We use char because int might match the return type of a gcc2
50976 builtin and then its argument prototype would still apply. */
50977 char $ac_func ();
50978 /* The GNU C library defines this for functions which it implements
50979 to always fail with ENOSYS. Some functions are actually named
50980 something starting with __ and the normal name is an alias. */
50981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50982 choke me
50983 #else
50984 char (*f) () = $ac_func;
50985 #endif
50986 #ifdef __cplusplus
50988 #endif
50991 main ()
50993 return f != $ac_func;
50995 return 0;
50997 _ACEOF
50998 rm -f conftest.$ac_objext conftest$ac_exeext
50999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51000 (eval $ac_link) 2>conftest.er1
51001 ac_status=$?
51002 grep -v '^ *+' conftest.er1 >conftest.err
51003 rm -f conftest.er1
51004 cat conftest.err >&5
51005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51006 (exit $ac_status); } &&
51007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51009 (eval $ac_try) 2>&5
51010 ac_status=$?
51011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51012 (exit $ac_status); }; } &&
51013 { ac_try='test -s conftest$ac_exeext'
51014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51015 (eval $ac_try) 2>&5
51016 ac_status=$?
51017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51018 (exit $ac_status); }; }; then
51019 eval "$as_ac_var=yes"
51020 else
51021 echo "$as_me: failed program was:" >&5
51022 sed 's/^/| /' conftest.$ac_ext >&5
51024 eval "$as_ac_var=no"
51026 rm -f conftest.err conftest.$ac_objext \
51027 conftest$ac_exeext conftest.$ac_ext
51029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51031 if test `eval echo '${'$as_ac_var'}'` = yes; then
51032 cat >>confdefs.h <<_ACEOF
51033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51034 _ACEOF
51036 else
51037 ac_wfuncs=no
51039 done
51042 # Checks for wide character functions that are not required
51043 # for basic wchar_t support. Don't disable support if they are missing.
51044 # Injection of these is wrapped with guard macros.
51050 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51053 echo "$as_me:$LINENO: checking for $ac_func" >&5
51054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51055 if eval "test \"\${$as_ac_var+set}\" = set"; then
51056 echo $ECHO_N "(cached) $ECHO_C" >&6
51057 else
51058 if test x$gcc_no_link = xyes; then
51059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51061 { (exit 1); exit 1; }; }
51063 cat >conftest.$ac_ext <<_ACEOF
51064 /* confdefs.h. */
51065 _ACEOF
51066 cat confdefs.h >>conftest.$ac_ext
51067 cat >>conftest.$ac_ext <<_ACEOF
51068 /* end confdefs.h. */
51069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51071 #define $ac_func innocuous_$ac_func
51073 /* System header to define __stub macros and hopefully few prototypes,
51074 which can conflict with char $ac_func (); below.
51075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51076 <limits.h> exists even on freestanding compilers. */
51078 #ifdef __STDC__
51079 # include <limits.h>
51080 #else
51081 # include <assert.h>
51082 #endif
51084 #undef $ac_func
51086 /* Override any gcc2 internal prototype to avoid an error. */
51087 #ifdef __cplusplus
51088 extern "C"
51090 #endif
51091 /* We use char because int might match the return type of a gcc2
51092 builtin and then its argument prototype would still apply. */
51093 char $ac_func ();
51094 /* The GNU C library defines this for functions which it implements
51095 to always fail with ENOSYS. Some functions are actually named
51096 something starting with __ and the normal name is an alias. */
51097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51098 choke me
51099 #else
51100 char (*f) () = $ac_func;
51101 #endif
51102 #ifdef __cplusplus
51104 #endif
51107 main ()
51109 return f != $ac_func;
51111 return 0;
51113 _ACEOF
51114 rm -f conftest.$ac_objext conftest$ac_exeext
51115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51116 (eval $ac_link) 2>conftest.er1
51117 ac_status=$?
51118 grep -v '^ *+' conftest.er1 >conftest.err
51119 rm -f conftest.er1
51120 cat conftest.err >&5
51121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51122 (exit $ac_status); } &&
51123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51125 (eval $ac_try) 2>&5
51126 ac_status=$?
51127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51128 (exit $ac_status); }; } &&
51129 { ac_try='test -s conftest$ac_exeext'
51130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51131 (eval $ac_try) 2>&5
51132 ac_status=$?
51133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51134 (exit $ac_status); }; }; then
51135 eval "$as_ac_var=yes"
51136 else
51137 echo "$as_me: failed program was:" >&5
51138 sed 's/^/| /' conftest.$ac_ext >&5
51140 eval "$as_ac_var=no"
51142 rm -f conftest.err conftest.$ac_objext \
51143 conftest$ac_exeext conftest.$ac_ext
51145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51147 if test `eval echo '${'$as_ac_var'}'` = yes; then
51148 cat >>confdefs.h <<_ACEOF
51149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51150 _ACEOF
51153 done
51156 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51157 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51158 if test x"$has_weof" = xyes &&
51159 test x"$has_wchar_minmax" = xyes &&
51160 test x"$ac_wfuncs" = xyes;
51161 then
51162 ac_isoC99_wchar_t=yes
51163 else
51164 ac_isoC99_wchar_t=no
51166 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51167 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51169 # Use iconv for wchar_t to char conversions. As such, check for
51170 # X/Open Portability Guide, version 2 features (XPG2).
51171 if test "${ac_cv_header_iconv_h+set}" = set; then
51172 echo "$as_me:$LINENO: checking for iconv.h" >&5
51173 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51174 if test "${ac_cv_header_iconv_h+set}" = set; then
51175 echo $ECHO_N "(cached) $ECHO_C" >&6
51177 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51178 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51179 else
51180 # Is the header compilable?
51181 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51182 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51183 cat >conftest.$ac_ext <<_ACEOF
51184 /* confdefs.h. */
51185 _ACEOF
51186 cat confdefs.h >>conftest.$ac_ext
51187 cat >>conftest.$ac_ext <<_ACEOF
51188 /* end confdefs.h. */
51189 $ac_includes_default
51190 #include <iconv.h>
51191 _ACEOF
51192 rm -f conftest.$ac_objext
51193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51194 (eval $ac_compile) 2>conftest.er1
51195 ac_status=$?
51196 grep -v '^ *+' conftest.er1 >conftest.err
51197 rm -f conftest.er1
51198 cat conftest.err >&5
51199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51200 (exit $ac_status); } &&
51201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51203 (eval $ac_try) 2>&5
51204 ac_status=$?
51205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51206 (exit $ac_status); }; } &&
51207 { ac_try='test -s conftest.$ac_objext'
51208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51209 (eval $ac_try) 2>&5
51210 ac_status=$?
51211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51212 (exit $ac_status); }; }; then
51213 ac_header_compiler=yes
51214 else
51215 echo "$as_me: failed program was:" >&5
51216 sed 's/^/| /' conftest.$ac_ext >&5
51218 ac_header_compiler=no
51220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51222 echo "${ECHO_T}$ac_header_compiler" >&6
51224 # Is the header present?
51225 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51226 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51227 cat >conftest.$ac_ext <<_ACEOF
51228 /* confdefs.h. */
51229 _ACEOF
51230 cat confdefs.h >>conftest.$ac_ext
51231 cat >>conftest.$ac_ext <<_ACEOF
51232 /* end confdefs.h. */
51233 #include <iconv.h>
51234 _ACEOF
51235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51237 ac_status=$?
51238 grep -v '^ *+' conftest.er1 >conftest.err
51239 rm -f conftest.er1
51240 cat conftest.err >&5
51241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51242 (exit $ac_status); } >/dev/null; then
51243 if test -s conftest.err; then
51244 ac_cpp_err=$ac_c_preproc_warn_flag
51245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51246 else
51247 ac_cpp_err=
51249 else
51250 ac_cpp_err=yes
51252 if test -z "$ac_cpp_err"; then
51253 ac_header_preproc=yes
51254 else
51255 echo "$as_me: failed program was:" >&5
51256 sed 's/^/| /' conftest.$ac_ext >&5
51258 ac_header_preproc=no
51260 rm -f conftest.err conftest.$ac_ext
51261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51262 echo "${ECHO_T}$ac_header_preproc" >&6
51264 # So? What about this header?
51265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51266 yes:no: )
51267 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51268 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51269 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51270 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51271 ac_header_preproc=yes
51273 no:yes:* )
51274 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51275 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51276 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51277 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51278 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51279 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51280 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51281 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51282 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51283 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51284 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51285 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51287 cat <<\_ASBOX
51288 ## ----------------------------------------- ##
51289 ## Report this to the package-unused lists. ##
51290 ## ----------------------------------------- ##
51291 _ASBOX
51293 sed "s/^/$as_me: WARNING: /" >&2
51295 esac
51296 echo "$as_me:$LINENO: checking for iconv.h" >&5
51297 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51298 if test "${ac_cv_header_iconv_h+set}" = set; then
51299 echo $ECHO_N "(cached) $ECHO_C" >&6
51300 else
51301 ac_cv_header_iconv_h=$ac_header_preproc
51303 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51304 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51307 if test $ac_cv_header_iconv_h = yes; then
51308 ac_has_iconv_h=yes
51309 else
51310 ac_has_iconv_h=no
51314 if test "${ac_cv_header_langinfo_h+set}" = set; then
51315 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51316 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51317 if test "${ac_cv_header_langinfo_h+set}" = set; then
51318 echo $ECHO_N "(cached) $ECHO_C" >&6
51320 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51321 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51322 else
51323 # Is the header compilable?
51324 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51325 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51326 cat >conftest.$ac_ext <<_ACEOF
51327 /* confdefs.h. */
51328 _ACEOF
51329 cat confdefs.h >>conftest.$ac_ext
51330 cat >>conftest.$ac_ext <<_ACEOF
51331 /* end confdefs.h. */
51332 $ac_includes_default
51333 #include <langinfo.h>
51334 _ACEOF
51335 rm -f conftest.$ac_objext
51336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51337 (eval $ac_compile) 2>conftest.er1
51338 ac_status=$?
51339 grep -v '^ *+' conftest.er1 >conftest.err
51340 rm -f conftest.er1
51341 cat conftest.err >&5
51342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51343 (exit $ac_status); } &&
51344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51346 (eval $ac_try) 2>&5
51347 ac_status=$?
51348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51349 (exit $ac_status); }; } &&
51350 { ac_try='test -s conftest.$ac_objext'
51351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51352 (eval $ac_try) 2>&5
51353 ac_status=$?
51354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51355 (exit $ac_status); }; }; then
51356 ac_header_compiler=yes
51357 else
51358 echo "$as_me: failed program was:" >&5
51359 sed 's/^/| /' conftest.$ac_ext >&5
51361 ac_header_compiler=no
51363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51365 echo "${ECHO_T}$ac_header_compiler" >&6
51367 # Is the header present?
51368 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51369 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51370 cat >conftest.$ac_ext <<_ACEOF
51371 /* confdefs.h. */
51372 _ACEOF
51373 cat confdefs.h >>conftest.$ac_ext
51374 cat >>conftest.$ac_ext <<_ACEOF
51375 /* end confdefs.h. */
51376 #include <langinfo.h>
51377 _ACEOF
51378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51380 ac_status=$?
51381 grep -v '^ *+' conftest.er1 >conftest.err
51382 rm -f conftest.er1
51383 cat conftest.err >&5
51384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385 (exit $ac_status); } >/dev/null; then
51386 if test -s conftest.err; then
51387 ac_cpp_err=$ac_c_preproc_warn_flag
51388 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51389 else
51390 ac_cpp_err=
51392 else
51393 ac_cpp_err=yes
51395 if test -z "$ac_cpp_err"; then
51396 ac_header_preproc=yes
51397 else
51398 echo "$as_me: failed program was:" >&5
51399 sed 's/^/| /' conftest.$ac_ext >&5
51401 ac_header_preproc=no
51403 rm -f conftest.err conftest.$ac_ext
51404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51405 echo "${ECHO_T}$ac_header_preproc" >&6
51407 # So? What about this header?
51408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51409 yes:no: )
51410 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51411 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51412 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51413 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51414 ac_header_preproc=yes
51416 no:yes:* )
51417 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51418 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51419 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51420 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51421 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51422 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51423 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51424 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51425 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51426 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51427 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51428 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51430 cat <<\_ASBOX
51431 ## ----------------------------------------- ##
51432 ## Report this to the package-unused lists. ##
51433 ## ----------------------------------------- ##
51434 _ASBOX
51436 sed "s/^/$as_me: WARNING: /" >&2
51438 esac
51439 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51440 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51441 if test "${ac_cv_header_langinfo_h+set}" = set; then
51442 echo $ECHO_N "(cached) $ECHO_C" >&6
51443 else
51444 ac_cv_header_langinfo_h=$ac_header_preproc
51446 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51447 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51450 if test $ac_cv_header_langinfo_h = yes; then
51451 ac_has_langinfo_h=yes
51452 else
51453 ac_has_langinfo_h=no
51458 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51459 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51460 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51461 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51462 echo $ECHO_N "(cached) $ECHO_C" >&6
51463 else
51464 ac_check_lib_save_LIBS=$LIBS
51465 LIBS="-liconv $LIBS"
51466 if test x$gcc_no_link = xyes; then
51467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51469 { (exit 1); exit 1; }; }
51471 cat >conftest.$ac_ext <<_ACEOF
51472 /* confdefs.h. */
51473 _ACEOF
51474 cat confdefs.h >>conftest.$ac_ext
51475 cat >>conftest.$ac_ext <<_ACEOF
51476 /* end confdefs.h. */
51478 /* Override any gcc2 internal prototype to avoid an error. */
51479 #ifdef __cplusplus
51480 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 iconv ();
51486 main ()
51488 iconv ();
51490 return 0;
51492 _ACEOF
51493 rm -f conftest.$ac_objext conftest$ac_exeext
51494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51495 (eval $ac_link) 2>conftest.er1
51496 ac_status=$?
51497 grep -v '^ *+' conftest.er1 >conftest.err
51498 rm -f conftest.er1
51499 cat conftest.err >&5
51500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51501 (exit $ac_status); } &&
51502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51504 (eval $ac_try) 2>&5
51505 ac_status=$?
51506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51507 (exit $ac_status); }; } &&
51508 { ac_try='test -s conftest$ac_exeext'
51509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51510 (eval $ac_try) 2>&5
51511 ac_status=$?
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); }; }; then
51514 ac_cv_lib_iconv_iconv=yes
51515 else
51516 echo "$as_me: failed program was:" >&5
51517 sed 's/^/| /' conftest.$ac_ext >&5
51519 ac_cv_lib_iconv_iconv=no
51521 rm -f conftest.err conftest.$ac_objext \
51522 conftest$ac_exeext conftest.$ac_ext
51523 LIBS=$ac_check_lib_save_LIBS
51525 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51526 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51527 if test $ac_cv_lib_iconv_iconv = yes; then
51528 LIBICONV="-liconv"
51531 ac_save_LIBS="$LIBS"
51532 LIBS="$LIBS $LIBICONV"
51539 for ac_func in iconv_open iconv_close iconv nl_langinfo
51541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51542 echo "$as_me:$LINENO: checking for $ac_func" >&5
51543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51544 if eval "test \"\${$as_ac_var+set}\" = set"; then
51545 echo $ECHO_N "(cached) $ECHO_C" >&6
51546 else
51547 if test x$gcc_no_link = xyes; then
51548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51550 { (exit 1); exit 1; }; }
51552 cat >conftest.$ac_ext <<_ACEOF
51553 /* confdefs.h. */
51554 _ACEOF
51555 cat confdefs.h >>conftest.$ac_ext
51556 cat >>conftest.$ac_ext <<_ACEOF
51557 /* end confdefs.h. */
51558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51560 #define $ac_func innocuous_$ac_func
51562 /* System header to define __stub macros and hopefully few prototypes,
51563 which can conflict with char $ac_func (); below.
51564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51565 <limits.h> exists even on freestanding compilers. */
51567 #ifdef __STDC__
51568 # include <limits.h>
51569 #else
51570 # include <assert.h>
51571 #endif
51573 #undef $ac_func
51575 /* Override any gcc2 internal prototype to avoid an error. */
51576 #ifdef __cplusplus
51577 extern "C"
51579 #endif
51580 /* We use char because int might match the return type of a gcc2
51581 builtin and then its argument prototype would still apply. */
51582 char $ac_func ();
51583 /* The GNU C library defines this for functions which it implements
51584 to always fail with ENOSYS. Some functions are actually named
51585 something starting with __ and the normal name is an alias. */
51586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51587 choke me
51588 #else
51589 char (*f) () = $ac_func;
51590 #endif
51591 #ifdef __cplusplus
51593 #endif
51596 main ()
51598 return f != $ac_func;
51600 return 0;
51602 _ACEOF
51603 rm -f conftest.$ac_objext conftest$ac_exeext
51604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51605 (eval $ac_link) 2>conftest.er1
51606 ac_status=$?
51607 grep -v '^ *+' conftest.er1 >conftest.err
51608 rm -f conftest.er1
51609 cat conftest.err >&5
51610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51611 (exit $ac_status); } &&
51612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51614 (eval $ac_try) 2>&5
51615 ac_status=$?
51616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617 (exit $ac_status); }; } &&
51618 { ac_try='test -s conftest$ac_exeext'
51619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51620 (eval $ac_try) 2>&5
51621 ac_status=$?
51622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51623 (exit $ac_status); }; }; then
51624 eval "$as_ac_var=yes"
51625 else
51626 echo "$as_me: failed program was:" >&5
51627 sed 's/^/| /' conftest.$ac_ext >&5
51629 eval "$as_ac_var=no"
51631 rm -f conftest.err conftest.$ac_objext \
51632 conftest$ac_exeext conftest.$ac_ext
51634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51636 if test `eval echo '${'$as_ac_var'}'` = yes; then
51637 cat >>confdefs.h <<_ACEOF
51638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51639 _ACEOF
51640 ac_XPG2funcs=yes
51641 else
51642 ac_XPG2funcs=no
51644 done
51647 LIBS="$ac_save_LIBS"
51649 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
51650 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
51651 if test x"$ac_has_iconv_h" = xyes &&
51652 test x"$ac_has_langinfo_h" = xyes &&
51653 test x"$ac_XPG2funcs" = xyes;
51654 then
51655 ac_XPG2_wchar_t=yes
51656 else
51657 ac_XPG2_wchar_t=no
51659 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
51660 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
51662 # At the moment, only enable wchar_t specializations if all the
51663 # above support is present.
51664 if test x"$ac_isoC99_wchar_t" = xyes &&
51665 test x"$ac_XPG2_wchar_t" = xyes;
51666 then
51667 cat >>confdefs.h <<\_ACEOF
51668 #define _GLIBCXX_USE_WCHAR_T 1
51669 _ACEOF
51671 enable_wchar_t=yes
51674 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51675 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51676 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51677 echo "${ECHO_T}$enable_wchar_t" >&6
51680 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51681 ac_save_CXXFLAGS="$CXXFLAGS"
51682 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51685 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51686 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51687 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51688 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51689 echo $ECHO_N "(cached) $ECHO_C" >&6
51690 else
51694 ac_ext=cc
51695 ac_cpp='$CXXCPP $CPPFLAGS'
51696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51700 cat >conftest.$ac_ext <<_ACEOF
51701 /* confdefs.h. */
51702 _ACEOF
51703 cat confdefs.h >>conftest.$ac_ext
51704 cat >>conftest.$ac_ext <<_ACEOF
51705 /* end confdefs.h. */
51706 #include <stdlib.h>
51708 main ()
51710 strtold(0, 0);
51712 return 0;
51714 _ACEOF
51715 rm -f conftest.$ac_objext
51716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51717 (eval $ac_compile) 2>conftest.er1
51718 ac_status=$?
51719 grep -v '^ *+' conftest.er1 >conftest.err
51720 rm -f conftest.er1
51721 cat conftest.err >&5
51722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51723 (exit $ac_status); } &&
51724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51726 (eval $ac_try) 2>&5
51727 ac_status=$?
51728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51729 (exit $ac_status); }; } &&
51730 { ac_try='test -s conftest.$ac_objext'
51731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51732 (eval $ac_try) 2>&5
51733 ac_status=$?
51734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51735 (exit $ac_status); }; }; then
51736 glibcxx_cv_func_strtold_use=yes
51737 else
51738 echo "$as_me: failed program was:" >&5
51739 sed 's/^/| /' conftest.$ac_ext >&5
51741 glibcxx_cv_func_strtold_use=no
51743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51744 ac_ext=c
51745 ac_cpp='$CPP $CPPFLAGS'
51746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51755 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51756 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51758 for ac_func in strtold
51760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51761 echo "$as_me:$LINENO: checking for $ac_func" >&5
51762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51763 if eval "test \"\${$as_ac_var+set}\" = set"; then
51764 echo $ECHO_N "(cached) $ECHO_C" >&6
51765 else
51766 if test x$gcc_no_link = xyes; then
51767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51769 { (exit 1); exit 1; }; }
51771 cat >conftest.$ac_ext <<_ACEOF
51772 /* confdefs.h. */
51773 _ACEOF
51774 cat confdefs.h >>conftest.$ac_ext
51775 cat >>conftest.$ac_ext <<_ACEOF
51776 /* end confdefs.h. */
51777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51779 #define $ac_func innocuous_$ac_func
51781 /* System header to define __stub macros and hopefully few prototypes,
51782 which can conflict with char $ac_func (); below.
51783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51784 <limits.h> exists even on freestanding compilers. */
51786 #ifdef __STDC__
51787 # include <limits.h>
51788 #else
51789 # include <assert.h>
51790 #endif
51792 #undef $ac_func
51794 /* Override any gcc2 internal prototype to avoid an error. */
51795 #ifdef __cplusplus
51796 extern "C"
51798 #endif
51799 /* We use char because int might match the return type of a gcc2
51800 builtin and then its argument prototype would still apply. */
51801 char $ac_func ();
51802 /* The GNU C library defines this for functions which it implements
51803 to always fail with ENOSYS. Some functions are actually named
51804 something starting with __ and the normal name is an alias. */
51805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51806 choke me
51807 #else
51808 char (*f) () = $ac_func;
51809 #endif
51810 #ifdef __cplusplus
51812 #endif
51815 main ()
51817 return f != $ac_func;
51819 return 0;
51821 _ACEOF
51822 rm -f conftest.$ac_objext conftest$ac_exeext
51823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51824 (eval $ac_link) 2>conftest.er1
51825 ac_status=$?
51826 grep -v '^ *+' conftest.er1 >conftest.err
51827 rm -f conftest.er1
51828 cat conftest.err >&5
51829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51830 (exit $ac_status); } &&
51831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51833 (eval $ac_try) 2>&5
51834 ac_status=$?
51835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51836 (exit $ac_status); }; } &&
51837 { ac_try='test -s conftest$ac_exeext'
51838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51839 (eval $ac_try) 2>&5
51840 ac_status=$?
51841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51842 (exit $ac_status); }; }; then
51843 eval "$as_ac_var=yes"
51844 else
51845 echo "$as_me: failed program was:" >&5
51846 sed 's/^/| /' conftest.$ac_ext >&5
51848 eval "$as_ac_var=no"
51850 rm -f conftest.err conftest.$ac_objext \
51851 conftest$ac_exeext conftest.$ac_ext
51853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51855 if test `eval echo '${'$as_ac_var'}'` = yes; then
51856 cat >>confdefs.h <<_ACEOF
51857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51858 _ACEOF
51861 done
51866 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51867 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51868 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51869 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51870 echo $ECHO_N "(cached) $ECHO_C" >&6
51871 else
51875 ac_ext=cc
51876 ac_cpp='$CXXCPP $CPPFLAGS'
51877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51881 cat >conftest.$ac_ext <<_ACEOF
51882 /* confdefs.h. */
51883 _ACEOF
51884 cat confdefs.h >>conftest.$ac_ext
51885 cat >>conftest.$ac_ext <<_ACEOF
51886 /* end confdefs.h. */
51887 #include <stdlib.h>
51889 main ()
51891 strtof(0, 0);
51893 return 0;
51895 _ACEOF
51896 rm -f conftest.$ac_objext
51897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51898 (eval $ac_compile) 2>conftest.er1
51899 ac_status=$?
51900 grep -v '^ *+' conftest.er1 >conftest.err
51901 rm -f conftest.er1
51902 cat conftest.err >&5
51903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51904 (exit $ac_status); } &&
51905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51907 (eval $ac_try) 2>&5
51908 ac_status=$?
51909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51910 (exit $ac_status); }; } &&
51911 { ac_try='test -s conftest.$ac_objext'
51912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51913 (eval $ac_try) 2>&5
51914 ac_status=$?
51915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51916 (exit $ac_status); }; }; then
51917 glibcxx_cv_func_strtof_use=yes
51918 else
51919 echo "$as_me: failed program was:" >&5
51920 sed 's/^/| /' conftest.$ac_ext >&5
51922 glibcxx_cv_func_strtof_use=no
51924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51925 ac_ext=c
51926 ac_cpp='$CPP $CPPFLAGS'
51927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51936 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51937 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51939 for ac_func in strtof
51941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51942 echo "$as_me:$LINENO: checking for $ac_func" >&5
51943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51944 if eval "test \"\${$as_ac_var+set}\" = set"; then
51945 echo $ECHO_N "(cached) $ECHO_C" >&6
51946 else
51947 if test x$gcc_no_link = xyes; then
51948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51950 { (exit 1); exit 1; }; }
51952 cat >conftest.$ac_ext <<_ACEOF
51953 /* confdefs.h. */
51954 _ACEOF
51955 cat confdefs.h >>conftest.$ac_ext
51956 cat >>conftest.$ac_ext <<_ACEOF
51957 /* end confdefs.h. */
51958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51960 #define $ac_func innocuous_$ac_func
51962 /* System header to define __stub macros and hopefully few prototypes,
51963 which can conflict with char $ac_func (); below.
51964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51965 <limits.h> exists even on freestanding compilers. */
51967 #ifdef __STDC__
51968 # include <limits.h>
51969 #else
51970 # include <assert.h>
51971 #endif
51973 #undef $ac_func
51975 /* Override any gcc2 internal prototype to avoid an error. */
51976 #ifdef __cplusplus
51977 extern "C"
51979 #endif
51980 /* We use char because int might match the return type of a gcc2
51981 builtin and then its argument prototype would still apply. */
51982 char $ac_func ();
51983 /* The GNU C library defines this for functions which it implements
51984 to always fail with ENOSYS. Some functions are actually named
51985 something starting with __ and the normal name is an alias. */
51986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51987 choke me
51988 #else
51989 char (*f) () = $ac_func;
51990 #endif
51991 #ifdef __cplusplus
51993 #endif
51996 main ()
51998 return f != $ac_func;
52000 return 0;
52002 _ACEOF
52003 rm -f conftest.$ac_objext conftest$ac_exeext
52004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52005 (eval $ac_link) 2>conftest.er1
52006 ac_status=$?
52007 grep -v '^ *+' conftest.er1 >conftest.err
52008 rm -f conftest.er1
52009 cat conftest.err >&5
52010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52011 (exit $ac_status); } &&
52012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52014 (eval $ac_try) 2>&5
52015 ac_status=$?
52016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52017 (exit $ac_status); }; } &&
52018 { ac_try='test -s conftest$ac_exeext'
52019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52020 (eval $ac_try) 2>&5
52021 ac_status=$?
52022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52023 (exit $ac_status); }; }; then
52024 eval "$as_ac_var=yes"
52025 else
52026 echo "$as_me: failed program was:" >&5
52027 sed 's/^/| /' conftest.$ac_ext >&5
52029 eval "$as_ac_var=no"
52031 rm -f conftest.err conftest.$ac_objext \
52032 conftest$ac_exeext conftest.$ac_ext
52034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52036 if test `eval echo '${'$as_ac_var'}'` = yes; then
52037 cat >>confdefs.h <<_ACEOF
52038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52039 _ACEOF
52042 done
52047 CXXFLAGS="$ac_save_CXXFLAGS"
52050 # For showmanyc_helper().
52053 for ac_header in sys/ioctl.h sys/filio.h
52055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52057 echo "$as_me:$LINENO: checking for $ac_header" >&5
52058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52060 echo $ECHO_N "(cached) $ECHO_C" >&6
52062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52064 else
52065 # Is the header compilable?
52066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52068 cat >conftest.$ac_ext <<_ACEOF
52069 /* confdefs.h. */
52070 _ACEOF
52071 cat confdefs.h >>conftest.$ac_ext
52072 cat >>conftest.$ac_ext <<_ACEOF
52073 /* end confdefs.h. */
52074 $ac_includes_default
52075 #include <$ac_header>
52076 _ACEOF
52077 rm -f conftest.$ac_objext
52078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52079 (eval $ac_compile) 2>conftest.er1
52080 ac_status=$?
52081 grep -v '^ *+' conftest.er1 >conftest.err
52082 rm -f conftest.er1
52083 cat conftest.err >&5
52084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52085 (exit $ac_status); } &&
52086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52088 (eval $ac_try) 2>&5
52089 ac_status=$?
52090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52091 (exit $ac_status); }; } &&
52092 { ac_try='test -s conftest.$ac_objext'
52093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52094 (eval $ac_try) 2>&5
52095 ac_status=$?
52096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52097 (exit $ac_status); }; }; then
52098 ac_header_compiler=yes
52099 else
52100 echo "$as_me: failed program was:" >&5
52101 sed 's/^/| /' conftest.$ac_ext >&5
52103 ac_header_compiler=no
52105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52107 echo "${ECHO_T}$ac_header_compiler" >&6
52109 # Is the header present?
52110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52112 cat >conftest.$ac_ext <<_ACEOF
52113 /* confdefs.h. */
52114 _ACEOF
52115 cat confdefs.h >>conftest.$ac_ext
52116 cat >>conftest.$ac_ext <<_ACEOF
52117 /* end confdefs.h. */
52118 #include <$ac_header>
52119 _ACEOF
52120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52122 ac_status=$?
52123 grep -v '^ *+' conftest.er1 >conftest.err
52124 rm -f conftest.er1
52125 cat conftest.err >&5
52126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52127 (exit $ac_status); } >/dev/null; then
52128 if test -s conftest.err; then
52129 ac_cpp_err=$ac_c_preproc_warn_flag
52130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52131 else
52132 ac_cpp_err=
52134 else
52135 ac_cpp_err=yes
52137 if test -z "$ac_cpp_err"; then
52138 ac_header_preproc=yes
52139 else
52140 echo "$as_me: failed program was:" >&5
52141 sed 's/^/| /' conftest.$ac_ext >&5
52143 ac_header_preproc=no
52145 rm -f conftest.err conftest.$ac_ext
52146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52147 echo "${ECHO_T}$ac_header_preproc" >&6
52149 # So? What about this header?
52150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52151 yes:no: )
52152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52156 ac_header_preproc=yes
52158 no:yes:* )
52159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52172 cat <<\_ASBOX
52173 ## ----------------------------------------- ##
52174 ## Report this to the package-unused lists. ##
52175 ## ----------------------------------------- ##
52176 _ASBOX
52178 sed "s/^/$as_me: WARNING: /" >&2
52180 esac
52181 echo "$as_me:$LINENO: checking for $ac_header" >&5
52182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52184 echo $ECHO_N "(cached) $ECHO_C" >&6
52185 else
52186 eval "$as_ac_Header=\$ac_header_preproc"
52188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52193 cat >>confdefs.h <<_ACEOF
52194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52195 _ACEOF
52199 done
52202 if test "${glibcxx_cv_POLL+set}" = set; then
52203 echo $ECHO_N "(cached) $ECHO_C" >&6
52204 else
52206 if test x$gcc_no_link = xyes; then
52207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52209 { (exit 1); exit 1; }; }
52211 cat >conftest.$ac_ext <<_ACEOF
52212 /* confdefs.h. */
52213 _ACEOF
52214 cat confdefs.h >>conftest.$ac_ext
52215 cat >>conftest.$ac_ext <<_ACEOF
52216 /* end confdefs.h. */
52217 #include <poll.h>
52219 main ()
52221 struct pollfd pfd[1];
52222 pfd[0].events = POLLIN;
52223 poll(pfd, 1, 0);
52225 return 0;
52227 _ACEOF
52228 rm -f conftest.$ac_objext conftest$ac_exeext
52229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52230 (eval $ac_link) 2>conftest.er1
52231 ac_status=$?
52232 grep -v '^ *+' conftest.er1 >conftest.err
52233 rm -f conftest.er1
52234 cat conftest.err >&5
52235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52236 (exit $ac_status); } &&
52237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52239 (eval $ac_try) 2>&5
52240 ac_status=$?
52241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52242 (exit $ac_status); }; } &&
52243 { ac_try='test -s conftest$ac_exeext'
52244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52245 (eval $ac_try) 2>&5
52246 ac_status=$?
52247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52248 (exit $ac_status); }; }; then
52249 glibcxx_cv_POLL=yes
52250 else
52251 echo "$as_me: failed program was:" >&5
52252 sed 's/^/| /' conftest.$ac_ext >&5
52254 glibcxx_cv_POLL=no
52256 rm -f conftest.err conftest.$ac_objext \
52257 conftest$ac_exeext conftest.$ac_ext
52261 if test $glibcxx_cv_POLL = yes; then
52262 cat >>confdefs.h <<\_ACEOF
52263 #define HAVE_POLL 1
52264 _ACEOF
52269 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52270 echo $ECHO_N "(cached) $ECHO_C" >&6
52271 else
52273 if test x$gcc_no_link = xyes; then
52274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52276 { (exit 1); exit 1; }; }
52278 cat >conftest.$ac_ext <<_ACEOF
52279 /* confdefs.h. */
52280 _ACEOF
52281 cat confdefs.h >>conftest.$ac_ext
52282 cat >>conftest.$ac_ext <<_ACEOF
52283 /* end confdefs.h. */
52284 #include <sys/stat.h>
52286 main ()
52288 struct stat buffer;
52289 fstat(0, &buffer);
52290 S_ISREG(buffer.st_mode);
52292 return 0;
52294 _ACEOF
52295 rm -f conftest.$ac_objext conftest$ac_exeext
52296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52297 (eval $ac_link) 2>conftest.er1
52298 ac_status=$?
52299 grep -v '^ *+' conftest.er1 >conftest.err
52300 rm -f conftest.er1
52301 cat conftest.err >&5
52302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52303 (exit $ac_status); } &&
52304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52306 (eval $ac_try) 2>&5
52307 ac_status=$?
52308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52309 (exit $ac_status); }; } &&
52310 { ac_try='test -s conftest$ac_exeext'
52311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52312 (eval $ac_try) 2>&5
52313 ac_status=$?
52314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52315 (exit $ac_status); }; }; then
52316 glibcxx_cv_S_ISREG=yes
52317 else
52318 echo "$as_me: failed program was:" >&5
52319 sed 's/^/| /' conftest.$ac_ext >&5
52321 glibcxx_cv_S_ISREG=no
52323 rm -f conftest.err conftest.$ac_objext \
52324 conftest$ac_exeext conftest.$ac_ext
52328 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52329 echo $ECHO_N "(cached) $ECHO_C" >&6
52330 else
52332 if test x$gcc_no_link = xyes; then
52333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52335 { (exit 1); exit 1; }; }
52337 cat >conftest.$ac_ext <<_ACEOF
52338 /* confdefs.h. */
52339 _ACEOF
52340 cat confdefs.h >>conftest.$ac_ext
52341 cat >>conftest.$ac_ext <<_ACEOF
52342 /* end confdefs.h. */
52343 #include <sys/stat.h>
52345 main ()
52347 struct stat buffer;
52348 fstat(0, &buffer);
52349 S_IFREG & buffer.st_mode;
52351 return 0;
52353 _ACEOF
52354 rm -f conftest.$ac_objext conftest$ac_exeext
52355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52356 (eval $ac_link) 2>conftest.er1
52357 ac_status=$?
52358 grep -v '^ *+' conftest.er1 >conftest.err
52359 rm -f conftest.er1
52360 cat conftest.err >&5
52361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52362 (exit $ac_status); } &&
52363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52365 (eval $ac_try) 2>&5
52366 ac_status=$?
52367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52368 (exit $ac_status); }; } &&
52369 { ac_try='test -s conftest$ac_exeext'
52370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52371 (eval $ac_try) 2>&5
52372 ac_status=$?
52373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52374 (exit $ac_status); }; }; then
52375 glibcxx_cv_S_IFREG=yes
52376 else
52377 echo "$as_me: failed program was:" >&5
52378 sed 's/^/| /' conftest.$ac_ext >&5
52380 glibcxx_cv_S_IFREG=no
52382 rm -f conftest.err conftest.$ac_objext \
52383 conftest$ac_exeext conftest.$ac_ext
52387 if test $glibcxx_cv_S_ISREG = yes; then
52388 cat >>confdefs.h <<\_ACEOF
52389 #define HAVE_S_ISREG 1
52390 _ACEOF
52392 elif test $glibcxx_cv_S_IFREG = yes; then
52393 cat >>confdefs.h <<\_ACEOF
52394 #define HAVE_S_IFREG 1
52395 _ACEOF
52400 # For xsputn_2().
52402 for ac_header in sys/uio.h
52404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52406 echo "$as_me:$LINENO: checking for $ac_header" >&5
52407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52409 echo $ECHO_N "(cached) $ECHO_C" >&6
52411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52413 else
52414 # Is the header compilable?
52415 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52417 cat >conftest.$ac_ext <<_ACEOF
52418 /* confdefs.h. */
52419 _ACEOF
52420 cat confdefs.h >>conftest.$ac_ext
52421 cat >>conftest.$ac_ext <<_ACEOF
52422 /* end confdefs.h. */
52423 $ac_includes_default
52424 #include <$ac_header>
52425 _ACEOF
52426 rm -f conftest.$ac_objext
52427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52428 (eval $ac_compile) 2>conftest.er1
52429 ac_status=$?
52430 grep -v '^ *+' conftest.er1 >conftest.err
52431 rm -f conftest.er1
52432 cat conftest.err >&5
52433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52434 (exit $ac_status); } &&
52435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52437 (eval $ac_try) 2>&5
52438 ac_status=$?
52439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52440 (exit $ac_status); }; } &&
52441 { ac_try='test -s conftest.$ac_objext'
52442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52443 (eval $ac_try) 2>&5
52444 ac_status=$?
52445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52446 (exit $ac_status); }; }; then
52447 ac_header_compiler=yes
52448 else
52449 echo "$as_me: failed program was:" >&5
52450 sed 's/^/| /' conftest.$ac_ext >&5
52452 ac_header_compiler=no
52454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52456 echo "${ECHO_T}$ac_header_compiler" >&6
52458 # Is the header present?
52459 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52461 cat >conftest.$ac_ext <<_ACEOF
52462 /* confdefs.h. */
52463 _ACEOF
52464 cat confdefs.h >>conftest.$ac_ext
52465 cat >>conftest.$ac_ext <<_ACEOF
52466 /* end confdefs.h. */
52467 #include <$ac_header>
52468 _ACEOF
52469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52471 ac_status=$?
52472 grep -v '^ *+' conftest.er1 >conftest.err
52473 rm -f conftest.er1
52474 cat conftest.err >&5
52475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52476 (exit $ac_status); } >/dev/null; then
52477 if test -s conftest.err; then
52478 ac_cpp_err=$ac_c_preproc_warn_flag
52479 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52480 else
52481 ac_cpp_err=
52483 else
52484 ac_cpp_err=yes
52486 if test -z "$ac_cpp_err"; then
52487 ac_header_preproc=yes
52488 else
52489 echo "$as_me: failed program was:" >&5
52490 sed 's/^/| /' conftest.$ac_ext >&5
52492 ac_header_preproc=no
52494 rm -f conftest.err conftest.$ac_ext
52495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52496 echo "${ECHO_T}$ac_header_preproc" >&6
52498 # So? What about this header?
52499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52500 yes:no: )
52501 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52502 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52504 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52505 ac_header_preproc=yes
52507 no:yes:* )
52508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52512 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52513 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52514 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52515 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52517 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52518 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52519 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52521 cat <<\_ASBOX
52522 ## ----------------------------------------- ##
52523 ## Report this to the package-unused lists. ##
52524 ## ----------------------------------------- ##
52525 _ASBOX
52527 sed "s/^/$as_me: WARNING: /" >&2
52529 esac
52530 echo "$as_me:$LINENO: checking for $ac_header" >&5
52531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52533 echo $ECHO_N "(cached) $ECHO_C" >&6
52534 else
52535 eval "$as_ac_Header=\$ac_header_preproc"
52537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52542 cat >>confdefs.h <<_ACEOF
52543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52544 _ACEOF
52548 done
52551 if test "${glibcxx_cv_WRITEV+set}" = set; then
52552 echo $ECHO_N "(cached) $ECHO_C" >&6
52553 else
52555 if test x$gcc_no_link = xyes; then
52556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52558 { (exit 1); exit 1; }; }
52560 cat >conftest.$ac_ext <<_ACEOF
52561 /* confdefs.h. */
52562 _ACEOF
52563 cat confdefs.h >>conftest.$ac_ext
52564 cat >>conftest.$ac_ext <<_ACEOF
52565 /* end confdefs.h. */
52566 #include <sys/uio.h>
52568 main ()
52570 struct iovec iov[2];
52571 writev(0, iov, 0);
52573 return 0;
52575 _ACEOF
52576 rm -f conftest.$ac_objext conftest$ac_exeext
52577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52578 (eval $ac_link) 2>conftest.er1
52579 ac_status=$?
52580 grep -v '^ *+' conftest.er1 >conftest.err
52581 rm -f conftest.er1
52582 cat conftest.err >&5
52583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52584 (exit $ac_status); } &&
52585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52587 (eval $ac_try) 2>&5
52588 ac_status=$?
52589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52590 (exit $ac_status); }; } &&
52591 { ac_try='test -s conftest$ac_exeext'
52592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52593 (eval $ac_try) 2>&5
52594 ac_status=$?
52595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52596 (exit $ac_status); }; }; then
52597 glibcxx_cv_WRITEV=yes
52598 else
52599 echo "$as_me: failed program was:" >&5
52600 sed 's/^/| /' conftest.$ac_ext >&5
52602 glibcxx_cv_WRITEV=no
52604 rm -f conftest.err conftest.$ac_objext \
52605 conftest$ac_exeext conftest.$ac_ext
52609 if test $glibcxx_cv_WRITEV = yes; then
52610 cat >>confdefs.h <<\_ACEOF
52611 #define HAVE_WRITEV 1
52612 _ACEOF
52617 cat >>confdefs.h <<\_ACEOF
52618 #define HAVE_LC_MESSAGES 1
52619 _ACEOF
52622 cat >conftest.$ac_ext <<_ACEOF
52623 /* confdefs.h. */
52624 _ACEOF
52625 cat confdefs.h >>conftest.$ac_ext
52626 cat >>conftest.$ac_ext <<_ACEOF
52627 /* end confdefs.h. */
52628 #include <setjmp.h>
52630 main ()
52632 sigjmp_buf env;
52633 while (! sigsetjmp (env, 1))
52634 siglongjmp (env, 1);
52637 return 0;
52639 _ACEOF
52640 rm -f conftest.$ac_objext
52641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52642 (eval $ac_compile) 2>conftest.er1
52643 ac_status=$?
52644 grep -v '^ *+' conftest.er1 >conftest.err
52645 rm -f conftest.er1
52646 cat conftest.err >&5
52647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52648 (exit $ac_status); } &&
52649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52651 (eval $ac_try) 2>&5
52652 ac_status=$?
52653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52654 (exit $ac_status); }; } &&
52655 { ac_try='test -s conftest.$ac_objext'
52656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52657 (eval $ac_try) 2>&5
52658 ac_status=$?
52659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52660 (exit $ac_status); }; }; then
52662 cat >>confdefs.h <<\_ACEOF
52663 #define HAVE_SIGSETJMP 1
52664 _ACEOF
52666 else
52667 echo "$as_me: failed program was:" >&5
52668 sed 's/^/| /' conftest.$ac_ext >&5
52671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52673 cat >>confdefs.h <<\_ACEOF
52674 #define HAVE_MMAP 1
52675 _ACEOF
52679 *djgpp)
52700 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52701 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52702 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52703 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52707 echo "$as_me:$LINENO: checking for $ac_header" >&5
52708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52710 echo $ECHO_N "(cached) $ECHO_C" >&6
52712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52714 else
52715 # Is the header compilable?
52716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52718 cat >conftest.$ac_ext <<_ACEOF
52719 /* confdefs.h. */
52720 _ACEOF
52721 cat confdefs.h >>conftest.$ac_ext
52722 cat >>conftest.$ac_ext <<_ACEOF
52723 /* end confdefs.h. */
52724 $ac_includes_default
52725 #include <$ac_header>
52726 _ACEOF
52727 rm -f conftest.$ac_objext
52728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52729 (eval $ac_compile) 2>conftest.er1
52730 ac_status=$?
52731 grep -v '^ *+' conftest.er1 >conftest.err
52732 rm -f conftest.er1
52733 cat conftest.err >&5
52734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52735 (exit $ac_status); } &&
52736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52738 (eval $ac_try) 2>&5
52739 ac_status=$?
52740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52741 (exit $ac_status); }; } &&
52742 { ac_try='test -s conftest.$ac_objext'
52743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52744 (eval $ac_try) 2>&5
52745 ac_status=$?
52746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52747 (exit $ac_status); }; }; then
52748 ac_header_compiler=yes
52749 else
52750 echo "$as_me: failed program was:" >&5
52751 sed 's/^/| /' conftest.$ac_ext >&5
52753 ac_header_compiler=no
52755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52757 echo "${ECHO_T}$ac_header_compiler" >&6
52759 # Is the header present?
52760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52762 cat >conftest.$ac_ext <<_ACEOF
52763 /* confdefs.h. */
52764 _ACEOF
52765 cat confdefs.h >>conftest.$ac_ext
52766 cat >>conftest.$ac_ext <<_ACEOF
52767 /* end confdefs.h. */
52768 #include <$ac_header>
52769 _ACEOF
52770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52772 ac_status=$?
52773 grep -v '^ *+' conftest.er1 >conftest.err
52774 rm -f conftest.er1
52775 cat conftest.err >&5
52776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52777 (exit $ac_status); } >/dev/null; then
52778 if test -s conftest.err; then
52779 ac_cpp_err=$ac_c_preproc_warn_flag
52780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52781 else
52782 ac_cpp_err=
52784 else
52785 ac_cpp_err=yes
52787 if test -z "$ac_cpp_err"; then
52788 ac_header_preproc=yes
52789 else
52790 echo "$as_me: failed program was:" >&5
52791 sed 's/^/| /' conftest.$ac_ext >&5
52793 ac_header_preproc=no
52795 rm -f conftest.err conftest.$ac_ext
52796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52797 echo "${ECHO_T}$ac_header_preproc" >&6
52799 # So? What about this header?
52800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52801 yes:no: )
52802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52806 ac_header_preproc=yes
52808 no:yes:* )
52809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52822 cat <<\_ASBOX
52823 ## ----------------------------------------- ##
52824 ## Report this to the package-unused lists. ##
52825 ## ----------------------------------------- ##
52826 _ASBOX
52828 sed "s/^/$as_me: WARNING: /" >&2
52830 esac
52831 echo "$as_me:$LINENO: checking for $ac_header" >&5
52832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52834 echo $ECHO_N "(cached) $ECHO_C" >&6
52835 else
52836 eval "$as_ac_Header=\$ac_header_preproc"
52838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52843 cat >>confdefs.h <<_ACEOF
52844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52845 _ACEOF
52849 done
52852 # All these tests are for C++; save the language and the compiler flags.
52853 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52854 # found in GLIBCXX_CONFIGURE.
52857 ac_ext=cc
52858 ac_cpp='$CXXCPP $CPPFLAGS'
52859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52863 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52864 ac_save_CXXFLAGS="$CXXFLAGS"
52866 # Check for maintainer-mode bits.
52867 if test x"$USE_MAINTAINER_MODE" = xno; then
52868 WERROR=''
52869 else
52870 WERROR='-Werror'
52873 # Check for -ffunction-sections -fdata-sections
52874 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52875 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52876 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52877 cat >conftest.$ac_ext <<_ACEOF
52878 /* confdefs.h. */
52879 _ACEOF
52880 cat confdefs.h >>conftest.$ac_ext
52881 cat >>conftest.$ac_ext <<_ACEOF
52882 /* end confdefs.h. */
52885 main ()
52887 int foo;
52889 return 0;
52891 _ACEOF
52892 rm -f conftest.$ac_objext
52893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52894 (eval $ac_compile) 2>conftest.er1
52895 ac_status=$?
52896 grep -v '^ *+' conftest.er1 >conftest.err
52897 rm -f conftest.er1
52898 cat conftest.err >&5
52899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52900 (exit $ac_status); } &&
52901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
52902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52903 (eval $ac_try) 2>&5
52904 ac_status=$?
52905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52906 (exit $ac_status); }; } &&
52907 { ac_try='test -s conftest.$ac_objext'
52908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52909 (eval $ac_try) 2>&5
52910 ac_status=$?
52911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52912 (exit $ac_status); }; }; then
52913 ac_fdsections=yes
52914 else
52915 echo "$as_me: failed program was:" >&5
52916 sed 's/^/| /' conftest.$ac_ext >&5
52918 ac_fdsections=no
52920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52921 if test "$ac_test_CXXFLAGS" = set; then
52922 CXXFLAGS="$ac_save_CXXFLAGS"
52923 else
52924 # this is the suspicious part
52925 CXXFLAGS=''
52927 if test x"$ac_fdsections" = x"yes"; then
52928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52930 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52931 echo "${ECHO_T}$ac_fdsections" >&6
52933 ac_ext=c
52934 ac_cpp='$CPP $CPPFLAGS'
52935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52943 # If we're not using GNU ld, then there's no point in even trying these
52944 # tests. Check for that first. We should have already tested for gld
52945 # by now (in libtool), but require it now just to be safe...
52946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52951 # The name set by libtool depends on the version of libtool. Shame on us
52952 # for depending on an impl detail, but c'est la vie. Older versions used
52953 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52954 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52955 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52956 # set (hence we're using an older libtool), then set it.
52957 if test x${with_gnu_ld+set} != xset; then
52958 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52959 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52960 with_gnu_ld=no
52961 else
52962 with_gnu_ld=$ac_cv_prog_gnu_ld
52966 # Start by getting the version number. I think the libtool test already
52967 # does some of this, but throws away the result.
52969 ldver=`$LD --version 2>/dev/null | head -1 | \
52970 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52972 glibcxx_gnu_ld_version=`echo $ldver | \
52973 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52975 # Set --gc-sections.
52976 if test "$with_gnu_ld" = "notbroken"; then
52977 # GNU ld it is! Joy and bunny rabbits!
52979 # All these tests are for C++; save the language and the compiler flags.
52980 # Need to do this so that g++ won't try to link in libstdc++
52981 ac_test_CFLAGS="${CFLAGS+set}"
52982 ac_save_CFLAGS="$CFLAGS"
52983 CFLAGS='-x c++ -Wl,--gc-sections'
52985 # Check for -Wl,--gc-sections
52986 # XXX This test is broken at the moment, as symbols required for linking
52987 # are now in libsupc++ (not built yet). In addition, this test has
52988 # cored on solaris in the past. In addition, --gc-sections doesn't
52989 # really work at the moment (keeps on discarding used sections, first
52990 # .eh_frame and now some of the glibc sections for iconv).
52991 # Bzzzzt. Thanks for playing, maybe next time.
52992 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52993 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52994 if test "$cross_compiling" = yes; then
52995 ac_sectionLDflags=yes
52996 else
52997 cat >conftest.$ac_ext <<_ACEOF
52998 /* confdefs.h. */
52999 _ACEOF
53000 cat confdefs.h >>conftest.$ac_ext
53001 cat >>conftest.$ac_ext <<_ACEOF
53002 /* end confdefs.h. */
53004 int main(void)
53006 try { throw 1; }
53007 catch (...) { };
53008 return 0;
53011 _ACEOF
53012 rm -f conftest$ac_exeext
53013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53014 (eval $ac_link) 2>&5
53015 ac_status=$?
53016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53019 (eval $ac_try) 2>&5
53020 ac_status=$?
53021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53022 (exit $ac_status); }; }; then
53023 ac_sectionLDflags=yes
53024 else
53025 echo "$as_me: program exited with status $ac_status" >&5
53026 echo "$as_me: failed program was:" >&5
53027 sed 's/^/| /' conftest.$ac_ext >&5
53029 ( exit $ac_status )
53030 ac_sectionLDflags=no
53032 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53034 if test "$ac_test_CFLAGS" = set; then
53035 CFLAGS="$ac_save_CFLAGS"
53036 else
53037 # this is the suspicious part
53038 CFLAGS=''
53040 if test "$ac_sectionLDflags" = "yes"; then
53041 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53043 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53044 echo "${ECHO_T}$ac_sectionLDflags" >&6
53047 # Set linker optimization flags.
53048 if test x"$with_gnu_ld" = x"yes"; then
53049 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53057 ac_save_CXXFLAGS="$CXXFLAGS"
53058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53060 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53061 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53062 if test "${ac_cv_lib_m_sin+set}" = set; then
53063 echo $ECHO_N "(cached) $ECHO_C" >&6
53064 else
53065 ac_check_lib_save_LIBS=$LIBS
53066 LIBS="-lm $LIBS"
53067 if test x$gcc_no_link = xyes; then
53068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53070 { (exit 1); exit 1; }; }
53072 cat >conftest.$ac_ext <<_ACEOF
53073 /* confdefs.h. */
53074 _ACEOF
53075 cat confdefs.h >>conftest.$ac_ext
53076 cat >>conftest.$ac_ext <<_ACEOF
53077 /* end confdefs.h. */
53079 /* Override any gcc2 internal prototype to avoid an error. */
53080 #ifdef __cplusplus
53081 extern "C"
53082 #endif
53083 /* We use char because int might match the return type of a gcc2
53084 builtin and then its argument prototype would still apply. */
53085 char sin ();
53087 main ()
53089 sin ();
53091 return 0;
53093 _ACEOF
53094 rm -f conftest.$ac_objext conftest$ac_exeext
53095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53096 (eval $ac_link) 2>conftest.er1
53097 ac_status=$?
53098 grep -v '^ *+' conftest.er1 >conftest.err
53099 rm -f conftest.er1
53100 cat conftest.err >&5
53101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53102 (exit $ac_status); } &&
53103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53105 (eval $ac_try) 2>&5
53106 ac_status=$?
53107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53108 (exit $ac_status); }; } &&
53109 { ac_try='test -s conftest$ac_exeext'
53110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53111 (eval $ac_try) 2>&5
53112 ac_status=$?
53113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53114 (exit $ac_status); }; }; then
53115 ac_cv_lib_m_sin=yes
53116 else
53117 echo "$as_me: failed program was:" >&5
53118 sed 's/^/| /' conftest.$ac_ext >&5
53120 ac_cv_lib_m_sin=no
53122 rm -f conftest.err conftest.$ac_objext \
53123 conftest$ac_exeext conftest.$ac_ext
53124 LIBS=$ac_check_lib_save_LIBS
53126 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53127 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53128 if test $ac_cv_lib_m_sin = yes; then
53129 libm="-lm"
53132 ac_save_LIBS="$LIBS"
53133 LIBS="$LIBS $libm"
53137 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53138 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53139 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53140 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53141 echo $ECHO_N "(cached) $ECHO_C" >&6
53142 else
53146 ac_ext=cc
53147 ac_cpp='$CXXCPP $CPPFLAGS'
53148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53152 cat >conftest.$ac_ext <<_ACEOF
53153 /* confdefs.h. */
53154 _ACEOF
53155 cat confdefs.h >>conftest.$ac_ext
53156 cat >>conftest.$ac_ext <<_ACEOF
53157 /* end confdefs.h. */
53158 #include <math.h>
53159 #ifdef HAVE_IEEEFP_H
53160 #include <ieeefp.h>
53161 #endif
53164 main ()
53166 isinf(0);
53168 return 0;
53170 _ACEOF
53171 rm -f conftest.$ac_objext
53172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53173 (eval $ac_compile) 2>conftest.er1
53174 ac_status=$?
53175 grep -v '^ *+' conftest.er1 >conftest.err
53176 rm -f conftest.er1
53177 cat conftest.err >&5
53178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53179 (exit $ac_status); } &&
53180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
53181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53182 (eval $ac_try) 2>&5
53183 ac_status=$?
53184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53185 (exit $ac_status); }; } &&
53186 { ac_try='test -s conftest.$ac_objext'
53187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53188 (eval $ac_try) 2>&5
53189 ac_status=$?
53190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191 (exit $ac_status); }; }; then
53192 glibcxx_cv_func_isinf_use=yes
53193 else
53194 echo "$as_me: failed program was:" >&5
53195 sed 's/^/| /' conftest.$ac_ext >&5
53197 glibcxx_cv_func_isinf_use=no
53199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53211 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53213 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53215 for ac_func in isinf
53217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53218 echo "$as_me:$LINENO: checking for $ac_func" >&5
53219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53220 if eval "test \"\${$as_ac_var+set}\" = set"; then
53221 echo $ECHO_N "(cached) $ECHO_C" >&6
53222 else
53223 if test x$gcc_no_link = xyes; then
53224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53226 { (exit 1); exit 1; }; }
53228 cat >conftest.$ac_ext <<_ACEOF
53229 /* confdefs.h. */
53230 _ACEOF
53231 cat confdefs.h >>conftest.$ac_ext
53232 cat >>conftest.$ac_ext <<_ACEOF
53233 /* end confdefs.h. */
53234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53236 #define $ac_func innocuous_$ac_func
53238 /* System header to define __stub macros and hopefully few prototypes,
53239 which can conflict with char $ac_func (); below.
53240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53241 <limits.h> exists even on freestanding compilers. */
53243 #ifdef __STDC__
53244 # include <limits.h>
53245 #else
53246 # include <assert.h>
53247 #endif
53249 #undef $ac_func
53251 /* Override any gcc2 internal prototype to avoid an error. */
53252 #ifdef __cplusplus
53253 extern "C"
53255 #endif
53256 /* We use char because int might match the return type of a gcc2
53257 builtin and then its argument prototype would still apply. */
53258 char $ac_func ();
53259 /* The GNU C library defines this for functions which it implements
53260 to always fail with ENOSYS. Some functions are actually named
53261 something starting with __ and the normal name is an alias. */
53262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53263 choke me
53264 #else
53265 char (*f) () = $ac_func;
53266 #endif
53267 #ifdef __cplusplus
53269 #endif
53272 main ()
53274 return f != $ac_func;
53276 return 0;
53278 _ACEOF
53279 rm -f conftest.$ac_objext conftest$ac_exeext
53280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53281 (eval $ac_link) 2>conftest.er1
53282 ac_status=$?
53283 grep -v '^ *+' conftest.er1 >conftest.err
53284 rm -f conftest.er1
53285 cat conftest.err >&5
53286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53287 (exit $ac_status); } &&
53288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53290 (eval $ac_try) 2>&5
53291 ac_status=$?
53292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53293 (exit $ac_status); }; } &&
53294 { ac_try='test -s conftest$ac_exeext'
53295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53296 (eval $ac_try) 2>&5
53297 ac_status=$?
53298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53299 (exit $ac_status); }; }; then
53300 eval "$as_ac_var=yes"
53301 else
53302 echo "$as_me: failed program was:" >&5
53303 sed 's/^/| /' conftest.$ac_ext >&5
53305 eval "$as_ac_var=no"
53307 rm -f conftest.err conftest.$ac_objext \
53308 conftest$ac_exeext conftest.$ac_ext
53310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53312 if test `eval echo '${'$as_ac_var'}'` = yes; then
53313 cat >>confdefs.h <<_ACEOF
53314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53315 _ACEOF
53318 done
53320 else
53322 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53323 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53324 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53325 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53326 echo $ECHO_N "(cached) $ECHO_C" >&6
53327 else
53331 ac_ext=cc
53332 ac_cpp='$CXXCPP $CPPFLAGS'
53333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53337 cat >conftest.$ac_ext <<_ACEOF
53338 /* confdefs.h. */
53339 _ACEOF
53340 cat confdefs.h >>conftest.$ac_ext
53341 cat >>conftest.$ac_ext <<_ACEOF
53342 /* end confdefs.h. */
53343 #include <math.h>
53344 #ifdef HAVE_IEEEFP_H
53345 #include <ieeefp.h>
53346 #endif
53349 main ()
53351 _isinf(0);
53353 return 0;
53355 _ACEOF
53356 rm -f conftest.$ac_objext
53357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53358 (eval $ac_compile) 2>conftest.er1
53359 ac_status=$?
53360 grep -v '^ *+' conftest.er1 >conftest.err
53361 rm -f conftest.er1
53362 cat conftest.err >&5
53363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53364 (exit $ac_status); } &&
53365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
53366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53367 (eval $ac_try) 2>&5
53368 ac_status=$?
53369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53370 (exit $ac_status); }; } &&
53371 { ac_try='test -s conftest.$ac_objext'
53372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53373 (eval $ac_try) 2>&5
53374 ac_status=$?
53375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53376 (exit $ac_status); }; }; then
53377 glibcxx_cv_func__isinf_use=yes
53378 else
53379 echo "$as_me: failed program was:" >&5
53380 sed 's/^/| /' conftest.$ac_ext >&5
53382 glibcxx_cv_func__isinf_use=no
53384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53385 ac_ext=c
53386 ac_cpp='$CPP $CPPFLAGS'
53387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53396 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53398 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53400 for ac_func in _isinf
53402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53403 echo "$as_me:$LINENO: checking for $ac_func" >&5
53404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53405 if eval "test \"\${$as_ac_var+set}\" = set"; then
53406 echo $ECHO_N "(cached) $ECHO_C" >&6
53407 else
53408 if test x$gcc_no_link = xyes; then
53409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53411 { (exit 1); exit 1; }; }
53413 cat >conftest.$ac_ext <<_ACEOF
53414 /* confdefs.h. */
53415 _ACEOF
53416 cat confdefs.h >>conftest.$ac_ext
53417 cat >>conftest.$ac_ext <<_ACEOF
53418 /* end confdefs.h. */
53419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53421 #define $ac_func innocuous_$ac_func
53423 /* System header to define __stub macros and hopefully few prototypes,
53424 which can conflict with char $ac_func (); below.
53425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53426 <limits.h> exists even on freestanding compilers. */
53428 #ifdef __STDC__
53429 # include <limits.h>
53430 #else
53431 # include <assert.h>
53432 #endif
53434 #undef $ac_func
53436 /* Override any gcc2 internal prototype to avoid an error. */
53437 #ifdef __cplusplus
53438 extern "C"
53440 #endif
53441 /* We use char because int might match the return type of a gcc2
53442 builtin and then its argument prototype would still apply. */
53443 char $ac_func ();
53444 /* The GNU C library defines this for functions which it implements
53445 to always fail with ENOSYS. Some functions are actually named
53446 something starting with __ and the normal name is an alias. */
53447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53448 choke me
53449 #else
53450 char (*f) () = $ac_func;
53451 #endif
53452 #ifdef __cplusplus
53454 #endif
53457 main ()
53459 return f != $ac_func;
53461 return 0;
53463 _ACEOF
53464 rm -f conftest.$ac_objext conftest$ac_exeext
53465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53466 (eval $ac_link) 2>conftest.er1
53467 ac_status=$?
53468 grep -v '^ *+' conftest.er1 >conftest.err
53469 rm -f conftest.er1
53470 cat conftest.err >&5
53471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53472 (exit $ac_status); } &&
53473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53475 (eval $ac_try) 2>&5
53476 ac_status=$?
53477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478 (exit $ac_status); }; } &&
53479 { ac_try='test -s conftest$ac_exeext'
53480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53481 (eval $ac_try) 2>&5
53482 ac_status=$?
53483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53484 (exit $ac_status); }; }; then
53485 eval "$as_ac_var=yes"
53486 else
53487 echo "$as_me: failed program was:" >&5
53488 sed 's/^/| /' conftest.$ac_ext >&5
53490 eval "$as_ac_var=no"
53492 rm -f conftest.err conftest.$ac_objext \
53493 conftest$ac_exeext conftest.$ac_ext
53495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53497 if test `eval echo '${'$as_ac_var'}'` = yes; then
53498 cat >>confdefs.h <<_ACEOF
53499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53500 _ACEOF
53503 done
53510 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53511 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53512 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53513 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53514 echo $ECHO_N "(cached) $ECHO_C" >&6
53515 else
53519 ac_ext=cc
53520 ac_cpp='$CXXCPP $CPPFLAGS'
53521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53525 cat >conftest.$ac_ext <<_ACEOF
53526 /* confdefs.h. */
53527 _ACEOF
53528 cat confdefs.h >>conftest.$ac_ext
53529 cat >>conftest.$ac_ext <<_ACEOF
53530 /* end confdefs.h. */
53531 #include <math.h>
53532 #ifdef HAVE_IEEEFP_H
53533 #include <ieeefp.h>
53534 #endif
53537 main ()
53539 isnan(0);
53541 return 0;
53543 _ACEOF
53544 rm -f conftest.$ac_objext
53545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53546 (eval $ac_compile) 2>conftest.er1
53547 ac_status=$?
53548 grep -v '^ *+' conftest.er1 >conftest.err
53549 rm -f conftest.er1
53550 cat conftest.err >&5
53551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53552 (exit $ac_status); } &&
53553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
53554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53555 (eval $ac_try) 2>&5
53556 ac_status=$?
53557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53558 (exit $ac_status); }; } &&
53559 { ac_try='test -s conftest.$ac_objext'
53560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53561 (eval $ac_try) 2>&5
53562 ac_status=$?
53563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53564 (exit $ac_status); }; }; then
53565 glibcxx_cv_func_isnan_use=yes
53566 else
53567 echo "$as_me: failed program was:" >&5
53568 sed 's/^/| /' conftest.$ac_ext >&5
53570 glibcxx_cv_func_isnan_use=no
53572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53573 ac_ext=c
53574 ac_cpp='$CPP $CPPFLAGS'
53575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53584 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53586 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53588 for ac_func in isnan
53590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53591 echo "$as_me:$LINENO: checking for $ac_func" >&5
53592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53593 if eval "test \"\${$as_ac_var+set}\" = set"; then
53594 echo $ECHO_N "(cached) $ECHO_C" >&6
53595 else
53596 if test x$gcc_no_link = xyes; then
53597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53599 { (exit 1); exit 1; }; }
53601 cat >conftest.$ac_ext <<_ACEOF
53602 /* confdefs.h. */
53603 _ACEOF
53604 cat confdefs.h >>conftest.$ac_ext
53605 cat >>conftest.$ac_ext <<_ACEOF
53606 /* end confdefs.h. */
53607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53609 #define $ac_func innocuous_$ac_func
53611 /* System header to define __stub macros and hopefully few prototypes,
53612 which can conflict with char $ac_func (); below.
53613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53614 <limits.h> exists even on freestanding compilers. */
53616 #ifdef __STDC__
53617 # include <limits.h>
53618 #else
53619 # include <assert.h>
53620 #endif
53622 #undef $ac_func
53624 /* Override any gcc2 internal prototype to avoid an error. */
53625 #ifdef __cplusplus
53626 extern "C"
53628 #endif
53629 /* We use char because int might match the return type of a gcc2
53630 builtin and then its argument prototype would still apply. */
53631 char $ac_func ();
53632 /* The GNU C library defines this for functions which it implements
53633 to always fail with ENOSYS. Some functions are actually named
53634 something starting with __ and the normal name is an alias. */
53635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53636 choke me
53637 #else
53638 char (*f) () = $ac_func;
53639 #endif
53640 #ifdef __cplusplus
53642 #endif
53645 main ()
53647 return f != $ac_func;
53649 return 0;
53651 _ACEOF
53652 rm -f conftest.$ac_objext conftest$ac_exeext
53653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53654 (eval $ac_link) 2>conftest.er1
53655 ac_status=$?
53656 grep -v '^ *+' conftest.er1 >conftest.err
53657 rm -f conftest.er1
53658 cat conftest.err >&5
53659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53660 (exit $ac_status); } &&
53661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53663 (eval $ac_try) 2>&5
53664 ac_status=$?
53665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53666 (exit $ac_status); }; } &&
53667 { ac_try='test -s conftest$ac_exeext'
53668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53669 (eval $ac_try) 2>&5
53670 ac_status=$?
53671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53672 (exit $ac_status); }; }; then
53673 eval "$as_ac_var=yes"
53674 else
53675 echo "$as_me: failed program was:" >&5
53676 sed 's/^/| /' conftest.$ac_ext >&5
53678 eval "$as_ac_var=no"
53680 rm -f conftest.err conftest.$ac_objext \
53681 conftest$ac_exeext conftest.$ac_ext
53683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53685 if test `eval echo '${'$as_ac_var'}'` = yes; then
53686 cat >>confdefs.h <<_ACEOF
53687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53688 _ACEOF
53691 done
53693 else
53695 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53696 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53697 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53698 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53699 echo $ECHO_N "(cached) $ECHO_C" >&6
53700 else
53704 ac_ext=cc
53705 ac_cpp='$CXXCPP $CPPFLAGS'
53706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53710 cat >conftest.$ac_ext <<_ACEOF
53711 /* confdefs.h. */
53712 _ACEOF
53713 cat confdefs.h >>conftest.$ac_ext
53714 cat >>conftest.$ac_ext <<_ACEOF
53715 /* end confdefs.h. */
53716 #include <math.h>
53717 #ifdef HAVE_IEEEFP_H
53718 #include <ieeefp.h>
53719 #endif
53722 main ()
53724 _isnan(0);
53726 return 0;
53728 _ACEOF
53729 rm -f conftest.$ac_objext
53730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53731 (eval $ac_compile) 2>conftest.er1
53732 ac_status=$?
53733 grep -v '^ *+' conftest.er1 >conftest.err
53734 rm -f conftest.er1
53735 cat conftest.err >&5
53736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53737 (exit $ac_status); } &&
53738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
53739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53740 (eval $ac_try) 2>&5
53741 ac_status=$?
53742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53743 (exit $ac_status); }; } &&
53744 { ac_try='test -s conftest.$ac_objext'
53745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53746 (eval $ac_try) 2>&5
53747 ac_status=$?
53748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53749 (exit $ac_status); }; }; then
53750 glibcxx_cv_func__isnan_use=yes
53751 else
53752 echo "$as_me: failed program was:" >&5
53753 sed 's/^/| /' conftest.$ac_ext >&5
53755 glibcxx_cv_func__isnan_use=no
53757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53758 ac_ext=c
53759 ac_cpp='$CPP $CPPFLAGS'
53760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53769 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53773 for ac_func in _isnan
53775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53776 echo "$as_me:$LINENO: checking for $ac_func" >&5
53777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53778 if eval "test \"\${$as_ac_var+set}\" = set"; then
53779 echo $ECHO_N "(cached) $ECHO_C" >&6
53780 else
53781 if test x$gcc_no_link = xyes; then
53782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53784 { (exit 1); exit 1; }; }
53786 cat >conftest.$ac_ext <<_ACEOF
53787 /* confdefs.h. */
53788 _ACEOF
53789 cat confdefs.h >>conftest.$ac_ext
53790 cat >>conftest.$ac_ext <<_ACEOF
53791 /* end confdefs.h. */
53792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53794 #define $ac_func innocuous_$ac_func
53796 /* System header to define __stub macros and hopefully few prototypes,
53797 which can conflict with char $ac_func (); below.
53798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53799 <limits.h> exists even on freestanding compilers. */
53801 #ifdef __STDC__
53802 # include <limits.h>
53803 #else
53804 # include <assert.h>
53805 #endif
53807 #undef $ac_func
53809 /* Override any gcc2 internal prototype to avoid an error. */
53810 #ifdef __cplusplus
53811 extern "C"
53813 #endif
53814 /* We use char because int might match the return type of a gcc2
53815 builtin and then its argument prototype would still apply. */
53816 char $ac_func ();
53817 /* The GNU C library defines this for functions which it implements
53818 to always fail with ENOSYS. Some functions are actually named
53819 something starting with __ and the normal name is an alias. */
53820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53821 choke me
53822 #else
53823 char (*f) () = $ac_func;
53824 #endif
53825 #ifdef __cplusplus
53827 #endif
53830 main ()
53832 return f != $ac_func;
53834 return 0;
53836 _ACEOF
53837 rm -f conftest.$ac_objext conftest$ac_exeext
53838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53839 (eval $ac_link) 2>conftest.er1
53840 ac_status=$?
53841 grep -v '^ *+' conftest.er1 >conftest.err
53842 rm -f conftest.er1
53843 cat conftest.err >&5
53844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53845 (exit $ac_status); } &&
53846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53848 (eval $ac_try) 2>&5
53849 ac_status=$?
53850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53851 (exit $ac_status); }; } &&
53852 { ac_try='test -s conftest$ac_exeext'
53853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53854 (eval $ac_try) 2>&5
53855 ac_status=$?
53856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53857 (exit $ac_status); }; }; then
53858 eval "$as_ac_var=yes"
53859 else
53860 echo "$as_me: failed program was:" >&5
53861 sed 's/^/| /' conftest.$ac_ext >&5
53863 eval "$as_ac_var=no"
53865 rm -f conftest.err conftest.$ac_objext \
53866 conftest$ac_exeext conftest.$ac_ext
53868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53870 if test `eval echo '${'$as_ac_var'}'` = yes; then
53871 cat >>confdefs.h <<_ACEOF
53872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53873 _ACEOF
53876 done
53883 echo "$as_me:$LINENO: checking for finite declaration" >&5
53884 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53885 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53886 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53887 echo $ECHO_N "(cached) $ECHO_C" >&6
53888 else
53892 ac_ext=cc
53893 ac_cpp='$CXXCPP $CPPFLAGS'
53894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53898 cat >conftest.$ac_ext <<_ACEOF
53899 /* confdefs.h. */
53900 _ACEOF
53901 cat confdefs.h >>conftest.$ac_ext
53902 cat >>conftest.$ac_ext <<_ACEOF
53903 /* end confdefs.h. */
53904 #include <math.h>
53905 #ifdef HAVE_IEEEFP_H
53906 #include <ieeefp.h>
53907 #endif
53910 main ()
53912 finite(0);
53914 return 0;
53916 _ACEOF
53917 rm -f conftest.$ac_objext
53918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53919 (eval $ac_compile) 2>conftest.er1
53920 ac_status=$?
53921 grep -v '^ *+' conftest.er1 >conftest.err
53922 rm -f conftest.er1
53923 cat conftest.err >&5
53924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925 (exit $ac_status); } &&
53926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
53927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53928 (eval $ac_try) 2>&5
53929 ac_status=$?
53930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53931 (exit $ac_status); }; } &&
53932 { ac_try='test -s conftest.$ac_objext'
53933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53934 (eval $ac_try) 2>&5
53935 ac_status=$?
53936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53937 (exit $ac_status); }; }; then
53938 glibcxx_cv_func_finite_use=yes
53939 else
53940 echo "$as_me: failed program was:" >&5
53941 sed 's/^/| /' conftest.$ac_ext >&5
53943 glibcxx_cv_func_finite_use=no
53945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53946 ac_ext=c
53947 ac_cpp='$CPP $CPPFLAGS'
53948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53957 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53959 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53961 for ac_func in finite
53963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53964 echo "$as_me:$LINENO: checking for $ac_func" >&5
53965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53966 if eval "test \"\${$as_ac_var+set}\" = set"; then
53967 echo $ECHO_N "(cached) $ECHO_C" >&6
53968 else
53969 if test x$gcc_no_link = xyes; then
53970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53972 { (exit 1); exit 1; }; }
53974 cat >conftest.$ac_ext <<_ACEOF
53975 /* confdefs.h. */
53976 _ACEOF
53977 cat confdefs.h >>conftest.$ac_ext
53978 cat >>conftest.$ac_ext <<_ACEOF
53979 /* end confdefs.h. */
53980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53982 #define $ac_func innocuous_$ac_func
53984 /* System header to define __stub macros and hopefully few prototypes,
53985 which can conflict with char $ac_func (); below.
53986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53987 <limits.h> exists even on freestanding compilers. */
53989 #ifdef __STDC__
53990 # include <limits.h>
53991 #else
53992 # include <assert.h>
53993 #endif
53995 #undef $ac_func
53997 /* Override any gcc2 internal prototype to avoid an error. */
53998 #ifdef __cplusplus
53999 extern "C"
54001 #endif
54002 /* We use char because int might match the return type of a gcc2
54003 builtin and then its argument prototype would still apply. */
54004 char $ac_func ();
54005 /* The GNU C library defines this for functions which it implements
54006 to always fail with ENOSYS. Some functions are actually named
54007 something starting with __ and the normal name is an alias. */
54008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54009 choke me
54010 #else
54011 char (*f) () = $ac_func;
54012 #endif
54013 #ifdef __cplusplus
54015 #endif
54018 main ()
54020 return f != $ac_func;
54022 return 0;
54024 _ACEOF
54025 rm -f conftest.$ac_objext conftest$ac_exeext
54026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54027 (eval $ac_link) 2>conftest.er1
54028 ac_status=$?
54029 grep -v '^ *+' conftest.er1 >conftest.err
54030 rm -f conftest.er1
54031 cat conftest.err >&5
54032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54033 (exit $ac_status); } &&
54034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54036 (eval $ac_try) 2>&5
54037 ac_status=$?
54038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54039 (exit $ac_status); }; } &&
54040 { ac_try='test -s conftest$ac_exeext'
54041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54042 (eval $ac_try) 2>&5
54043 ac_status=$?
54044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54045 (exit $ac_status); }; }; then
54046 eval "$as_ac_var=yes"
54047 else
54048 echo "$as_me: failed program was:" >&5
54049 sed 's/^/| /' conftest.$ac_ext >&5
54051 eval "$as_ac_var=no"
54053 rm -f conftest.err conftest.$ac_objext \
54054 conftest$ac_exeext conftest.$ac_ext
54056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54058 if test `eval echo '${'$as_ac_var'}'` = yes; then
54059 cat >>confdefs.h <<_ACEOF
54060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54061 _ACEOF
54064 done
54066 else
54068 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54069 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54070 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54071 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54072 echo $ECHO_N "(cached) $ECHO_C" >&6
54073 else
54077 ac_ext=cc
54078 ac_cpp='$CXXCPP $CPPFLAGS'
54079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54083 cat >conftest.$ac_ext <<_ACEOF
54084 /* confdefs.h. */
54085 _ACEOF
54086 cat confdefs.h >>conftest.$ac_ext
54087 cat >>conftest.$ac_ext <<_ACEOF
54088 /* end confdefs.h. */
54089 #include <math.h>
54090 #ifdef HAVE_IEEEFP_H
54091 #include <ieeefp.h>
54092 #endif
54095 main ()
54097 _finite(0);
54099 return 0;
54101 _ACEOF
54102 rm -f conftest.$ac_objext
54103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54104 (eval $ac_compile) 2>conftest.er1
54105 ac_status=$?
54106 grep -v '^ *+' conftest.er1 >conftest.err
54107 rm -f conftest.er1
54108 cat conftest.err >&5
54109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54110 (exit $ac_status); } &&
54111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54113 (eval $ac_try) 2>&5
54114 ac_status=$?
54115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54116 (exit $ac_status); }; } &&
54117 { ac_try='test -s conftest.$ac_objext'
54118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54119 (eval $ac_try) 2>&5
54120 ac_status=$?
54121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54122 (exit $ac_status); }; }; then
54123 glibcxx_cv_func__finite_use=yes
54124 else
54125 echo "$as_me: failed program was:" >&5
54126 sed 's/^/| /' conftest.$ac_ext >&5
54128 glibcxx_cv_func__finite_use=no
54130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54142 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54144 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54146 for ac_func in _finite
54148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54149 echo "$as_me:$LINENO: checking for $ac_func" >&5
54150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54151 if eval "test \"\${$as_ac_var+set}\" = set"; then
54152 echo $ECHO_N "(cached) $ECHO_C" >&6
54153 else
54154 if test x$gcc_no_link = xyes; then
54155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54157 { (exit 1); exit 1; }; }
54159 cat >conftest.$ac_ext <<_ACEOF
54160 /* confdefs.h. */
54161 _ACEOF
54162 cat confdefs.h >>conftest.$ac_ext
54163 cat >>conftest.$ac_ext <<_ACEOF
54164 /* end confdefs.h. */
54165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54167 #define $ac_func innocuous_$ac_func
54169 /* System header to define __stub macros and hopefully few prototypes,
54170 which can conflict with char $ac_func (); below.
54171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54172 <limits.h> exists even on freestanding compilers. */
54174 #ifdef __STDC__
54175 # include <limits.h>
54176 #else
54177 # include <assert.h>
54178 #endif
54180 #undef $ac_func
54182 /* Override any gcc2 internal prototype to avoid an error. */
54183 #ifdef __cplusplus
54184 extern "C"
54186 #endif
54187 /* We use char because int might match the return type of a gcc2
54188 builtin and then its argument prototype would still apply. */
54189 char $ac_func ();
54190 /* The GNU C library defines this for functions which it implements
54191 to always fail with ENOSYS. Some functions are actually named
54192 something starting with __ and the normal name is an alias. */
54193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54194 choke me
54195 #else
54196 char (*f) () = $ac_func;
54197 #endif
54198 #ifdef __cplusplus
54200 #endif
54203 main ()
54205 return f != $ac_func;
54207 return 0;
54209 _ACEOF
54210 rm -f conftest.$ac_objext conftest$ac_exeext
54211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54212 (eval $ac_link) 2>conftest.er1
54213 ac_status=$?
54214 grep -v '^ *+' conftest.er1 >conftest.err
54215 rm -f conftest.er1
54216 cat conftest.err >&5
54217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54218 (exit $ac_status); } &&
54219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54221 (eval $ac_try) 2>&5
54222 ac_status=$?
54223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54224 (exit $ac_status); }; } &&
54225 { ac_try='test -s conftest$ac_exeext'
54226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54227 (eval $ac_try) 2>&5
54228 ac_status=$?
54229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54230 (exit $ac_status); }; }; then
54231 eval "$as_ac_var=yes"
54232 else
54233 echo "$as_me: failed program was:" >&5
54234 sed 's/^/| /' conftest.$ac_ext >&5
54236 eval "$as_ac_var=no"
54238 rm -f conftest.err conftest.$ac_objext \
54239 conftest$ac_exeext conftest.$ac_ext
54241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54243 if test `eval echo '${'$as_ac_var'}'` = yes; then
54244 cat >>confdefs.h <<_ACEOF
54245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54246 _ACEOF
54249 done
54256 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54257 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54258 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54259 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54260 echo $ECHO_N "(cached) $ECHO_C" >&6
54261 else
54265 ac_ext=cc
54266 ac_cpp='$CXXCPP $CPPFLAGS'
54267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54271 cat >conftest.$ac_ext <<_ACEOF
54272 /* confdefs.h. */
54273 _ACEOF
54274 cat confdefs.h >>conftest.$ac_ext
54275 cat >>conftest.$ac_ext <<_ACEOF
54276 /* end confdefs.h. */
54277 #include <math.h>
54279 main ()
54281 copysign(0, 0);
54283 return 0;
54285 _ACEOF
54286 rm -f conftest.$ac_objext
54287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54288 (eval $ac_compile) 2>conftest.er1
54289 ac_status=$?
54290 grep -v '^ *+' conftest.er1 >conftest.err
54291 rm -f conftest.er1
54292 cat conftest.err >&5
54293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54294 (exit $ac_status); } &&
54295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54297 (eval $ac_try) 2>&5
54298 ac_status=$?
54299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54300 (exit $ac_status); }; } &&
54301 { ac_try='test -s conftest.$ac_objext'
54302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54303 (eval $ac_try) 2>&5
54304 ac_status=$?
54305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54306 (exit $ac_status); }; }; then
54307 glibcxx_cv_func_copysign_use=yes
54308 else
54309 echo "$as_me: failed program was:" >&5
54310 sed 's/^/| /' conftest.$ac_ext >&5
54312 glibcxx_cv_func_copysign_use=no
54314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54315 ac_ext=c
54316 ac_cpp='$CPP $CPPFLAGS'
54317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54326 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54328 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54330 for ac_func in copysign
54332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54333 echo "$as_me:$LINENO: checking for $ac_func" >&5
54334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54335 if eval "test \"\${$as_ac_var+set}\" = set"; then
54336 echo $ECHO_N "(cached) $ECHO_C" >&6
54337 else
54338 if test x$gcc_no_link = xyes; then
54339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54341 { (exit 1); exit 1; }; }
54343 cat >conftest.$ac_ext <<_ACEOF
54344 /* confdefs.h. */
54345 _ACEOF
54346 cat confdefs.h >>conftest.$ac_ext
54347 cat >>conftest.$ac_ext <<_ACEOF
54348 /* end confdefs.h. */
54349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54351 #define $ac_func innocuous_$ac_func
54353 /* System header to define __stub macros and hopefully few prototypes,
54354 which can conflict with char $ac_func (); below.
54355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54356 <limits.h> exists even on freestanding compilers. */
54358 #ifdef __STDC__
54359 # include <limits.h>
54360 #else
54361 # include <assert.h>
54362 #endif
54364 #undef $ac_func
54366 /* Override any gcc2 internal prototype to avoid an error. */
54367 #ifdef __cplusplus
54368 extern "C"
54370 #endif
54371 /* We use char because int might match the return type of a gcc2
54372 builtin and then its argument prototype would still apply. */
54373 char $ac_func ();
54374 /* The GNU C library defines this for functions which it implements
54375 to always fail with ENOSYS. Some functions are actually named
54376 something starting with __ and the normal name is an alias. */
54377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54378 choke me
54379 #else
54380 char (*f) () = $ac_func;
54381 #endif
54382 #ifdef __cplusplus
54384 #endif
54387 main ()
54389 return f != $ac_func;
54391 return 0;
54393 _ACEOF
54394 rm -f conftest.$ac_objext conftest$ac_exeext
54395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54396 (eval $ac_link) 2>conftest.er1
54397 ac_status=$?
54398 grep -v '^ *+' conftest.er1 >conftest.err
54399 rm -f conftest.er1
54400 cat conftest.err >&5
54401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54402 (exit $ac_status); } &&
54403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54405 (eval $ac_try) 2>&5
54406 ac_status=$?
54407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54408 (exit $ac_status); }; } &&
54409 { ac_try='test -s conftest$ac_exeext'
54410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54411 (eval $ac_try) 2>&5
54412 ac_status=$?
54413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54414 (exit $ac_status); }; }; then
54415 eval "$as_ac_var=yes"
54416 else
54417 echo "$as_me: failed program was:" >&5
54418 sed 's/^/| /' conftest.$ac_ext >&5
54420 eval "$as_ac_var=no"
54422 rm -f conftest.err conftest.$ac_objext \
54423 conftest$ac_exeext conftest.$ac_ext
54425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54427 if test `eval echo '${'$as_ac_var'}'` = yes; then
54428 cat >>confdefs.h <<_ACEOF
54429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54430 _ACEOF
54433 done
54435 else
54437 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54438 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54439 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54440 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54441 echo $ECHO_N "(cached) $ECHO_C" >&6
54442 else
54446 ac_ext=cc
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54452 cat >conftest.$ac_ext <<_ACEOF
54453 /* confdefs.h. */
54454 _ACEOF
54455 cat confdefs.h >>conftest.$ac_ext
54456 cat >>conftest.$ac_ext <<_ACEOF
54457 /* end confdefs.h. */
54458 #include <math.h>
54460 main ()
54462 _copysign(0, 0);
54464 return 0;
54466 _ACEOF
54467 rm -f conftest.$ac_objext
54468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54469 (eval $ac_compile) 2>conftest.er1
54470 ac_status=$?
54471 grep -v '^ *+' conftest.er1 >conftest.err
54472 rm -f conftest.er1
54473 cat conftest.err >&5
54474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54475 (exit $ac_status); } &&
54476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54478 (eval $ac_try) 2>&5
54479 ac_status=$?
54480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54481 (exit $ac_status); }; } &&
54482 { ac_try='test -s conftest.$ac_objext'
54483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54484 (eval $ac_try) 2>&5
54485 ac_status=$?
54486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54487 (exit $ac_status); }; }; then
54488 glibcxx_cv_func__copysign_use=yes
54489 else
54490 echo "$as_me: failed program was:" >&5
54491 sed 's/^/| /' conftest.$ac_ext >&5
54493 glibcxx_cv_func__copysign_use=no
54495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54496 ac_ext=c
54497 ac_cpp='$CPP $CPPFLAGS'
54498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54507 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54509 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54511 for ac_func in _copysign
54513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54514 echo "$as_me:$LINENO: checking for $ac_func" >&5
54515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54516 if eval "test \"\${$as_ac_var+set}\" = set"; then
54517 echo $ECHO_N "(cached) $ECHO_C" >&6
54518 else
54519 if test x$gcc_no_link = xyes; then
54520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54522 { (exit 1); exit 1; }; }
54524 cat >conftest.$ac_ext <<_ACEOF
54525 /* confdefs.h. */
54526 _ACEOF
54527 cat confdefs.h >>conftest.$ac_ext
54528 cat >>conftest.$ac_ext <<_ACEOF
54529 /* end confdefs.h. */
54530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54532 #define $ac_func innocuous_$ac_func
54534 /* System header to define __stub macros and hopefully few prototypes,
54535 which can conflict with char $ac_func (); below.
54536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54537 <limits.h> exists even on freestanding compilers. */
54539 #ifdef __STDC__
54540 # include <limits.h>
54541 #else
54542 # include <assert.h>
54543 #endif
54545 #undef $ac_func
54547 /* Override any gcc2 internal prototype to avoid an error. */
54548 #ifdef __cplusplus
54549 extern "C"
54551 #endif
54552 /* We use char because int might match the return type of a gcc2
54553 builtin and then its argument prototype would still apply. */
54554 char $ac_func ();
54555 /* The GNU C library defines this for functions which it implements
54556 to always fail with ENOSYS. Some functions are actually named
54557 something starting with __ and the normal name is an alias. */
54558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54559 choke me
54560 #else
54561 char (*f) () = $ac_func;
54562 #endif
54563 #ifdef __cplusplus
54565 #endif
54568 main ()
54570 return f != $ac_func;
54572 return 0;
54574 _ACEOF
54575 rm -f conftest.$ac_objext conftest$ac_exeext
54576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54577 (eval $ac_link) 2>conftest.er1
54578 ac_status=$?
54579 grep -v '^ *+' conftest.er1 >conftest.err
54580 rm -f conftest.er1
54581 cat conftest.err >&5
54582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54583 (exit $ac_status); } &&
54584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54586 (eval $ac_try) 2>&5
54587 ac_status=$?
54588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54589 (exit $ac_status); }; } &&
54590 { ac_try='test -s conftest$ac_exeext'
54591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54592 (eval $ac_try) 2>&5
54593 ac_status=$?
54594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595 (exit $ac_status); }; }; then
54596 eval "$as_ac_var=yes"
54597 else
54598 echo "$as_me: failed program was:" >&5
54599 sed 's/^/| /' conftest.$ac_ext >&5
54601 eval "$as_ac_var=no"
54603 rm -f conftest.err conftest.$ac_objext \
54604 conftest$ac_exeext conftest.$ac_ext
54606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54608 if test `eval echo '${'$as_ac_var'}'` = yes; then
54609 cat >>confdefs.h <<_ACEOF
54610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54611 _ACEOF
54614 done
54621 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54622 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54623 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54624 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54625 echo $ECHO_N "(cached) $ECHO_C" >&6
54626 else
54630 ac_ext=cc
54631 ac_cpp='$CXXCPP $CPPFLAGS'
54632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54636 cat >conftest.$ac_ext <<_ACEOF
54637 /* confdefs.h. */
54638 _ACEOF
54639 cat confdefs.h >>conftest.$ac_ext
54640 cat >>conftest.$ac_ext <<_ACEOF
54641 /* end confdefs.h. */
54642 #include <math.h>
54644 main ()
54646 sincos(0, 0, 0);
54648 return 0;
54650 _ACEOF
54651 rm -f conftest.$ac_objext
54652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54653 (eval $ac_compile) 2>conftest.er1
54654 ac_status=$?
54655 grep -v '^ *+' conftest.er1 >conftest.err
54656 rm -f conftest.er1
54657 cat conftest.err >&5
54658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54659 (exit $ac_status); } &&
54660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54662 (eval $ac_try) 2>&5
54663 ac_status=$?
54664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54665 (exit $ac_status); }; } &&
54666 { ac_try='test -s conftest.$ac_objext'
54667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54668 (eval $ac_try) 2>&5
54669 ac_status=$?
54670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54671 (exit $ac_status); }; }; then
54672 glibcxx_cv_func_sincos_use=yes
54673 else
54674 echo "$as_me: failed program was:" >&5
54675 sed 's/^/| /' conftest.$ac_ext >&5
54677 glibcxx_cv_func_sincos_use=no
54679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54680 ac_ext=c
54681 ac_cpp='$CPP $CPPFLAGS'
54682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54691 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54693 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54695 for ac_func in sincos
54697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54698 echo "$as_me:$LINENO: checking for $ac_func" >&5
54699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54700 if eval "test \"\${$as_ac_var+set}\" = set"; then
54701 echo $ECHO_N "(cached) $ECHO_C" >&6
54702 else
54703 if test x$gcc_no_link = xyes; then
54704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54706 { (exit 1); exit 1; }; }
54708 cat >conftest.$ac_ext <<_ACEOF
54709 /* confdefs.h. */
54710 _ACEOF
54711 cat confdefs.h >>conftest.$ac_ext
54712 cat >>conftest.$ac_ext <<_ACEOF
54713 /* end confdefs.h. */
54714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54716 #define $ac_func innocuous_$ac_func
54718 /* System header to define __stub macros and hopefully few prototypes,
54719 which can conflict with char $ac_func (); below.
54720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54721 <limits.h> exists even on freestanding compilers. */
54723 #ifdef __STDC__
54724 # include <limits.h>
54725 #else
54726 # include <assert.h>
54727 #endif
54729 #undef $ac_func
54731 /* Override any gcc2 internal prototype to avoid an error. */
54732 #ifdef __cplusplus
54733 extern "C"
54735 #endif
54736 /* We use char because int might match the return type of a gcc2
54737 builtin and then its argument prototype would still apply. */
54738 char $ac_func ();
54739 /* The GNU C library defines this for functions which it implements
54740 to always fail with ENOSYS. Some functions are actually named
54741 something starting with __ and the normal name is an alias. */
54742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54743 choke me
54744 #else
54745 char (*f) () = $ac_func;
54746 #endif
54747 #ifdef __cplusplus
54749 #endif
54752 main ()
54754 return f != $ac_func;
54756 return 0;
54758 _ACEOF
54759 rm -f conftest.$ac_objext conftest$ac_exeext
54760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54761 (eval $ac_link) 2>conftest.er1
54762 ac_status=$?
54763 grep -v '^ *+' conftest.er1 >conftest.err
54764 rm -f conftest.er1
54765 cat conftest.err >&5
54766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54767 (exit $ac_status); } &&
54768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54770 (eval $ac_try) 2>&5
54771 ac_status=$?
54772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54773 (exit $ac_status); }; } &&
54774 { ac_try='test -s conftest$ac_exeext'
54775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54776 (eval $ac_try) 2>&5
54777 ac_status=$?
54778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54779 (exit $ac_status); }; }; then
54780 eval "$as_ac_var=yes"
54781 else
54782 echo "$as_me: failed program was:" >&5
54783 sed 's/^/| /' conftest.$ac_ext >&5
54785 eval "$as_ac_var=no"
54787 rm -f conftest.err conftest.$ac_objext \
54788 conftest$ac_exeext conftest.$ac_ext
54790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54792 if test `eval echo '${'$as_ac_var'}'` = yes; then
54793 cat >>confdefs.h <<_ACEOF
54794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54795 _ACEOF
54798 done
54800 else
54802 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54803 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54804 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54805 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54806 echo $ECHO_N "(cached) $ECHO_C" >&6
54807 else
54811 ac_ext=cc
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54817 cat >conftest.$ac_ext <<_ACEOF
54818 /* confdefs.h. */
54819 _ACEOF
54820 cat confdefs.h >>conftest.$ac_ext
54821 cat >>conftest.$ac_ext <<_ACEOF
54822 /* end confdefs.h. */
54823 #include <math.h>
54825 main ()
54827 _sincos(0, 0, 0);
54829 return 0;
54831 _ACEOF
54832 rm -f conftest.$ac_objext
54833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54834 (eval $ac_compile) 2>conftest.er1
54835 ac_status=$?
54836 grep -v '^ *+' conftest.er1 >conftest.err
54837 rm -f conftest.er1
54838 cat conftest.err >&5
54839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54840 (exit $ac_status); } &&
54841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54843 (eval $ac_try) 2>&5
54844 ac_status=$?
54845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54846 (exit $ac_status); }; } &&
54847 { ac_try='test -s conftest.$ac_objext'
54848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54849 (eval $ac_try) 2>&5
54850 ac_status=$?
54851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54852 (exit $ac_status); }; }; then
54853 glibcxx_cv_func__sincos_use=yes
54854 else
54855 echo "$as_me: failed program was:" >&5
54856 sed 's/^/| /' conftest.$ac_ext >&5
54858 glibcxx_cv_func__sincos_use=no
54860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54861 ac_ext=c
54862 ac_cpp='$CPP $CPPFLAGS'
54863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54872 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54874 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54876 for ac_func in _sincos
54878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54879 echo "$as_me:$LINENO: checking for $ac_func" >&5
54880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54881 if eval "test \"\${$as_ac_var+set}\" = set"; then
54882 echo $ECHO_N "(cached) $ECHO_C" >&6
54883 else
54884 if test x$gcc_no_link = xyes; then
54885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54887 { (exit 1); exit 1; }; }
54889 cat >conftest.$ac_ext <<_ACEOF
54890 /* confdefs.h. */
54891 _ACEOF
54892 cat confdefs.h >>conftest.$ac_ext
54893 cat >>conftest.$ac_ext <<_ACEOF
54894 /* end confdefs.h. */
54895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54897 #define $ac_func innocuous_$ac_func
54899 /* System header to define __stub macros and hopefully few prototypes,
54900 which can conflict with char $ac_func (); below.
54901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54902 <limits.h> exists even on freestanding compilers. */
54904 #ifdef __STDC__
54905 # include <limits.h>
54906 #else
54907 # include <assert.h>
54908 #endif
54910 #undef $ac_func
54912 /* Override any gcc2 internal prototype to avoid an error. */
54913 #ifdef __cplusplus
54914 extern "C"
54916 #endif
54917 /* We use char because int might match the return type of a gcc2
54918 builtin and then its argument prototype would still apply. */
54919 char $ac_func ();
54920 /* The GNU C library defines this for functions which it implements
54921 to always fail with ENOSYS. Some functions are actually named
54922 something starting with __ and the normal name is an alias. */
54923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54924 choke me
54925 #else
54926 char (*f) () = $ac_func;
54927 #endif
54928 #ifdef __cplusplus
54930 #endif
54933 main ()
54935 return f != $ac_func;
54937 return 0;
54939 _ACEOF
54940 rm -f conftest.$ac_objext conftest$ac_exeext
54941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54942 (eval $ac_link) 2>conftest.er1
54943 ac_status=$?
54944 grep -v '^ *+' conftest.er1 >conftest.err
54945 rm -f conftest.er1
54946 cat conftest.err >&5
54947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54948 (exit $ac_status); } &&
54949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54951 (eval $ac_try) 2>&5
54952 ac_status=$?
54953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54954 (exit $ac_status); }; } &&
54955 { ac_try='test -s conftest$ac_exeext'
54956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54957 (eval $ac_try) 2>&5
54958 ac_status=$?
54959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54960 (exit $ac_status); }; }; then
54961 eval "$as_ac_var=yes"
54962 else
54963 echo "$as_me: failed program was:" >&5
54964 sed 's/^/| /' conftest.$ac_ext >&5
54966 eval "$as_ac_var=no"
54968 rm -f conftest.err conftest.$ac_objext \
54969 conftest$ac_exeext conftest.$ac_ext
54971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54973 if test `eval echo '${'$as_ac_var'}'` = yes; then
54974 cat >>confdefs.h <<_ACEOF
54975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54976 _ACEOF
54979 done
54986 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54987 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54988 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54989 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54990 echo $ECHO_N "(cached) $ECHO_C" >&6
54991 else
54995 ac_ext=cc
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat >conftest.$ac_ext <<_ACEOF
55002 /* confdefs.h. */
55003 _ACEOF
55004 cat confdefs.h >>conftest.$ac_ext
55005 cat >>conftest.$ac_ext <<_ACEOF
55006 /* end confdefs.h. */
55007 #include <math.h>
55008 #ifdef HAVE_IEEEFP_H
55009 #include <ieeefp.h>
55010 #endif
55013 main ()
55015 fpclass(0);
55017 return 0;
55019 _ACEOF
55020 rm -f conftest.$ac_objext
55021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55022 (eval $ac_compile) 2>conftest.er1
55023 ac_status=$?
55024 grep -v '^ *+' conftest.er1 >conftest.err
55025 rm -f conftest.er1
55026 cat conftest.err >&5
55027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55028 (exit $ac_status); } &&
55029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55031 (eval $ac_try) 2>&5
55032 ac_status=$?
55033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55034 (exit $ac_status); }; } &&
55035 { ac_try='test -s conftest.$ac_objext'
55036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55037 (eval $ac_try) 2>&5
55038 ac_status=$?
55039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55040 (exit $ac_status); }; }; then
55041 glibcxx_cv_func_fpclass_use=yes
55042 else
55043 echo "$as_me: failed program was:" >&5
55044 sed 's/^/| /' conftest.$ac_ext >&5
55046 glibcxx_cv_func_fpclass_use=no
55048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55049 ac_ext=c
55050 ac_cpp='$CPP $CPPFLAGS'
55051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55060 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55062 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55064 for ac_func in fpclass
55066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55067 echo "$as_me:$LINENO: checking for $ac_func" >&5
55068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55069 if eval "test \"\${$as_ac_var+set}\" = set"; then
55070 echo $ECHO_N "(cached) $ECHO_C" >&6
55071 else
55072 if test x$gcc_no_link = xyes; then
55073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55075 { (exit 1); exit 1; }; }
55077 cat >conftest.$ac_ext <<_ACEOF
55078 /* confdefs.h. */
55079 _ACEOF
55080 cat confdefs.h >>conftest.$ac_ext
55081 cat >>conftest.$ac_ext <<_ACEOF
55082 /* end confdefs.h. */
55083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55085 #define $ac_func innocuous_$ac_func
55087 /* System header to define __stub macros and hopefully few prototypes,
55088 which can conflict with char $ac_func (); below.
55089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55090 <limits.h> exists even on freestanding compilers. */
55092 #ifdef __STDC__
55093 # include <limits.h>
55094 #else
55095 # include <assert.h>
55096 #endif
55098 #undef $ac_func
55100 /* Override any gcc2 internal prototype to avoid an error. */
55101 #ifdef __cplusplus
55102 extern "C"
55104 #endif
55105 /* We use char because int might match the return type of a gcc2
55106 builtin and then its argument prototype would still apply. */
55107 char $ac_func ();
55108 /* The GNU C library defines this for functions which it implements
55109 to always fail with ENOSYS. Some functions are actually named
55110 something starting with __ and the normal name is an alias. */
55111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55112 choke me
55113 #else
55114 char (*f) () = $ac_func;
55115 #endif
55116 #ifdef __cplusplus
55118 #endif
55121 main ()
55123 return f != $ac_func;
55125 return 0;
55127 _ACEOF
55128 rm -f conftest.$ac_objext conftest$ac_exeext
55129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55130 (eval $ac_link) 2>conftest.er1
55131 ac_status=$?
55132 grep -v '^ *+' conftest.er1 >conftest.err
55133 rm -f conftest.er1
55134 cat conftest.err >&5
55135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55136 (exit $ac_status); } &&
55137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55139 (eval $ac_try) 2>&5
55140 ac_status=$?
55141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55142 (exit $ac_status); }; } &&
55143 { ac_try='test -s conftest$ac_exeext'
55144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55145 (eval $ac_try) 2>&5
55146 ac_status=$?
55147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55148 (exit $ac_status); }; }; then
55149 eval "$as_ac_var=yes"
55150 else
55151 echo "$as_me: failed program was:" >&5
55152 sed 's/^/| /' conftest.$ac_ext >&5
55154 eval "$as_ac_var=no"
55156 rm -f conftest.err conftest.$ac_objext \
55157 conftest$ac_exeext conftest.$ac_ext
55159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55161 if test `eval echo '${'$as_ac_var'}'` = yes; then
55162 cat >>confdefs.h <<_ACEOF
55163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55164 _ACEOF
55167 done
55169 else
55171 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55172 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55173 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55174 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55175 echo $ECHO_N "(cached) $ECHO_C" >&6
55176 else
55180 ac_ext=cc
55181 ac_cpp='$CXXCPP $CPPFLAGS'
55182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55186 cat >conftest.$ac_ext <<_ACEOF
55187 /* confdefs.h. */
55188 _ACEOF
55189 cat confdefs.h >>conftest.$ac_ext
55190 cat >>conftest.$ac_ext <<_ACEOF
55191 /* end confdefs.h. */
55192 #include <math.h>
55193 #ifdef HAVE_IEEEFP_H
55194 #include <ieeefp.h>
55195 #endif
55198 main ()
55200 _fpclass(0);
55202 return 0;
55204 _ACEOF
55205 rm -f conftest.$ac_objext
55206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55207 (eval $ac_compile) 2>conftest.er1
55208 ac_status=$?
55209 grep -v '^ *+' conftest.er1 >conftest.err
55210 rm -f conftest.er1
55211 cat conftest.err >&5
55212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55213 (exit $ac_status); } &&
55214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55216 (eval $ac_try) 2>&5
55217 ac_status=$?
55218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55219 (exit $ac_status); }; } &&
55220 { ac_try='test -s conftest.$ac_objext'
55221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55222 (eval $ac_try) 2>&5
55223 ac_status=$?
55224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55225 (exit $ac_status); }; }; then
55226 glibcxx_cv_func__fpclass_use=yes
55227 else
55228 echo "$as_me: failed program was:" >&5
55229 sed 's/^/| /' conftest.$ac_ext >&5
55231 glibcxx_cv_func__fpclass_use=no
55233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55234 ac_ext=c
55235 ac_cpp='$CPP $CPPFLAGS'
55236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55244 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55245 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55247 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55249 for ac_func in _fpclass
55251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55252 echo "$as_me:$LINENO: checking for $ac_func" >&5
55253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55254 if eval "test \"\${$as_ac_var+set}\" = set"; then
55255 echo $ECHO_N "(cached) $ECHO_C" >&6
55256 else
55257 if test x$gcc_no_link = xyes; then
55258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55260 { (exit 1); exit 1; }; }
55262 cat >conftest.$ac_ext <<_ACEOF
55263 /* confdefs.h. */
55264 _ACEOF
55265 cat confdefs.h >>conftest.$ac_ext
55266 cat >>conftest.$ac_ext <<_ACEOF
55267 /* end confdefs.h. */
55268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55270 #define $ac_func innocuous_$ac_func
55272 /* System header to define __stub macros and hopefully few prototypes,
55273 which can conflict with char $ac_func (); below.
55274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55275 <limits.h> exists even on freestanding compilers. */
55277 #ifdef __STDC__
55278 # include <limits.h>
55279 #else
55280 # include <assert.h>
55281 #endif
55283 #undef $ac_func
55285 /* Override any gcc2 internal prototype to avoid an error. */
55286 #ifdef __cplusplus
55287 extern "C"
55289 #endif
55290 /* We use char because int might match the return type of a gcc2
55291 builtin and then its argument prototype would still apply. */
55292 char $ac_func ();
55293 /* The GNU C library defines this for functions which it implements
55294 to always fail with ENOSYS. Some functions are actually named
55295 something starting with __ and the normal name is an alias. */
55296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55297 choke me
55298 #else
55299 char (*f) () = $ac_func;
55300 #endif
55301 #ifdef __cplusplus
55303 #endif
55306 main ()
55308 return f != $ac_func;
55310 return 0;
55312 _ACEOF
55313 rm -f conftest.$ac_objext conftest$ac_exeext
55314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55315 (eval $ac_link) 2>conftest.er1
55316 ac_status=$?
55317 grep -v '^ *+' conftest.er1 >conftest.err
55318 rm -f conftest.er1
55319 cat conftest.err >&5
55320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55321 (exit $ac_status); } &&
55322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55324 (eval $ac_try) 2>&5
55325 ac_status=$?
55326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55327 (exit $ac_status); }; } &&
55328 { ac_try='test -s conftest$ac_exeext'
55329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55330 (eval $ac_try) 2>&5
55331 ac_status=$?
55332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55333 (exit $ac_status); }; }; then
55334 eval "$as_ac_var=yes"
55335 else
55336 echo "$as_me: failed program was:" >&5
55337 sed 's/^/| /' conftest.$ac_ext >&5
55339 eval "$as_ac_var=no"
55341 rm -f conftest.err conftest.$ac_objext \
55342 conftest$ac_exeext conftest.$ac_ext
55344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55346 if test `eval echo '${'$as_ac_var'}'` = yes; then
55347 cat >>confdefs.h <<_ACEOF
55348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55349 _ACEOF
55352 done
55359 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55360 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55361 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55362 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55363 echo $ECHO_N "(cached) $ECHO_C" >&6
55364 else
55368 ac_ext=cc
55369 ac_cpp='$CXXCPP $CPPFLAGS'
55370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55374 cat >conftest.$ac_ext <<_ACEOF
55375 /* confdefs.h. */
55376 _ACEOF
55377 cat confdefs.h >>conftest.$ac_ext
55378 cat >>conftest.$ac_ext <<_ACEOF
55379 /* end confdefs.h. */
55380 #include <math.h>
55381 #ifdef HAVE_IEEEFP_H
55382 #include <ieeefp.h>
55383 #endif
55386 main ()
55388 qfpclass(0);
55390 return 0;
55392 _ACEOF
55393 rm -f conftest.$ac_objext
55394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55395 (eval $ac_compile) 2>conftest.er1
55396 ac_status=$?
55397 grep -v '^ *+' conftest.er1 >conftest.err
55398 rm -f conftest.er1
55399 cat conftest.err >&5
55400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401 (exit $ac_status); } &&
55402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55404 (eval $ac_try) 2>&5
55405 ac_status=$?
55406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55407 (exit $ac_status); }; } &&
55408 { ac_try='test -s conftest.$ac_objext'
55409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55410 (eval $ac_try) 2>&5
55411 ac_status=$?
55412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55413 (exit $ac_status); }; }; then
55414 glibcxx_cv_func_qfpclass_use=yes
55415 else
55416 echo "$as_me: failed program was:" >&5
55417 sed 's/^/| /' conftest.$ac_ext >&5
55419 glibcxx_cv_func_qfpclass_use=no
55421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55422 ac_ext=c
55423 ac_cpp='$CPP $CPPFLAGS'
55424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55433 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55435 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55437 for ac_func in qfpclass
55439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55440 echo "$as_me:$LINENO: checking for $ac_func" >&5
55441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55442 if eval "test \"\${$as_ac_var+set}\" = set"; then
55443 echo $ECHO_N "(cached) $ECHO_C" >&6
55444 else
55445 if test x$gcc_no_link = xyes; then
55446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55448 { (exit 1); exit 1; }; }
55450 cat >conftest.$ac_ext <<_ACEOF
55451 /* confdefs.h. */
55452 _ACEOF
55453 cat confdefs.h >>conftest.$ac_ext
55454 cat >>conftest.$ac_ext <<_ACEOF
55455 /* end confdefs.h. */
55456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55458 #define $ac_func innocuous_$ac_func
55460 /* System header to define __stub macros and hopefully few prototypes,
55461 which can conflict with char $ac_func (); below.
55462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55463 <limits.h> exists even on freestanding compilers. */
55465 #ifdef __STDC__
55466 # include <limits.h>
55467 #else
55468 # include <assert.h>
55469 #endif
55471 #undef $ac_func
55473 /* Override any gcc2 internal prototype to avoid an error. */
55474 #ifdef __cplusplus
55475 extern "C"
55477 #endif
55478 /* We use char because int might match the return type of a gcc2
55479 builtin and then its argument prototype would still apply. */
55480 char $ac_func ();
55481 /* The GNU C library defines this for functions which it implements
55482 to always fail with ENOSYS. Some functions are actually named
55483 something starting with __ and the normal name is an alias. */
55484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55485 choke me
55486 #else
55487 char (*f) () = $ac_func;
55488 #endif
55489 #ifdef __cplusplus
55491 #endif
55494 main ()
55496 return f != $ac_func;
55498 return 0;
55500 _ACEOF
55501 rm -f conftest.$ac_objext conftest$ac_exeext
55502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55503 (eval $ac_link) 2>conftest.er1
55504 ac_status=$?
55505 grep -v '^ *+' conftest.er1 >conftest.err
55506 rm -f conftest.er1
55507 cat conftest.err >&5
55508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55509 (exit $ac_status); } &&
55510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55512 (eval $ac_try) 2>&5
55513 ac_status=$?
55514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55515 (exit $ac_status); }; } &&
55516 { ac_try='test -s conftest$ac_exeext'
55517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55518 (eval $ac_try) 2>&5
55519 ac_status=$?
55520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55521 (exit $ac_status); }; }; then
55522 eval "$as_ac_var=yes"
55523 else
55524 echo "$as_me: failed program was:" >&5
55525 sed 's/^/| /' conftest.$ac_ext >&5
55527 eval "$as_ac_var=no"
55529 rm -f conftest.err conftest.$ac_objext \
55530 conftest$ac_exeext conftest.$ac_ext
55532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55534 if test `eval echo '${'$as_ac_var'}'` = yes; then
55535 cat >>confdefs.h <<_ACEOF
55536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55537 _ACEOF
55540 done
55542 else
55544 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55545 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55546 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55547 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55548 echo $ECHO_N "(cached) $ECHO_C" >&6
55549 else
55553 ac_ext=cc
55554 ac_cpp='$CXXCPP $CPPFLAGS'
55555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55559 cat >conftest.$ac_ext <<_ACEOF
55560 /* confdefs.h. */
55561 _ACEOF
55562 cat confdefs.h >>conftest.$ac_ext
55563 cat >>conftest.$ac_ext <<_ACEOF
55564 /* end confdefs.h. */
55565 #include <math.h>
55566 #ifdef HAVE_IEEEFP_H
55567 #include <ieeefp.h>
55568 #endif
55571 main ()
55573 _qfpclass(0);
55575 return 0;
55577 _ACEOF
55578 rm -f conftest.$ac_objext
55579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55580 (eval $ac_compile) 2>conftest.er1
55581 ac_status=$?
55582 grep -v '^ *+' conftest.er1 >conftest.err
55583 rm -f conftest.er1
55584 cat conftest.err >&5
55585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55586 (exit $ac_status); } &&
55587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55589 (eval $ac_try) 2>&5
55590 ac_status=$?
55591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55592 (exit $ac_status); }; } &&
55593 { ac_try='test -s conftest.$ac_objext'
55594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55595 (eval $ac_try) 2>&5
55596 ac_status=$?
55597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55598 (exit $ac_status); }; }; then
55599 glibcxx_cv_func__qfpclass_use=yes
55600 else
55601 echo "$as_me: failed program was:" >&5
55602 sed 's/^/| /' conftest.$ac_ext >&5
55604 glibcxx_cv_func__qfpclass_use=no
55606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55607 ac_ext=c
55608 ac_cpp='$CPP $CPPFLAGS'
55609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55618 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55620 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55622 for ac_func in _qfpclass
55624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55625 echo "$as_me:$LINENO: checking for $ac_func" >&5
55626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55627 if eval "test \"\${$as_ac_var+set}\" = set"; then
55628 echo $ECHO_N "(cached) $ECHO_C" >&6
55629 else
55630 if test x$gcc_no_link = xyes; then
55631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55633 { (exit 1); exit 1; }; }
55635 cat >conftest.$ac_ext <<_ACEOF
55636 /* confdefs.h. */
55637 _ACEOF
55638 cat confdefs.h >>conftest.$ac_ext
55639 cat >>conftest.$ac_ext <<_ACEOF
55640 /* end confdefs.h. */
55641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55643 #define $ac_func innocuous_$ac_func
55645 /* System header to define __stub macros and hopefully few prototypes,
55646 which can conflict with char $ac_func (); below.
55647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55648 <limits.h> exists even on freestanding compilers. */
55650 #ifdef __STDC__
55651 # include <limits.h>
55652 #else
55653 # include <assert.h>
55654 #endif
55656 #undef $ac_func
55658 /* Override any gcc2 internal prototype to avoid an error. */
55659 #ifdef __cplusplus
55660 extern "C"
55662 #endif
55663 /* We use char because int might match the return type of a gcc2
55664 builtin and then its argument prototype would still apply. */
55665 char $ac_func ();
55666 /* The GNU C library defines this for functions which it implements
55667 to always fail with ENOSYS. Some functions are actually named
55668 something starting with __ and the normal name is an alias. */
55669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55670 choke me
55671 #else
55672 char (*f) () = $ac_func;
55673 #endif
55674 #ifdef __cplusplus
55676 #endif
55679 main ()
55681 return f != $ac_func;
55683 return 0;
55685 _ACEOF
55686 rm -f conftest.$ac_objext conftest$ac_exeext
55687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55688 (eval $ac_link) 2>conftest.er1
55689 ac_status=$?
55690 grep -v '^ *+' conftest.er1 >conftest.err
55691 rm -f conftest.er1
55692 cat conftest.err >&5
55693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55694 (exit $ac_status); } &&
55695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55697 (eval $ac_try) 2>&5
55698 ac_status=$?
55699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55700 (exit $ac_status); }; } &&
55701 { ac_try='test -s conftest$ac_exeext'
55702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55703 (eval $ac_try) 2>&5
55704 ac_status=$?
55705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55706 (exit $ac_status); }; }; then
55707 eval "$as_ac_var=yes"
55708 else
55709 echo "$as_me: failed program was:" >&5
55710 sed 's/^/| /' conftest.$ac_ext >&5
55712 eval "$as_ac_var=no"
55714 rm -f conftest.err conftest.$ac_objext \
55715 conftest$ac_exeext conftest.$ac_ext
55717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55719 if test `eval echo '${'$as_ac_var'}'` = yes; then
55720 cat >>confdefs.h <<_ACEOF
55721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55722 _ACEOF
55725 done
55732 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55733 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55734 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55735 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55736 echo $ECHO_N "(cached) $ECHO_C" >&6
55737 else
55741 ac_ext=cc
55742 ac_cpp='$CXXCPP $CPPFLAGS'
55743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55747 cat >conftest.$ac_ext <<_ACEOF
55748 /* confdefs.h. */
55749 _ACEOF
55750 cat confdefs.h >>conftest.$ac_ext
55751 cat >>conftest.$ac_ext <<_ACEOF
55752 /* end confdefs.h. */
55753 #include <math.h>
55755 main ()
55757 hypot(0, 0);
55759 return 0;
55761 _ACEOF
55762 rm -f conftest.$ac_objext
55763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55764 (eval $ac_compile) 2>conftest.er1
55765 ac_status=$?
55766 grep -v '^ *+' conftest.er1 >conftest.err
55767 rm -f conftest.er1
55768 cat conftest.err >&5
55769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55770 (exit $ac_status); } &&
55771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55773 (eval $ac_try) 2>&5
55774 ac_status=$?
55775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55776 (exit $ac_status); }; } &&
55777 { ac_try='test -s conftest.$ac_objext'
55778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55779 (eval $ac_try) 2>&5
55780 ac_status=$?
55781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55782 (exit $ac_status); }; }; then
55783 glibcxx_cv_func_hypot_use=yes
55784 else
55785 echo "$as_me: failed program was:" >&5
55786 sed 's/^/| /' conftest.$ac_ext >&5
55788 glibcxx_cv_func_hypot_use=no
55790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55791 ac_ext=c
55792 ac_cpp='$CPP $CPPFLAGS'
55793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55802 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55804 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55806 for ac_func in hypot
55808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55809 echo "$as_me:$LINENO: checking for $ac_func" >&5
55810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55811 if eval "test \"\${$as_ac_var+set}\" = set"; then
55812 echo $ECHO_N "(cached) $ECHO_C" >&6
55813 else
55814 if test x$gcc_no_link = xyes; then
55815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55817 { (exit 1); exit 1; }; }
55819 cat >conftest.$ac_ext <<_ACEOF
55820 /* confdefs.h. */
55821 _ACEOF
55822 cat confdefs.h >>conftest.$ac_ext
55823 cat >>conftest.$ac_ext <<_ACEOF
55824 /* end confdefs.h. */
55825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55827 #define $ac_func innocuous_$ac_func
55829 /* System header to define __stub macros and hopefully few prototypes,
55830 which can conflict with char $ac_func (); below.
55831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55832 <limits.h> exists even on freestanding compilers. */
55834 #ifdef __STDC__
55835 # include <limits.h>
55836 #else
55837 # include <assert.h>
55838 #endif
55840 #undef $ac_func
55842 /* Override any gcc2 internal prototype to avoid an error. */
55843 #ifdef __cplusplus
55844 extern "C"
55846 #endif
55847 /* We use char because int might match the return type of a gcc2
55848 builtin and then its argument prototype would still apply. */
55849 char $ac_func ();
55850 /* The GNU C library defines this for functions which it implements
55851 to always fail with ENOSYS. Some functions are actually named
55852 something starting with __ and the normal name is an alias. */
55853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55854 choke me
55855 #else
55856 char (*f) () = $ac_func;
55857 #endif
55858 #ifdef __cplusplus
55860 #endif
55863 main ()
55865 return f != $ac_func;
55867 return 0;
55869 _ACEOF
55870 rm -f conftest.$ac_objext conftest$ac_exeext
55871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55872 (eval $ac_link) 2>conftest.er1
55873 ac_status=$?
55874 grep -v '^ *+' conftest.er1 >conftest.err
55875 rm -f conftest.er1
55876 cat conftest.err >&5
55877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55878 (exit $ac_status); } &&
55879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55881 (eval $ac_try) 2>&5
55882 ac_status=$?
55883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55884 (exit $ac_status); }; } &&
55885 { ac_try='test -s conftest$ac_exeext'
55886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55887 (eval $ac_try) 2>&5
55888 ac_status=$?
55889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55890 (exit $ac_status); }; }; then
55891 eval "$as_ac_var=yes"
55892 else
55893 echo "$as_me: failed program was:" >&5
55894 sed 's/^/| /' conftest.$ac_ext >&5
55896 eval "$as_ac_var=no"
55898 rm -f conftest.err conftest.$ac_objext \
55899 conftest$ac_exeext conftest.$ac_ext
55901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55903 if test `eval echo '${'$as_ac_var'}'` = yes; then
55904 cat >>confdefs.h <<_ACEOF
55905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55906 _ACEOF
55909 done
55911 else
55913 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55914 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55915 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55916 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55917 echo $ECHO_N "(cached) $ECHO_C" >&6
55918 else
55922 ac_ext=cc
55923 ac_cpp='$CXXCPP $CPPFLAGS'
55924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55928 cat >conftest.$ac_ext <<_ACEOF
55929 /* confdefs.h. */
55930 _ACEOF
55931 cat confdefs.h >>conftest.$ac_ext
55932 cat >>conftest.$ac_ext <<_ACEOF
55933 /* end confdefs.h. */
55934 #include <math.h>
55936 main ()
55938 _hypot(0, 0);
55940 return 0;
55942 _ACEOF
55943 rm -f conftest.$ac_objext
55944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55945 (eval $ac_compile) 2>conftest.er1
55946 ac_status=$?
55947 grep -v '^ *+' conftest.er1 >conftest.err
55948 rm -f conftest.er1
55949 cat conftest.err >&5
55950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55951 (exit $ac_status); } &&
55952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55954 (eval $ac_try) 2>&5
55955 ac_status=$?
55956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55957 (exit $ac_status); }; } &&
55958 { ac_try='test -s conftest.$ac_objext'
55959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55960 (eval $ac_try) 2>&5
55961 ac_status=$?
55962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55963 (exit $ac_status); }; }; then
55964 glibcxx_cv_func__hypot_use=yes
55965 else
55966 echo "$as_me: failed program was:" >&5
55967 sed 's/^/| /' conftest.$ac_ext >&5
55969 glibcxx_cv_func__hypot_use=no
55971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55972 ac_ext=c
55973 ac_cpp='$CPP $CPPFLAGS'
55974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55983 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55985 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55987 for ac_func in _hypot
55989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55990 echo "$as_me:$LINENO: checking for $ac_func" >&5
55991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55992 if eval "test \"\${$as_ac_var+set}\" = set"; then
55993 echo $ECHO_N "(cached) $ECHO_C" >&6
55994 else
55995 if test x$gcc_no_link = xyes; then
55996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55998 { (exit 1); exit 1; }; }
56000 cat >conftest.$ac_ext <<_ACEOF
56001 /* confdefs.h. */
56002 _ACEOF
56003 cat confdefs.h >>conftest.$ac_ext
56004 cat >>conftest.$ac_ext <<_ACEOF
56005 /* end confdefs.h. */
56006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56008 #define $ac_func innocuous_$ac_func
56010 /* System header to define __stub macros and hopefully few prototypes,
56011 which can conflict with char $ac_func (); below.
56012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56013 <limits.h> exists even on freestanding compilers. */
56015 #ifdef __STDC__
56016 # include <limits.h>
56017 #else
56018 # include <assert.h>
56019 #endif
56021 #undef $ac_func
56023 /* Override any gcc2 internal prototype to avoid an error. */
56024 #ifdef __cplusplus
56025 extern "C"
56027 #endif
56028 /* We use char because int might match the return type of a gcc2
56029 builtin and then its argument prototype would still apply. */
56030 char $ac_func ();
56031 /* The GNU C library defines this for functions which it implements
56032 to always fail with ENOSYS. Some functions are actually named
56033 something starting with __ and the normal name is an alias. */
56034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56035 choke me
56036 #else
56037 char (*f) () = $ac_func;
56038 #endif
56039 #ifdef __cplusplus
56041 #endif
56044 main ()
56046 return f != $ac_func;
56048 return 0;
56050 _ACEOF
56051 rm -f conftest.$ac_objext conftest$ac_exeext
56052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56053 (eval $ac_link) 2>conftest.er1
56054 ac_status=$?
56055 grep -v '^ *+' conftest.er1 >conftest.err
56056 rm -f conftest.er1
56057 cat conftest.err >&5
56058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56059 (exit $ac_status); } &&
56060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56062 (eval $ac_try) 2>&5
56063 ac_status=$?
56064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56065 (exit $ac_status); }; } &&
56066 { ac_try='test -s conftest$ac_exeext'
56067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56068 (eval $ac_try) 2>&5
56069 ac_status=$?
56070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56071 (exit $ac_status); }; }; then
56072 eval "$as_ac_var=yes"
56073 else
56074 echo "$as_me: failed program was:" >&5
56075 sed 's/^/| /' conftest.$ac_ext >&5
56077 eval "$as_ac_var=no"
56079 rm -f conftest.err conftest.$ac_objext \
56080 conftest$ac_exeext conftest.$ac_ext
56082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56084 if test `eval echo '${'$as_ac_var'}'` = yes; then
56085 cat >>confdefs.h <<_ACEOF
56086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56087 _ACEOF
56090 done
56097 echo "$as_me:$LINENO: checking for float trig functions" >&5
56098 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56099 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56100 echo $ECHO_N "(cached) $ECHO_C" >&6
56101 else
56105 ac_ext=cc
56106 ac_cpp='$CXXCPP $CPPFLAGS'
56107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56111 cat >conftest.$ac_ext <<_ACEOF
56112 /* confdefs.h. */
56113 _ACEOF
56114 cat confdefs.h >>conftest.$ac_ext
56115 cat >>conftest.$ac_ext <<_ACEOF
56116 /* end confdefs.h. */
56117 #include <math.h>
56119 main ()
56121 `for x in acosf asinf atanf \
56122 cosf sinf tanf \
56123 coshf sinhf tanhf; do echo "$x (0);"; done`
56125 return 0;
56127 _ACEOF
56128 rm -f conftest.$ac_objext
56129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56130 (eval $ac_compile) 2>conftest.er1
56131 ac_status=$?
56132 grep -v '^ *+' conftest.er1 >conftest.err
56133 rm -f conftest.er1
56134 cat conftest.err >&5
56135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56136 (exit $ac_status); } &&
56137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56139 (eval $ac_try) 2>&5
56140 ac_status=$?
56141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56142 (exit $ac_status); }; } &&
56143 { ac_try='test -s conftest.$ac_objext'
56144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56145 (eval $ac_try) 2>&5
56146 ac_status=$?
56147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56148 (exit $ac_status); }; }; then
56149 glibcxx_cv_func_float_trig_use=yes
56150 else
56151 echo "$as_me: failed program was:" >&5
56152 sed 's/^/| /' conftest.$ac_ext >&5
56154 glibcxx_cv_func_float_trig_use=no
56156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56157 ac_ext=c
56158 ac_cpp='$CPP $CPPFLAGS'
56159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56166 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56167 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56177 for ac_func in acosf asinf atanf \
56178 cosf sinf tanf \
56179 coshf sinhf tanhf
56181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56182 echo "$as_me:$LINENO: checking for $ac_func" >&5
56183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56184 if eval "test \"\${$as_ac_var+set}\" = set"; then
56185 echo $ECHO_N "(cached) $ECHO_C" >&6
56186 else
56187 if test x$gcc_no_link = xyes; then
56188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56190 { (exit 1); exit 1; }; }
56192 cat >conftest.$ac_ext <<_ACEOF
56193 /* confdefs.h. */
56194 _ACEOF
56195 cat confdefs.h >>conftest.$ac_ext
56196 cat >>conftest.$ac_ext <<_ACEOF
56197 /* end confdefs.h. */
56198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56200 #define $ac_func innocuous_$ac_func
56202 /* System header to define __stub macros and hopefully few prototypes,
56203 which can conflict with char $ac_func (); below.
56204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56205 <limits.h> exists even on freestanding compilers. */
56207 #ifdef __STDC__
56208 # include <limits.h>
56209 #else
56210 # include <assert.h>
56211 #endif
56213 #undef $ac_func
56215 /* Override any gcc2 internal prototype to avoid an error. */
56216 #ifdef __cplusplus
56217 extern "C"
56219 #endif
56220 /* We use char because int might match the return type of a gcc2
56221 builtin and then its argument prototype would still apply. */
56222 char $ac_func ();
56223 /* The GNU C library defines this for functions which it implements
56224 to always fail with ENOSYS. Some functions are actually named
56225 something starting with __ and the normal name is an alias. */
56226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56227 choke me
56228 #else
56229 char (*f) () = $ac_func;
56230 #endif
56231 #ifdef __cplusplus
56233 #endif
56236 main ()
56238 return f != $ac_func;
56240 return 0;
56242 _ACEOF
56243 rm -f conftest.$ac_objext conftest$ac_exeext
56244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56245 (eval $ac_link) 2>conftest.er1
56246 ac_status=$?
56247 grep -v '^ *+' conftest.er1 >conftest.err
56248 rm -f conftest.er1
56249 cat conftest.err >&5
56250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56251 (exit $ac_status); } &&
56252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56254 (eval $ac_try) 2>&5
56255 ac_status=$?
56256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56257 (exit $ac_status); }; } &&
56258 { ac_try='test -s conftest$ac_exeext'
56259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56260 (eval $ac_try) 2>&5
56261 ac_status=$?
56262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263 (exit $ac_status); }; }; then
56264 eval "$as_ac_var=yes"
56265 else
56266 echo "$as_me: failed program was:" >&5
56267 sed 's/^/| /' conftest.$ac_ext >&5
56269 eval "$as_ac_var=no"
56271 rm -f conftest.err conftest.$ac_objext \
56272 conftest$ac_exeext conftest.$ac_ext
56274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56276 if test `eval echo '${'$as_ac_var'}'` = yes; then
56277 cat >>confdefs.h <<_ACEOF
56278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56279 _ACEOF
56282 done
56287 echo "$as_me:$LINENO: checking for float round functions" >&5
56288 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56289 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56290 echo $ECHO_N "(cached) $ECHO_C" >&6
56291 else
56295 ac_ext=cc
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56301 cat >conftest.$ac_ext <<_ACEOF
56302 /* confdefs.h. */
56303 _ACEOF
56304 cat confdefs.h >>conftest.$ac_ext
56305 cat >>conftest.$ac_ext <<_ACEOF
56306 /* end confdefs.h. */
56307 #include <math.h>
56309 main ()
56311 `for x in ceilf floorf; do echo "$x (0);"; done`
56313 return 0;
56315 _ACEOF
56316 rm -f conftest.$ac_objext
56317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56318 (eval $ac_compile) 2>conftest.er1
56319 ac_status=$?
56320 grep -v '^ *+' conftest.er1 >conftest.err
56321 rm -f conftest.er1
56322 cat conftest.err >&5
56323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56324 (exit $ac_status); } &&
56325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56327 (eval $ac_try) 2>&5
56328 ac_status=$?
56329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56330 (exit $ac_status); }; } &&
56331 { ac_try='test -s conftest.$ac_objext'
56332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333 (eval $ac_try) 2>&5
56334 ac_status=$?
56335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336 (exit $ac_status); }; }; then
56337 glibcxx_cv_func_float_round_use=yes
56338 else
56339 echo "$as_me: failed program was:" >&5
56340 sed 's/^/| /' conftest.$ac_ext >&5
56342 glibcxx_cv_func_float_round_use=no
56344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56345 ac_ext=c
56346 ac_cpp='$CPP $CPPFLAGS'
56347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56354 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56355 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56358 for ac_func in ceilf floorf
56360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56361 echo "$as_me:$LINENO: checking for $ac_func" >&5
56362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56363 if eval "test \"\${$as_ac_var+set}\" = set"; then
56364 echo $ECHO_N "(cached) $ECHO_C" >&6
56365 else
56366 if test x$gcc_no_link = xyes; then
56367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56369 { (exit 1); exit 1; }; }
56371 cat >conftest.$ac_ext <<_ACEOF
56372 /* confdefs.h. */
56373 _ACEOF
56374 cat confdefs.h >>conftest.$ac_ext
56375 cat >>conftest.$ac_ext <<_ACEOF
56376 /* end confdefs.h. */
56377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56379 #define $ac_func innocuous_$ac_func
56381 /* System header to define __stub macros and hopefully few prototypes,
56382 which can conflict with char $ac_func (); below.
56383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56384 <limits.h> exists even on freestanding compilers. */
56386 #ifdef __STDC__
56387 # include <limits.h>
56388 #else
56389 # include <assert.h>
56390 #endif
56392 #undef $ac_func
56394 /* Override any gcc2 internal prototype to avoid an error. */
56395 #ifdef __cplusplus
56396 extern "C"
56398 #endif
56399 /* We use char because int might match the return type of a gcc2
56400 builtin and then its argument prototype would still apply. */
56401 char $ac_func ();
56402 /* The GNU C library defines this for functions which it implements
56403 to always fail with ENOSYS. Some functions are actually named
56404 something starting with __ and the normal name is an alias. */
56405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56406 choke me
56407 #else
56408 char (*f) () = $ac_func;
56409 #endif
56410 #ifdef __cplusplus
56412 #endif
56415 main ()
56417 return f != $ac_func;
56419 return 0;
56421 _ACEOF
56422 rm -f conftest.$ac_objext conftest$ac_exeext
56423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56424 (eval $ac_link) 2>conftest.er1
56425 ac_status=$?
56426 grep -v '^ *+' conftest.er1 >conftest.err
56427 rm -f conftest.er1
56428 cat conftest.err >&5
56429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56430 (exit $ac_status); } &&
56431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56433 (eval $ac_try) 2>&5
56434 ac_status=$?
56435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56436 (exit $ac_status); }; } &&
56437 { ac_try='test -s conftest$ac_exeext'
56438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56439 (eval $ac_try) 2>&5
56440 ac_status=$?
56441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56442 (exit $ac_status); }; }; then
56443 eval "$as_ac_var=yes"
56444 else
56445 echo "$as_me: failed program was:" >&5
56446 sed 's/^/| /' conftest.$ac_ext >&5
56448 eval "$as_ac_var=no"
56450 rm -f conftest.err conftest.$ac_objext \
56451 conftest$ac_exeext conftest.$ac_ext
56453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56455 if test `eval echo '${'$as_ac_var'}'` = yes; then
56456 cat >>confdefs.h <<_ACEOF
56457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56458 _ACEOF
56461 done
56467 echo "$as_me:$LINENO: checking for expf declaration" >&5
56468 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56469 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56470 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56471 echo $ECHO_N "(cached) $ECHO_C" >&6
56472 else
56476 ac_ext=cc
56477 ac_cpp='$CXXCPP $CPPFLAGS'
56478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56482 cat >conftest.$ac_ext <<_ACEOF
56483 /* confdefs.h. */
56484 _ACEOF
56485 cat confdefs.h >>conftest.$ac_ext
56486 cat >>conftest.$ac_ext <<_ACEOF
56487 /* end confdefs.h. */
56488 #include <math.h>
56489 #ifdef HAVE_IEEEFP_H
56490 #include <ieeefp.h>
56491 #endif
56494 main ()
56496 expf(0);
56498 return 0;
56500 _ACEOF
56501 rm -f conftest.$ac_objext
56502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56503 (eval $ac_compile) 2>conftest.er1
56504 ac_status=$?
56505 grep -v '^ *+' conftest.er1 >conftest.err
56506 rm -f conftest.er1
56507 cat conftest.err >&5
56508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56509 (exit $ac_status); } &&
56510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56512 (eval $ac_try) 2>&5
56513 ac_status=$?
56514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515 (exit $ac_status); }; } &&
56516 { ac_try='test -s conftest.$ac_objext'
56517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56518 (eval $ac_try) 2>&5
56519 ac_status=$?
56520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56521 (exit $ac_status); }; }; then
56522 glibcxx_cv_func_expf_use=yes
56523 else
56524 echo "$as_me: failed program was:" >&5
56525 sed 's/^/| /' conftest.$ac_ext >&5
56527 glibcxx_cv_func_expf_use=no
56529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56530 ac_ext=c
56531 ac_cpp='$CPP $CPPFLAGS'
56532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56541 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56543 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56545 for ac_func in expf
56547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56548 echo "$as_me:$LINENO: checking for $ac_func" >&5
56549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56550 if eval "test \"\${$as_ac_var+set}\" = set"; then
56551 echo $ECHO_N "(cached) $ECHO_C" >&6
56552 else
56553 if test x$gcc_no_link = xyes; then
56554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56556 { (exit 1); exit 1; }; }
56558 cat >conftest.$ac_ext <<_ACEOF
56559 /* confdefs.h. */
56560 _ACEOF
56561 cat confdefs.h >>conftest.$ac_ext
56562 cat >>conftest.$ac_ext <<_ACEOF
56563 /* end confdefs.h. */
56564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56566 #define $ac_func innocuous_$ac_func
56568 /* System header to define __stub macros and hopefully few prototypes,
56569 which can conflict with char $ac_func (); below.
56570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56571 <limits.h> exists even on freestanding compilers. */
56573 #ifdef __STDC__
56574 # include <limits.h>
56575 #else
56576 # include <assert.h>
56577 #endif
56579 #undef $ac_func
56581 /* Override any gcc2 internal prototype to avoid an error. */
56582 #ifdef __cplusplus
56583 extern "C"
56585 #endif
56586 /* We use char because int might match the return type of a gcc2
56587 builtin and then its argument prototype would still apply. */
56588 char $ac_func ();
56589 /* The GNU C library defines this for functions which it implements
56590 to always fail with ENOSYS. Some functions are actually named
56591 something starting with __ and the normal name is an alias. */
56592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56593 choke me
56594 #else
56595 char (*f) () = $ac_func;
56596 #endif
56597 #ifdef __cplusplus
56599 #endif
56602 main ()
56604 return f != $ac_func;
56606 return 0;
56608 _ACEOF
56609 rm -f conftest.$ac_objext conftest$ac_exeext
56610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56611 (eval $ac_link) 2>conftest.er1
56612 ac_status=$?
56613 grep -v '^ *+' conftest.er1 >conftest.err
56614 rm -f conftest.er1
56615 cat conftest.err >&5
56616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56617 (exit $ac_status); } &&
56618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56620 (eval $ac_try) 2>&5
56621 ac_status=$?
56622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56623 (exit $ac_status); }; } &&
56624 { ac_try='test -s conftest$ac_exeext'
56625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56626 (eval $ac_try) 2>&5
56627 ac_status=$?
56628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56629 (exit $ac_status); }; }; then
56630 eval "$as_ac_var=yes"
56631 else
56632 echo "$as_me: failed program was:" >&5
56633 sed 's/^/| /' conftest.$ac_ext >&5
56635 eval "$as_ac_var=no"
56637 rm -f conftest.err conftest.$ac_objext \
56638 conftest$ac_exeext conftest.$ac_ext
56640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56642 if test `eval echo '${'$as_ac_var'}'` = yes; then
56643 cat >>confdefs.h <<_ACEOF
56644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56645 _ACEOF
56648 done
56650 else
56652 echo "$as_me:$LINENO: checking for _expf declaration" >&5
56653 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
56654 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56655 if test "${glibcxx_cv_func__expf_use+set}" = set; then
56656 echo $ECHO_N "(cached) $ECHO_C" >&6
56657 else
56661 ac_ext=cc
56662 ac_cpp='$CXXCPP $CPPFLAGS'
56663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56667 cat >conftest.$ac_ext <<_ACEOF
56668 /* confdefs.h. */
56669 _ACEOF
56670 cat confdefs.h >>conftest.$ac_ext
56671 cat >>conftest.$ac_ext <<_ACEOF
56672 /* end confdefs.h. */
56673 #include <math.h>
56674 #ifdef HAVE_IEEEFP_H
56675 #include <ieeefp.h>
56676 #endif
56679 main ()
56681 _expf(0);
56683 return 0;
56685 _ACEOF
56686 rm -f conftest.$ac_objext
56687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56688 (eval $ac_compile) 2>conftest.er1
56689 ac_status=$?
56690 grep -v '^ *+' conftest.er1 >conftest.err
56691 rm -f conftest.er1
56692 cat conftest.err >&5
56693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56694 (exit $ac_status); } &&
56695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56697 (eval $ac_try) 2>&5
56698 ac_status=$?
56699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56700 (exit $ac_status); }; } &&
56701 { ac_try='test -s conftest.$ac_objext'
56702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56703 (eval $ac_try) 2>&5
56704 ac_status=$?
56705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56706 (exit $ac_status); }; }; then
56707 glibcxx_cv_func__expf_use=yes
56708 else
56709 echo "$as_me: failed program was:" >&5
56710 sed 's/^/| /' conftest.$ac_ext >&5
56712 glibcxx_cv_func__expf_use=no
56714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56715 ac_ext=c
56716 ac_cpp='$CPP $CPPFLAGS'
56717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
56726 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
56728 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56730 for ac_func in _expf
56732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56733 echo "$as_me:$LINENO: checking for $ac_func" >&5
56734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56735 if eval "test \"\${$as_ac_var+set}\" = set"; then
56736 echo $ECHO_N "(cached) $ECHO_C" >&6
56737 else
56738 if test x$gcc_no_link = xyes; then
56739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56741 { (exit 1); exit 1; }; }
56743 cat >conftest.$ac_ext <<_ACEOF
56744 /* confdefs.h. */
56745 _ACEOF
56746 cat confdefs.h >>conftest.$ac_ext
56747 cat >>conftest.$ac_ext <<_ACEOF
56748 /* end confdefs.h. */
56749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56751 #define $ac_func innocuous_$ac_func
56753 /* System header to define __stub macros and hopefully few prototypes,
56754 which can conflict with char $ac_func (); below.
56755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56756 <limits.h> exists even on freestanding compilers. */
56758 #ifdef __STDC__
56759 # include <limits.h>
56760 #else
56761 # include <assert.h>
56762 #endif
56764 #undef $ac_func
56766 /* Override any gcc2 internal prototype to avoid an error. */
56767 #ifdef __cplusplus
56768 extern "C"
56770 #endif
56771 /* We use char because int might match the return type of a gcc2
56772 builtin and then its argument prototype would still apply. */
56773 char $ac_func ();
56774 /* The GNU C library defines this for functions which it implements
56775 to always fail with ENOSYS. Some functions are actually named
56776 something starting with __ and the normal name is an alias. */
56777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56778 choke me
56779 #else
56780 char (*f) () = $ac_func;
56781 #endif
56782 #ifdef __cplusplus
56784 #endif
56787 main ()
56789 return f != $ac_func;
56791 return 0;
56793 _ACEOF
56794 rm -f conftest.$ac_objext conftest$ac_exeext
56795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56796 (eval $ac_link) 2>conftest.er1
56797 ac_status=$?
56798 grep -v '^ *+' conftest.er1 >conftest.err
56799 rm -f conftest.er1
56800 cat conftest.err >&5
56801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56802 (exit $ac_status); } &&
56803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56805 (eval $ac_try) 2>&5
56806 ac_status=$?
56807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56808 (exit $ac_status); }; } &&
56809 { ac_try='test -s conftest$ac_exeext'
56810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56811 (eval $ac_try) 2>&5
56812 ac_status=$?
56813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56814 (exit $ac_status); }; }; then
56815 eval "$as_ac_var=yes"
56816 else
56817 echo "$as_me: failed program was:" >&5
56818 sed 's/^/| /' conftest.$ac_ext >&5
56820 eval "$as_ac_var=no"
56822 rm -f conftest.err conftest.$ac_objext \
56823 conftest$ac_exeext conftest.$ac_ext
56825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56827 if test `eval echo '${'$as_ac_var'}'` = yes; then
56828 cat >>confdefs.h <<_ACEOF
56829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56830 _ACEOF
56833 done
56840 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
56841 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
56842 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56843 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
56844 echo $ECHO_N "(cached) $ECHO_C" >&6
56845 else
56849 ac_ext=cc
56850 ac_cpp='$CXXCPP $CPPFLAGS'
56851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56855 cat >conftest.$ac_ext <<_ACEOF
56856 /* confdefs.h. */
56857 _ACEOF
56858 cat confdefs.h >>conftest.$ac_ext
56859 cat >>conftest.$ac_ext <<_ACEOF
56860 /* end confdefs.h. */
56861 #include <math.h>
56862 #ifdef HAVE_IEEEFP_H
56863 #include <ieeefp.h>
56864 #endif
56867 main ()
56869 isnanf(0);
56871 return 0;
56873 _ACEOF
56874 rm -f conftest.$ac_objext
56875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56876 (eval $ac_compile) 2>conftest.er1
56877 ac_status=$?
56878 grep -v '^ *+' conftest.er1 >conftest.err
56879 rm -f conftest.er1
56880 cat conftest.err >&5
56881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56882 (exit $ac_status); } &&
56883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56885 (eval $ac_try) 2>&5
56886 ac_status=$?
56887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56888 (exit $ac_status); }; } &&
56889 { ac_try='test -s conftest.$ac_objext'
56890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56891 (eval $ac_try) 2>&5
56892 ac_status=$?
56893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56894 (exit $ac_status); }; }; then
56895 glibcxx_cv_func_isnanf_use=yes
56896 else
56897 echo "$as_me: failed program was:" >&5
56898 sed 's/^/| /' conftest.$ac_ext >&5
56900 glibcxx_cv_func_isnanf_use=no
56902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56903 ac_ext=c
56904 ac_cpp='$CPP $CPPFLAGS'
56905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
56914 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
56916 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56918 for ac_func in isnanf
56920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56921 echo "$as_me:$LINENO: checking for $ac_func" >&5
56922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56923 if eval "test \"\${$as_ac_var+set}\" = set"; then
56924 echo $ECHO_N "(cached) $ECHO_C" >&6
56925 else
56926 if test x$gcc_no_link = xyes; then
56927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56929 { (exit 1); exit 1; }; }
56931 cat >conftest.$ac_ext <<_ACEOF
56932 /* confdefs.h. */
56933 _ACEOF
56934 cat confdefs.h >>conftest.$ac_ext
56935 cat >>conftest.$ac_ext <<_ACEOF
56936 /* end confdefs.h. */
56937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56939 #define $ac_func innocuous_$ac_func
56941 /* System header to define __stub macros and hopefully few prototypes,
56942 which can conflict with char $ac_func (); below.
56943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56944 <limits.h> exists even on freestanding compilers. */
56946 #ifdef __STDC__
56947 # include <limits.h>
56948 #else
56949 # include <assert.h>
56950 #endif
56952 #undef $ac_func
56954 /* Override any gcc2 internal prototype to avoid an error. */
56955 #ifdef __cplusplus
56956 extern "C"
56958 #endif
56959 /* We use char because int might match the return type of a gcc2
56960 builtin and then its argument prototype would still apply. */
56961 char $ac_func ();
56962 /* The GNU C library defines this for functions which it implements
56963 to always fail with ENOSYS. Some functions are actually named
56964 something starting with __ and the normal name is an alias. */
56965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56966 choke me
56967 #else
56968 char (*f) () = $ac_func;
56969 #endif
56970 #ifdef __cplusplus
56972 #endif
56975 main ()
56977 return f != $ac_func;
56979 return 0;
56981 _ACEOF
56982 rm -f conftest.$ac_objext conftest$ac_exeext
56983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56984 (eval $ac_link) 2>conftest.er1
56985 ac_status=$?
56986 grep -v '^ *+' conftest.er1 >conftest.err
56987 rm -f conftest.er1
56988 cat conftest.err >&5
56989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56990 (exit $ac_status); } &&
56991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56993 (eval $ac_try) 2>&5
56994 ac_status=$?
56995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56996 (exit $ac_status); }; } &&
56997 { ac_try='test -s conftest$ac_exeext'
56998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56999 (eval $ac_try) 2>&5
57000 ac_status=$?
57001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57002 (exit $ac_status); }; }; then
57003 eval "$as_ac_var=yes"
57004 else
57005 echo "$as_me: failed program was:" >&5
57006 sed 's/^/| /' conftest.$ac_ext >&5
57008 eval "$as_ac_var=no"
57010 rm -f conftest.err conftest.$ac_objext \
57011 conftest$ac_exeext conftest.$ac_ext
57013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57015 if test `eval echo '${'$as_ac_var'}'` = yes; then
57016 cat >>confdefs.h <<_ACEOF
57017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57018 _ACEOF
57021 done
57023 else
57025 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57026 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57027 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57028 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57029 echo $ECHO_N "(cached) $ECHO_C" >&6
57030 else
57034 ac_ext=cc
57035 ac_cpp='$CXXCPP $CPPFLAGS'
57036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57040 cat >conftest.$ac_ext <<_ACEOF
57041 /* confdefs.h. */
57042 _ACEOF
57043 cat confdefs.h >>conftest.$ac_ext
57044 cat >>conftest.$ac_ext <<_ACEOF
57045 /* end confdefs.h. */
57046 #include <math.h>
57047 #ifdef HAVE_IEEEFP_H
57048 #include <ieeefp.h>
57049 #endif
57052 main ()
57054 _isnanf(0);
57056 return 0;
57058 _ACEOF
57059 rm -f conftest.$ac_objext
57060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57061 (eval $ac_compile) 2>conftest.er1
57062 ac_status=$?
57063 grep -v '^ *+' conftest.er1 >conftest.err
57064 rm -f conftest.er1
57065 cat conftest.err >&5
57066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57067 (exit $ac_status); } &&
57068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57070 (eval $ac_try) 2>&5
57071 ac_status=$?
57072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57073 (exit $ac_status); }; } &&
57074 { ac_try='test -s conftest.$ac_objext'
57075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57076 (eval $ac_try) 2>&5
57077 ac_status=$?
57078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57079 (exit $ac_status); }; }; then
57080 glibcxx_cv_func__isnanf_use=yes
57081 else
57082 echo "$as_me: failed program was:" >&5
57083 sed 's/^/| /' conftest.$ac_ext >&5
57085 glibcxx_cv_func__isnanf_use=no
57087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57088 ac_ext=c
57089 ac_cpp='$CPP $CPPFLAGS'
57090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57099 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57101 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57103 for ac_func in _isnanf
57105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57106 echo "$as_me:$LINENO: checking for $ac_func" >&5
57107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57108 if eval "test \"\${$as_ac_var+set}\" = set"; then
57109 echo $ECHO_N "(cached) $ECHO_C" >&6
57110 else
57111 if test x$gcc_no_link = xyes; then
57112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57114 { (exit 1); exit 1; }; }
57116 cat >conftest.$ac_ext <<_ACEOF
57117 /* confdefs.h. */
57118 _ACEOF
57119 cat confdefs.h >>conftest.$ac_ext
57120 cat >>conftest.$ac_ext <<_ACEOF
57121 /* end confdefs.h. */
57122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57124 #define $ac_func innocuous_$ac_func
57126 /* System header to define __stub macros and hopefully few prototypes,
57127 which can conflict with char $ac_func (); below.
57128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57129 <limits.h> exists even on freestanding compilers. */
57131 #ifdef __STDC__
57132 # include <limits.h>
57133 #else
57134 # include <assert.h>
57135 #endif
57137 #undef $ac_func
57139 /* Override any gcc2 internal prototype to avoid an error. */
57140 #ifdef __cplusplus
57141 extern "C"
57143 #endif
57144 /* We use char because int might match the return type of a gcc2
57145 builtin and then its argument prototype would still apply. */
57146 char $ac_func ();
57147 /* The GNU C library defines this for functions which it implements
57148 to always fail with ENOSYS. Some functions are actually named
57149 something starting with __ and the normal name is an alias. */
57150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57151 choke me
57152 #else
57153 char (*f) () = $ac_func;
57154 #endif
57155 #ifdef __cplusplus
57157 #endif
57160 main ()
57162 return f != $ac_func;
57164 return 0;
57166 _ACEOF
57167 rm -f conftest.$ac_objext conftest$ac_exeext
57168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57169 (eval $ac_link) 2>conftest.er1
57170 ac_status=$?
57171 grep -v '^ *+' conftest.er1 >conftest.err
57172 rm -f conftest.er1
57173 cat conftest.err >&5
57174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57175 (exit $ac_status); } &&
57176 { ac_try='test -z "$ac_c_werror_flag" || 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
57213 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57214 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57215 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57216 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57217 echo $ECHO_N "(cached) $ECHO_C" >&6
57218 else
57222 ac_ext=cc
57223 ac_cpp='$CXXCPP $CPPFLAGS'
57224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57228 cat >conftest.$ac_ext <<_ACEOF
57229 /* confdefs.h. */
57230 _ACEOF
57231 cat confdefs.h >>conftest.$ac_ext
57232 cat >>conftest.$ac_ext <<_ACEOF
57233 /* end confdefs.h. */
57234 #include <math.h>
57235 #ifdef HAVE_IEEEFP_H
57236 #include <ieeefp.h>
57237 #endif
57240 main ()
57242 isinff(0);
57244 return 0;
57246 _ACEOF
57247 rm -f conftest.$ac_objext
57248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57249 (eval $ac_compile) 2>conftest.er1
57250 ac_status=$?
57251 grep -v '^ *+' conftest.er1 >conftest.err
57252 rm -f conftest.er1
57253 cat conftest.err >&5
57254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57255 (exit $ac_status); } &&
57256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57258 (eval $ac_try) 2>&5
57259 ac_status=$?
57260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57261 (exit $ac_status); }; } &&
57262 { ac_try='test -s conftest.$ac_objext'
57263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57264 (eval $ac_try) 2>&5
57265 ac_status=$?
57266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57267 (exit $ac_status); }; }; then
57268 glibcxx_cv_func_isinff_use=yes
57269 else
57270 echo "$as_me: failed program was:" >&5
57271 sed 's/^/| /' conftest.$ac_ext >&5
57273 glibcxx_cv_func_isinff_use=no
57275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57276 ac_ext=c
57277 ac_cpp='$CPP $CPPFLAGS'
57278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57286 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57287 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57289 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57291 for ac_func in isinff
57293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57294 echo "$as_me:$LINENO: checking for $ac_func" >&5
57295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57296 if eval "test \"\${$as_ac_var+set}\" = set"; then
57297 echo $ECHO_N "(cached) $ECHO_C" >&6
57298 else
57299 if test x$gcc_no_link = xyes; then
57300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57302 { (exit 1); exit 1; }; }
57304 cat >conftest.$ac_ext <<_ACEOF
57305 /* confdefs.h. */
57306 _ACEOF
57307 cat confdefs.h >>conftest.$ac_ext
57308 cat >>conftest.$ac_ext <<_ACEOF
57309 /* end confdefs.h. */
57310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57312 #define $ac_func innocuous_$ac_func
57314 /* System header to define __stub macros and hopefully few prototypes,
57315 which can conflict with char $ac_func (); below.
57316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57317 <limits.h> exists even on freestanding compilers. */
57319 #ifdef __STDC__
57320 # include <limits.h>
57321 #else
57322 # include <assert.h>
57323 #endif
57325 #undef $ac_func
57327 /* Override any gcc2 internal prototype to avoid an error. */
57328 #ifdef __cplusplus
57329 extern "C"
57331 #endif
57332 /* We use char because int might match the return type of a gcc2
57333 builtin and then its argument prototype would still apply. */
57334 char $ac_func ();
57335 /* The GNU C library defines this for functions which it implements
57336 to always fail with ENOSYS. Some functions are actually named
57337 something starting with __ and the normal name is an alias. */
57338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57339 choke me
57340 #else
57341 char (*f) () = $ac_func;
57342 #endif
57343 #ifdef __cplusplus
57345 #endif
57348 main ()
57350 return f != $ac_func;
57352 return 0;
57354 _ACEOF
57355 rm -f conftest.$ac_objext conftest$ac_exeext
57356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57357 (eval $ac_link) 2>conftest.er1
57358 ac_status=$?
57359 grep -v '^ *+' conftest.er1 >conftest.err
57360 rm -f conftest.er1
57361 cat conftest.err >&5
57362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57363 (exit $ac_status); } &&
57364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57366 (eval $ac_try) 2>&5
57367 ac_status=$?
57368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57369 (exit $ac_status); }; } &&
57370 { ac_try='test -s conftest$ac_exeext'
57371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57372 (eval $ac_try) 2>&5
57373 ac_status=$?
57374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57375 (exit $ac_status); }; }; then
57376 eval "$as_ac_var=yes"
57377 else
57378 echo "$as_me: failed program was:" >&5
57379 sed 's/^/| /' conftest.$ac_ext >&5
57381 eval "$as_ac_var=no"
57383 rm -f conftest.err conftest.$ac_objext \
57384 conftest$ac_exeext conftest.$ac_ext
57386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57388 if test `eval echo '${'$as_ac_var'}'` = yes; then
57389 cat >>confdefs.h <<_ACEOF
57390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57391 _ACEOF
57394 done
57396 else
57398 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57399 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57400 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57401 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57402 echo $ECHO_N "(cached) $ECHO_C" >&6
57403 else
57407 ac_ext=cc
57408 ac_cpp='$CXXCPP $CPPFLAGS'
57409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57413 cat >conftest.$ac_ext <<_ACEOF
57414 /* confdefs.h. */
57415 _ACEOF
57416 cat confdefs.h >>conftest.$ac_ext
57417 cat >>conftest.$ac_ext <<_ACEOF
57418 /* end confdefs.h. */
57419 #include <math.h>
57420 #ifdef HAVE_IEEEFP_H
57421 #include <ieeefp.h>
57422 #endif
57425 main ()
57427 _isinff(0);
57429 return 0;
57431 _ACEOF
57432 rm -f conftest.$ac_objext
57433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57434 (eval $ac_compile) 2>conftest.er1
57435 ac_status=$?
57436 grep -v '^ *+' conftest.er1 >conftest.err
57437 rm -f conftest.er1
57438 cat conftest.err >&5
57439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57440 (exit $ac_status); } &&
57441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57443 (eval $ac_try) 2>&5
57444 ac_status=$?
57445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57446 (exit $ac_status); }; } &&
57447 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
57453 glibcxx_cv_func__isinff_use=yes
57454 else
57455 echo "$as_me: failed program was:" >&5
57456 sed 's/^/| /' conftest.$ac_ext >&5
57458 glibcxx_cv_func__isinff_use=no
57460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57461 ac_ext=c
57462 ac_cpp='$CPP $CPPFLAGS'
57463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57472 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57474 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57476 for ac_func in _isinff
57478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57479 echo "$as_me:$LINENO: checking for $ac_func" >&5
57480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57481 if eval "test \"\${$as_ac_var+set}\" = set"; then
57482 echo $ECHO_N "(cached) $ECHO_C" >&6
57483 else
57484 if test x$gcc_no_link = xyes; then
57485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57487 { (exit 1); exit 1; }; }
57489 cat >conftest.$ac_ext <<_ACEOF
57490 /* confdefs.h. */
57491 _ACEOF
57492 cat confdefs.h >>conftest.$ac_ext
57493 cat >>conftest.$ac_ext <<_ACEOF
57494 /* end confdefs.h. */
57495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57497 #define $ac_func innocuous_$ac_func
57499 /* System header to define __stub macros and hopefully few prototypes,
57500 which can conflict with char $ac_func (); below.
57501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57502 <limits.h> exists even on freestanding compilers. */
57504 #ifdef __STDC__
57505 # include <limits.h>
57506 #else
57507 # include <assert.h>
57508 #endif
57510 #undef $ac_func
57512 /* Override any gcc2 internal prototype to avoid an error. */
57513 #ifdef __cplusplus
57514 extern "C"
57516 #endif
57517 /* We use char because int might match the return type of a gcc2
57518 builtin and then its argument prototype would still apply. */
57519 char $ac_func ();
57520 /* The GNU C library defines this for functions which it implements
57521 to always fail with ENOSYS. Some functions are actually named
57522 something starting with __ and the normal name is an alias. */
57523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57524 choke me
57525 #else
57526 char (*f) () = $ac_func;
57527 #endif
57528 #ifdef __cplusplus
57530 #endif
57533 main ()
57535 return f != $ac_func;
57537 return 0;
57539 _ACEOF
57540 rm -f conftest.$ac_objext conftest$ac_exeext
57541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57542 (eval $ac_link) 2>conftest.er1
57543 ac_status=$?
57544 grep -v '^ *+' conftest.er1 >conftest.err
57545 rm -f conftest.er1
57546 cat conftest.err >&5
57547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57548 (exit $ac_status); } &&
57549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57551 (eval $ac_try) 2>&5
57552 ac_status=$?
57553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57554 (exit $ac_status); }; } &&
57555 { ac_try='test -s conftest$ac_exeext'
57556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57557 (eval $ac_try) 2>&5
57558 ac_status=$?
57559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57560 (exit $ac_status); }; }; then
57561 eval "$as_ac_var=yes"
57562 else
57563 echo "$as_me: failed program was:" >&5
57564 sed 's/^/| /' conftest.$ac_ext >&5
57566 eval "$as_ac_var=no"
57568 rm -f conftest.err conftest.$ac_objext \
57569 conftest$ac_exeext conftest.$ac_ext
57571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57573 if test `eval echo '${'$as_ac_var'}'` = yes; then
57574 cat >>confdefs.h <<_ACEOF
57575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57576 _ACEOF
57579 done
57586 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57587 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57588 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57589 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57590 echo $ECHO_N "(cached) $ECHO_C" >&6
57591 else
57595 ac_ext=cc
57596 ac_cpp='$CXXCPP $CPPFLAGS'
57597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57601 cat >conftest.$ac_ext <<_ACEOF
57602 /* confdefs.h. */
57603 _ACEOF
57604 cat confdefs.h >>conftest.$ac_ext
57605 cat >>conftest.$ac_ext <<_ACEOF
57606 /* end confdefs.h. */
57607 #include <math.h>
57609 main ()
57611 atan2f(0, 0);
57613 return 0;
57615 _ACEOF
57616 rm -f conftest.$ac_objext
57617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57618 (eval $ac_compile) 2>conftest.er1
57619 ac_status=$?
57620 grep -v '^ *+' conftest.er1 >conftest.err
57621 rm -f conftest.er1
57622 cat conftest.err >&5
57623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57624 (exit $ac_status); } &&
57625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57627 (eval $ac_try) 2>&5
57628 ac_status=$?
57629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57630 (exit $ac_status); }; } &&
57631 { ac_try='test -s conftest.$ac_objext'
57632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57633 (eval $ac_try) 2>&5
57634 ac_status=$?
57635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57636 (exit $ac_status); }; }; then
57637 glibcxx_cv_func_atan2f_use=yes
57638 else
57639 echo "$as_me: failed program was:" >&5
57640 sed 's/^/| /' conftest.$ac_ext >&5
57642 glibcxx_cv_func_atan2f_use=no
57644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57645 ac_ext=c
57646 ac_cpp='$CPP $CPPFLAGS'
57647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
57656 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
57658 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57660 for ac_func in atan2f
57662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57663 echo "$as_me:$LINENO: checking for $ac_func" >&5
57664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57665 if eval "test \"\${$as_ac_var+set}\" = set"; then
57666 echo $ECHO_N "(cached) $ECHO_C" >&6
57667 else
57668 if test x$gcc_no_link = xyes; then
57669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57671 { (exit 1); exit 1; }; }
57673 cat >conftest.$ac_ext <<_ACEOF
57674 /* confdefs.h. */
57675 _ACEOF
57676 cat confdefs.h >>conftest.$ac_ext
57677 cat >>conftest.$ac_ext <<_ACEOF
57678 /* end confdefs.h. */
57679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57681 #define $ac_func innocuous_$ac_func
57683 /* System header to define __stub macros and hopefully few prototypes,
57684 which can conflict with char $ac_func (); below.
57685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57686 <limits.h> exists even on freestanding compilers. */
57688 #ifdef __STDC__
57689 # include <limits.h>
57690 #else
57691 # include <assert.h>
57692 #endif
57694 #undef $ac_func
57696 /* Override any gcc2 internal prototype to avoid an error. */
57697 #ifdef __cplusplus
57698 extern "C"
57700 #endif
57701 /* We use char because int might match the return type of a gcc2
57702 builtin and then its argument prototype would still apply. */
57703 char $ac_func ();
57704 /* The GNU C library defines this for functions which it implements
57705 to always fail with ENOSYS. Some functions are actually named
57706 something starting with __ and the normal name is an alias. */
57707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57708 choke me
57709 #else
57710 char (*f) () = $ac_func;
57711 #endif
57712 #ifdef __cplusplus
57714 #endif
57717 main ()
57719 return f != $ac_func;
57721 return 0;
57723 _ACEOF
57724 rm -f conftest.$ac_objext conftest$ac_exeext
57725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57726 (eval $ac_link) 2>conftest.er1
57727 ac_status=$?
57728 grep -v '^ *+' conftest.er1 >conftest.err
57729 rm -f conftest.er1
57730 cat conftest.err >&5
57731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57732 (exit $ac_status); } &&
57733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57735 (eval $ac_try) 2>&5
57736 ac_status=$?
57737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57738 (exit $ac_status); }; } &&
57739 { ac_try='test -s conftest$ac_exeext'
57740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57741 (eval $ac_try) 2>&5
57742 ac_status=$?
57743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57744 (exit $ac_status); }; }; then
57745 eval "$as_ac_var=yes"
57746 else
57747 echo "$as_me: failed program was:" >&5
57748 sed 's/^/| /' conftest.$ac_ext >&5
57750 eval "$as_ac_var=no"
57752 rm -f conftest.err conftest.$ac_objext \
57753 conftest$ac_exeext conftest.$ac_ext
57755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57757 if test `eval echo '${'$as_ac_var'}'` = yes; then
57758 cat >>confdefs.h <<_ACEOF
57759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57760 _ACEOF
57763 done
57765 else
57767 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
57768 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
57769 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
57770 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
57771 echo $ECHO_N "(cached) $ECHO_C" >&6
57772 else
57776 ac_ext=cc
57777 ac_cpp='$CXXCPP $CPPFLAGS'
57778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57782 cat >conftest.$ac_ext <<_ACEOF
57783 /* confdefs.h. */
57784 _ACEOF
57785 cat confdefs.h >>conftest.$ac_ext
57786 cat >>conftest.$ac_ext <<_ACEOF
57787 /* end confdefs.h. */
57788 #include <math.h>
57790 main ()
57792 _atan2f(0, 0);
57794 return 0;
57796 _ACEOF
57797 rm -f conftest.$ac_objext
57798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57799 (eval $ac_compile) 2>conftest.er1
57800 ac_status=$?
57801 grep -v '^ *+' conftest.er1 >conftest.err
57802 rm -f conftest.er1
57803 cat conftest.err >&5
57804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805 (exit $ac_status); } &&
57806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57808 (eval $ac_try) 2>&5
57809 ac_status=$?
57810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57811 (exit $ac_status); }; } &&
57812 { ac_try='test -s conftest.$ac_objext'
57813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57814 (eval $ac_try) 2>&5
57815 ac_status=$?
57816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57817 (exit $ac_status); }; }; then
57818 glibcxx_cv_func__atan2f_use=yes
57819 else
57820 echo "$as_me: failed program was:" >&5
57821 sed 's/^/| /' conftest.$ac_ext >&5
57823 glibcxx_cv_func__atan2f_use=no
57825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57826 ac_ext=c
57827 ac_cpp='$CPP $CPPFLAGS'
57828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
57837 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
57839 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
57841 for ac_func in _atan2f
57843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57844 echo "$as_me:$LINENO: checking for $ac_func" >&5
57845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57846 if eval "test \"\${$as_ac_var+set}\" = set"; then
57847 echo $ECHO_N "(cached) $ECHO_C" >&6
57848 else
57849 if test x$gcc_no_link = xyes; then
57850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57852 { (exit 1); exit 1; }; }
57854 cat >conftest.$ac_ext <<_ACEOF
57855 /* confdefs.h. */
57856 _ACEOF
57857 cat confdefs.h >>conftest.$ac_ext
57858 cat >>conftest.$ac_ext <<_ACEOF
57859 /* end confdefs.h. */
57860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57862 #define $ac_func innocuous_$ac_func
57864 /* System header to define __stub macros and hopefully few prototypes,
57865 which can conflict with char $ac_func (); below.
57866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57867 <limits.h> exists even on freestanding compilers. */
57869 #ifdef __STDC__
57870 # include <limits.h>
57871 #else
57872 # include <assert.h>
57873 #endif
57875 #undef $ac_func
57877 /* Override any gcc2 internal prototype to avoid an error. */
57878 #ifdef __cplusplus
57879 extern "C"
57881 #endif
57882 /* We use char because int might match the return type of a gcc2
57883 builtin and then its argument prototype would still apply. */
57884 char $ac_func ();
57885 /* The GNU C library defines this for functions which it implements
57886 to always fail with ENOSYS. Some functions are actually named
57887 something starting with __ and the normal name is an alias. */
57888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57889 choke me
57890 #else
57891 char (*f) () = $ac_func;
57892 #endif
57893 #ifdef __cplusplus
57895 #endif
57898 main ()
57900 return f != $ac_func;
57902 return 0;
57904 _ACEOF
57905 rm -f conftest.$ac_objext conftest$ac_exeext
57906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57907 (eval $ac_link) 2>conftest.er1
57908 ac_status=$?
57909 grep -v '^ *+' conftest.er1 >conftest.err
57910 rm -f conftest.er1
57911 cat conftest.err >&5
57912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57913 (exit $ac_status); } &&
57914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57916 (eval $ac_try) 2>&5
57917 ac_status=$?
57918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57919 (exit $ac_status); }; } &&
57920 { ac_try='test -s conftest$ac_exeext'
57921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57922 (eval $ac_try) 2>&5
57923 ac_status=$?
57924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57925 (exit $ac_status); }; }; then
57926 eval "$as_ac_var=yes"
57927 else
57928 echo "$as_me: failed program was:" >&5
57929 sed 's/^/| /' conftest.$ac_ext >&5
57931 eval "$as_ac_var=no"
57933 rm -f conftest.err conftest.$ac_objext \
57934 conftest$ac_exeext conftest.$ac_ext
57936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57938 if test `eval echo '${'$as_ac_var'}'` = yes; then
57939 cat >>confdefs.h <<_ACEOF
57940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57941 _ACEOF
57944 done
57951 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
57952 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
57953 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
57954 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
57955 echo $ECHO_N "(cached) $ECHO_C" >&6
57956 else
57960 ac_ext=cc
57961 ac_cpp='$CXXCPP $CPPFLAGS'
57962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57966 cat >conftest.$ac_ext <<_ACEOF
57967 /* confdefs.h. */
57968 _ACEOF
57969 cat confdefs.h >>conftest.$ac_ext
57970 cat >>conftest.$ac_ext <<_ACEOF
57971 /* end confdefs.h. */
57972 #include <math.h>
57973 #ifdef HAVE_IEEEFP_H
57974 #include <ieeefp.h>
57975 #endif
57978 main ()
57980 fabsf(0);
57982 return 0;
57984 _ACEOF
57985 rm -f conftest.$ac_objext
57986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57987 (eval $ac_compile) 2>conftest.er1
57988 ac_status=$?
57989 grep -v '^ *+' conftest.er1 >conftest.err
57990 rm -f conftest.er1
57991 cat conftest.err >&5
57992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57993 (exit $ac_status); } &&
57994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57996 (eval $ac_try) 2>&5
57997 ac_status=$?
57998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999 (exit $ac_status); }; } &&
58000 { ac_try='test -s conftest.$ac_objext'
58001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58002 (eval $ac_try) 2>&5
58003 ac_status=$?
58004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58005 (exit $ac_status); }; }; then
58006 glibcxx_cv_func_fabsf_use=yes
58007 else
58008 echo "$as_me: failed program was:" >&5
58009 sed 's/^/| /' conftest.$ac_ext >&5
58011 glibcxx_cv_func_fabsf_use=no
58013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58014 ac_ext=c
58015 ac_cpp='$CPP $CPPFLAGS'
58016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58025 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58027 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58029 for ac_func in fabsf
58031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58032 echo "$as_me:$LINENO: checking for $ac_func" >&5
58033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58034 if eval "test \"\${$as_ac_var+set}\" = set"; then
58035 echo $ECHO_N "(cached) $ECHO_C" >&6
58036 else
58037 if test x$gcc_no_link = xyes; then
58038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58040 { (exit 1); exit 1; }; }
58042 cat >conftest.$ac_ext <<_ACEOF
58043 /* confdefs.h. */
58044 _ACEOF
58045 cat confdefs.h >>conftest.$ac_ext
58046 cat >>conftest.$ac_ext <<_ACEOF
58047 /* end confdefs.h. */
58048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58050 #define $ac_func innocuous_$ac_func
58052 /* System header to define __stub macros and hopefully few prototypes,
58053 which can conflict with char $ac_func (); below.
58054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58055 <limits.h> exists even on freestanding compilers. */
58057 #ifdef __STDC__
58058 # include <limits.h>
58059 #else
58060 # include <assert.h>
58061 #endif
58063 #undef $ac_func
58065 /* Override any gcc2 internal prototype to avoid an error. */
58066 #ifdef __cplusplus
58067 extern "C"
58069 #endif
58070 /* We use char because int might match the return type of a gcc2
58071 builtin and then its argument prototype would still apply. */
58072 char $ac_func ();
58073 /* The GNU C library defines this for functions which it implements
58074 to always fail with ENOSYS. Some functions are actually named
58075 something starting with __ and the normal name is an alias. */
58076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58077 choke me
58078 #else
58079 char (*f) () = $ac_func;
58080 #endif
58081 #ifdef __cplusplus
58083 #endif
58086 main ()
58088 return f != $ac_func;
58090 return 0;
58092 _ACEOF
58093 rm -f conftest.$ac_objext conftest$ac_exeext
58094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58095 (eval $ac_link) 2>conftest.er1
58096 ac_status=$?
58097 grep -v '^ *+' conftest.er1 >conftest.err
58098 rm -f conftest.er1
58099 cat conftest.err >&5
58100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58101 (exit $ac_status); } &&
58102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58104 (eval $ac_try) 2>&5
58105 ac_status=$?
58106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58107 (exit $ac_status); }; } &&
58108 { ac_try='test -s conftest$ac_exeext'
58109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58110 (eval $ac_try) 2>&5
58111 ac_status=$?
58112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58113 (exit $ac_status); }; }; then
58114 eval "$as_ac_var=yes"
58115 else
58116 echo "$as_me: failed program was:" >&5
58117 sed 's/^/| /' conftest.$ac_ext >&5
58119 eval "$as_ac_var=no"
58121 rm -f conftest.err conftest.$ac_objext \
58122 conftest$ac_exeext conftest.$ac_ext
58124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58126 if test `eval echo '${'$as_ac_var'}'` = yes; then
58127 cat >>confdefs.h <<_ACEOF
58128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58129 _ACEOF
58132 done
58134 else
58136 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58137 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58138 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58139 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58140 echo $ECHO_N "(cached) $ECHO_C" >&6
58141 else
58145 ac_ext=cc
58146 ac_cpp='$CXXCPP $CPPFLAGS'
58147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58151 cat >conftest.$ac_ext <<_ACEOF
58152 /* confdefs.h. */
58153 _ACEOF
58154 cat confdefs.h >>conftest.$ac_ext
58155 cat >>conftest.$ac_ext <<_ACEOF
58156 /* end confdefs.h. */
58157 #include <math.h>
58158 #ifdef HAVE_IEEEFP_H
58159 #include <ieeefp.h>
58160 #endif
58163 main ()
58165 _fabsf(0);
58167 return 0;
58169 _ACEOF
58170 rm -f conftest.$ac_objext
58171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58172 (eval $ac_compile) 2>conftest.er1
58173 ac_status=$?
58174 grep -v '^ *+' conftest.er1 >conftest.err
58175 rm -f conftest.er1
58176 cat conftest.err >&5
58177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58178 (exit $ac_status); } &&
58179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58181 (eval $ac_try) 2>&5
58182 ac_status=$?
58183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58184 (exit $ac_status); }; } &&
58185 { ac_try='test -s conftest.$ac_objext'
58186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58187 (eval $ac_try) 2>&5
58188 ac_status=$?
58189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58190 (exit $ac_status); }; }; then
58191 glibcxx_cv_func__fabsf_use=yes
58192 else
58193 echo "$as_me: failed program was:" >&5
58194 sed 's/^/| /' conftest.$ac_ext >&5
58196 glibcxx_cv_func__fabsf_use=no
58198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58199 ac_ext=c
58200 ac_cpp='$CPP $CPPFLAGS'
58201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58210 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58212 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58214 for ac_func in _fabsf
58216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58217 echo "$as_me:$LINENO: checking for $ac_func" >&5
58218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58219 if eval "test \"\${$as_ac_var+set}\" = set"; then
58220 echo $ECHO_N "(cached) $ECHO_C" >&6
58221 else
58222 if test x$gcc_no_link = xyes; then
58223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58225 { (exit 1); exit 1; }; }
58227 cat >conftest.$ac_ext <<_ACEOF
58228 /* confdefs.h. */
58229 _ACEOF
58230 cat confdefs.h >>conftest.$ac_ext
58231 cat >>conftest.$ac_ext <<_ACEOF
58232 /* end confdefs.h. */
58233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58235 #define $ac_func innocuous_$ac_func
58237 /* System header to define __stub macros and hopefully few prototypes,
58238 which can conflict with char $ac_func (); below.
58239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58240 <limits.h> exists even on freestanding compilers. */
58242 #ifdef __STDC__
58243 # include <limits.h>
58244 #else
58245 # include <assert.h>
58246 #endif
58248 #undef $ac_func
58250 /* Override any gcc2 internal prototype to avoid an error. */
58251 #ifdef __cplusplus
58252 extern "C"
58254 #endif
58255 /* We use char because int might match the return type of a gcc2
58256 builtin and then its argument prototype would still apply. */
58257 char $ac_func ();
58258 /* The GNU C library defines this for functions which it implements
58259 to always fail with ENOSYS. Some functions are actually named
58260 something starting with __ and the normal name is an alias. */
58261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58262 choke me
58263 #else
58264 char (*f) () = $ac_func;
58265 #endif
58266 #ifdef __cplusplus
58268 #endif
58271 main ()
58273 return f != $ac_func;
58275 return 0;
58277 _ACEOF
58278 rm -f conftest.$ac_objext conftest$ac_exeext
58279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58280 (eval $ac_link) 2>conftest.er1
58281 ac_status=$?
58282 grep -v '^ *+' conftest.er1 >conftest.err
58283 rm -f conftest.er1
58284 cat conftest.err >&5
58285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58286 (exit $ac_status); } &&
58287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58289 (eval $ac_try) 2>&5
58290 ac_status=$?
58291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58292 (exit $ac_status); }; } &&
58293 { ac_try='test -s conftest$ac_exeext'
58294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58295 (eval $ac_try) 2>&5
58296 ac_status=$?
58297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58298 (exit $ac_status); }; }; then
58299 eval "$as_ac_var=yes"
58300 else
58301 echo "$as_me: failed program was:" >&5
58302 sed 's/^/| /' conftest.$ac_ext >&5
58304 eval "$as_ac_var=no"
58306 rm -f conftest.err conftest.$ac_objext \
58307 conftest$ac_exeext conftest.$ac_ext
58309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58311 if test `eval echo '${'$as_ac_var'}'` = yes; then
58312 cat >>confdefs.h <<_ACEOF
58313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58314 _ACEOF
58317 done
58324 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58325 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58326 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58327 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58328 echo $ECHO_N "(cached) $ECHO_C" >&6
58329 else
58333 ac_ext=cc
58334 ac_cpp='$CXXCPP $CPPFLAGS'
58335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58339 cat >conftest.$ac_ext <<_ACEOF
58340 /* confdefs.h. */
58341 _ACEOF
58342 cat confdefs.h >>conftest.$ac_ext
58343 cat >>conftest.$ac_ext <<_ACEOF
58344 /* end confdefs.h. */
58345 #include <math.h>
58347 main ()
58349 fmodf(0, 0);
58351 return 0;
58353 _ACEOF
58354 rm -f conftest.$ac_objext
58355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58356 (eval $ac_compile) 2>conftest.er1
58357 ac_status=$?
58358 grep -v '^ *+' conftest.er1 >conftest.err
58359 rm -f conftest.er1
58360 cat conftest.err >&5
58361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58362 (exit $ac_status); } &&
58363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58365 (eval $ac_try) 2>&5
58366 ac_status=$?
58367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58368 (exit $ac_status); }; } &&
58369 { ac_try='test -s conftest.$ac_objext'
58370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58371 (eval $ac_try) 2>&5
58372 ac_status=$?
58373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58374 (exit $ac_status); }; }; then
58375 glibcxx_cv_func_fmodf_use=yes
58376 else
58377 echo "$as_me: failed program was:" >&5
58378 sed 's/^/| /' conftest.$ac_ext >&5
58380 glibcxx_cv_func_fmodf_use=no
58382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58383 ac_ext=c
58384 ac_cpp='$CPP $CPPFLAGS'
58385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58394 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58396 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58398 for ac_func in fmodf
58400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58401 echo "$as_me:$LINENO: checking for $ac_func" >&5
58402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58403 if eval "test \"\${$as_ac_var+set}\" = set"; then
58404 echo $ECHO_N "(cached) $ECHO_C" >&6
58405 else
58406 if test x$gcc_no_link = xyes; then
58407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58409 { (exit 1); exit 1; }; }
58411 cat >conftest.$ac_ext <<_ACEOF
58412 /* confdefs.h. */
58413 _ACEOF
58414 cat confdefs.h >>conftest.$ac_ext
58415 cat >>conftest.$ac_ext <<_ACEOF
58416 /* end confdefs.h. */
58417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58419 #define $ac_func innocuous_$ac_func
58421 /* System header to define __stub macros and hopefully few prototypes,
58422 which can conflict with char $ac_func (); below.
58423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58424 <limits.h> exists even on freestanding compilers. */
58426 #ifdef __STDC__
58427 # include <limits.h>
58428 #else
58429 # include <assert.h>
58430 #endif
58432 #undef $ac_func
58434 /* Override any gcc2 internal prototype to avoid an error. */
58435 #ifdef __cplusplus
58436 extern "C"
58438 #endif
58439 /* We use char because int might match the return type of a gcc2
58440 builtin and then its argument prototype would still apply. */
58441 char $ac_func ();
58442 /* The GNU C library defines this for functions which it implements
58443 to always fail with ENOSYS. Some functions are actually named
58444 something starting with __ and the normal name is an alias. */
58445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58446 choke me
58447 #else
58448 char (*f) () = $ac_func;
58449 #endif
58450 #ifdef __cplusplus
58452 #endif
58455 main ()
58457 return f != $ac_func;
58459 return 0;
58461 _ACEOF
58462 rm -f conftest.$ac_objext conftest$ac_exeext
58463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58464 (eval $ac_link) 2>conftest.er1
58465 ac_status=$?
58466 grep -v '^ *+' conftest.er1 >conftest.err
58467 rm -f conftest.er1
58468 cat conftest.err >&5
58469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58470 (exit $ac_status); } &&
58471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58473 (eval $ac_try) 2>&5
58474 ac_status=$?
58475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58476 (exit $ac_status); }; } &&
58477 { ac_try='test -s conftest$ac_exeext'
58478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58479 (eval $ac_try) 2>&5
58480 ac_status=$?
58481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482 (exit $ac_status); }; }; then
58483 eval "$as_ac_var=yes"
58484 else
58485 echo "$as_me: failed program was:" >&5
58486 sed 's/^/| /' conftest.$ac_ext >&5
58488 eval "$as_ac_var=no"
58490 rm -f conftest.err conftest.$ac_objext \
58491 conftest$ac_exeext conftest.$ac_ext
58493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58495 if test `eval echo '${'$as_ac_var'}'` = yes; then
58496 cat >>confdefs.h <<_ACEOF
58497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58498 _ACEOF
58501 done
58503 else
58505 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58506 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58507 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58508 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58509 echo $ECHO_N "(cached) $ECHO_C" >&6
58510 else
58514 ac_ext=cc
58515 ac_cpp='$CXXCPP $CPPFLAGS'
58516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58520 cat >conftest.$ac_ext <<_ACEOF
58521 /* confdefs.h. */
58522 _ACEOF
58523 cat confdefs.h >>conftest.$ac_ext
58524 cat >>conftest.$ac_ext <<_ACEOF
58525 /* end confdefs.h. */
58526 #include <math.h>
58528 main ()
58530 _fmodf(0, 0);
58532 return 0;
58534 _ACEOF
58535 rm -f conftest.$ac_objext
58536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58537 (eval $ac_compile) 2>conftest.er1
58538 ac_status=$?
58539 grep -v '^ *+' conftest.er1 >conftest.err
58540 rm -f conftest.er1
58541 cat conftest.err >&5
58542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58543 (exit $ac_status); } &&
58544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58546 (eval $ac_try) 2>&5
58547 ac_status=$?
58548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58549 (exit $ac_status); }; } &&
58550 { ac_try='test -s conftest.$ac_objext'
58551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58552 (eval $ac_try) 2>&5
58553 ac_status=$?
58554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58555 (exit $ac_status); }; }; then
58556 glibcxx_cv_func__fmodf_use=yes
58557 else
58558 echo "$as_me: failed program was:" >&5
58559 sed 's/^/| /' conftest.$ac_ext >&5
58561 glibcxx_cv_func__fmodf_use=no
58563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58564 ac_ext=c
58565 ac_cpp='$CPP $CPPFLAGS'
58566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58574 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58575 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58577 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58579 for ac_func in _fmodf
58581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58582 echo "$as_me:$LINENO: checking for $ac_func" >&5
58583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58584 if eval "test \"\${$as_ac_var+set}\" = set"; then
58585 echo $ECHO_N "(cached) $ECHO_C" >&6
58586 else
58587 if test x$gcc_no_link = xyes; then
58588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58590 { (exit 1); exit 1; }; }
58592 cat >conftest.$ac_ext <<_ACEOF
58593 /* confdefs.h. */
58594 _ACEOF
58595 cat confdefs.h >>conftest.$ac_ext
58596 cat >>conftest.$ac_ext <<_ACEOF
58597 /* end confdefs.h. */
58598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58600 #define $ac_func innocuous_$ac_func
58602 /* System header to define __stub macros and hopefully few prototypes,
58603 which can conflict with char $ac_func (); below.
58604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58605 <limits.h> exists even on freestanding compilers. */
58607 #ifdef __STDC__
58608 # include <limits.h>
58609 #else
58610 # include <assert.h>
58611 #endif
58613 #undef $ac_func
58615 /* Override any gcc2 internal prototype to avoid an error. */
58616 #ifdef __cplusplus
58617 extern "C"
58619 #endif
58620 /* We use char because int might match the return type of a gcc2
58621 builtin and then its argument prototype would still apply. */
58622 char $ac_func ();
58623 /* The GNU C library defines this for functions which it implements
58624 to always fail with ENOSYS. Some functions are actually named
58625 something starting with __ and the normal name is an alias. */
58626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58627 choke me
58628 #else
58629 char (*f) () = $ac_func;
58630 #endif
58631 #ifdef __cplusplus
58633 #endif
58636 main ()
58638 return f != $ac_func;
58640 return 0;
58642 _ACEOF
58643 rm -f conftest.$ac_objext conftest$ac_exeext
58644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58645 (eval $ac_link) 2>conftest.er1
58646 ac_status=$?
58647 grep -v '^ *+' conftest.er1 >conftest.err
58648 rm -f conftest.er1
58649 cat conftest.err >&5
58650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58651 (exit $ac_status); } &&
58652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58654 (eval $ac_try) 2>&5
58655 ac_status=$?
58656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657 (exit $ac_status); }; } &&
58658 { ac_try='test -s conftest$ac_exeext'
58659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58660 (eval $ac_try) 2>&5
58661 ac_status=$?
58662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58663 (exit $ac_status); }; }; then
58664 eval "$as_ac_var=yes"
58665 else
58666 echo "$as_me: failed program was:" >&5
58667 sed 's/^/| /' conftest.$ac_ext >&5
58669 eval "$as_ac_var=no"
58671 rm -f conftest.err conftest.$ac_objext \
58672 conftest$ac_exeext conftest.$ac_ext
58674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58676 if test `eval echo '${'$as_ac_var'}'` = yes; then
58677 cat >>confdefs.h <<_ACEOF
58678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58679 _ACEOF
58682 done
58689 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
58690 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
58691 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
58692 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
58693 echo $ECHO_N "(cached) $ECHO_C" >&6
58694 else
58698 ac_ext=cc
58699 ac_cpp='$CXXCPP $CPPFLAGS'
58700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58704 cat >conftest.$ac_ext <<_ACEOF
58705 /* confdefs.h. */
58706 _ACEOF
58707 cat confdefs.h >>conftest.$ac_ext
58708 cat >>conftest.$ac_ext <<_ACEOF
58709 /* end confdefs.h. */
58710 #include <math.h>
58712 main ()
58714 frexpf(0, 0);
58716 return 0;
58718 _ACEOF
58719 rm -f conftest.$ac_objext
58720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58721 (eval $ac_compile) 2>conftest.er1
58722 ac_status=$?
58723 grep -v '^ *+' conftest.er1 >conftest.err
58724 rm -f conftest.er1
58725 cat conftest.err >&5
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); } &&
58728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58730 (eval $ac_try) 2>&5
58731 ac_status=$?
58732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58733 (exit $ac_status); }; } &&
58734 { ac_try='test -s conftest.$ac_objext'
58735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58736 (eval $ac_try) 2>&5
58737 ac_status=$?
58738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58739 (exit $ac_status); }; }; then
58740 glibcxx_cv_func_frexpf_use=yes
58741 else
58742 echo "$as_me: failed program was:" >&5
58743 sed 's/^/| /' conftest.$ac_ext >&5
58745 glibcxx_cv_func_frexpf_use=no
58747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58748 ac_ext=c
58749 ac_cpp='$CPP $CPPFLAGS'
58750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
58759 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
58761 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
58763 for ac_func in frexpf
58765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58766 echo "$as_me:$LINENO: checking for $ac_func" >&5
58767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58768 if eval "test \"\${$as_ac_var+set}\" = set"; then
58769 echo $ECHO_N "(cached) $ECHO_C" >&6
58770 else
58771 if test x$gcc_no_link = xyes; then
58772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58774 { (exit 1); exit 1; }; }
58776 cat >conftest.$ac_ext <<_ACEOF
58777 /* confdefs.h. */
58778 _ACEOF
58779 cat confdefs.h >>conftest.$ac_ext
58780 cat >>conftest.$ac_ext <<_ACEOF
58781 /* end confdefs.h. */
58782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58784 #define $ac_func innocuous_$ac_func
58786 /* System header to define __stub macros and hopefully few prototypes,
58787 which can conflict with char $ac_func (); below.
58788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58789 <limits.h> exists even on freestanding compilers. */
58791 #ifdef __STDC__
58792 # include <limits.h>
58793 #else
58794 # include <assert.h>
58795 #endif
58797 #undef $ac_func
58799 /* Override any gcc2 internal prototype to avoid an error. */
58800 #ifdef __cplusplus
58801 extern "C"
58803 #endif
58804 /* We use char because int might match the return type of a gcc2
58805 builtin and then its argument prototype would still apply. */
58806 char $ac_func ();
58807 /* The GNU C library defines this for functions which it implements
58808 to always fail with ENOSYS. Some functions are actually named
58809 something starting with __ and the normal name is an alias. */
58810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58811 choke me
58812 #else
58813 char (*f) () = $ac_func;
58814 #endif
58815 #ifdef __cplusplus
58817 #endif
58820 main ()
58822 return f != $ac_func;
58824 return 0;
58826 _ACEOF
58827 rm -f conftest.$ac_objext conftest$ac_exeext
58828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58829 (eval $ac_link) 2>conftest.er1
58830 ac_status=$?
58831 grep -v '^ *+' conftest.er1 >conftest.err
58832 rm -f conftest.er1
58833 cat conftest.err >&5
58834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58835 (exit $ac_status); } &&
58836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58838 (eval $ac_try) 2>&5
58839 ac_status=$?
58840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58841 (exit $ac_status); }; } &&
58842 { ac_try='test -s conftest$ac_exeext'
58843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58844 (eval $ac_try) 2>&5
58845 ac_status=$?
58846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58847 (exit $ac_status); }; }; then
58848 eval "$as_ac_var=yes"
58849 else
58850 echo "$as_me: failed program was:" >&5
58851 sed 's/^/| /' conftest.$ac_ext >&5
58853 eval "$as_ac_var=no"
58855 rm -f conftest.err conftest.$ac_objext \
58856 conftest$ac_exeext conftest.$ac_ext
58858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58860 if test `eval echo '${'$as_ac_var'}'` = yes; then
58861 cat >>confdefs.h <<_ACEOF
58862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58863 _ACEOF
58866 done
58868 else
58870 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
58871 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
58872 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
58873 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
58874 echo $ECHO_N "(cached) $ECHO_C" >&6
58875 else
58879 ac_ext=cc
58880 ac_cpp='$CXXCPP $CPPFLAGS'
58881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58885 cat >conftest.$ac_ext <<_ACEOF
58886 /* confdefs.h. */
58887 _ACEOF
58888 cat confdefs.h >>conftest.$ac_ext
58889 cat >>conftest.$ac_ext <<_ACEOF
58890 /* end confdefs.h. */
58891 #include <math.h>
58893 main ()
58895 _frexpf(0, 0);
58897 return 0;
58899 _ACEOF
58900 rm -f conftest.$ac_objext
58901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58902 (eval $ac_compile) 2>conftest.er1
58903 ac_status=$?
58904 grep -v '^ *+' conftest.er1 >conftest.err
58905 rm -f conftest.er1
58906 cat conftest.err >&5
58907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58908 (exit $ac_status); } &&
58909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58911 (eval $ac_try) 2>&5
58912 ac_status=$?
58913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914 (exit $ac_status); }; } &&
58915 { ac_try='test -s conftest.$ac_objext'
58916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917 (eval $ac_try) 2>&5
58918 ac_status=$?
58919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920 (exit $ac_status); }; }; then
58921 glibcxx_cv_func__frexpf_use=yes
58922 else
58923 echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58926 glibcxx_cv_func__frexpf_use=no
58928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58929 ac_ext=c
58930 ac_cpp='$CPP $CPPFLAGS'
58931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
58940 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
58942 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
58944 for ac_func in _frexpf
58946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58947 echo "$as_me:$LINENO: checking for $ac_func" >&5
58948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58949 if eval "test \"\${$as_ac_var+set}\" = set"; then
58950 echo $ECHO_N "(cached) $ECHO_C" >&6
58951 else
58952 if test x$gcc_no_link = xyes; then
58953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58955 { (exit 1); exit 1; }; }
58957 cat >conftest.$ac_ext <<_ACEOF
58958 /* confdefs.h. */
58959 _ACEOF
58960 cat confdefs.h >>conftest.$ac_ext
58961 cat >>conftest.$ac_ext <<_ACEOF
58962 /* end confdefs.h. */
58963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58965 #define $ac_func innocuous_$ac_func
58967 /* System header to define __stub macros and hopefully few prototypes,
58968 which can conflict with char $ac_func (); below.
58969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58970 <limits.h> exists even on freestanding compilers. */
58972 #ifdef __STDC__
58973 # include <limits.h>
58974 #else
58975 # include <assert.h>
58976 #endif
58978 #undef $ac_func
58980 /* Override any gcc2 internal prototype to avoid an error. */
58981 #ifdef __cplusplus
58982 extern "C"
58984 #endif
58985 /* We use char because int might match the return type of a gcc2
58986 builtin and then its argument prototype would still apply. */
58987 char $ac_func ();
58988 /* The GNU C library defines this for functions which it implements
58989 to always fail with ENOSYS. Some functions are actually named
58990 something starting with __ and the normal name is an alias. */
58991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58992 choke me
58993 #else
58994 char (*f) () = $ac_func;
58995 #endif
58996 #ifdef __cplusplus
58998 #endif
59001 main ()
59003 return f != $ac_func;
59005 return 0;
59007 _ACEOF
59008 rm -f conftest.$ac_objext conftest$ac_exeext
59009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59010 (eval $ac_link) 2>conftest.er1
59011 ac_status=$?
59012 grep -v '^ *+' conftest.er1 >conftest.err
59013 rm -f conftest.er1
59014 cat conftest.err >&5
59015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59016 (exit $ac_status); } &&
59017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59019 (eval $ac_try) 2>&5
59020 ac_status=$?
59021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59022 (exit $ac_status); }; } &&
59023 { ac_try='test -s conftest$ac_exeext'
59024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59025 (eval $ac_try) 2>&5
59026 ac_status=$?
59027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59028 (exit $ac_status); }; }; then
59029 eval "$as_ac_var=yes"
59030 else
59031 echo "$as_me: failed program was:" >&5
59032 sed 's/^/| /' conftest.$ac_ext >&5
59034 eval "$as_ac_var=no"
59036 rm -f conftest.err conftest.$ac_objext \
59037 conftest$ac_exeext conftest.$ac_ext
59039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59041 if test `eval echo '${'$as_ac_var'}'` = yes; then
59042 cat >>confdefs.h <<_ACEOF
59043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59044 _ACEOF
59047 done
59054 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59055 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59056 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59057 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59058 echo $ECHO_N "(cached) $ECHO_C" >&6
59059 else
59063 ac_ext=cc
59064 ac_cpp='$CXXCPP $CPPFLAGS'
59065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59069 cat >conftest.$ac_ext <<_ACEOF
59070 /* confdefs.h. */
59071 _ACEOF
59072 cat confdefs.h >>conftest.$ac_ext
59073 cat >>conftest.$ac_ext <<_ACEOF
59074 /* end confdefs.h. */
59075 #include <math.h>
59077 main ()
59079 hypotf(0, 0);
59081 return 0;
59083 _ACEOF
59084 rm -f conftest.$ac_objext
59085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59086 (eval $ac_compile) 2>conftest.er1
59087 ac_status=$?
59088 grep -v '^ *+' conftest.er1 >conftest.err
59089 rm -f conftest.er1
59090 cat conftest.err >&5
59091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59092 (exit $ac_status); } &&
59093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59095 (eval $ac_try) 2>&5
59096 ac_status=$?
59097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59098 (exit $ac_status); }; } &&
59099 { ac_try='test -s conftest.$ac_objext'
59100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59101 (eval $ac_try) 2>&5
59102 ac_status=$?
59103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59104 (exit $ac_status); }; }; then
59105 glibcxx_cv_func_hypotf_use=yes
59106 else
59107 echo "$as_me: failed program was:" >&5
59108 sed 's/^/| /' conftest.$ac_ext >&5
59110 glibcxx_cv_func_hypotf_use=no
59112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59113 ac_ext=c
59114 ac_cpp='$CPP $CPPFLAGS'
59115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59124 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59126 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59128 for ac_func in hypotf
59130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59131 echo "$as_me:$LINENO: checking for $ac_func" >&5
59132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59133 if eval "test \"\${$as_ac_var+set}\" = set"; then
59134 echo $ECHO_N "(cached) $ECHO_C" >&6
59135 else
59136 if test x$gcc_no_link = xyes; then
59137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59139 { (exit 1); exit 1; }; }
59141 cat >conftest.$ac_ext <<_ACEOF
59142 /* confdefs.h. */
59143 _ACEOF
59144 cat confdefs.h >>conftest.$ac_ext
59145 cat >>conftest.$ac_ext <<_ACEOF
59146 /* end confdefs.h. */
59147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59149 #define $ac_func innocuous_$ac_func
59151 /* System header to define __stub macros and hopefully few prototypes,
59152 which can conflict with char $ac_func (); below.
59153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59154 <limits.h> exists even on freestanding compilers. */
59156 #ifdef __STDC__
59157 # include <limits.h>
59158 #else
59159 # include <assert.h>
59160 #endif
59162 #undef $ac_func
59164 /* Override any gcc2 internal prototype to avoid an error. */
59165 #ifdef __cplusplus
59166 extern "C"
59168 #endif
59169 /* We use char because int might match the return type of a gcc2
59170 builtin and then its argument prototype would still apply. */
59171 char $ac_func ();
59172 /* The GNU C library defines this for functions which it implements
59173 to always fail with ENOSYS. Some functions are actually named
59174 something starting with __ and the normal name is an alias. */
59175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59176 choke me
59177 #else
59178 char (*f) () = $ac_func;
59179 #endif
59180 #ifdef __cplusplus
59182 #endif
59185 main ()
59187 return f != $ac_func;
59189 return 0;
59191 _ACEOF
59192 rm -f conftest.$ac_objext conftest$ac_exeext
59193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59194 (eval $ac_link) 2>conftest.er1
59195 ac_status=$?
59196 grep -v '^ *+' conftest.er1 >conftest.err
59197 rm -f conftest.er1
59198 cat conftest.err >&5
59199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59200 (exit $ac_status); } &&
59201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59203 (eval $ac_try) 2>&5
59204 ac_status=$?
59205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59206 (exit $ac_status); }; } &&
59207 { ac_try='test -s conftest$ac_exeext'
59208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59209 (eval $ac_try) 2>&5
59210 ac_status=$?
59211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59212 (exit $ac_status); }; }; then
59213 eval "$as_ac_var=yes"
59214 else
59215 echo "$as_me: failed program was:" >&5
59216 sed 's/^/| /' conftest.$ac_ext >&5
59218 eval "$as_ac_var=no"
59220 rm -f conftest.err conftest.$ac_objext \
59221 conftest$ac_exeext conftest.$ac_ext
59223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59225 if test `eval echo '${'$as_ac_var'}'` = yes; then
59226 cat >>confdefs.h <<_ACEOF
59227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59228 _ACEOF
59231 done
59233 else
59235 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59236 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59237 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59238 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59239 echo $ECHO_N "(cached) $ECHO_C" >&6
59240 else
59244 ac_ext=cc
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59250 cat >conftest.$ac_ext <<_ACEOF
59251 /* confdefs.h. */
59252 _ACEOF
59253 cat confdefs.h >>conftest.$ac_ext
59254 cat >>conftest.$ac_ext <<_ACEOF
59255 /* end confdefs.h. */
59256 #include <math.h>
59258 main ()
59260 _hypotf(0, 0);
59262 return 0;
59264 _ACEOF
59265 rm -f conftest.$ac_objext
59266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59267 (eval $ac_compile) 2>conftest.er1
59268 ac_status=$?
59269 grep -v '^ *+' conftest.er1 >conftest.err
59270 rm -f conftest.er1
59271 cat conftest.err >&5
59272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59273 (exit $ac_status); } &&
59274 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59276 (eval $ac_try) 2>&5
59277 ac_status=$?
59278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59279 (exit $ac_status); }; } &&
59280 { ac_try='test -s conftest.$ac_objext'
59281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59282 (eval $ac_try) 2>&5
59283 ac_status=$?
59284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59285 (exit $ac_status); }; }; then
59286 glibcxx_cv_func__hypotf_use=yes
59287 else
59288 echo "$as_me: failed program was:" >&5
59289 sed 's/^/| /' conftest.$ac_ext >&5
59291 glibcxx_cv_func__hypotf_use=no
59293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59294 ac_ext=c
59295 ac_cpp='$CPP $CPPFLAGS'
59296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59304 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59305 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59307 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59309 for ac_func in _hypotf
59311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59312 echo "$as_me:$LINENO: checking for $ac_func" >&5
59313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59314 if eval "test \"\${$as_ac_var+set}\" = set"; then
59315 echo $ECHO_N "(cached) $ECHO_C" >&6
59316 else
59317 if test x$gcc_no_link = xyes; then
59318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59320 { (exit 1); exit 1; }; }
59322 cat >conftest.$ac_ext <<_ACEOF
59323 /* confdefs.h. */
59324 _ACEOF
59325 cat confdefs.h >>conftest.$ac_ext
59326 cat >>conftest.$ac_ext <<_ACEOF
59327 /* end confdefs.h. */
59328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59330 #define $ac_func innocuous_$ac_func
59332 /* System header to define __stub macros and hopefully few prototypes,
59333 which can conflict with char $ac_func (); below.
59334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59335 <limits.h> exists even on freestanding compilers. */
59337 #ifdef __STDC__
59338 # include <limits.h>
59339 #else
59340 # include <assert.h>
59341 #endif
59343 #undef $ac_func
59345 /* Override any gcc2 internal prototype to avoid an error. */
59346 #ifdef __cplusplus
59347 extern "C"
59349 #endif
59350 /* We use char because int might match the return type of a gcc2
59351 builtin and then its argument prototype would still apply. */
59352 char $ac_func ();
59353 /* The GNU C library defines this for functions which it implements
59354 to always fail with ENOSYS. Some functions are actually named
59355 something starting with __ and the normal name is an alias. */
59356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59357 choke me
59358 #else
59359 char (*f) () = $ac_func;
59360 #endif
59361 #ifdef __cplusplus
59363 #endif
59366 main ()
59368 return f != $ac_func;
59370 return 0;
59372 _ACEOF
59373 rm -f conftest.$ac_objext conftest$ac_exeext
59374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59375 (eval $ac_link) 2>conftest.er1
59376 ac_status=$?
59377 grep -v '^ *+' conftest.er1 >conftest.err
59378 rm -f conftest.er1
59379 cat conftest.err >&5
59380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59381 (exit $ac_status); } &&
59382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59384 (eval $ac_try) 2>&5
59385 ac_status=$?
59386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59387 (exit $ac_status); }; } &&
59388 { ac_try='test -s conftest$ac_exeext'
59389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59390 (eval $ac_try) 2>&5
59391 ac_status=$?
59392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59393 (exit $ac_status); }; }; then
59394 eval "$as_ac_var=yes"
59395 else
59396 echo "$as_me: failed program was:" >&5
59397 sed 's/^/| /' conftest.$ac_ext >&5
59399 eval "$as_ac_var=no"
59401 rm -f conftest.err conftest.$ac_objext \
59402 conftest$ac_exeext conftest.$ac_ext
59404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59406 if test `eval echo '${'$as_ac_var'}'` = yes; then
59407 cat >>confdefs.h <<_ACEOF
59408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59409 _ACEOF
59412 done
59419 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59420 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59421 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59422 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59423 echo $ECHO_N "(cached) $ECHO_C" >&6
59424 else
59428 ac_ext=cc
59429 ac_cpp='$CXXCPP $CPPFLAGS'
59430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59434 cat >conftest.$ac_ext <<_ACEOF
59435 /* confdefs.h. */
59436 _ACEOF
59437 cat confdefs.h >>conftest.$ac_ext
59438 cat >>conftest.$ac_ext <<_ACEOF
59439 /* end confdefs.h. */
59440 #include <math.h>
59442 main ()
59444 ldexpf(0, 0);
59446 return 0;
59448 _ACEOF
59449 rm -f conftest.$ac_objext
59450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59451 (eval $ac_compile) 2>conftest.er1
59452 ac_status=$?
59453 grep -v '^ *+' conftest.er1 >conftest.err
59454 rm -f conftest.er1
59455 cat conftest.err >&5
59456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59457 (exit $ac_status); } &&
59458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59460 (eval $ac_try) 2>&5
59461 ac_status=$?
59462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59463 (exit $ac_status); }; } &&
59464 { ac_try='test -s conftest.$ac_objext'
59465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59466 (eval $ac_try) 2>&5
59467 ac_status=$?
59468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59469 (exit $ac_status); }; }; then
59470 glibcxx_cv_func_ldexpf_use=yes
59471 else
59472 echo "$as_me: failed program was:" >&5
59473 sed 's/^/| /' conftest.$ac_ext >&5
59475 glibcxx_cv_func_ldexpf_use=no
59477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59478 ac_ext=c
59479 ac_cpp='$CPP $CPPFLAGS'
59480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59489 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59491 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59493 for ac_func in ldexpf
59495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59496 echo "$as_me:$LINENO: checking for $ac_func" >&5
59497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59498 if eval "test \"\${$as_ac_var+set}\" = set"; then
59499 echo $ECHO_N "(cached) $ECHO_C" >&6
59500 else
59501 if test x$gcc_no_link = xyes; then
59502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59504 { (exit 1); exit 1; }; }
59506 cat >conftest.$ac_ext <<_ACEOF
59507 /* confdefs.h. */
59508 _ACEOF
59509 cat confdefs.h >>conftest.$ac_ext
59510 cat >>conftest.$ac_ext <<_ACEOF
59511 /* end confdefs.h. */
59512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59514 #define $ac_func innocuous_$ac_func
59516 /* System header to define __stub macros and hopefully few prototypes,
59517 which can conflict with char $ac_func (); below.
59518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59519 <limits.h> exists even on freestanding compilers. */
59521 #ifdef __STDC__
59522 # include <limits.h>
59523 #else
59524 # include <assert.h>
59525 #endif
59527 #undef $ac_func
59529 /* Override any gcc2 internal prototype to avoid an error. */
59530 #ifdef __cplusplus
59531 extern "C"
59533 #endif
59534 /* We use char because int might match the return type of a gcc2
59535 builtin and then its argument prototype would still apply. */
59536 char $ac_func ();
59537 /* The GNU C library defines this for functions which it implements
59538 to always fail with ENOSYS. Some functions are actually named
59539 something starting with __ and the normal name is an alias. */
59540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59541 choke me
59542 #else
59543 char (*f) () = $ac_func;
59544 #endif
59545 #ifdef __cplusplus
59547 #endif
59550 main ()
59552 return f != $ac_func;
59554 return 0;
59556 _ACEOF
59557 rm -f conftest.$ac_objext conftest$ac_exeext
59558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59559 (eval $ac_link) 2>conftest.er1
59560 ac_status=$?
59561 grep -v '^ *+' conftest.er1 >conftest.err
59562 rm -f conftest.er1
59563 cat conftest.err >&5
59564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59565 (exit $ac_status); } &&
59566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59568 (eval $ac_try) 2>&5
59569 ac_status=$?
59570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571 (exit $ac_status); }; } &&
59572 { ac_try='test -s conftest$ac_exeext'
59573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59574 (eval $ac_try) 2>&5
59575 ac_status=$?
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); }; }; then
59578 eval "$as_ac_var=yes"
59579 else
59580 echo "$as_me: failed program was:" >&5
59581 sed 's/^/| /' conftest.$ac_ext >&5
59583 eval "$as_ac_var=no"
59585 rm -f conftest.err conftest.$ac_objext \
59586 conftest$ac_exeext conftest.$ac_ext
59588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59590 if test `eval echo '${'$as_ac_var'}'` = yes; then
59591 cat >>confdefs.h <<_ACEOF
59592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59593 _ACEOF
59596 done
59598 else
59600 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
59601 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
59602 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59603 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
59604 echo $ECHO_N "(cached) $ECHO_C" >&6
59605 else
59609 ac_ext=cc
59610 ac_cpp='$CXXCPP $CPPFLAGS'
59611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59615 cat >conftest.$ac_ext <<_ACEOF
59616 /* confdefs.h. */
59617 _ACEOF
59618 cat confdefs.h >>conftest.$ac_ext
59619 cat >>conftest.$ac_ext <<_ACEOF
59620 /* end confdefs.h. */
59621 #include <math.h>
59623 main ()
59625 _ldexpf(0, 0);
59627 return 0;
59629 _ACEOF
59630 rm -f conftest.$ac_objext
59631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59632 (eval $ac_compile) 2>conftest.er1
59633 ac_status=$?
59634 grep -v '^ *+' conftest.er1 >conftest.err
59635 rm -f conftest.er1
59636 cat conftest.err >&5
59637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59638 (exit $ac_status); } &&
59639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59641 (eval $ac_try) 2>&5
59642 ac_status=$?
59643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59644 (exit $ac_status); }; } &&
59645 { ac_try='test -s conftest.$ac_objext'
59646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59647 (eval $ac_try) 2>&5
59648 ac_status=$?
59649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59650 (exit $ac_status); }; }; then
59651 glibcxx_cv_func__ldexpf_use=yes
59652 else
59653 echo "$as_me: failed program was:" >&5
59654 sed 's/^/| /' conftest.$ac_ext >&5
59656 glibcxx_cv_func__ldexpf_use=no
59658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59659 ac_ext=c
59660 ac_cpp='$CPP $CPPFLAGS'
59661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
59670 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
59672 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59674 for ac_func in _ldexpf
59676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59677 echo "$as_me:$LINENO: checking for $ac_func" >&5
59678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59679 if eval "test \"\${$as_ac_var+set}\" = set"; then
59680 echo $ECHO_N "(cached) $ECHO_C" >&6
59681 else
59682 if test x$gcc_no_link = xyes; then
59683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59685 { (exit 1); exit 1; }; }
59687 cat >conftest.$ac_ext <<_ACEOF
59688 /* confdefs.h. */
59689 _ACEOF
59690 cat confdefs.h >>conftest.$ac_ext
59691 cat >>conftest.$ac_ext <<_ACEOF
59692 /* end confdefs.h. */
59693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59695 #define $ac_func innocuous_$ac_func
59697 /* System header to define __stub macros and hopefully few prototypes,
59698 which can conflict with char $ac_func (); below.
59699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59700 <limits.h> exists even on freestanding compilers. */
59702 #ifdef __STDC__
59703 # include <limits.h>
59704 #else
59705 # include <assert.h>
59706 #endif
59708 #undef $ac_func
59710 /* Override any gcc2 internal prototype to avoid an error. */
59711 #ifdef __cplusplus
59712 extern "C"
59714 #endif
59715 /* We use char because int might match the return type of a gcc2
59716 builtin and then its argument prototype would still apply. */
59717 char $ac_func ();
59718 /* The GNU C library defines this for functions which it implements
59719 to always fail with ENOSYS. Some functions are actually named
59720 something starting with __ and the normal name is an alias. */
59721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59722 choke me
59723 #else
59724 char (*f) () = $ac_func;
59725 #endif
59726 #ifdef __cplusplus
59728 #endif
59731 main ()
59733 return f != $ac_func;
59735 return 0;
59737 _ACEOF
59738 rm -f conftest.$ac_objext conftest$ac_exeext
59739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59740 (eval $ac_link) 2>conftest.er1
59741 ac_status=$?
59742 grep -v '^ *+' conftest.er1 >conftest.err
59743 rm -f conftest.er1
59744 cat conftest.err >&5
59745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59746 (exit $ac_status); } &&
59747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59749 (eval $ac_try) 2>&5
59750 ac_status=$?
59751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59752 (exit $ac_status); }; } &&
59753 { ac_try='test -s conftest$ac_exeext'
59754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59755 (eval $ac_try) 2>&5
59756 ac_status=$?
59757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59758 (exit $ac_status); }; }; then
59759 eval "$as_ac_var=yes"
59760 else
59761 echo "$as_me: failed program was:" >&5
59762 sed 's/^/| /' conftest.$ac_ext >&5
59764 eval "$as_ac_var=no"
59766 rm -f conftest.err conftest.$ac_objext \
59767 conftest$ac_exeext conftest.$ac_ext
59769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59771 if test `eval echo '${'$as_ac_var'}'` = yes; then
59772 cat >>confdefs.h <<_ACEOF
59773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59774 _ACEOF
59777 done
59784 echo "$as_me:$LINENO: checking for logf declaration" >&5
59785 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
59786 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59787 if test "${glibcxx_cv_func_logf_use+set}" = set; then
59788 echo $ECHO_N "(cached) $ECHO_C" >&6
59789 else
59793 ac_ext=cc
59794 ac_cpp='$CXXCPP $CPPFLAGS'
59795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59799 cat >conftest.$ac_ext <<_ACEOF
59800 /* confdefs.h. */
59801 _ACEOF
59802 cat confdefs.h >>conftest.$ac_ext
59803 cat >>conftest.$ac_ext <<_ACEOF
59804 /* end confdefs.h. */
59805 #include <math.h>
59806 #ifdef HAVE_IEEEFP_H
59807 #include <ieeefp.h>
59808 #endif
59811 main ()
59813 logf(0);
59815 return 0;
59817 _ACEOF
59818 rm -f conftest.$ac_objext
59819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59820 (eval $ac_compile) 2>conftest.er1
59821 ac_status=$?
59822 grep -v '^ *+' conftest.er1 >conftest.err
59823 rm -f conftest.er1
59824 cat conftest.err >&5
59825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59826 (exit $ac_status); } &&
59827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59829 (eval $ac_try) 2>&5
59830 ac_status=$?
59831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59832 (exit $ac_status); }; } &&
59833 { ac_try='test -s conftest.$ac_objext'
59834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835 (eval $ac_try) 2>&5
59836 ac_status=$?
59837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838 (exit $ac_status); }; }; then
59839 glibcxx_cv_func_logf_use=yes
59840 else
59841 echo "$as_me: failed program was:" >&5
59842 sed 's/^/| /' conftest.$ac_ext >&5
59844 glibcxx_cv_func_logf_use=no
59846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59847 ac_ext=c
59848 ac_cpp='$CPP $CPPFLAGS'
59849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
59858 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
59860 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59862 for ac_func in logf
59864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59865 echo "$as_me:$LINENO: checking for $ac_func" >&5
59866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59867 if eval "test \"\${$as_ac_var+set}\" = set"; then
59868 echo $ECHO_N "(cached) $ECHO_C" >&6
59869 else
59870 if test x$gcc_no_link = xyes; then
59871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59873 { (exit 1); exit 1; }; }
59875 cat >conftest.$ac_ext <<_ACEOF
59876 /* confdefs.h. */
59877 _ACEOF
59878 cat confdefs.h >>conftest.$ac_ext
59879 cat >>conftest.$ac_ext <<_ACEOF
59880 /* end confdefs.h. */
59881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59883 #define $ac_func innocuous_$ac_func
59885 /* System header to define __stub macros and hopefully few prototypes,
59886 which can conflict with char $ac_func (); below.
59887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59888 <limits.h> exists even on freestanding compilers. */
59890 #ifdef __STDC__
59891 # include <limits.h>
59892 #else
59893 # include <assert.h>
59894 #endif
59896 #undef $ac_func
59898 /* Override any gcc2 internal prototype to avoid an error. */
59899 #ifdef __cplusplus
59900 extern "C"
59902 #endif
59903 /* We use char because int might match the return type of a gcc2
59904 builtin and then its argument prototype would still apply. */
59905 char $ac_func ();
59906 /* The GNU C library defines this for functions which it implements
59907 to always fail with ENOSYS. Some functions are actually named
59908 something starting with __ and the normal name is an alias. */
59909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59910 choke me
59911 #else
59912 char (*f) () = $ac_func;
59913 #endif
59914 #ifdef __cplusplus
59916 #endif
59919 main ()
59921 return f != $ac_func;
59923 return 0;
59925 _ACEOF
59926 rm -f conftest.$ac_objext conftest$ac_exeext
59927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59928 (eval $ac_link) 2>conftest.er1
59929 ac_status=$?
59930 grep -v '^ *+' conftest.er1 >conftest.err
59931 rm -f conftest.er1
59932 cat conftest.err >&5
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); } &&
59935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59937 (eval $ac_try) 2>&5
59938 ac_status=$?
59939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940 (exit $ac_status); }; } &&
59941 { ac_try='test -s conftest$ac_exeext'
59942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59943 (eval $ac_try) 2>&5
59944 ac_status=$?
59945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946 (exit $ac_status); }; }; then
59947 eval "$as_ac_var=yes"
59948 else
59949 echo "$as_me: failed program was:" >&5
59950 sed 's/^/| /' conftest.$ac_ext >&5
59952 eval "$as_ac_var=no"
59954 rm -f conftest.err conftest.$ac_objext \
59955 conftest$ac_exeext conftest.$ac_ext
59957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59959 if test `eval echo '${'$as_ac_var'}'` = yes; then
59960 cat >>confdefs.h <<_ACEOF
59961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59962 _ACEOF
59965 done
59967 else
59969 echo "$as_me:$LINENO: checking for _logf declaration" >&5
59970 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
59971 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59972 if test "${glibcxx_cv_func__logf_use+set}" = set; then
59973 echo $ECHO_N "(cached) $ECHO_C" >&6
59974 else
59978 ac_ext=cc
59979 ac_cpp='$CXXCPP $CPPFLAGS'
59980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59984 cat >conftest.$ac_ext <<_ACEOF
59985 /* confdefs.h. */
59986 _ACEOF
59987 cat confdefs.h >>conftest.$ac_ext
59988 cat >>conftest.$ac_ext <<_ACEOF
59989 /* end confdefs.h. */
59990 #include <math.h>
59991 #ifdef HAVE_IEEEFP_H
59992 #include <ieeefp.h>
59993 #endif
59996 main ()
59998 _logf(0);
60000 return 0;
60002 _ACEOF
60003 rm -f conftest.$ac_objext
60004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60005 (eval $ac_compile) 2>conftest.er1
60006 ac_status=$?
60007 grep -v '^ *+' conftest.er1 >conftest.err
60008 rm -f conftest.er1
60009 cat conftest.err >&5
60010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60011 (exit $ac_status); } &&
60012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60014 (eval $ac_try) 2>&5
60015 ac_status=$?
60016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60017 (exit $ac_status); }; } &&
60018 { ac_try='test -s conftest.$ac_objext'
60019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60020 (eval $ac_try) 2>&5
60021 ac_status=$?
60022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60023 (exit $ac_status); }; }; then
60024 glibcxx_cv_func__logf_use=yes
60025 else
60026 echo "$as_me: failed program was:" >&5
60027 sed 's/^/| /' conftest.$ac_ext >&5
60029 glibcxx_cv_func__logf_use=no
60031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60032 ac_ext=c
60033 ac_cpp='$CPP $CPPFLAGS'
60034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60043 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60045 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60047 for ac_func in _logf
60049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60050 echo "$as_me:$LINENO: checking for $ac_func" >&5
60051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60052 if eval "test \"\${$as_ac_var+set}\" = set"; then
60053 echo $ECHO_N "(cached) $ECHO_C" >&6
60054 else
60055 if test x$gcc_no_link = xyes; then
60056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60058 { (exit 1); exit 1; }; }
60060 cat >conftest.$ac_ext <<_ACEOF
60061 /* confdefs.h. */
60062 _ACEOF
60063 cat confdefs.h >>conftest.$ac_ext
60064 cat >>conftest.$ac_ext <<_ACEOF
60065 /* end confdefs.h. */
60066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60068 #define $ac_func innocuous_$ac_func
60070 /* System header to define __stub macros and hopefully few prototypes,
60071 which can conflict with char $ac_func (); below.
60072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60073 <limits.h> exists even on freestanding compilers. */
60075 #ifdef __STDC__
60076 # include <limits.h>
60077 #else
60078 # include <assert.h>
60079 #endif
60081 #undef $ac_func
60083 /* Override any gcc2 internal prototype to avoid an error. */
60084 #ifdef __cplusplus
60085 extern "C"
60087 #endif
60088 /* We use char because int might match the return type of a gcc2
60089 builtin and then its argument prototype would still apply. */
60090 char $ac_func ();
60091 /* The GNU C library defines this for functions which it implements
60092 to always fail with ENOSYS. Some functions are actually named
60093 something starting with __ and the normal name is an alias. */
60094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60095 choke me
60096 #else
60097 char (*f) () = $ac_func;
60098 #endif
60099 #ifdef __cplusplus
60101 #endif
60104 main ()
60106 return f != $ac_func;
60108 return 0;
60110 _ACEOF
60111 rm -f conftest.$ac_objext conftest$ac_exeext
60112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60113 (eval $ac_link) 2>conftest.er1
60114 ac_status=$?
60115 grep -v '^ *+' conftest.er1 >conftest.err
60116 rm -f conftest.er1
60117 cat conftest.err >&5
60118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60119 (exit $ac_status); } &&
60120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60122 (eval $ac_try) 2>&5
60123 ac_status=$?
60124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60125 (exit $ac_status); }; } &&
60126 { ac_try='test -s conftest$ac_exeext'
60127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60128 (eval $ac_try) 2>&5
60129 ac_status=$?
60130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60131 (exit $ac_status); }; }; then
60132 eval "$as_ac_var=yes"
60133 else
60134 echo "$as_me: failed program was:" >&5
60135 sed 's/^/| /' conftest.$ac_ext >&5
60137 eval "$as_ac_var=no"
60139 rm -f conftest.err conftest.$ac_objext \
60140 conftest$ac_exeext conftest.$ac_ext
60142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60144 if test `eval echo '${'$as_ac_var'}'` = yes; then
60145 cat >>confdefs.h <<_ACEOF
60146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60147 _ACEOF
60150 done
60157 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60158 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60159 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60160 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60161 echo $ECHO_N "(cached) $ECHO_C" >&6
60162 else
60166 ac_ext=cc
60167 ac_cpp='$CXXCPP $CPPFLAGS'
60168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60172 cat >conftest.$ac_ext <<_ACEOF
60173 /* confdefs.h. */
60174 _ACEOF
60175 cat confdefs.h >>conftest.$ac_ext
60176 cat >>conftest.$ac_ext <<_ACEOF
60177 /* end confdefs.h. */
60178 #include <math.h>
60179 #ifdef HAVE_IEEEFP_H
60180 #include <ieeefp.h>
60181 #endif
60184 main ()
60186 log10f(0);
60188 return 0;
60190 _ACEOF
60191 rm -f conftest.$ac_objext
60192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60193 (eval $ac_compile) 2>conftest.er1
60194 ac_status=$?
60195 grep -v '^ *+' conftest.er1 >conftest.err
60196 rm -f conftest.er1
60197 cat conftest.err >&5
60198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60199 (exit $ac_status); } &&
60200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60202 (eval $ac_try) 2>&5
60203 ac_status=$?
60204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60205 (exit $ac_status); }; } &&
60206 { ac_try='test -s conftest.$ac_objext'
60207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60208 (eval $ac_try) 2>&5
60209 ac_status=$?
60210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60211 (exit $ac_status); }; }; then
60212 glibcxx_cv_func_log10f_use=yes
60213 else
60214 echo "$as_me: failed program was:" >&5
60215 sed 's/^/| /' conftest.$ac_ext >&5
60217 glibcxx_cv_func_log10f_use=no
60219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60220 ac_ext=c
60221 ac_cpp='$CPP $CPPFLAGS'
60222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60231 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60233 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60235 for ac_func in log10f
60237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60238 echo "$as_me:$LINENO: checking for $ac_func" >&5
60239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60240 if eval "test \"\${$as_ac_var+set}\" = set"; then
60241 echo $ECHO_N "(cached) $ECHO_C" >&6
60242 else
60243 if test x$gcc_no_link = xyes; then
60244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60246 { (exit 1); exit 1; }; }
60248 cat >conftest.$ac_ext <<_ACEOF
60249 /* confdefs.h. */
60250 _ACEOF
60251 cat confdefs.h >>conftest.$ac_ext
60252 cat >>conftest.$ac_ext <<_ACEOF
60253 /* end confdefs.h. */
60254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60256 #define $ac_func innocuous_$ac_func
60258 /* System header to define __stub macros and hopefully few prototypes,
60259 which can conflict with char $ac_func (); below.
60260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60261 <limits.h> exists even on freestanding compilers. */
60263 #ifdef __STDC__
60264 # include <limits.h>
60265 #else
60266 # include <assert.h>
60267 #endif
60269 #undef $ac_func
60271 /* Override any gcc2 internal prototype to avoid an error. */
60272 #ifdef __cplusplus
60273 extern "C"
60275 #endif
60276 /* We use char because int might match the return type of a gcc2
60277 builtin and then its argument prototype would still apply. */
60278 char $ac_func ();
60279 /* The GNU C library defines this for functions which it implements
60280 to always fail with ENOSYS. Some functions are actually named
60281 something starting with __ and the normal name is an alias. */
60282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60283 choke me
60284 #else
60285 char (*f) () = $ac_func;
60286 #endif
60287 #ifdef __cplusplus
60289 #endif
60292 main ()
60294 return f != $ac_func;
60296 return 0;
60298 _ACEOF
60299 rm -f conftest.$ac_objext conftest$ac_exeext
60300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60301 (eval $ac_link) 2>conftest.er1
60302 ac_status=$?
60303 grep -v '^ *+' conftest.er1 >conftest.err
60304 rm -f conftest.er1
60305 cat conftest.err >&5
60306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307 (exit $ac_status); } &&
60308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60310 (eval $ac_try) 2>&5
60311 ac_status=$?
60312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60313 (exit $ac_status); }; } &&
60314 { ac_try='test -s conftest$ac_exeext'
60315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60316 (eval $ac_try) 2>&5
60317 ac_status=$?
60318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60319 (exit $ac_status); }; }; then
60320 eval "$as_ac_var=yes"
60321 else
60322 echo "$as_me: failed program was:" >&5
60323 sed 's/^/| /' conftest.$ac_ext >&5
60325 eval "$as_ac_var=no"
60327 rm -f conftest.err conftest.$ac_objext \
60328 conftest$ac_exeext conftest.$ac_ext
60330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60332 if test `eval echo '${'$as_ac_var'}'` = yes; then
60333 cat >>confdefs.h <<_ACEOF
60334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60335 _ACEOF
60338 done
60340 else
60342 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60343 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60344 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60345 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60346 echo $ECHO_N "(cached) $ECHO_C" >&6
60347 else
60351 ac_ext=cc
60352 ac_cpp='$CXXCPP $CPPFLAGS'
60353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60357 cat >conftest.$ac_ext <<_ACEOF
60358 /* confdefs.h. */
60359 _ACEOF
60360 cat confdefs.h >>conftest.$ac_ext
60361 cat >>conftest.$ac_ext <<_ACEOF
60362 /* end confdefs.h. */
60363 #include <math.h>
60364 #ifdef HAVE_IEEEFP_H
60365 #include <ieeefp.h>
60366 #endif
60369 main ()
60371 _log10f(0);
60373 return 0;
60375 _ACEOF
60376 rm -f conftest.$ac_objext
60377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60378 (eval $ac_compile) 2>conftest.er1
60379 ac_status=$?
60380 grep -v '^ *+' conftest.er1 >conftest.err
60381 rm -f conftest.er1
60382 cat conftest.err >&5
60383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60384 (exit $ac_status); } &&
60385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60387 (eval $ac_try) 2>&5
60388 ac_status=$?
60389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60390 (exit $ac_status); }; } &&
60391 { ac_try='test -s conftest.$ac_objext'
60392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60393 (eval $ac_try) 2>&5
60394 ac_status=$?
60395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60396 (exit $ac_status); }; }; then
60397 glibcxx_cv_func__log10f_use=yes
60398 else
60399 echo "$as_me: failed program was:" >&5
60400 sed 's/^/| /' conftest.$ac_ext >&5
60402 glibcxx_cv_func__log10f_use=no
60404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60405 ac_ext=c
60406 ac_cpp='$CPP $CPPFLAGS'
60407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60416 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60418 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60420 for ac_func in _log10f
60422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60423 echo "$as_me:$LINENO: checking for $ac_func" >&5
60424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60425 if eval "test \"\${$as_ac_var+set}\" = set"; then
60426 echo $ECHO_N "(cached) $ECHO_C" >&6
60427 else
60428 if test x$gcc_no_link = xyes; then
60429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60431 { (exit 1); exit 1; }; }
60433 cat >conftest.$ac_ext <<_ACEOF
60434 /* confdefs.h. */
60435 _ACEOF
60436 cat confdefs.h >>conftest.$ac_ext
60437 cat >>conftest.$ac_ext <<_ACEOF
60438 /* end confdefs.h. */
60439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60441 #define $ac_func innocuous_$ac_func
60443 /* System header to define __stub macros and hopefully few prototypes,
60444 which can conflict with char $ac_func (); below.
60445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60446 <limits.h> exists even on freestanding compilers. */
60448 #ifdef __STDC__
60449 # include <limits.h>
60450 #else
60451 # include <assert.h>
60452 #endif
60454 #undef $ac_func
60456 /* Override any gcc2 internal prototype to avoid an error. */
60457 #ifdef __cplusplus
60458 extern "C"
60460 #endif
60461 /* We use char because int might match the return type of a gcc2
60462 builtin and then its argument prototype would still apply. */
60463 char $ac_func ();
60464 /* The GNU C library defines this for functions which it implements
60465 to always fail with ENOSYS. Some functions are actually named
60466 something starting with __ and the normal name is an alias. */
60467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60468 choke me
60469 #else
60470 char (*f) () = $ac_func;
60471 #endif
60472 #ifdef __cplusplus
60474 #endif
60477 main ()
60479 return f != $ac_func;
60481 return 0;
60483 _ACEOF
60484 rm -f conftest.$ac_objext conftest$ac_exeext
60485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60486 (eval $ac_link) 2>conftest.er1
60487 ac_status=$?
60488 grep -v '^ *+' conftest.er1 >conftest.err
60489 rm -f conftest.er1
60490 cat conftest.err >&5
60491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60492 (exit $ac_status); } &&
60493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60495 (eval $ac_try) 2>&5
60496 ac_status=$?
60497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60498 (exit $ac_status); }; } &&
60499 { ac_try='test -s conftest$ac_exeext'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; }; then
60505 eval "$as_ac_var=yes"
60506 else
60507 echo "$as_me: failed program was:" >&5
60508 sed 's/^/| /' conftest.$ac_ext >&5
60510 eval "$as_ac_var=no"
60512 rm -f conftest.err conftest.$ac_objext \
60513 conftest$ac_exeext conftest.$ac_ext
60515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60517 if test `eval echo '${'$as_ac_var'}'` = yes; then
60518 cat >>confdefs.h <<_ACEOF
60519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60520 _ACEOF
60523 done
60530 echo "$as_me:$LINENO: checking for modff declaration" >&5
60531 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60532 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60533 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60534 echo $ECHO_N "(cached) $ECHO_C" >&6
60535 else
60539 ac_ext=cc
60540 ac_cpp='$CXXCPP $CPPFLAGS'
60541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60545 cat >conftest.$ac_ext <<_ACEOF
60546 /* confdefs.h. */
60547 _ACEOF
60548 cat confdefs.h >>conftest.$ac_ext
60549 cat >>conftest.$ac_ext <<_ACEOF
60550 /* end confdefs.h. */
60551 #include <math.h>
60553 main ()
60555 modff(0, 0);
60557 return 0;
60559 _ACEOF
60560 rm -f conftest.$ac_objext
60561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60562 (eval $ac_compile) 2>conftest.er1
60563 ac_status=$?
60564 grep -v '^ *+' conftest.er1 >conftest.err
60565 rm -f conftest.er1
60566 cat conftest.err >&5
60567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60568 (exit $ac_status); } &&
60569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60571 (eval $ac_try) 2>&5
60572 ac_status=$?
60573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60574 (exit $ac_status); }; } &&
60575 { ac_try='test -s conftest.$ac_objext'
60576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60577 (eval $ac_try) 2>&5
60578 ac_status=$?
60579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60580 (exit $ac_status); }; }; then
60581 glibcxx_cv_func_modff_use=yes
60582 else
60583 echo "$as_me: failed program was:" >&5
60584 sed 's/^/| /' conftest.$ac_ext >&5
60586 glibcxx_cv_func_modff_use=no
60588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60589 ac_ext=c
60590 ac_cpp='$CPP $CPPFLAGS'
60591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
60600 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
60602 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60604 for ac_func in modff
60606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60607 echo "$as_me:$LINENO: checking for $ac_func" >&5
60608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60609 if eval "test \"\${$as_ac_var+set}\" = set"; then
60610 echo $ECHO_N "(cached) $ECHO_C" >&6
60611 else
60612 if test x$gcc_no_link = xyes; then
60613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60615 { (exit 1); exit 1; }; }
60617 cat >conftest.$ac_ext <<_ACEOF
60618 /* confdefs.h. */
60619 _ACEOF
60620 cat confdefs.h >>conftest.$ac_ext
60621 cat >>conftest.$ac_ext <<_ACEOF
60622 /* end confdefs.h. */
60623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60625 #define $ac_func innocuous_$ac_func
60627 /* System header to define __stub macros and hopefully few prototypes,
60628 which can conflict with char $ac_func (); below.
60629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60630 <limits.h> exists even on freestanding compilers. */
60632 #ifdef __STDC__
60633 # include <limits.h>
60634 #else
60635 # include <assert.h>
60636 #endif
60638 #undef $ac_func
60640 /* Override any gcc2 internal prototype to avoid an error. */
60641 #ifdef __cplusplus
60642 extern "C"
60644 #endif
60645 /* We use char because int might match the return type of a gcc2
60646 builtin and then its argument prototype would still apply. */
60647 char $ac_func ();
60648 /* The GNU C library defines this for functions which it implements
60649 to always fail with ENOSYS. Some functions are actually named
60650 something starting with __ and the normal name is an alias. */
60651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60652 choke me
60653 #else
60654 char (*f) () = $ac_func;
60655 #endif
60656 #ifdef __cplusplus
60658 #endif
60661 main ()
60663 return f != $ac_func;
60665 return 0;
60667 _ACEOF
60668 rm -f conftest.$ac_objext conftest$ac_exeext
60669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60670 (eval $ac_link) 2>conftest.er1
60671 ac_status=$?
60672 grep -v '^ *+' conftest.er1 >conftest.err
60673 rm -f conftest.er1
60674 cat conftest.err >&5
60675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60676 (exit $ac_status); } &&
60677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60679 (eval $ac_try) 2>&5
60680 ac_status=$?
60681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60682 (exit $ac_status); }; } &&
60683 { ac_try='test -s conftest$ac_exeext'
60684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60685 (eval $ac_try) 2>&5
60686 ac_status=$?
60687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60688 (exit $ac_status); }; }; then
60689 eval "$as_ac_var=yes"
60690 else
60691 echo "$as_me: failed program was:" >&5
60692 sed 's/^/| /' conftest.$ac_ext >&5
60694 eval "$as_ac_var=no"
60696 rm -f conftest.err conftest.$ac_objext \
60697 conftest$ac_exeext conftest.$ac_ext
60699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60701 if test `eval echo '${'$as_ac_var'}'` = yes; then
60702 cat >>confdefs.h <<_ACEOF
60703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60704 _ACEOF
60707 done
60709 else
60711 echo "$as_me:$LINENO: checking for _modff declaration" >&5
60712 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
60713 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60714 if test "${glibcxx_cv_func__modff_use+set}" = set; then
60715 echo $ECHO_N "(cached) $ECHO_C" >&6
60716 else
60720 ac_ext=cc
60721 ac_cpp='$CXXCPP $CPPFLAGS'
60722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60726 cat >conftest.$ac_ext <<_ACEOF
60727 /* confdefs.h. */
60728 _ACEOF
60729 cat confdefs.h >>conftest.$ac_ext
60730 cat >>conftest.$ac_ext <<_ACEOF
60731 /* end confdefs.h. */
60732 #include <math.h>
60734 main ()
60736 _modff(0, 0);
60738 return 0;
60740 _ACEOF
60741 rm -f conftest.$ac_objext
60742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60743 (eval $ac_compile) 2>conftest.er1
60744 ac_status=$?
60745 grep -v '^ *+' conftest.er1 >conftest.err
60746 rm -f conftest.er1
60747 cat conftest.err >&5
60748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60749 (exit $ac_status); } &&
60750 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60752 (eval $ac_try) 2>&5
60753 ac_status=$?
60754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60755 (exit $ac_status); }; } &&
60756 { ac_try='test -s conftest.$ac_objext'
60757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60758 (eval $ac_try) 2>&5
60759 ac_status=$?
60760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60761 (exit $ac_status); }; }; then
60762 glibcxx_cv_func__modff_use=yes
60763 else
60764 echo "$as_me: failed program was:" >&5
60765 sed 's/^/| /' conftest.$ac_ext >&5
60767 glibcxx_cv_func__modff_use=no
60769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
60781 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
60783 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60785 for ac_func in _modff
60787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60788 echo "$as_me:$LINENO: checking for $ac_func" >&5
60789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60790 if eval "test \"\${$as_ac_var+set}\" = set"; then
60791 echo $ECHO_N "(cached) $ECHO_C" >&6
60792 else
60793 if test x$gcc_no_link = xyes; then
60794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60796 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60806 #define $ac_func innocuous_$ac_func
60808 /* System header to define __stub macros and hopefully few prototypes,
60809 which can conflict with char $ac_func (); below.
60810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60811 <limits.h> exists even on freestanding compilers. */
60813 #ifdef __STDC__
60814 # include <limits.h>
60815 #else
60816 # include <assert.h>
60817 #endif
60819 #undef $ac_func
60821 /* Override any gcc2 internal prototype to avoid an error. */
60822 #ifdef __cplusplus
60823 extern "C"
60825 #endif
60826 /* We use char because int might match the return type of a gcc2
60827 builtin and then its argument prototype would still apply. */
60828 char $ac_func ();
60829 /* The GNU C library defines this for functions which it implements
60830 to always fail with ENOSYS. Some functions are actually named
60831 something starting with __ and the normal name is an alias. */
60832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60833 choke me
60834 #else
60835 char (*f) () = $ac_func;
60836 #endif
60837 #ifdef __cplusplus
60839 #endif
60842 main ()
60844 return f != $ac_func;
60846 return 0;
60848 _ACEOF
60849 rm -f conftest.$ac_objext conftest$ac_exeext
60850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60851 (eval $ac_link) 2>conftest.er1
60852 ac_status=$?
60853 grep -v '^ *+' conftest.er1 >conftest.err
60854 rm -f conftest.er1
60855 cat conftest.err >&5
60856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60857 (exit $ac_status); } &&
60858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60860 (eval $ac_try) 2>&5
60861 ac_status=$?
60862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60863 (exit $ac_status); }; } &&
60864 { ac_try='test -s conftest$ac_exeext'
60865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60866 (eval $ac_try) 2>&5
60867 ac_status=$?
60868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60869 (exit $ac_status); }; }; then
60870 eval "$as_ac_var=yes"
60871 else
60872 echo "$as_me: failed program was:" >&5
60873 sed 's/^/| /' conftest.$ac_ext >&5
60875 eval "$as_ac_var=no"
60877 rm -f conftest.err conftest.$ac_objext \
60878 conftest$ac_exeext conftest.$ac_ext
60880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60882 if test `eval echo '${'$as_ac_var'}'` = yes; then
60883 cat >>confdefs.h <<_ACEOF
60884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60885 _ACEOF
60888 done
60895 echo "$as_me:$LINENO: checking for powf declaration" >&5
60896 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
60897 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60898 if test "${glibcxx_cv_func_powf_use+set}" = set; then
60899 echo $ECHO_N "(cached) $ECHO_C" >&6
60900 else
60904 ac_ext=cc
60905 ac_cpp='$CXXCPP $CPPFLAGS'
60906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60910 cat >conftest.$ac_ext <<_ACEOF
60911 /* confdefs.h. */
60912 _ACEOF
60913 cat confdefs.h >>conftest.$ac_ext
60914 cat >>conftest.$ac_ext <<_ACEOF
60915 /* end confdefs.h. */
60916 #include <math.h>
60918 main ()
60920 powf(0, 0);
60922 return 0;
60924 _ACEOF
60925 rm -f conftest.$ac_objext
60926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60927 (eval $ac_compile) 2>conftest.er1
60928 ac_status=$?
60929 grep -v '^ *+' conftest.er1 >conftest.err
60930 rm -f conftest.er1
60931 cat conftest.err >&5
60932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60933 (exit $ac_status); } &&
60934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60936 (eval $ac_try) 2>&5
60937 ac_status=$?
60938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60939 (exit $ac_status); }; } &&
60940 { ac_try='test -s conftest.$ac_objext'
60941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60942 (eval $ac_try) 2>&5
60943 ac_status=$?
60944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60945 (exit $ac_status); }; }; then
60946 glibcxx_cv_func_powf_use=yes
60947 else
60948 echo "$as_me: failed program was:" >&5
60949 sed 's/^/| /' conftest.$ac_ext >&5
60951 glibcxx_cv_func_powf_use=no
60953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
60965 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
60967 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60969 for ac_func in powf
60971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60972 echo "$as_me:$LINENO: checking for $ac_func" >&5
60973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60974 if eval "test \"\${$as_ac_var+set}\" = set"; then
60975 echo $ECHO_N "(cached) $ECHO_C" >&6
60976 else
60977 if test x$gcc_no_link = xyes; then
60978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60980 { (exit 1); exit 1; }; }
60982 cat >conftest.$ac_ext <<_ACEOF
60983 /* confdefs.h. */
60984 _ACEOF
60985 cat confdefs.h >>conftest.$ac_ext
60986 cat >>conftest.$ac_ext <<_ACEOF
60987 /* end confdefs.h. */
60988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60990 #define $ac_func innocuous_$ac_func
60992 /* System header to define __stub macros and hopefully few prototypes,
60993 which can conflict with char $ac_func (); below.
60994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60995 <limits.h> exists even on freestanding compilers. */
60997 #ifdef __STDC__
60998 # include <limits.h>
60999 #else
61000 # include <assert.h>
61001 #endif
61003 #undef $ac_func
61005 /* Override any gcc2 internal prototype to avoid an error. */
61006 #ifdef __cplusplus
61007 extern "C"
61009 #endif
61010 /* We use char because int might match the return type of a gcc2
61011 builtin and then its argument prototype would still apply. */
61012 char $ac_func ();
61013 /* The GNU C library defines this for functions which it implements
61014 to always fail with ENOSYS. Some functions are actually named
61015 something starting with __ and the normal name is an alias. */
61016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61017 choke me
61018 #else
61019 char (*f) () = $ac_func;
61020 #endif
61021 #ifdef __cplusplus
61023 #endif
61026 main ()
61028 return f != $ac_func;
61030 return 0;
61032 _ACEOF
61033 rm -f conftest.$ac_objext conftest$ac_exeext
61034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61035 (eval $ac_link) 2>conftest.er1
61036 ac_status=$?
61037 grep -v '^ *+' conftest.er1 >conftest.err
61038 rm -f conftest.er1
61039 cat conftest.err >&5
61040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61041 (exit $ac_status); } &&
61042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61044 (eval $ac_try) 2>&5
61045 ac_status=$?
61046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61047 (exit $ac_status); }; } &&
61048 { ac_try='test -s conftest$ac_exeext'
61049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61050 (eval $ac_try) 2>&5
61051 ac_status=$?
61052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61053 (exit $ac_status); }; }; then
61054 eval "$as_ac_var=yes"
61055 else
61056 echo "$as_me: failed program was:" >&5
61057 sed 's/^/| /' conftest.$ac_ext >&5
61059 eval "$as_ac_var=no"
61061 rm -f conftest.err conftest.$ac_objext \
61062 conftest$ac_exeext conftest.$ac_ext
61064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61066 if test `eval echo '${'$as_ac_var'}'` = yes; then
61067 cat >>confdefs.h <<_ACEOF
61068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61069 _ACEOF
61072 done
61074 else
61076 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61077 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61078 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61079 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61080 echo $ECHO_N "(cached) $ECHO_C" >&6
61081 else
61085 ac_ext=cc
61086 ac_cpp='$CXXCPP $CPPFLAGS'
61087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61091 cat >conftest.$ac_ext <<_ACEOF
61092 /* confdefs.h. */
61093 _ACEOF
61094 cat confdefs.h >>conftest.$ac_ext
61095 cat >>conftest.$ac_ext <<_ACEOF
61096 /* end confdefs.h. */
61097 #include <math.h>
61099 main ()
61101 _powf(0, 0);
61103 return 0;
61105 _ACEOF
61106 rm -f conftest.$ac_objext
61107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61108 (eval $ac_compile) 2>conftest.er1
61109 ac_status=$?
61110 grep -v '^ *+' conftest.er1 >conftest.err
61111 rm -f conftest.er1
61112 cat conftest.err >&5
61113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61114 (exit $ac_status); } &&
61115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61117 (eval $ac_try) 2>&5
61118 ac_status=$?
61119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61120 (exit $ac_status); }; } &&
61121 { ac_try='test -s conftest.$ac_objext'
61122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61123 (eval $ac_try) 2>&5
61124 ac_status=$?
61125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61126 (exit $ac_status); }; }; then
61127 glibcxx_cv_func__powf_use=yes
61128 else
61129 echo "$as_me: failed program was:" >&5
61130 sed 's/^/| /' conftest.$ac_ext >&5
61132 glibcxx_cv_func__powf_use=no
61134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61146 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61148 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61150 for ac_func in _powf
61152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61153 echo "$as_me:$LINENO: checking for $ac_func" >&5
61154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61155 if eval "test \"\${$as_ac_var+set}\" = set"; then
61156 echo $ECHO_N "(cached) $ECHO_C" >&6
61157 else
61158 if test x$gcc_no_link = xyes; then
61159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61161 { (exit 1); exit 1; }; }
61163 cat >conftest.$ac_ext <<_ACEOF
61164 /* confdefs.h. */
61165 _ACEOF
61166 cat confdefs.h >>conftest.$ac_ext
61167 cat >>conftest.$ac_ext <<_ACEOF
61168 /* end confdefs.h. */
61169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61171 #define $ac_func innocuous_$ac_func
61173 /* System header to define __stub macros and hopefully few prototypes,
61174 which can conflict with char $ac_func (); below.
61175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61176 <limits.h> exists even on freestanding compilers. */
61178 #ifdef __STDC__
61179 # include <limits.h>
61180 #else
61181 # include <assert.h>
61182 #endif
61184 #undef $ac_func
61186 /* Override any gcc2 internal prototype to avoid an error. */
61187 #ifdef __cplusplus
61188 extern "C"
61190 #endif
61191 /* We use char because int might match the return type of a gcc2
61192 builtin and then its argument prototype would still apply. */
61193 char $ac_func ();
61194 /* The GNU C library defines this for functions which it implements
61195 to always fail with ENOSYS. Some functions are actually named
61196 something starting with __ and the normal name is an alias. */
61197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61198 choke me
61199 #else
61200 char (*f) () = $ac_func;
61201 #endif
61202 #ifdef __cplusplus
61204 #endif
61207 main ()
61209 return f != $ac_func;
61211 return 0;
61213 _ACEOF
61214 rm -f conftest.$ac_objext conftest$ac_exeext
61215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61216 (eval $ac_link) 2>conftest.er1
61217 ac_status=$?
61218 grep -v '^ *+' conftest.er1 >conftest.err
61219 rm -f conftest.er1
61220 cat conftest.err >&5
61221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61222 (exit $ac_status); } &&
61223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61225 (eval $ac_try) 2>&5
61226 ac_status=$?
61227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61228 (exit $ac_status); }; } &&
61229 { ac_try='test -s conftest$ac_exeext'
61230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61231 (eval $ac_try) 2>&5
61232 ac_status=$?
61233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61234 (exit $ac_status); }; }; then
61235 eval "$as_ac_var=yes"
61236 else
61237 echo "$as_me: failed program was:" >&5
61238 sed 's/^/| /' conftest.$ac_ext >&5
61240 eval "$as_ac_var=no"
61242 rm -f conftest.err conftest.$ac_objext \
61243 conftest$ac_exeext conftest.$ac_ext
61245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61247 if test `eval echo '${'$as_ac_var'}'` = yes; then
61248 cat >>confdefs.h <<_ACEOF
61249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61250 _ACEOF
61253 done
61260 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61261 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61262 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61263 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61264 echo $ECHO_N "(cached) $ECHO_C" >&6
61265 else
61269 ac_ext=cc
61270 ac_cpp='$CXXCPP $CPPFLAGS'
61271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61275 cat >conftest.$ac_ext <<_ACEOF
61276 /* confdefs.h. */
61277 _ACEOF
61278 cat confdefs.h >>conftest.$ac_ext
61279 cat >>conftest.$ac_ext <<_ACEOF
61280 /* end confdefs.h. */
61281 #include <math.h>
61282 #ifdef HAVE_IEEEFP_H
61283 #include <ieeefp.h>
61284 #endif
61287 main ()
61289 sqrtf(0);
61291 return 0;
61293 _ACEOF
61294 rm -f conftest.$ac_objext
61295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61296 (eval $ac_compile) 2>conftest.er1
61297 ac_status=$?
61298 grep -v '^ *+' conftest.er1 >conftest.err
61299 rm -f conftest.er1
61300 cat conftest.err >&5
61301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61302 (exit $ac_status); } &&
61303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61305 (eval $ac_try) 2>&5
61306 ac_status=$?
61307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61308 (exit $ac_status); }; } &&
61309 { ac_try='test -s conftest.$ac_objext'
61310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61311 (eval $ac_try) 2>&5
61312 ac_status=$?
61313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61314 (exit $ac_status); }; }; then
61315 glibcxx_cv_func_sqrtf_use=yes
61316 else
61317 echo "$as_me: failed program was:" >&5
61318 sed 's/^/| /' conftest.$ac_ext >&5
61320 glibcxx_cv_func_sqrtf_use=no
61322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61323 ac_ext=c
61324 ac_cpp='$CPP $CPPFLAGS'
61325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61334 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61336 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61338 for ac_func in sqrtf
61340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61341 echo "$as_me:$LINENO: checking for $ac_func" >&5
61342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61343 if eval "test \"\${$as_ac_var+set}\" = set"; then
61344 echo $ECHO_N "(cached) $ECHO_C" >&6
61345 else
61346 if test x$gcc_no_link = xyes; then
61347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61349 { (exit 1); exit 1; }; }
61351 cat >conftest.$ac_ext <<_ACEOF
61352 /* confdefs.h. */
61353 _ACEOF
61354 cat confdefs.h >>conftest.$ac_ext
61355 cat >>conftest.$ac_ext <<_ACEOF
61356 /* end confdefs.h. */
61357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61359 #define $ac_func innocuous_$ac_func
61361 /* System header to define __stub macros and hopefully few prototypes,
61362 which can conflict with char $ac_func (); below.
61363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61364 <limits.h> exists even on freestanding compilers. */
61366 #ifdef __STDC__
61367 # include <limits.h>
61368 #else
61369 # include <assert.h>
61370 #endif
61372 #undef $ac_func
61374 /* Override any gcc2 internal prototype to avoid an error. */
61375 #ifdef __cplusplus
61376 extern "C"
61378 #endif
61379 /* We use char because int might match the return type of a gcc2
61380 builtin and then its argument prototype would still apply. */
61381 char $ac_func ();
61382 /* The GNU C library defines this for functions which it implements
61383 to always fail with ENOSYS. Some functions are actually named
61384 something starting with __ and the normal name is an alias. */
61385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61386 choke me
61387 #else
61388 char (*f) () = $ac_func;
61389 #endif
61390 #ifdef __cplusplus
61392 #endif
61395 main ()
61397 return f != $ac_func;
61399 return 0;
61401 _ACEOF
61402 rm -f conftest.$ac_objext conftest$ac_exeext
61403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61404 (eval $ac_link) 2>conftest.er1
61405 ac_status=$?
61406 grep -v '^ *+' conftest.er1 >conftest.err
61407 rm -f conftest.er1
61408 cat conftest.err >&5
61409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61410 (exit $ac_status); } &&
61411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61413 (eval $ac_try) 2>&5
61414 ac_status=$?
61415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61416 (exit $ac_status); }; } &&
61417 { ac_try='test -s conftest$ac_exeext'
61418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61419 (eval $ac_try) 2>&5
61420 ac_status=$?
61421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61422 (exit $ac_status); }; }; then
61423 eval "$as_ac_var=yes"
61424 else
61425 echo "$as_me: failed program was:" >&5
61426 sed 's/^/| /' conftest.$ac_ext >&5
61428 eval "$as_ac_var=no"
61430 rm -f conftest.err conftest.$ac_objext \
61431 conftest$ac_exeext conftest.$ac_ext
61433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61435 if test `eval echo '${'$as_ac_var'}'` = yes; then
61436 cat >>confdefs.h <<_ACEOF
61437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61438 _ACEOF
61441 done
61443 else
61445 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
61446 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
61447 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61448 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
61449 echo $ECHO_N "(cached) $ECHO_C" >&6
61450 else
61454 ac_ext=cc
61455 ac_cpp='$CXXCPP $CPPFLAGS'
61456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61460 cat >conftest.$ac_ext <<_ACEOF
61461 /* confdefs.h. */
61462 _ACEOF
61463 cat confdefs.h >>conftest.$ac_ext
61464 cat >>conftest.$ac_ext <<_ACEOF
61465 /* end confdefs.h. */
61466 #include <math.h>
61467 #ifdef HAVE_IEEEFP_H
61468 #include <ieeefp.h>
61469 #endif
61472 main ()
61474 _sqrtf(0);
61476 return 0;
61478 _ACEOF
61479 rm -f conftest.$ac_objext
61480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61481 (eval $ac_compile) 2>conftest.er1
61482 ac_status=$?
61483 grep -v '^ *+' conftest.er1 >conftest.err
61484 rm -f conftest.er1
61485 cat conftest.err >&5
61486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61487 (exit $ac_status); } &&
61488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61490 (eval $ac_try) 2>&5
61491 ac_status=$?
61492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61493 (exit $ac_status); }; } &&
61494 { ac_try='test -s conftest.$ac_objext'
61495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61496 (eval $ac_try) 2>&5
61497 ac_status=$?
61498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61499 (exit $ac_status); }; }; then
61500 glibcxx_cv_func__sqrtf_use=yes
61501 else
61502 echo "$as_me: failed program was:" >&5
61503 sed 's/^/| /' conftest.$ac_ext >&5
61505 glibcxx_cv_func__sqrtf_use=no
61507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61508 ac_ext=c
61509 ac_cpp='$CPP $CPPFLAGS'
61510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
61519 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
61521 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61523 for ac_func in _sqrtf
61525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61526 echo "$as_me:$LINENO: checking for $ac_func" >&5
61527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61528 if eval "test \"\${$as_ac_var+set}\" = set"; then
61529 echo $ECHO_N "(cached) $ECHO_C" >&6
61530 else
61531 if test x$gcc_no_link = xyes; then
61532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61534 { (exit 1); exit 1; }; }
61536 cat >conftest.$ac_ext <<_ACEOF
61537 /* confdefs.h. */
61538 _ACEOF
61539 cat confdefs.h >>conftest.$ac_ext
61540 cat >>conftest.$ac_ext <<_ACEOF
61541 /* end confdefs.h. */
61542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61544 #define $ac_func innocuous_$ac_func
61546 /* System header to define __stub macros and hopefully few prototypes,
61547 which can conflict with char $ac_func (); below.
61548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61549 <limits.h> exists even on freestanding compilers. */
61551 #ifdef __STDC__
61552 # include <limits.h>
61553 #else
61554 # include <assert.h>
61555 #endif
61557 #undef $ac_func
61559 /* Override any gcc2 internal prototype to avoid an error. */
61560 #ifdef __cplusplus
61561 extern "C"
61563 #endif
61564 /* We use char because int might match the return type of a gcc2
61565 builtin and then its argument prototype would still apply. */
61566 char $ac_func ();
61567 /* The GNU C library defines this for functions which it implements
61568 to always fail with ENOSYS. Some functions are actually named
61569 something starting with __ and the normal name is an alias. */
61570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61571 choke me
61572 #else
61573 char (*f) () = $ac_func;
61574 #endif
61575 #ifdef __cplusplus
61577 #endif
61580 main ()
61582 return f != $ac_func;
61584 return 0;
61586 _ACEOF
61587 rm -f conftest.$ac_objext conftest$ac_exeext
61588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61589 (eval $ac_link) 2>conftest.er1
61590 ac_status=$?
61591 grep -v '^ *+' conftest.er1 >conftest.err
61592 rm -f conftest.er1
61593 cat conftest.err >&5
61594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595 (exit $ac_status); } &&
61596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61598 (eval $ac_try) 2>&5
61599 ac_status=$?
61600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61601 (exit $ac_status); }; } &&
61602 { ac_try='test -s conftest$ac_exeext'
61603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61604 (eval $ac_try) 2>&5
61605 ac_status=$?
61606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61607 (exit $ac_status); }; }; then
61608 eval "$as_ac_var=yes"
61609 else
61610 echo "$as_me: failed program was:" >&5
61611 sed 's/^/| /' conftest.$ac_ext >&5
61613 eval "$as_ac_var=no"
61615 rm -f conftest.err conftest.$ac_objext \
61616 conftest$ac_exeext conftest.$ac_ext
61618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61620 if test `eval echo '${'$as_ac_var'}'` = yes; then
61621 cat >>confdefs.h <<_ACEOF
61622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61623 _ACEOF
61626 done
61633 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
61634 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
61635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
61637 echo $ECHO_N "(cached) $ECHO_C" >&6
61638 else
61642 ac_ext=cc
61643 ac_cpp='$CXXCPP $CPPFLAGS'
61644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61648 cat >conftest.$ac_ext <<_ACEOF
61649 /* confdefs.h. */
61650 _ACEOF
61651 cat confdefs.h >>conftest.$ac_ext
61652 cat >>conftest.$ac_ext <<_ACEOF
61653 /* end confdefs.h. */
61654 #include <math.h>
61656 main ()
61658 sincosf(0, 0, 0);
61660 return 0;
61662 _ACEOF
61663 rm -f conftest.$ac_objext
61664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61665 (eval $ac_compile) 2>conftest.er1
61666 ac_status=$?
61667 grep -v '^ *+' conftest.er1 >conftest.err
61668 rm -f conftest.er1
61669 cat conftest.err >&5
61670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61671 (exit $ac_status); } &&
61672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61674 (eval $ac_try) 2>&5
61675 ac_status=$?
61676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61677 (exit $ac_status); }; } &&
61678 { ac_try='test -s conftest.$ac_objext'
61679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61680 (eval $ac_try) 2>&5
61681 ac_status=$?
61682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61683 (exit $ac_status); }; }; then
61684 glibcxx_cv_func_sincosf_use=yes
61685 else
61686 echo "$as_me: failed program was:" >&5
61687 sed 's/^/| /' conftest.$ac_ext >&5
61689 glibcxx_cv_func_sincosf_use=no
61691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61692 ac_ext=c
61693 ac_cpp='$CPP $CPPFLAGS'
61694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
61703 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
61705 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61707 for ac_func in sincosf
61709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61710 echo "$as_me:$LINENO: checking for $ac_func" >&5
61711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61712 if eval "test \"\${$as_ac_var+set}\" = set"; then
61713 echo $ECHO_N "(cached) $ECHO_C" >&6
61714 else
61715 if test x$gcc_no_link = xyes; then
61716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61718 { (exit 1); exit 1; }; }
61720 cat >conftest.$ac_ext <<_ACEOF
61721 /* confdefs.h. */
61722 _ACEOF
61723 cat confdefs.h >>conftest.$ac_ext
61724 cat >>conftest.$ac_ext <<_ACEOF
61725 /* end confdefs.h. */
61726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61728 #define $ac_func innocuous_$ac_func
61730 /* System header to define __stub macros and hopefully few prototypes,
61731 which can conflict with char $ac_func (); below.
61732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61733 <limits.h> exists even on freestanding compilers. */
61735 #ifdef __STDC__
61736 # include <limits.h>
61737 #else
61738 # include <assert.h>
61739 #endif
61741 #undef $ac_func
61743 /* Override any gcc2 internal prototype to avoid an error. */
61744 #ifdef __cplusplus
61745 extern "C"
61747 #endif
61748 /* We use char because int might match the return type of a gcc2
61749 builtin and then its argument prototype would still apply. */
61750 char $ac_func ();
61751 /* The GNU C library defines this for functions which it implements
61752 to always fail with ENOSYS. Some functions are actually named
61753 something starting with __ and the normal name is an alias. */
61754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61755 choke me
61756 #else
61757 char (*f) () = $ac_func;
61758 #endif
61759 #ifdef __cplusplus
61761 #endif
61764 main ()
61766 return f != $ac_func;
61768 return 0;
61770 _ACEOF
61771 rm -f conftest.$ac_objext conftest$ac_exeext
61772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61773 (eval $ac_link) 2>conftest.er1
61774 ac_status=$?
61775 grep -v '^ *+' conftest.er1 >conftest.err
61776 rm -f conftest.er1
61777 cat conftest.err >&5
61778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61779 (exit $ac_status); } &&
61780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61782 (eval $ac_try) 2>&5
61783 ac_status=$?
61784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61785 (exit $ac_status); }; } &&
61786 { ac_try='test -s conftest$ac_exeext'
61787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61788 (eval $ac_try) 2>&5
61789 ac_status=$?
61790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61791 (exit $ac_status); }; }; then
61792 eval "$as_ac_var=yes"
61793 else
61794 echo "$as_me: failed program was:" >&5
61795 sed 's/^/| /' conftest.$ac_ext >&5
61797 eval "$as_ac_var=no"
61799 rm -f conftest.err conftest.$ac_objext \
61800 conftest$ac_exeext conftest.$ac_ext
61802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61804 if test `eval echo '${'$as_ac_var'}'` = yes; then
61805 cat >>confdefs.h <<_ACEOF
61806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61807 _ACEOF
61810 done
61812 else
61814 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
61815 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
61816 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61817 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
61818 echo $ECHO_N "(cached) $ECHO_C" >&6
61819 else
61823 ac_ext=cc
61824 ac_cpp='$CXXCPP $CPPFLAGS'
61825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61829 cat >conftest.$ac_ext <<_ACEOF
61830 /* confdefs.h. */
61831 _ACEOF
61832 cat confdefs.h >>conftest.$ac_ext
61833 cat >>conftest.$ac_ext <<_ACEOF
61834 /* end confdefs.h. */
61835 #include <math.h>
61837 main ()
61839 _sincosf(0, 0, 0);
61841 return 0;
61843 _ACEOF
61844 rm -f conftest.$ac_objext
61845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61846 (eval $ac_compile) 2>conftest.er1
61847 ac_status=$?
61848 grep -v '^ *+' conftest.er1 >conftest.err
61849 rm -f conftest.er1
61850 cat conftest.err >&5
61851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61852 (exit $ac_status); } &&
61853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61855 (eval $ac_try) 2>&5
61856 ac_status=$?
61857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61858 (exit $ac_status); }; } &&
61859 { ac_try='test -s conftest.$ac_objext'
61860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61861 (eval $ac_try) 2>&5
61862 ac_status=$?
61863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61864 (exit $ac_status); }; }; then
61865 glibcxx_cv_func__sincosf_use=yes
61866 else
61867 echo "$as_me: failed program was:" >&5
61868 sed 's/^/| /' conftest.$ac_ext >&5
61870 glibcxx_cv_func__sincosf_use=no
61872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61873 ac_ext=c
61874 ac_cpp='$CPP $CPPFLAGS'
61875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61883 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
61884 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
61886 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61888 for ac_func in _sincosf
61890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61891 echo "$as_me:$LINENO: checking for $ac_func" >&5
61892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61893 if eval "test \"\${$as_ac_var+set}\" = set"; then
61894 echo $ECHO_N "(cached) $ECHO_C" >&6
61895 else
61896 if test x$gcc_no_link = xyes; then
61897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61899 { (exit 1); exit 1; }; }
61901 cat >conftest.$ac_ext <<_ACEOF
61902 /* confdefs.h. */
61903 _ACEOF
61904 cat confdefs.h >>conftest.$ac_ext
61905 cat >>conftest.$ac_ext <<_ACEOF
61906 /* end confdefs.h. */
61907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61909 #define $ac_func innocuous_$ac_func
61911 /* System header to define __stub macros and hopefully few prototypes,
61912 which can conflict with char $ac_func (); below.
61913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61914 <limits.h> exists even on freestanding compilers. */
61916 #ifdef __STDC__
61917 # include <limits.h>
61918 #else
61919 # include <assert.h>
61920 #endif
61922 #undef $ac_func
61924 /* Override any gcc2 internal prototype to avoid an error. */
61925 #ifdef __cplusplus
61926 extern "C"
61928 #endif
61929 /* We use char because int might match the return type of a gcc2
61930 builtin and then its argument prototype would still apply. */
61931 char $ac_func ();
61932 /* The GNU C library defines this for functions which it implements
61933 to always fail with ENOSYS. Some functions are actually named
61934 something starting with __ and the normal name is an alias. */
61935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61936 choke me
61937 #else
61938 char (*f) () = $ac_func;
61939 #endif
61940 #ifdef __cplusplus
61942 #endif
61945 main ()
61947 return f != $ac_func;
61949 return 0;
61951 _ACEOF
61952 rm -f conftest.$ac_objext conftest$ac_exeext
61953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61954 (eval $ac_link) 2>conftest.er1
61955 ac_status=$?
61956 grep -v '^ *+' conftest.er1 >conftest.err
61957 rm -f conftest.er1
61958 cat conftest.err >&5
61959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61960 (exit $ac_status); } &&
61961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61963 (eval $ac_try) 2>&5
61964 ac_status=$?
61965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61966 (exit $ac_status); }; } &&
61967 { ac_try='test -s conftest$ac_exeext'
61968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61969 (eval $ac_try) 2>&5
61970 ac_status=$?
61971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61972 (exit $ac_status); }; }; then
61973 eval "$as_ac_var=yes"
61974 else
61975 echo "$as_me: failed program was:" >&5
61976 sed 's/^/| /' conftest.$ac_ext >&5
61978 eval "$as_ac_var=no"
61980 rm -f conftest.err conftest.$ac_objext \
61981 conftest$ac_exeext conftest.$ac_ext
61983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61985 if test `eval echo '${'$as_ac_var'}'` = yes; then
61986 cat >>confdefs.h <<_ACEOF
61987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61988 _ACEOF
61991 done
61998 echo "$as_me:$LINENO: checking for finitef declaration" >&5
61999 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62000 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62001 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62002 echo $ECHO_N "(cached) $ECHO_C" >&6
62003 else
62007 ac_ext=cc
62008 ac_cpp='$CXXCPP $CPPFLAGS'
62009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62013 cat >conftest.$ac_ext <<_ACEOF
62014 /* confdefs.h. */
62015 _ACEOF
62016 cat confdefs.h >>conftest.$ac_ext
62017 cat >>conftest.$ac_ext <<_ACEOF
62018 /* end confdefs.h. */
62019 #include <math.h>
62020 #ifdef HAVE_IEEEFP_H
62021 #include <ieeefp.h>
62022 #endif
62025 main ()
62027 finitef(0);
62029 return 0;
62031 _ACEOF
62032 rm -f conftest.$ac_objext
62033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62034 (eval $ac_compile) 2>conftest.er1
62035 ac_status=$?
62036 grep -v '^ *+' conftest.er1 >conftest.err
62037 rm -f conftest.er1
62038 cat conftest.err >&5
62039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62040 (exit $ac_status); } &&
62041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62043 (eval $ac_try) 2>&5
62044 ac_status=$?
62045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62046 (exit $ac_status); }; } &&
62047 { ac_try='test -s conftest.$ac_objext'
62048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62049 (eval $ac_try) 2>&5
62050 ac_status=$?
62051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62052 (exit $ac_status); }; }; then
62053 glibcxx_cv_func_finitef_use=yes
62054 else
62055 echo "$as_me: failed program was:" >&5
62056 sed 's/^/| /' conftest.$ac_ext >&5
62058 glibcxx_cv_func_finitef_use=no
62060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62061 ac_ext=c
62062 ac_cpp='$CPP $CPPFLAGS'
62063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62072 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62074 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62076 for ac_func in finitef
62078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62079 echo "$as_me:$LINENO: checking for $ac_func" >&5
62080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62081 if eval "test \"\${$as_ac_var+set}\" = set"; then
62082 echo $ECHO_N "(cached) $ECHO_C" >&6
62083 else
62084 if test x$gcc_no_link = xyes; then
62085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62087 { (exit 1); exit 1; }; }
62089 cat >conftest.$ac_ext <<_ACEOF
62090 /* confdefs.h. */
62091 _ACEOF
62092 cat confdefs.h >>conftest.$ac_ext
62093 cat >>conftest.$ac_ext <<_ACEOF
62094 /* end confdefs.h. */
62095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62097 #define $ac_func innocuous_$ac_func
62099 /* System header to define __stub macros and hopefully few prototypes,
62100 which can conflict with char $ac_func (); below.
62101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62102 <limits.h> exists even on freestanding compilers. */
62104 #ifdef __STDC__
62105 # include <limits.h>
62106 #else
62107 # include <assert.h>
62108 #endif
62110 #undef $ac_func
62112 /* Override any gcc2 internal prototype to avoid an error. */
62113 #ifdef __cplusplus
62114 extern "C"
62116 #endif
62117 /* We use char because int might match the return type of a gcc2
62118 builtin and then its argument prototype would still apply. */
62119 char $ac_func ();
62120 /* The GNU C library defines this for functions which it implements
62121 to always fail with ENOSYS. Some functions are actually named
62122 something starting with __ and the normal name is an alias. */
62123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62124 choke me
62125 #else
62126 char (*f) () = $ac_func;
62127 #endif
62128 #ifdef __cplusplus
62130 #endif
62133 main ()
62135 return f != $ac_func;
62137 return 0;
62139 _ACEOF
62140 rm -f conftest.$ac_objext conftest$ac_exeext
62141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62142 (eval $ac_link) 2>conftest.er1
62143 ac_status=$?
62144 grep -v '^ *+' conftest.er1 >conftest.err
62145 rm -f conftest.er1
62146 cat conftest.err >&5
62147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62148 (exit $ac_status); } &&
62149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62151 (eval $ac_try) 2>&5
62152 ac_status=$?
62153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62154 (exit $ac_status); }; } &&
62155 { ac_try='test -s conftest$ac_exeext'
62156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62157 (eval $ac_try) 2>&5
62158 ac_status=$?
62159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62160 (exit $ac_status); }; }; then
62161 eval "$as_ac_var=yes"
62162 else
62163 echo "$as_me: failed program was:" >&5
62164 sed 's/^/| /' conftest.$ac_ext >&5
62166 eval "$as_ac_var=no"
62168 rm -f conftest.err conftest.$ac_objext \
62169 conftest$ac_exeext conftest.$ac_ext
62171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62173 if test `eval echo '${'$as_ac_var'}'` = yes; then
62174 cat >>confdefs.h <<_ACEOF
62175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62176 _ACEOF
62179 done
62181 else
62183 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62184 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62185 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62186 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62187 echo $ECHO_N "(cached) $ECHO_C" >&6
62188 else
62192 ac_ext=cc
62193 ac_cpp='$CXXCPP $CPPFLAGS'
62194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62198 cat >conftest.$ac_ext <<_ACEOF
62199 /* confdefs.h. */
62200 _ACEOF
62201 cat confdefs.h >>conftest.$ac_ext
62202 cat >>conftest.$ac_ext <<_ACEOF
62203 /* end confdefs.h. */
62204 #include <math.h>
62205 #ifdef HAVE_IEEEFP_H
62206 #include <ieeefp.h>
62207 #endif
62210 main ()
62212 _finitef(0);
62214 return 0;
62216 _ACEOF
62217 rm -f conftest.$ac_objext
62218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62219 (eval $ac_compile) 2>conftest.er1
62220 ac_status=$?
62221 grep -v '^ *+' conftest.er1 >conftest.err
62222 rm -f conftest.er1
62223 cat conftest.err >&5
62224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62225 (exit $ac_status); } &&
62226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62228 (eval $ac_try) 2>&5
62229 ac_status=$?
62230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62231 (exit $ac_status); }; } &&
62232 { ac_try='test -s conftest.$ac_objext'
62233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62234 (eval $ac_try) 2>&5
62235 ac_status=$?
62236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62237 (exit $ac_status); }; }; then
62238 glibcxx_cv_func__finitef_use=yes
62239 else
62240 echo "$as_me: failed program was:" >&5
62241 sed 's/^/| /' conftest.$ac_ext >&5
62243 glibcxx_cv_func__finitef_use=no
62245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62246 ac_ext=c
62247 ac_cpp='$CPP $CPPFLAGS'
62248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62257 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62259 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62261 for ac_func in _finitef
62263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62264 echo "$as_me:$LINENO: checking for $ac_func" >&5
62265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62266 if eval "test \"\${$as_ac_var+set}\" = set"; then
62267 echo $ECHO_N "(cached) $ECHO_C" >&6
62268 else
62269 if test x$gcc_no_link = xyes; then
62270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62272 { (exit 1); exit 1; }; }
62274 cat >conftest.$ac_ext <<_ACEOF
62275 /* confdefs.h. */
62276 _ACEOF
62277 cat confdefs.h >>conftest.$ac_ext
62278 cat >>conftest.$ac_ext <<_ACEOF
62279 /* end confdefs.h. */
62280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62282 #define $ac_func innocuous_$ac_func
62284 /* System header to define __stub macros and hopefully few prototypes,
62285 which can conflict with char $ac_func (); below.
62286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62287 <limits.h> exists even on freestanding compilers. */
62289 #ifdef __STDC__
62290 # include <limits.h>
62291 #else
62292 # include <assert.h>
62293 #endif
62295 #undef $ac_func
62297 /* Override any gcc2 internal prototype to avoid an error. */
62298 #ifdef __cplusplus
62299 extern "C"
62301 #endif
62302 /* We use char because int might match the return type of a gcc2
62303 builtin and then its argument prototype would still apply. */
62304 char $ac_func ();
62305 /* The GNU C library defines this for functions which it implements
62306 to always fail with ENOSYS. Some functions are actually named
62307 something starting with __ and the normal name is an alias. */
62308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62309 choke me
62310 #else
62311 char (*f) () = $ac_func;
62312 #endif
62313 #ifdef __cplusplus
62315 #endif
62318 main ()
62320 return f != $ac_func;
62322 return 0;
62324 _ACEOF
62325 rm -f conftest.$ac_objext conftest$ac_exeext
62326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62327 (eval $ac_link) 2>conftest.er1
62328 ac_status=$?
62329 grep -v '^ *+' conftest.er1 >conftest.err
62330 rm -f conftest.er1
62331 cat conftest.err >&5
62332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62333 (exit $ac_status); } &&
62334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62336 (eval $ac_try) 2>&5
62337 ac_status=$?
62338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62339 (exit $ac_status); }; } &&
62340 { ac_try='test -s conftest$ac_exeext'
62341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62342 (eval $ac_try) 2>&5
62343 ac_status=$?
62344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62345 (exit $ac_status); }; }; then
62346 eval "$as_ac_var=yes"
62347 else
62348 echo "$as_me: failed program was:" >&5
62349 sed 's/^/| /' conftest.$ac_ext >&5
62351 eval "$as_ac_var=no"
62353 rm -f conftest.err conftest.$ac_objext \
62354 conftest$ac_exeext conftest.$ac_ext
62356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62358 if test `eval echo '${'$as_ac_var'}'` = yes; then
62359 cat >>confdefs.h <<_ACEOF
62360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62361 _ACEOF
62364 done
62371 echo "$as_me:$LINENO: checking for long double trig functions" >&5
62372 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
62373 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
62374 echo $ECHO_N "(cached) $ECHO_C" >&6
62375 else
62379 ac_ext=cc
62380 ac_cpp='$CXXCPP $CPPFLAGS'
62381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62385 cat >conftest.$ac_ext <<_ACEOF
62386 /* confdefs.h. */
62387 _ACEOF
62388 cat confdefs.h >>conftest.$ac_ext
62389 cat >>conftest.$ac_ext <<_ACEOF
62390 /* end confdefs.h. */
62391 #include <math.h>
62393 main ()
62395 `for x in acosl asinl atanl \
62396 cosl sinl tanl \
62397 coshl sinhl tanhl; do echo "$x (0);"; done`
62399 return 0;
62401 _ACEOF
62402 rm -f conftest.$ac_objext
62403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62404 (eval $ac_compile) 2>conftest.er1
62405 ac_status=$?
62406 grep -v '^ *+' conftest.er1 >conftest.err
62407 rm -f conftest.er1
62408 cat conftest.err >&5
62409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62410 (exit $ac_status); } &&
62411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62413 (eval $ac_try) 2>&5
62414 ac_status=$?
62415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62416 (exit $ac_status); }; } &&
62417 { ac_try='test -s conftest.$ac_objext'
62418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62419 (eval $ac_try) 2>&5
62420 ac_status=$?
62421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422 (exit $ac_status); }; }; then
62423 glibcxx_cv_func_long_double_trig_use=yes
62424 else
62425 echo "$as_me: failed program was:" >&5
62426 sed 's/^/| /' conftest.$ac_ext >&5
62428 glibcxx_cv_func_long_double_trig_use=no
62430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62431 ac_ext=c
62432 ac_cpp='$CPP $CPPFLAGS'
62433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
62440 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
62441 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62451 for ac_func in acosl asinl atanl \
62452 cosl sinl tanl \
62453 coshl sinhl tanhl
62455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62456 echo "$as_me:$LINENO: checking for $ac_func" >&5
62457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62458 if eval "test \"\${$as_ac_var+set}\" = set"; then
62459 echo $ECHO_N "(cached) $ECHO_C" >&6
62460 else
62461 if test x$gcc_no_link = xyes; then
62462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62464 { (exit 1); exit 1; }; }
62466 cat >conftest.$ac_ext <<_ACEOF
62467 /* confdefs.h. */
62468 _ACEOF
62469 cat confdefs.h >>conftest.$ac_ext
62470 cat >>conftest.$ac_ext <<_ACEOF
62471 /* end confdefs.h. */
62472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62474 #define $ac_func innocuous_$ac_func
62476 /* System header to define __stub macros and hopefully few prototypes,
62477 which can conflict with char $ac_func (); below.
62478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62479 <limits.h> exists even on freestanding compilers. */
62481 #ifdef __STDC__
62482 # include <limits.h>
62483 #else
62484 # include <assert.h>
62485 #endif
62487 #undef $ac_func
62489 /* Override any gcc2 internal prototype to avoid an error. */
62490 #ifdef __cplusplus
62491 extern "C"
62493 #endif
62494 /* We use char because int might match the return type of a gcc2
62495 builtin and then its argument prototype would still apply. */
62496 char $ac_func ();
62497 /* The GNU C library defines this for functions which it implements
62498 to always fail with ENOSYS. Some functions are actually named
62499 something starting with __ and the normal name is an alias. */
62500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62501 choke me
62502 #else
62503 char (*f) () = $ac_func;
62504 #endif
62505 #ifdef __cplusplus
62507 #endif
62510 main ()
62512 return f != $ac_func;
62514 return 0;
62516 _ACEOF
62517 rm -f conftest.$ac_objext conftest$ac_exeext
62518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62519 (eval $ac_link) 2>conftest.er1
62520 ac_status=$?
62521 grep -v '^ *+' conftest.er1 >conftest.err
62522 rm -f conftest.er1
62523 cat conftest.err >&5
62524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62525 (exit $ac_status); } &&
62526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62528 (eval $ac_try) 2>&5
62529 ac_status=$?
62530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531 (exit $ac_status); }; } &&
62532 { ac_try='test -s conftest$ac_exeext'
62533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62534 (eval $ac_try) 2>&5
62535 ac_status=$?
62536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62537 (exit $ac_status); }; }; then
62538 eval "$as_ac_var=yes"
62539 else
62540 echo "$as_me: failed program was:" >&5
62541 sed 's/^/| /' conftest.$ac_ext >&5
62543 eval "$as_ac_var=no"
62545 rm -f conftest.err conftest.$ac_objext \
62546 conftest$ac_exeext conftest.$ac_ext
62548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62550 if test `eval echo '${'$as_ac_var'}'` = yes; then
62551 cat >>confdefs.h <<_ACEOF
62552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62553 _ACEOF
62556 done
62561 echo "$as_me:$LINENO: checking for long double round functions" >&5
62562 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
62563 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
62564 echo $ECHO_N "(cached) $ECHO_C" >&6
62565 else
62569 ac_ext=cc
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62575 cat >conftest.$ac_ext <<_ACEOF
62576 /* confdefs.h. */
62577 _ACEOF
62578 cat confdefs.h >>conftest.$ac_ext
62579 cat >>conftest.$ac_ext <<_ACEOF
62580 /* end confdefs.h. */
62581 #include <math.h>
62583 main ()
62585 `for x in ceill floorl; do echo "$x (0);"; done`
62587 return 0;
62589 _ACEOF
62590 rm -f conftest.$ac_objext
62591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62592 (eval $ac_compile) 2>conftest.er1
62593 ac_status=$?
62594 grep -v '^ *+' conftest.er1 >conftest.err
62595 rm -f conftest.er1
62596 cat conftest.err >&5
62597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62598 (exit $ac_status); } &&
62599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62601 (eval $ac_try) 2>&5
62602 ac_status=$?
62603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62604 (exit $ac_status); }; } &&
62605 { ac_try='test -s conftest.$ac_objext'
62606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62607 (eval $ac_try) 2>&5
62608 ac_status=$?
62609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62610 (exit $ac_status); }; }; then
62611 glibcxx_cv_func_long_double_round_use=yes
62612 else
62613 echo "$as_me: failed program was:" >&5
62614 sed 's/^/| /' conftest.$ac_ext >&5
62616 glibcxx_cv_func_long_double_round_use=no
62618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62619 ac_ext=c
62620 ac_cpp='$CPP $CPPFLAGS'
62621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
62628 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
62629 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62632 for ac_func in ceill floorl
62634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62635 echo "$as_me:$LINENO: checking for $ac_func" >&5
62636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62637 if eval "test \"\${$as_ac_var+set}\" = set"; then
62638 echo $ECHO_N "(cached) $ECHO_C" >&6
62639 else
62640 if test x$gcc_no_link = xyes; then
62641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62643 { (exit 1); exit 1; }; }
62645 cat >conftest.$ac_ext <<_ACEOF
62646 /* confdefs.h. */
62647 _ACEOF
62648 cat confdefs.h >>conftest.$ac_ext
62649 cat >>conftest.$ac_ext <<_ACEOF
62650 /* end confdefs.h. */
62651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62653 #define $ac_func innocuous_$ac_func
62655 /* System header to define __stub macros and hopefully few prototypes,
62656 which can conflict with char $ac_func (); below.
62657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62658 <limits.h> exists even on freestanding compilers. */
62660 #ifdef __STDC__
62661 # include <limits.h>
62662 #else
62663 # include <assert.h>
62664 #endif
62666 #undef $ac_func
62668 /* Override any gcc2 internal prototype to avoid an error. */
62669 #ifdef __cplusplus
62670 extern "C"
62672 #endif
62673 /* We use char because int might match the return type of a gcc2
62674 builtin and then its argument prototype would still apply. */
62675 char $ac_func ();
62676 /* The GNU C library defines this for functions which it implements
62677 to always fail with ENOSYS. Some functions are actually named
62678 something starting with __ and the normal name is an alias. */
62679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62680 choke me
62681 #else
62682 char (*f) () = $ac_func;
62683 #endif
62684 #ifdef __cplusplus
62686 #endif
62689 main ()
62691 return f != $ac_func;
62693 return 0;
62695 _ACEOF
62696 rm -f conftest.$ac_objext conftest$ac_exeext
62697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62698 (eval $ac_link) 2>conftest.er1
62699 ac_status=$?
62700 grep -v '^ *+' conftest.er1 >conftest.err
62701 rm -f conftest.er1
62702 cat conftest.err >&5
62703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62704 (exit $ac_status); } &&
62705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62707 (eval $ac_try) 2>&5
62708 ac_status=$?
62709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62710 (exit $ac_status); }; } &&
62711 { ac_try='test -s conftest$ac_exeext'
62712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62713 (eval $ac_try) 2>&5
62714 ac_status=$?
62715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62716 (exit $ac_status); }; }; then
62717 eval "$as_ac_var=yes"
62718 else
62719 echo "$as_me: failed program was:" >&5
62720 sed 's/^/| /' conftest.$ac_ext >&5
62722 eval "$as_ac_var=no"
62724 rm -f conftest.err conftest.$ac_objext \
62725 conftest$ac_exeext conftest.$ac_ext
62727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62729 if test `eval echo '${'$as_ac_var'}'` = yes; then
62730 cat >>confdefs.h <<_ACEOF
62731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62732 _ACEOF
62735 done
62741 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
62742 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
62743 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62744 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
62745 echo $ECHO_N "(cached) $ECHO_C" >&6
62746 else
62750 ac_ext=cc
62751 ac_cpp='$CXXCPP $CPPFLAGS'
62752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62756 cat >conftest.$ac_ext <<_ACEOF
62757 /* confdefs.h. */
62758 _ACEOF
62759 cat confdefs.h >>conftest.$ac_ext
62760 cat >>conftest.$ac_ext <<_ACEOF
62761 /* end confdefs.h. */
62762 #include <math.h>
62763 #ifdef HAVE_IEEEFP_H
62764 #include <ieeefp.h>
62765 #endif
62768 main ()
62770 isnanl(0);
62772 return 0;
62774 _ACEOF
62775 rm -f conftest.$ac_objext
62776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62777 (eval $ac_compile) 2>conftest.er1
62778 ac_status=$?
62779 grep -v '^ *+' conftest.er1 >conftest.err
62780 rm -f conftest.er1
62781 cat conftest.err >&5
62782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62783 (exit $ac_status); } &&
62784 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62786 (eval $ac_try) 2>&5
62787 ac_status=$?
62788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62789 (exit $ac_status); }; } &&
62790 { ac_try='test -s conftest.$ac_objext'
62791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62792 (eval $ac_try) 2>&5
62793 ac_status=$?
62794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62795 (exit $ac_status); }; }; then
62796 glibcxx_cv_func_isnanl_use=yes
62797 else
62798 echo "$as_me: failed program was:" >&5
62799 sed 's/^/| /' conftest.$ac_ext >&5
62801 glibcxx_cv_func_isnanl_use=no
62803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62804 ac_ext=c
62805 ac_cpp='$CPP $CPPFLAGS'
62806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
62815 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
62817 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62819 for ac_func in isnanl
62821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62822 echo "$as_me:$LINENO: checking for $ac_func" >&5
62823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62824 if eval "test \"\${$as_ac_var+set}\" = set"; then
62825 echo $ECHO_N "(cached) $ECHO_C" >&6
62826 else
62827 if test x$gcc_no_link = xyes; then
62828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62830 { (exit 1); exit 1; }; }
62832 cat >conftest.$ac_ext <<_ACEOF
62833 /* confdefs.h. */
62834 _ACEOF
62835 cat confdefs.h >>conftest.$ac_ext
62836 cat >>conftest.$ac_ext <<_ACEOF
62837 /* end confdefs.h. */
62838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62840 #define $ac_func innocuous_$ac_func
62842 /* System header to define __stub macros and hopefully few prototypes,
62843 which can conflict with char $ac_func (); below.
62844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62845 <limits.h> exists even on freestanding compilers. */
62847 #ifdef __STDC__
62848 # include <limits.h>
62849 #else
62850 # include <assert.h>
62851 #endif
62853 #undef $ac_func
62855 /* Override any gcc2 internal prototype to avoid an error. */
62856 #ifdef __cplusplus
62857 extern "C"
62859 #endif
62860 /* We use char because int might match the return type of a gcc2
62861 builtin and then its argument prototype would still apply. */
62862 char $ac_func ();
62863 /* The GNU C library defines this for functions which it implements
62864 to always fail with ENOSYS. Some functions are actually named
62865 something starting with __ and the normal name is an alias. */
62866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62867 choke me
62868 #else
62869 char (*f) () = $ac_func;
62870 #endif
62871 #ifdef __cplusplus
62873 #endif
62876 main ()
62878 return f != $ac_func;
62880 return 0;
62882 _ACEOF
62883 rm -f conftest.$ac_objext conftest$ac_exeext
62884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62885 (eval $ac_link) 2>conftest.er1
62886 ac_status=$?
62887 grep -v '^ *+' conftest.er1 >conftest.err
62888 rm -f conftest.er1
62889 cat conftest.err >&5
62890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62891 (exit $ac_status); } &&
62892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62894 (eval $ac_try) 2>&5
62895 ac_status=$?
62896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62897 (exit $ac_status); }; } &&
62898 { ac_try='test -s conftest$ac_exeext'
62899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62900 (eval $ac_try) 2>&5
62901 ac_status=$?
62902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62903 (exit $ac_status); }; }; then
62904 eval "$as_ac_var=yes"
62905 else
62906 echo "$as_me: failed program was:" >&5
62907 sed 's/^/| /' conftest.$ac_ext >&5
62909 eval "$as_ac_var=no"
62911 rm -f conftest.err conftest.$ac_objext \
62912 conftest$ac_exeext conftest.$ac_ext
62914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62916 if test `eval echo '${'$as_ac_var'}'` = yes; then
62917 cat >>confdefs.h <<_ACEOF
62918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62919 _ACEOF
62922 done
62924 else
62926 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
62927 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
62928 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62929 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
62930 echo $ECHO_N "(cached) $ECHO_C" >&6
62931 else
62935 ac_ext=cc
62936 ac_cpp='$CXXCPP $CPPFLAGS'
62937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62941 cat >conftest.$ac_ext <<_ACEOF
62942 /* confdefs.h. */
62943 _ACEOF
62944 cat confdefs.h >>conftest.$ac_ext
62945 cat >>conftest.$ac_ext <<_ACEOF
62946 /* end confdefs.h. */
62947 #include <math.h>
62948 #ifdef HAVE_IEEEFP_H
62949 #include <ieeefp.h>
62950 #endif
62953 main ()
62955 _isnanl(0);
62957 return 0;
62959 _ACEOF
62960 rm -f conftest.$ac_objext
62961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62962 (eval $ac_compile) 2>conftest.er1
62963 ac_status=$?
62964 grep -v '^ *+' conftest.er1 >conftest.err
62965 rm -f conftest.er1
62966 cat conftest.err >&5
62967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62968 (exit $ac_status); } &&
62969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62971 (eval $ac_try) 2>&5
62972 ac_status=$?
62973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62974 (exit $ac_status); }; } &&
62975 { ac_try='test -s conftest.$ac_objext'
62976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62977 (eval $ac_try) 2>&5
62978 ac_status=$?
62979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62980 (exit $ac_status); }; }; then
62981 glibcxx_cv_func__isnanl_use=yes
62982 else
62983 echo "$as_me: failed program was:" >&5
62984 sed 's/^/| /' conftest.$ac_ext >&5
62986 glibcxx_cv_func__isnanl_use=no
62988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62989 ac_ext=c
62990 ac_cpp='$CPP $CPPFLAGS'
62991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63000 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63002 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63004 for ac_func in _isnanl
63006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63007 echo "$as_me:$LINENO: checking for $ac_func" >&5
63008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63009 if eval "test \"\${$as_ac_var+set}\" = set"; then
63010 echo $ECHO_N "(cached) $ECHO_C" >&6
63011 else
63012 if test x$gcc_no_link = xyes; then
63013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63015 { (exit 1); exit 1; }; }
63017 cat >conftest.$ac_ext <<_ACEOF
63018 /* confdefs.h. */
63019 _ACEOF
63020 cat confdefs.h >>conftest.$ac_ext
63021 cat >>conftest.$ac_ext <<_ACEOF
63022 /* end confdefs.h. */
63023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63025 #define $ac_func innocuous_$ac_func
63027 /* System header to define __stub macros and hopefully few prototypes,
63028 which can conflict with char $ac_func (); below.
63029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63030 <limits.h> exists even on freestanding compilers. */
63032 #ifdef __STDC__
63033 # include <limits.h>
63034 #else
63035 # include <assert.h>
63036 #endif
63038 #undef $ac_func
63040 /* Override any gcc2 internal prototype to avoid an error. */
63041 #ifdef __cplusplus
63042 extern "C"
63044 #endif
63045 /* We use char because int might match the return type of a gcc2
63046 builtin and then its argument prototype would still apply. */
63047 char $ac_func ();
63048 /* The GNU C library defines this for functions which it implements
63049 to always fail with ENOSYS. Some functions are actually named
63050 something starting with __ and the normal name is an alias. */
63051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63052 choke me
63053 #else
63054 char (*f) () = $ac_func;
63055 #endif
63056 #ifdef __cplusplus
63058 #endif
63061 main ()
63063 return f != $ac_func;
63065 return 0;
63067 _ACEOF
63068 rm -f conftest.$ac_objext conftest$ac_exeext
63069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63070 (eval $ac_link) 2>conftest.er1
63071 ac_status=$?
63072 grep -v '^ *+' conftest.er1 >conftest.err
63073 rm -f conftest.er1
63074 cat conftest.err >&5
63075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63076 (exit $ac_status); } &&
63077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63079 (eval $ac_try) 2>&5
63080 ac_status=$?
63081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 (exit $ac_status); }; } &&
63083 { ac_try='test -s conftest$ac_exeext'
63084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63085 (eval $ac_try) 2>&5
63086 ac_status=$?
63087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63088 (exit $ac_status); }; }; then
63089 eval "$as_ac_var=yes"
63090 else
63091 echo "$as_me: failed program was:" >&5
63092 sed 's/^/| /' conftest.$ac_ext >&5
63094 eval "$as_ac_var=no"
63096 rm -f conftest.err conftest.$ac_objext \
63097 conftest$ac_exeext conftest.$ac_ext
63099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63101 if test `eval echo '${'$as_ac_var'}'` = yes; then
63102 cat >>confdefs.h <<_ACEOF
63103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63104 _ACEOF
63107 done
63114 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63115 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63116 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63117 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63118 echo $ECHO_N "(cached) $ECHO_C" >&6
63119 else
63123 ac_ext=cc
63124 ac_cpp='$CXXCPP $CPPFLAGS'
63125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63129 cat >conftest.$ac_ext <<_ACEOF
63130 /* confdefs.h. */
63131 _ACEOF
63132 cat confdefs.h >>conftest.$ac_ext
63133 cat >>conftest.$ac_ext <<_ACEOF
63134 /* end confdefs.h. */
63135 #include <math.h>
63136 #ifdef HAVE_IEEEFP_H
63137 #include <ieeefp.h>
63138 #endif
63141 main ()
63143 isinfl(0);
63145 return 0;
63147 _ACEOF
63148 rm -f conftest.$ac_objext
63149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63150 (eval $ac_compile) 2>conftest.er1
63151 ac_status=$?
63152 grep -v '^ *+' conftest.er1 >conftest.err
63153 rm -f conftest.er1
63154 cat conftest.err >&5
63155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63156 (exit $ac_status); } &&
63157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63159 (eval $ac_try) 2>&5
63160 ac_status=$?
63161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63162 (exit $ac_status); }; } &&
63163 { ac_try='test -s conftest.$ac_objext'
63164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63165 (eval $ac_try) 2>&5
63166 ac_status=$?
63167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63168 (exit $ac_status); }; }; then
63169 glibcxx_cv_func_isinfl_use=yes
63170 else
63171 echo "$as_me: failed program was:" >&5
63172 sed 's/^/| /' conftest.$ac_ext >&5
63174 glibcxx_cv_func_isinfl_use=no
63176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63177 ac_ext=c
63178 ac_cpp='$CPP $CPPFLAGS'
63179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63188 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63190 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63192 for ac_func in isinfl
63194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63195 echo "$as_me:$LINENO: checking for $ac_func" >&5
63196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63197 if eval "test \"\${$as_ac_var+set}\" = set"; then
63198 echo $ECHO_N "(cached) $ECHO_C" >&6
63199 else
63200 if test x$gcc_no_link = xyes; then
63201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63203 { (exit 1); exit 1; }; }
63205 cat >conftest.$ac_ext <<_ACEOF
63206 /* confdefs.h. */
63207 _ACEOF
63208 cat confdefs.h >>conftest.$ac_ext
63209 cat >>conftest.$ac_ext <<_ACEOF
63210 /* end confdefs.h. */
63211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63213 #define $ac_func innocuous_$ac_func
63215 /* System header to define __stub macros and hopefully few prototypes,
63216 which can conflict with char $ac_func (); below.
63217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63218 <limits.h> exists even on freestanding compilers. */
63220 #ifdef __STDC__
63221 # include <limits.h>
63222 #else
63223 # include <assert.h>
63224 #endif
63226 #undef $ac_func
63228 /* Override any gcc2 internal prototype to avoid an error. */
63229 #ifdef __cplusplus
63230 extern "C"
63232 #endif
63233 /* We use char because int might match the return type of a gcc2
63234 builtin and then its argument prototype would still apply. */
63235 char $ac_func ();
63236 /* The GNU C library defines this for functions which it implements
63237 to always fail with ENOSYS. Some functions are actually named
63238 something starting with __ and the normal name is an alias. */
63239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63240 choke me
63241 #else
63242 char (*f) () = $ac_func;
63243 #endif
63244 #ifdef __cplusplus
63246 #endif
63249 main ()
63251 return f != $ac_func;
63253 return 0;
63255 _ACEOF
63256 rm -f conftest.$ac_objext conftest$ac_exeext
63257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63258 (eval $ac_link) 2>conftest.er1
63259 ac_status=$?
63260 grep -v '^ *+' conftest.er1 >conftest.err
63261 rm -f conftest.er1
63262 cat conftest.err >&5
63263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63264 (exit $ac_status); } &&
63265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63267 (eval $ac_try) 2>&5
63268 ac_status=$?
63269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63270 (exit $ac_status); }; } &&
63271 { ac_try='test -s conftest$ac_exeext'
63272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63273 (eval $ac_try) 2>&5
63274 ac_status=$?
63275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63276 (exit $ac_status); }; }; then
63277 eval "$as_ac_var=yes"
63278 else
63279 echo "$as_me: failed program was:" >&5
63280 sed 's/^/| /' conftest.$ac_ext >&5
63282 eval "$as_ac_var=no"
63284 rm -f conftest.err conftest.$ac_objext \
63285 conftest$ac_exeext conftest.$ac_ext
63287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63289 if test `eval echo '${'$as_ac_var'}'` = yes; then
63290 cat >>confdefs.h <<_ACEOF
63291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63292 _ACEOF
63295 done
63297 else
63299 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63300 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63301 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63302 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63303 echo $ECHO_N "(cached) $ECHO_C" >&6
63304 else
63308 ac_ext=cc
63309 ac_cpp='$CXXCPP $CPPFLAGS'
63310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63314 cat >conftest.$ac_ext <<_ACEOF
63315 /* confdefs.h. */
63316 _ACEOF
63317 cat confdefs.h >>conftest.$ac_ext
63318 cat >>conftest.$ac_ext <<_ACEOF
63319 /* end confdefs.h. */
63320 #include <math.h>
63321 #ifdef HAVE_IEEEFP_H
63322 #include <ieeefp.h>
63323 #endif
63326 main ()
63328 _isinfl(0);
63330 return 0;
63332 _ACEOF
63333 rm -f conftest.$ac_objext
63334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63335 (eval $ac_compile) 2>conftest.er1
63336 ac_status=$?
63337 grep -v '^ *+' conftest.er1 >conftest.err
63338 rm -f conftest.er1
63339 cat conftest.err >&5
63340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63341 (exit $ac_status); } &&
63342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63344 (eval $ac_try) 2>&5
63345 ac_status=$?
63346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63347 (exit $ac_status); }; } &&
63348 { ac_try='test -s conftest.$ac_objext'
63349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63350 (eval $ac_try) 2>&5
63351 ac_status=$?
63352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63353 (exit $ac_status); }; }; then
63354 glibcxx_cv_func__isinfl_use=yes
63355 else
63356 echo "$as_me: failed program was:" >&5
63357 sed 's/^/| /' conftest.$ac_ext >&5
63359 glibcxx_cv_func__isinfl_use=no
63361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63362 ac_ext=c
63363 ac_cpp='$CPP $CPPFLAGS'
63364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
63373 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
63375 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63377 for ac_func in _isinfl
63379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63380 echo "$as_me:$LINENO: checking for $ac_func" >&5
63381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63382 if eval "test \"\${$as_ac_var+set}\" = set"; then
63383 echo $ECHO_N "(cached) $ECHO_C" >&6
63384 else
63385 if test x$gcc_no_link = xyes; then
63386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63388 { (exit 1); exit 1; }; }
63390 cat >conftest.$ac_ext <<_ACEOF
63391 /* confdefs.h. */
63392 _ACEOF
63393 cat confdefs.h >>conftest.$ac_ext
63394 cat >>conftest.$ac_ext <<_ACEOF
63395 /* end confdefs.h. */
63396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63398 #define $ac_func innocuous_$ac_func
63400 /* System header to define __stub macros and hopefully few prototypes,
63401 which can conflict with char $ac_func (); below.
63402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63403 <limits.h> exists even on freestanding compilers. */
63405 #ifdef __STDC__
63406 # include <limits.h>
63407 #else
63408 # include <assert.h>
63409 #endif
63411 #undef $ac_func
63413 /* Override any gcc2 internal prototype to avoid an error. */
63414 #ifdef __cplusplus
63415 extern "C"
63417 #endif
63418 /* We use char because int might match the return type of a gcc2
63419 builtin and then its argument prototype would still apply. */
63420 char $ac_func ();
63421 /* The GNU C library defines this for functions which it implements
63422 to always fail with ENOSYS. Some functions are actually named
63423 something starting with __ and the normal name is an alias. */
63424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63425 choke me
63426 #else
63427 char (*f) () = $ac_func;
63428 #endif
63429 #ifdef __cplusplus
63431 #endif
63434 main ()
63436 return f != $ac_func;
63438 return 0;
63440 _ACEOF
63441 rm -f conftest.$ac_objext conftest$ac_exeext
63442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63443 (eval $ac_link) 2>conftest.er1
63444 ac_status=$?
63445 grep -v '^ *+' conftest.er1 >conftest.err
63446 rm -f conftest.er1
63447 cat conftest.err >&5
63448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63449 (exit $ac_status); } &&
63450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63452 (eval $ac_try) 2>&5
63453 ac_status=$?
63454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63455 (exit $ac_status); }; } &&
63456 { ac_try='test -s conftest$ac_exeext'
63457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63458 (eval $ac_try) 2>&5
63459 ac_status=$?
63460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63461 (exit $ac_status); }; }; then
63462 eval "$as_ac_var=yes"
63463 else
63464 echo "$as_me: failed program was:" >&5
63465 sed 's/^/| /' conftest.$ac_ext >&5
63467 eval "$as_ac_var=no"
63469 rm -f conftest.err conftest.$ac_objext \
63470 conftest$ac_exeext conftest.$ac_ext
63472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63474 if test `eval echo '${'$as_ac_var'}'` = yes; then
63475 cat >>confdefs.h <<_ACEOF
63476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63477 _ACEOF
63480 done
63487 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
63488 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
63489 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
63490 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
63491 echo $ECHO_N "(cached) $ECHO_C" >&6
63492 else
63496 ac_ext=cc
63497 ac_cpp='$CXXCPP $CPPFLAGS'
63498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
63510 main ()
63512 copysignl(0, 0);
63514 return 0;
63516 _ACEOF
63517 rm -f conftest.$ac_objext
63518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63519 (eval $ac_compile) 2>conftest.er1
63520 ac_status=$?
63521 grep -v '^ *+' conftest.er1 >conftest.err
63522 rm -f conftest.er1
63523 cat conftest.err >&5
63524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63525 (exit $ac_status); } &&
63526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63528 (eval $ac_try) 2>&5
63529 ac_status=$?
63530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63531 (exit $ac_status); }; } &&
63532 { ac_try='test -s conftest.$ac_objext'
63533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63534 (eval $ac_try) 2>&5
63535 ac_status=$?
63536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63537 (exit $ac_status); }; }; then
63538 glibcxx_cv_func_copysignl_use=yes
63539 else
63540 echo "$as_me: failed program was:" >&5
63541 sed 's/^/| /' conftest.$ac_ext >&5
63543 glibcxx_cv_func_copysignl_use=no
63545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63546 ac_ext=c
63547 ac_cpp='$CPP $CPPFLAGS'
63548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
63557 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
63559 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
63561 for ac_func in copysignl
63563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63564 echo "$as_me:$LINENO: checking for $ac_func" >&5
63565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63566 if eval "test \"\${$as_ac_var+set}\" = set"; then
63567 echo $ECHO_N "(cached) $ECHO_C" >&6
63568 else
63569 if test x$gcc_no_link = xyes; then
63570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63572 { (exit 1); exit 1; }; }
63574 cat >conftest.$ac_ext <<_ACEOF
63575 /* confdefs.h. */
63576 _ACEOF
63577 cat confdefs.h >>conftest.$ac_ext
63578 cat >>conftest.$ac_ext <<_ACEOF
63579 /* end confdefs.h. */
63580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63582 #define $ac_func innocuous_$ac_func
63584 /* System header to define __stub macros and hopefully few prototypes,
63585 which can conflict with char $ac_func (); below.
63586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63587 <limits.h> exists even on freestanding compilers. */
63589 #ifdef __STDC__
63590 # include <limits.h>
63591 #else
63592 # include <assert.h>
63593 #endif
63595 #undef $ac_func
63597 /* Override any gcc2 internal prototype to avoid an error. */
63598 #ifdef __cplusplus
63599 extern "C"
63601 #endif
63602 /* We use char because int might match the return type of a gcc2
63603 builtin and then its argument prototype would still apply. */
63604 char $ac_func ();
63605 /* The GNU C library defines this for functions which it implements
63606 to always fail with ENOSYS. Some functions are actually named
63607 something starting with __ and the normal name is an alias. */
63608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63609 choke me
63610 #else
63611 char (*f) () = $ac_func;
63612 #endif
63613 #ifdef __cplusplus
63615 #endif
63618 main ()
63620 return f != $ac_func;
63622 return 0;
63624 _ACEOF
63625 rm -f conftest.$ac_objext conftest$ac_exeext
63626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63627 (eval $ac_link) 2>conftest.er1
63628 ac_status=$?
63629 grep -v '^ *+' conftest.er1 >conftest.err
63630 rm -f conftest.er1
63631 cat conftest.err >&5
63632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63633 (exit $ac_status); } &&
63634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63636 (eval $ac_try) 2>&5
63637 ac_status=$?
63638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63639 (exit $ac_status); }; } &&
63640 { ac_try='test -s conftest$ac_exeext'
63641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63642 (eval $ac_try) 2>&5
63643 ac_status=$?
63644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63645 (exit $ac_status); }; }; then
63646 eval "$as_ac_var=yes"
63647 else
63648 echo "$as_me: failed program was:" >&5
63649 sed 's/^/| /' conftest.$ac_ext >&5
63651 eval "$as_ac_var=no"
63653 rm -f conftest.err conftest.$ac_objext \
63654 conftest$ac_exeext conftest.$ac_ext
63656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63658 if test `eval echo '${'$as_ac_var'}'` = yes; then
63659 cat >>confdefs.h <<_ACEOF
63660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63661 _ACEOF
63664 done
63666 else
63668 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
63669 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
63670 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
63671 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
63672 echo $ECHO_N "(cached) $ECHO_C" >&6
63673 else
63677 ac_ext=cc
63678 ac_cpp='$CXXCPP $CPPFLAGS'
63679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63683 cat >conftest.$ac_ext <<_ACEOF
63684 /* confdefs.h. */
63685 _ACEOF
63686 cat confdefs.h >>conftest.$ac_ext
63687 cat >>conftest.$ac_ext <<_ACEOF
63688 /* end confdefs.h. */
63689 #include <math.h>
63691 main ()
63693 _copysignl(0, 0);
63695 return 0;
63697 _ACEOF
63698 rm -f conftest.$ac_objext
63699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63700 (eval $ac_compile) 2>conftest.er1
63701 ac_status=$?
63702 grep -v '^ *+' conftest.er1 >conftest.err
63703 rm -f conftest.er1
63704 cat conftest.err >&5
63705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63706 (exit $ac_status); } &&
63707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63709 (eval $ac_try) 2>&5
63710 ac_status=$?
63711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63712 (exit $ac_status); }; } &&
63713 { ac_try='test -s conftest.$ac_objext'
63714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63715 (eval $ac_try) 2>&5
63716 ac_status=$?
63717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63718 (exit $ac_status); }; }; then
63719 glibcxx_cv_func__copysignl_use=yes
63720 else
63721 echo "$as_me: failed program was:" >&5
63722 sed 's/^/| /' conftest.$ac_ext >&5
63724 glibcxx_cv_func__copysignl_use=no
63726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63727 ac_ext=c
63728 ac_cpp='$CPP $CPPFLAGS'
63729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
63738 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
63740 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
63742 for ac_func in _copysignl
63744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63745 echo "$as_me:$LINENO: checking for $ac_func" >&5
63746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63747 if eval "test \"\${$as_ac_var+set}\" = set"; then
63748 echo $ECHO_N "(cached) $ECHO_C" >&6
63749 else
63750 if test x$gcc_no_link = xyes; then
63751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63753 { (exit 1); exit 1; }; }
63755 cat >conftest.$ac_ext <<_ACEOF
63756 /* confdefs.h. */
63757 _ACEOF
63758 cat confdefs.h >>conftest.$ac_ext
63759 cat >>conftest.$ac_ext <<_ACEOF
63760 /* end confdefs.h. */
63761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63763 #define $ac_func innocuous_$ac_func
63765 /* System header to define __stub macros and hopefully few prototypes,
63766 which can conflict with char $ac_func (); below.
63767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63768 <limits.h> exists even on freestanding compilers. */
63770 #ifdef __STDC__
63771 # include <limits.h>
63772 #else
63773 # include <assert.h>
63774 #endif
63776 #undef $ac_func
63778 /* Override any gcc2 internal prototype to avoid an error. */
63779 #ifdef __cplusplus
63780 extern "C"
63782 #endif
63783 /* We use char because int might match the return type of a gcc2
63784 builtin and then its argument prototype would still apply. */
63785 char $ac_func ();
63786 /* The GNU C library defines this for functions which it implements
63787 to always fail with ENOSYS. Some functions are actually named
63788 something starting with __ and the normal name is an alias. */
63789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63790 choke me
63791 #else
63792 char (*f) () = $ac_func;
63793 #endif
63794 #ifdef __cplusplus
63796 #endif
63799 main ()
63801 return f != $ac_func;
63803 return 0;
63805 _ACEOF
63806 rm -f conftest.$ac_objext conftest$ac_exeext
63807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63808 (eval $ac_link) 2>conftest.er1
63809 ac_status=$?
63810 grep -v '^ *+' conftest.er1 >conftest.err
63811 rm -f conftest.er1
63812 cat conftest.err >&5
63813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63814 (exit $ac_status); } &&
63815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63817 (eval $ac_try) 2>&5
63818 ac_status=$?
63819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63820 (exit $ac_status); }; } &&
63821 { ac_try='test -s conftest$ac_exeext'
63822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63823 (eval $ac_try) 2>&5
63824 ac_status=$?
63825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63826 (exit $ac_status); }; }; then
63827 eval "$as_ac_var=yes"
63828 else
63829 echo "$as_me: failed program was:" >&5
63830 sed 's/^/| /' conftest.$ac_ext >&5
63832 eval "$as_ac_var=no"
63834 rm -f conftest.err conftest.$ac_objext \
63835 conftest$ac_exeext conftest.$ac_ext
63837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63839 if test `eval echo '${'$as_ac_var'}'` = yes; then
63840 cat >>confdefs.h <<_ACEOF
63841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63842 _ACEOF
63845 done
63852 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
63853 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
63854 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63855 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
63856 echo $ECHO_N "(cached) $ECHO_C" >&6
63857 else
63861 ac_ext=cc
63862 ac_cpp='$CXXCPP $CPPFLAGS'
63863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63867 cat >conftest.$ac_ext <<_ACEOF
63868 /* confdefs.h. */
63869 _ACEOF
63870 cat confdefs.h >>conftest.$ac_ext
63871 cat >>conftest.$ac_ext <<_ACEOF
63872 /* end confdefs.h. */
63873 #include <math.h>
63875 main ()
63877 atan2l(0, 0);
63879 return 0;
63881 _ACEOF
63882 rm -f conftest.$ac_objext
63883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63884 (eval $ac_compile) 2>conftest.er1
63885 ac_status=$?
63886 grep -v '^ *+' conftest.er1 >conftest.err
63887 rm -f conftest.er1
63888 cat conftest.err >&5
63889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63890 (exit $ac_status); } &&
63891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63893 (eval $ac_try) 2>&5
63894 ac_status=$?
63895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63896 (exit $ac_status); }; } &&
63897 { ac_try='test -s conftest.$ac_objext'
63898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63899 (eval $ac_try) 2>&5
63900 ac_status=$?
63901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63902 (exit $ac_status); }; }; then
63903 glibcxx_cv_func_atan2l_use=yes
63904 else
63905 echo "$as_me: failed program was:" >&5
63906 sed 's/^/| /' conftest.$ac_ext >&5
63908 glibcxx_cv_func_atan2l_use=no
63910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63911 ac_ext=c
63912 ac_cpp='$CPP $CPPFLAGS'
63913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
63922 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
63924 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63926 for ac_func in atan2l
63928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63929 echo "$as_me:$LINENO: checking for $ac_func" >&5
63930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63931 if eval "test \"\${$as_ac_var+set}\" = set"; then
63932 echo $ECHO_N "(cached) $ECHO_C" >&6
63933 else
63934 if test x$gcc_no_link = xyes; then
63935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63937 { (exit 1); exit 1; }; }
63939 cat >conftest.$ac_ext <<_ACEOF
63940 /* confdefs.h. */
63941 _ACEOF
63942 cat confdefs.h >>conftest.$ac_ext
63943 cat >>conftest.$ac_ext <<_ACEOF
63944 /* end confdefs.h. */
63945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63947 #define $ac_func innocuous_$ac_func
63949 /* System header to define __stub macros and hopefully few prototypes,
63950 which can conflict with char $ac_func (); below.
63951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63952 <limits.h> exists even on freestanding compilers. */
63954 #ifdef __STDC__
63955 # include <limits.h>
63956 #else
63957 # include <assert.h>
63958 #endif
63960 #undef $ac_func
63962 /* Override any gcc2 internal prototype to avoid an error. */
63963 #ifdef __cplusplus
63964 extern "C"
63966 #endif
63967 /* We use char because int might match the return type of a gcc2
63968 builtin and then its argument prototype would still apply. */
63969 char $ac_func ();
63970 /* The GNU C library defines this for functions which it implements
63971 to always fail with ENOSYS. Some functions are actually named
63972 something starting with __ and the normal name is an alias. */
63973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63974 choke me
63975 #else
63976 char (*f) () = $ac_func;
63977 #endif
63978 #ifdef __cplusplus
63980 #endif
63983 main ()
63985 return f != $ac_func;
63987 return 0;
63989 _ACEOF
63990 rm -f conftest.$ac_objext conftest$ac_exeext
63991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63992 (eval $ac_link) 2>conftest.er1
63993 ac_status=$?
63994 grep -v '^ *+' conftest.er1 >conftest.err
63995 rm -f conftest.er1
63996 cat conftest.err >&5
63997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63998 (exit $ac_status); } &&
63999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64001 (eval $ac_try) 2>&5
64002 ac_status=$?
64003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64004 (exit $ac_status); }; } &&
64005 { ac_try='test -s conftest$ac_exeext'
64006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64007 (eval $ac_try) 2>&5
64008 ac_status=$?
64009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64010 (exit $ac_status); }; }; then
64011 eval "$as_ac_var=yes"
64012 else
64013 echo "$as_me: failed program was:" >&5
64014 sed 's/^/| /' conftest.$ac_ext >&5
64016 eval "$as_ac_var=no"
64018 rm -f conftest.err conftest.$ac_objext \
64019 conftest$ac_exeext conftest.$ac_ext
64021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64023 if test `eval echo '${'$as_ac_var'}'` = yes; then
64024 cat >>confdefs.h <<_ACEOF
64025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64026 _ACEOF
64029 done
64031 else
64033 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64034 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64035 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64036 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64037 echo $ECHO_N "(cached) $ECHO_C" >&6
64038 else
64042 ac_ext=cc
64043 ac_cpp='$CXXCPP $CPPFLAGS'
64044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64048 cat >conftest.$ac_ext <<_ACEOF
64049 /* confdefs.h. */
64050 _ACEOF
64051 cat confdefs.h >>conftest.$ac_ext
64052 cat >>conftest.$ac_ext <<_ACEOF
64053 /* end confdefs.h. */
64054 #include <math.h>
64056 main ()
64058 _atan2l(0, 0);
64060 return 0;
64062 _ACEOF
64063 rm -f conftest.$ac_objext
64064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64065 (eval $ac_compile) 2>conftest.er1
64066 ac_status=$?
64067 grep -v '^ *+' conftest.er1 >conftest.err
64068 rm -f conftest.er1
64069 cat conftest.err >&5
64070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64071 (exit $ac_status); } &&
64072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64074 (eval $ac_try) 2>&5
64075 ac_status=$?
64076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64077 (exit $ac_status); }; } &&
64078 { ac_try='test -s conftest.$ac_objext'
64079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64080 (eval $ac_try) 2>&5
64081 ac_status=$?
64082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64083 (exit $ac_status); }; }; then
64084 glibcxx_cv_func__atan2l_use=yes
64085 else
64086 echo "$as_me: failed program was:" >&5
64087 sed 's/^/| /' conftest.$ac_ext >&5
64089 glibcxx_cv_func__atan2l_use=no
64091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64092 ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64103 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64105 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64107 for ac_func in _atan2l
64109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64110 echo "$as_me:$LINENO: checking for $ac_func" >&5
64111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64112 if eval "test \"\${$as_ac_var+set}\" = set"; then
64113 echo $ECHO_N "(cached) $ECHO_C" >&6
64114 else
64115 if test x$gcc_no_link = xyes; then
64116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64118 { (exit 1); exit 1; }; }
64120 cat >conftest.$ac_ext <<_ACEOF
64121 /* confdefs.h. */
64122 _ACEOF
64123 cat confdefs.h >>conftest.$ac_ext
64124 cat >>conftest.$ac_ext <<_ACEOF
64125 /* end confdefs.h. */
64126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64128 #define $ac_func innocuous_$ac_func
64130 /* System header to define __stub macros and hopefully few prototypes,
64131 which can conflict with char $ac_func (); below.
64132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64133 <limits.h> exists even on freestanding compilers. */
64135 #ifdef __STDC__
64136 # include <limits.h>
64137 #else
64138 # include <assert.h>
64139 #endif
64141 #undef $ac_func
64143 /* Override any gcc2 internal prototype to avoid an error. */
64144 #ifdef __cplusplus
64145 extern "C"
64147 #endif
64148 /* We use char because int might match the return type of a gcc2
64149 builtin and then its argument prototype would still apply. */
64150 char $ac_func ();
64151 /* The GNU C library defines this for functions which it implements
64152 to always fail with ENOSYS. Some functions are actually named
64153 something starting with __ and the normal name is an alias. */
64154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64155 choke me
64156 #else
64157 char (*f) () = $ac_func;
64158 #endif
64159 #ifdef __cplusplus
64161 #endif
64164 main ()
64166 return f != $ac_func;
64168 return 0;
64170 _ACEOF
64171 rm -f conftest.$ac_objext conftest$ac_exeext
64172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64173 (eval $ac_link) 2>conftest.er1
64174 ac_status=$?
64175 grep -v '^ *+' conftest.er1 >conftest.err
64176 rm -f conftest.er1
64177 cat conftest.err >&5
64178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64179 (exit $ac_status); } &&
64180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64182 (eval $ac_try) 2>&5
64183 ac_status=$?
64184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64185 (exit $ac_status); }; } &&
64186 { ac_try='test -s conftest$ac_exeext'
64187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64188 (eval $ac_try) 2>&5
64189 ac_status=$?
64190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64191 (exit $ac_status); }; }; then
64192 eval "$as_ac_var=yes"
64193 else
64194 echo "$as_me: failed program was:" >&5
64195 sed 's/^/| /' conftest.$ac_ext >&5
64197 eval "$as_ac_var=no"
64199 rm -f conftest.err conftest.$ac_objext \
64200 conftest$ac_exeext conftest.$ac_ext
64202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64204 if test `eval echo '${'$as_ac_var'}'` = yes; then
64205 cat >>confdefs.h <<_ACEOF
64206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64207 _ACEOF
64210 done
64217 echo "$as_me:$LINENO: checking for expl declaration" >&5
64218 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64219 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64220 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64221 echo $ECHO_N "(cached) $ECHO_C" >&6
64222 else
64226 ac_ext=cc
64227 ac_cpp='$CXXCPP $CPPFLAGS'
64228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64232 cat >conftest.$ac_ext <<_ACEOF
64233 /* confdefs.h. */
64234 _ACEOF
64235 cat confdefs.h >>conftest.$ac_ext
64236 cat >>conftest.$ac_ext <<_ACEOF
64237 /* end confdefs.h. */
64238 #include <math.h>
64239 #ifdef HAVE_IEEEFP_H
64240 #include <ieeefp.h>
64241 #endif
64244 main ()
64246 expl(0);
64248 return 0;
64250 _ACEOF
64251 rm -f conftest.$ac_objext
64252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64253 (eval $ac_compile) 2>conftest.er1
64254 ac_status=$?
64255 grep -v '^ *+' conftest.er1 >conftest.err
64256 rm -f conftest.er1
64257 cat conftest.err >&5
64258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64259 (exit $ac_status); } &&
64260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64262 (eval $ac_try) 2>&5
64263 ac_status=$?
64264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64265 (exit $ac_status); }; } &&
64266 { ac_try='test -s conftest.$ac_objext'
64267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64268 (eval $ac_try) 2>&5
64269 ac_status=$?
64270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64271 (exit $ac_status); }; }; then
64272 glibcxx_cv_func_expl_use=yes
64273 else
64274 echo "$as_me: failed program was:" >&5
64275 sed 's/^/| /' conftest.$ac_ext >&5
64277 glibcxx_cv_func_expl_use=no
64279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64291 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64293 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64295 for ac_func in expl
64297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64298 echo "$as_me:$LINENO: checking for $ac_func" >&5
64299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64300 if eval "test \"\${$as_ac_var+set}\" = set"; then
64301 echo $ECHO_N "(cached) $ECHO_C" >&6
64302 else
64303 if test x$gcc_no_link = xyes; then
64304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64306 { (exit 1); exit 1; }; }
64308 cat >conftest.$ac_ext <<_ACEOF
64309 /* confdefs.h. */
64310 _ACEOF
64311 cat confdefs.h >>conftest.$ac_ext
64312 cat >>conftest.$ac_ext <<_ACEOF
64313 /* end confdefs.h. */
64314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64316 #define $ac_func innocuous_$ac_func
64318 /* System header to define __stub macros and hopefully few prototypes,
64319 which can conflict with char $ac_func (); below.
64320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64321 <limits.h> exists even on freestanding compilers. */
64323 #ifdef __STDC__
64324 # include <limits.h>
64325 #else
64326 # include <assert.h>
64327 #endif
64329 #undef $ac_func
64331 /* Override any gcc2 internal prototype to avoid an error. */
64332 #ifdef __cplusplus
64333 extern "C"
64335 #endif
64336 /* We use char because int might match the return type of a gcc2
64337 builtin and then its argument prototype would still apply. */
64338 char $ac_func ();
64339 /* The GNU C library defines this for functions which it implements
64340 to always fail with ENOSYS. Some functions are actually named
64341 something starting with __ and the normal name is an alias. */
64342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64343 choke me
64344 #else
64345 char (*f) () = $ac_func;
64346 #endif
64347 #ifdef __cplusplus
64349 #endif
64352 main ()
64354 return f != $ac_func;
64356 return 0;
64358 _ACEOF
64359 rm -f conftest.$ac_objext conftest$ac_exeext
64360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64361 (eval $ac_link) 2>conftest.er1
64362 ac_status=$?
64363 grep -v '^ *+' conftest.er1 >conftest.err
64364 rm -f conftest.er1
64365 cat conftest.err >&5
64366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64367 (exit $ac_status); } &&
64368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64370 (eval $ac_try) 2>&5
64371 ac_status=$?
64372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64373 (exit $ac_status); }; } &&
64374 { ac_try='test -s conftest$ac_exeext'
64375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64376 (eval $ac_try) 2>&5
64377 ac_status=$?
64378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64379 (exit $ac_status); }; }; then
64380 eval "$as_ac_var=yes"
64381 else
64382 echo "$as_me: failed program was:" >&5
64383 sed 's/^/| /' conftest.$ac_ext >&5
64385 eval "$as_ac_var=no"
64387 rm -f conftest.err conftest.$ac_objext \
64388 conftest$ac_exeext conftest.$ac_ext
64390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64392 if test `eval echo '${'$as_ac_var'}'` = yes; then
64393 cat >>confdefs.h <<_ACEOF
64394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64395 _ACEOF
64398 done
64400 else
64402 echo "$as_me:$LINENO: checking for _expl declaration" >&5
64403 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
64404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64405 if test "${glibcxx_cv_func__expl_use+set}" = set; then
64406 echo $ECHO_N "(cached) $ECHO_C" >&6
64407 else
64411 ac_ext=cc
64412 ac_cpp='$CXXCPP $CPPFLAGS'
64413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64417 cat >conftest.$ac_ext <<_ACEOF
64418 /* confdefs.h. */
64419 _ACEOF
64420 cat confdefs.h >>conftest.$ac_ext
64421 cat >>conftest.$ac_ext <<_ACEOF
64422 /* end confdefs.h. */
64423 #include <math.h>
64424 #ifdef HAVE_IEEEFP_H
64425 #include <ieeefp.h>
64426 #endif
64429 main ()
64431 _expl(0);
64433 return 0;
64435 _ACEOF
64436 rm -f conftest.$ac_objext
64437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64438 (eval $ac_compile) 2>conftest.er1
64439 ac_status=$?
64440 grep -v '^ *+' conftest.er1 >conftest.err
64441 rm -f conftest.er1
64442 cat conftest.err >&5
64443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64444 (exit $ac_status); } &&
64445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64447 (eval $ac_try) 2>&5
64448 ac_status=$?
64449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64450 (exit $ac_status); }; } &&
64451 { ac_try='test -s conftest.$ac_objext'
64452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64453 (eval $ac_try) 2>&5
64454 ac_status=$?
64455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64456 (exit $ac_status); }; }; then
64457 glibcxx_cv_func__expl_use=yes
64458 else
64459 echo "$as_me: failed program was:" >&5
64460 sed 's/^/| /' conftest.$ac_ext >&5
64462 glibcxx_cv_func__expl_use=no
64464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64465 ac_ext=c
64466 ac_cpp='$CPP $CPPFLAGS'
64467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
64476 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
64478 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64480 for ac_func in _expl
64482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64483 echo "$as_me:$LINENO: checking for $ac_func" >&5
64484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64485 if eval "test \"\${$as_ac_var+set}\" = set"; then
64486 echo $ECHO_N "(cached) $ECHO_C" >&6
64487 else
64488 if test x$gcc_no_link = xyes; then
64489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64491 { (exit 1); exit 1; }; }
64493 cat >conftest.$ac_ext <<_ACEOF
64494 /* confdefs.h. */
64495 _ACEOF
64496 cat confdefs.h >>conftest.$ac_ext
64497 cat >>conftest.$ac_ext <<_ACEOF
64498 /* end confdefs.h. */
64499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64501 #define $ac_func innocuous_$ac_func
64503 /* System header to define __stub macros and hopefully few prototypes,
64504 which can conflict with char $ac_func (); below.
64505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64506 <limits.h> exists even on freestanding compilers. */
64508 #ifdef __STDC__
64509 # include <limits.h>
64510 #else
64511 # include <assert.h>
64512 #endif
64514 #undef $ac_func
64516 /* Override any gcc2 internal prototype to avoid an error. */
64517 #ifdef __cplusplus
64518 extern "C"
64520 #endif
64521 /* We use char because int might match the return type of a gcc2
64522 builtin and then its argument prototype would still apply. */
64523 char $ac_func ();
64524 /* The GNU C library defines this for functions which it implements
64525 to always fail with ENOSYS. Some functions are actually named
64526 something starting with __ and the normal name is an alias. */
64527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64528 choke me
64529 #else
64530 char (*f) () = $ac_func;
64531 #endif
64532 #ifdef __cplusplus
64534 #endif
64537 main ()
64539 return f != $ac_func;
64541 return 0;
64543 _ACEOF
64544 rm -f conftest.$ac_objext conftest$ac_exeext
64545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64546 (eval $ac_link) 2>conftest.er1
64547 ac_status=$?
64548 grep -v '^ *+' conftest.er1 >conftest.err
64549 rm -f conftest.er1
64550 cat conftest.err >&5
64551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64552 (exit $ac_status); } &&
64553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64555 (eval $ac_try) 2>&5
64556 ac_status=$?
64557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64558 (exit $ac_status); }; } &&
64559 { ac_try='test -s conftest$ac_exeext'
64560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64561 (eval $ac_try) 2>&5
64562 ac_status=$?
64563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64564 (exit $ac_status); }; }; then
64565 eval "$as_ac_var=yes"
64566 else
64567 echo "$as_me: failed program was:" >&5
64568 sed 's/^/| /' conftest.$ac_ext >&5
64570 eval "$as_ac_var=no"
64572 rm -f conftest.err conftest.$ac_objext \
64573 conftest$ac_exeext conftest.$ac_ext
64575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64577 if test `eval echo '${'$as_ac_var'}'` = yes; then
64578 cat >>confdefs.h <<_ACEOF
64579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64580 _ACEOF
64583 done
64590 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
64591 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
64592 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64593 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
64594 echo $ECHO_N "(cached) $ECHO_C" >&6
64595 else
64599 ac_ext=cc
64600 ac_cpp='$CXXCPP $CPPFLAGS'
64601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64605 cat >conftest.$ac_ext <<_ACEOF
64606 /* confdefs.h. */
64607 _ACEOF
64608 cat confdefs.h >>conftest.$ac_ext
64609 cat >>conftest.$ac_ext <<_ACEOF
64610 /* end confdefs.h. */
64611 #include <math.h>
64612 #ifdef HAVE_IEEEFP_H
64613 #include <ieeefp.h>
64614 #endif
64617 main ()
64619 fabsl(0);
64621 return 0;
64623 _ACEOF
64624 rm -f conftest.$ac_objext
64625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64626 (eval $ac_compile) 2>conftest.er1
64627 ac_status=$?
64628 grep -v '^ *+' conftest.er1 >conftest.err
64629 rm -f conftest.er1
64630 cat conftest.err >&5
64631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64632 (exit $ac_status); } &&
64633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64635 (eval $ac_try) 2>&5
64636 ac_status=$?
64637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64638 (exit $ac_status); }; } &&
64639 { ac_try='test -s conftest.$ac_objext'
64640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64641 (eval $ac_try) 2>&5
64642 ac_status=$?
64643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64644 (exit $ac_status); }; }; then
64645 glibcxx_cv_func_fabsl_use=yes
64646 else
64647 echo "$as_me: failed program was:" >&5
64648 sed 's/^/| /' conftest.$ac_ext >&5
64650 glibcxx_cv_func_fabsl_use=no
64652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64653 ac_ext=c
64654 ac_cpp='$CPP $CPPFLAGS'
64655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
64664 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
64666 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64668 for ac_func in fabsl
64670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64671 echo "$as_me:$LINENO: checking for $ac_func" >&5
64672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64673 if eval "test \"\${$as_ac_var+set}\" = set"; then
64674 echo $ECHO_N "(cached) $ECHO_C" >&6
64675 else
64676 if test x$gcc_no_link = xyes; then
64677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64679 { (exit 1); exit 1; }; }
64681 cat >conftest.$ac_ext <<_ACEOF
64682 /* confdefs.h. */
64683 _ACEOF
64684 cat confdefs.h >>conftest.$ac_ext
64685 cat >>conftest.$ac_ext <<_ACEOF
64686 /* end confdefs.h. */
64687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64689 #define $ac_func innocuous_$ac_func
64691 /* System header to define __stub macros and hopefully few prototypes,
64692 which can conflict with char $ac_func (); below.
64693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64694 <limits.h> exists even on freestanding compilers. */
64696 #ifdef __STDC__
64697 # include <limits.h>
64698 #else
64699 # include <assert.h>
64700 #endif
64702 #undef $ac_func
64704 /* Override any gcc2 internal prototype to avoid an error. */
64705 #ifdef __cplusplus
64706 extern "C"
64708 #endif
64709 /* We use char because int might match the return type of a gcc2
64710 builtin and then its argument prototype would still apply. */
64711 char $ac_func ();
64712 /* The GNU C library defines this for functions which it implements
64713 to always fail with ENOSYS. Some functions are actually named
64714 something starting with __ and the normal name is an alias. */
64715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64716 choke me
64717 #else
64718 char (*f) () = $ac_func;
64719 #endif
64720 #ifdef __cplusplus
64722 #endif
64725 main ()
64727 return f != $ac_func;
64729 return 0;
64731 _ACEOF
64732 rm -f conftest.$ac_objext conftest$ac_exeext
64733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64734 (eval $ac_link) 2>conftest.er1
64735 ac_status=$?
64736 grep -v '^ *+' conftest.er1 >conftest.err
64737 rm -f conftest.er1
64738 cat conftest.err >&5
64739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64740 (exit $ac_status); } &&
64741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64743 (eval $ac_try) 2>&5
64744 ac_status=$?
64745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64746 (exit $ac_status); }; } &&
64747 { ac_try='test -s conftest$ac_exeext'
64748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64749 (eval $ac_try) 2>&5
64750 ac_status=$?
64751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64752 (exit $ac_status); }; }; then
64753 eval "$as_ac_var=yes"
64754 else
64755 echo "$as_me: failed program was:" >&5
64756 sed 's/^/| /' conftest.$ac_ext >&5
64758 eval "$as_ac_var=no"
64760 rm -f conftest.err conftest.$ac_objext \
64761 conftest$ac_exeext conftest.$ac_ext
64763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64765 if test `eval echo '${'$as_ac_var'}'` = yes; then
64766 cat >>confdefs.h <<_ACEOF
64767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64768 _ACEOF
64771 done
64773 else
64775 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
64776 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
64777 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64778 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
64779 echo $ECHO_N "(cached) $ECHO_C" >&6
64780 else
64784 ac_ext=cc
64785 ac_cpp='$CXXCPP $CPPFLAGS'
64786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64790 cat >conftest.$ac_ext <<_ACEOF
64791 /* confdefs.h. */
64792 _ACEOF
64793 cat confdefs.h >>conftest.$ac_ext
64794 cat >>conftest.$ac_ext <<_ACEOF
64795 /* end confdefs.h. */
64796 #include <math.h>
64797 #ifdef HAVE_IEEEFP_H
64798 #include <ieeefp.h>
64799 #endif
64802 main ()
64804 _fabsl(0);
64806 return 0;
64808 _ACEOF
64809 rm -f conftest.$ac_objext
64810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64811 (eval $ac_compile) 2>conftest.er1
64812 ac_status=$?
64813 grep -v '^ *+' conftest.er1 >conftest.err
64814 rm -f conftest.er1
64815 cat conftest.err >&5
64816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64817 (exit $ac_status); } &&
64818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64820 (eval $ac_try) 2>&5
64821 ac_status=$?
64822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64823 (exit $ac_status); }; } &&
64824 { ac_try='test -s conftest.$ac_objext'
64825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64826 (eval $ac_try) 2>&5
64827 ac_status=$?
64828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64829 (exit $ac_status); }; }; then
64830 glibcxx_cv_func__fabsl_use=yes
64831 else
64832 echo "$as_me: failed program was:" >&5
64833 sed 's/^/| /' conftest.$ac_ext >&5
64835 glibcxx_cv_func__fabsl_use=no
64837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64838 ac_ext=c
64839 ac_cpp='$CPP $CPPFLAGS'
64840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
64849 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
64851 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64853 for ac_func in _fabsl
64855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64856 echo "$as_me:$LINENO: checking for $ac_func" >&5
64857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64858 if eval "test \"\${$as_ac_var+set}\" = set"; then
64859 echo $ECHO_N "(cached) $ECHO_C" >&6
64860 else
64861 if test x$gcc_no_link = xyes; then
64862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64864 { (exit 1); exit 1; }; }
64866 cat >conftest.$ac_ext <<_ACEOF
64867 /* confdefs.h. */
64868 _ACEOF
64869 cat confdefs.h >>conftest.$ac_ext
64870 cat >>conftest.$ac_ext <<_ACEOF
64871 /* end confdefs.h. */
64872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64874 #define $ac_func innocuous_$ac_func
64876 /* System header to define __stub macros and hopefully few prototypes,
64877 which can conflict with char $ac_func (); below.
64878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64879 <limits.h> exists even on freestanding compilers. */
64881 #ifdef __STDC__
64882 # include <limits.h>
64883 #else
64884 # include <assert.h>
64885 #endif
64887 #undef $ac_func
64889 /* Override any gcc2 internal prototype to avoid an error. */
64890 #ifdef __cplusplus
64891 extern "C"
64893 #endif
64894 /* We use char because int might match the return type of a gcc2
64895 builtin and then its argument prototype would still apply. */
64896 char $ac_func ();
64897 /* The GNU C library defines this for functions which it implements
64898 to always fail with ENOSYS. Some functions are actually named
64899 something starting with __ and the normal name is an alias. */
64900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64901 choke me
64902 #else
64903 char (*f) () = $ac_func;
64904 #endif
64905 #ifdef __cplusplus
64907 #endif
64910 main ()
64912 return f != $ac_func;
64914 return 0;
64916 _ACEOF
64917 rm -f conftest.$ac_objext conftest$ac_exeext
64918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64919 (eval $ac_link) 2>conftest.er1
64920 ac_status=$?
64921 grep -v '^ *+' conftest.er1 >conftest.err
64922 rm -f conftest.er1
64923 cat conftest.err >&5
64924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64925 (exit $ac_status); } &&
64926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64928 (eval $ac_try) 2>&5
64929 ac_status=$?
64930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64931 (exit $ac_status); }; } &&
64932 { ac_try='test -s conftest$ac_exeext'
64933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64934 (eval $ac_try) 2>&5
64935 ac_status=$?
64936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64937 (exit $ac_status); }; }; then
64938 eval "$as_ac_var=yes"
64939 else
64940 echo "$as_me: failed program was:" >&5
64941 sed 's/^/| /' conftest.$ac_ext >&5
64943 eval "$as_ac_var=no"
64945 rm -f conftest.err conftest.$ac_objext \
64946 conftest$ac_exeext conftest.$ac_ext
64948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64950 if test `eval echo '${'$as_ac_var'}'` = yes; then
64951 cat >>confdefs.h <<_ACEOF
64952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64953 _ACEOF
64956 done
64963 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
64964 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
64965 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64966 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
64967 echo $ECHO_N "(cached) $ECHO_C" >&6
64968 else
64972 ac_ext=cc
64973 ac_cpp='$CXXCPP $CPPFLAGS'
64974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64978 cat >conftest.$ac_ext <<_ACEOF
64979 /* confdefs.h. */
64980 _ACEOF
64981 cat confdefs.h >>conftest.$ac_ext
64982 cat >>conftest.$ac_ext <<_ACEOF
64983 /* end confdefs.h. */
64984 #include <math.h>
64986 main ()
64988 fmodl(0, 0);
64990 return 0;
64992 _ACEOF
64993 rm -f conftest.$ac_objext
64994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64995 (eval $ac_compile) 2>conftest.er1
64996 ac_status=$?
64997 grep -v '^ *+' conftest.er1 >conftest.err
64998 rm -f conftest.er1
64999 cat conftest.err >&5
65000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65001 (exit $ac_status); } &&
65002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65004 (eval $ac_try) 2>&5
65005 ac_status=$?
65006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65007 (exit $ac_status); }; } &&
65008 { ac_try='test -s conftest.$ac_objext'
65009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65010 (eval $ac_try) 2>&5
65011 ac_status=$?
65012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65013 (exit $ac_status); }; }; then
65014 glibcxx_cv_func_fmodl_use=yes
65015 else
65016 echo "$as_me: failed program was:" >&5
65017 sed 's/^/| /' conftest.$ac_ext >&5
65019 glibcxx_cv_func_fmodl_use=no
65021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65022 ac_ext=c
65023 ac_cpp='$CPP $CPPFLAGS'
65024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65033 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65035 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65037 for ac_func in fmodl
65039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65040 echo "$as_me:$LINENO: checking for $ac_func" >&5
65041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65042 if eval "test \"\${$as_ac_var+set}\" = set"; then
65043 echo $ECHO_N "(cached) $ECHO_C" >&6
65044 else
65045 if test x$gcc_no_link = xyes; then
65046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65048 { (exit 1); exit 1; }; }
65050 cat >conftest.$ac_ext <<_ACEOF
65051 /* confdefs.h. */
65052 _ACEOF
65053 cat confdefs.h >>conftest.$ac_ext
65054 cat >>conftest.$ac_ext <<_ACEOF
65055 /* end confdefs.h. */
65056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65058 #define $ac_func innocuous_$ac_func
65060 /* System header to define __stub macros and hopefully few prototypes,
65061 which can conflict with char $ac_func (); below.
65062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65063 <limits.h> exists even on freestanding compilers. */
65065 #ifdef __STDC__
65066 # include <limits.h>
65067 #else
65068 # include <assert.h>
65069 #endif
65071 #undef $ac_func
65073 /* Override any gcc2 internal prototype to avoid an error. */
65074 #ifdef __cplusplus
65075 extern "C"
65077 #endif
65078 /* We use char because int might match the return type of a gcc2
65079 builtin and then its argument prototype would still apply. */
65080 char $ac_func ();
65081 /* The GNU C library defines this for functions which it implements
65082 to always fail with ENOSYS. Some functions are actually named
65083 something starting with __ and the normal name is an alias. */
65084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65085 choke me
65086 #else
65087 char (*f) () = $ac_func;
65088 #endif
65089 #ifdef __cplusplus
65091 #endif
65094 main ()
65096 return f != $ac_func;
65098 return 0;
65100 _ACEOF
65101 rm -f conftest.$ac_objext conftest$ac_exeext
65102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65103 (eval $ac_link) 2>conftest.er1
65104 ac_status=$?
65105 grep -v '^ *+' conftest.er1 >conftest.err
65106 rm -f conftest.er1
65107 cat conftest.err >&5
65108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65109 (exit $ac_status); } &&
65110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65112 (eval $ac_try) 2>&5
65113 ac_status=$?
65114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65115 (exit $ac_status); }; } &&
65116 { ac_try='test -s conftest$ac_exeext'
65117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65118 (eval $ac_try) 2>&5
65119 ac_status=$?
65120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65121 (exit $ac_status); }; }; then
65122 eval "$as_ac_var=yes"
65123 else
65124 echo "$as_me: failed program was:" >&5
65125 sed 's/^/| /' conftest.$ac_ext >&5
65127 eval "$as_ac_var=no"
65129 rm -f conftest.err conftest.$ac_objext \
65130 conftest$ac_exeext conftest.$ac_ext
65132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65134 if test `eval echo '${'$as_ac_var'}'` = yes; then
65135 cat >>confdefs.h <<_ACEOF
65136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65137 _ACEOF
65140 done
65142 else
65144 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65145 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65146 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65147 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65148 echo $ECHO_N "(cached) $ECHO_C" >&6
65149 else
65153 ac_ext=cc
65154 ac_cpp='$CXXCPP $CPPFLAGS'
65155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65159 cat >conftest.$ac_ext <<_ACEOF
65160 /* confdefs.h. */
65161 _ACEOF
65162 cat confdefs.h >>conftest.$ac_ext
65163 cat >>conftest.$ac_ext <<_ACEOF
65164 /* end confdefs.h. */
65165 #include <math.h>
65167 main ()
65169 _fmodl(0, 0);
65171 return 0;
65173 _ACEOF
65174 rm -f conftest.$ac_objext
65175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65176 (eval $ac_compile) 2>conftest.er1
65177 ac_status=$?
65178 grep -v '^ *+' conftest.er1 >conftest.err
65179 rm -f conftest.er1
65180 cat conftest.err >&5
65181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65182 (exit $ac_status); } &&
65183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65185 (eval $ac_try) 2>&5
65186 ac_status=$?
65187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65188 (exit $ac_status); }; } &&
65189 { ac_try='test -s conftest.$ac_objext'
65190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65191 (eval $ac_try) 2>&5
65192 ac_status=$?
65193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65194 (exit $ac_status); }; }; then
65195 glibcxx_cv_func__fmodl_use=yes
65196 else
65197 echo "$as_me: failed program was:" >&5
65198 sed 's/^/| /' conftest.$ac_ext >&5
65200 glibcxx_cv_func__fmodl_use=no
65202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65203 ac_ext=c
65204 ac_cpp='$CPP $CPPFLAGS'
65205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65214 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65216 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65218 for ac_func in _fmodl
65220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65221 echo "$as_me:$LINENO: checking for $ac_func" >&5
65222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65223 if eval "test \"\${$as_ac_var+set}\" = set"; then
65224 echo $ECHO_N "(cached) $ECHO_C" >&6
65225 else
65226 if test x$gcc_no_link = xyes; then
65227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65229 { (exit 1); exit 1; }; }
65231 cat >conftest.$ac_ext <<_ACEOF
65232 /* confdefs.h. */
65233 _ACEOF
65234 cat confdefs.h >>conftest.$ac_ext
65235 cat >>conftest.$ac_ext <<_ACEOF
65236 /* end confdefs.h. */
65237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65239 #define $ac_func innocuous_$ac_func
65241 /* System header to define __stub macros and hopefully few prototypes,
65242 which can conflict with char $ac_func (); below.
65243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65244 <limits.h> exists even on freestanding compilers. */
65246 #ifdef __STDC__
65247 # include <limits.h>
65248 #else
65249 # include <assert.h>
65250 #endif
65252 #undef $ac_func
65254 /* Override any gcc2 internal prototype to avoid an error. */
65255 #ifdef __cplusplus
65256 extern "C"
65258 #endif
65259 /* We use char because int might match the return type of a gcc2
65260 builtin and then its argument prototype would still apply. */
65261 char $ac_func ();
65262 /* The GNU C library defines this for functions which it implements
65263 to always fail with ENOSYS. Some functions are actually named
65264 something starting with __ and the normal name is an alias. */
65265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65266 choke me
65267 #else
65268 char (*f) () = $ac_func;
65269 #endif
65270 #ifdef __cplusplus
65272 #endif
65275 main ()
65277 return f != $ac_func;
65279 return 0;
65281 _ACEOF
65282 rm -f conftest.$ac_objext conftest$ac_exeext
65283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65284 (eval $ac_link) 2>conftest.er1
65285 ac_status=$?
65286 grep -v '^ *+' conftest.er1 >conftest.err
65287 rm -f conftest.er1
65288 cat conftest.err >&5
65289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290 (exit $ac_status); } &&
65291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65293 (eval $ac_try) 2>&5
65294 ac_status=$?
65295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65296 (exit $ac_status); }; } &&
65297 { ac_try='test -s conftest$ac_exeext'
65298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65299 (eval $ac_try) 2>&5
65300 ac_status=$?
65301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65302 (exit $ac_status); }; }; then
65303 eval "$as_ac_var=yes"
65304 else
65305 echo "$as_me: failed program was:" >&5
65306 sed 's/^/| /' conftest.$ac_ext >&5
65308 eval "$as_ac_var=no"
65310 rm -f conftest.err conftest.$ac_objext \
65311 conftest$ac_exeext conftest.$ac_ext
65313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65315 if test `eval echo '${'$as_ac_var'}'` = yes; then
65316 cat >>confdefs.h <<_ACEOF
65317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65318 _ACEOF
65321 done
65328 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
65329 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
65330 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65331 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
65332 echo $ECHO_N "(cached) $ECHO_C" >&6
65333 else
65337 ac_ext=cc
65338 ac_cpp='$CXXCPP $CPPFLAGS'
65339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65343 cat >conftest.$ac_ext <<_ACEOF
65344 /* confdefs.h. */
65345 _ACEOF
65346 cat confdefs.h >>conftest.$ac_ext
65347 cat >>conftest.$ac_ext <<_ACEOF
65348 /* end confdefs.h. */
65349 #include <math.h>
65351 main ()
65353 frexpl(0, 0);
65355 return 0;
65357 _ACEOF
65358 rm -f conftest.$ac_objext
65359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65360 (eval $ac_compile) 2>conftest.er1
65361 ac_status=$?
65362 grep -v '^ *+' conftest.er1 >conftest.err
65363 rm -f conftest.er1
65364 cat conftest.err >&5
65365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65366 (exit $ac_status); } &&
65367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65369 (eval $ac_try) 2>&5
65370 ac_status=$?
65371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65372 (exit $ac_status); }; } &&
65373 { ac_try='test -s conftest.$ac_objext'
65374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65375 (eval $ac_try) 2>&5
65376 ac_status=$?
65377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65378 (exit $ac_status); }; }; then
65379 glibcxx_cv_func_frexpl_use=yes
65380 else
65381 echo "$as_me: failed program was:" >&5
65382 sed 's/^/| /' conftest.$ac_ext >&5
65384 glibcxx_cv_func_frexpl_use=no
65386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65387 ac_ext=c
65388 ac_cpp='$CPP $CPPFLAGS'
65389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65397 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
65398 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
65400 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65402 for ac_func in frexpl
65404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65405 echo "$as_me:$LINENO: checking for $ac_func" >&5
65406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65407 if eval "test \"\${$as_ac_var+set}\" = set"; then
65408 echo $ECHO_N "(cached) $ECHO_C" >&6
65409 else
65410 if test x$gcc_no_link = xyes; then
65411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65413 { (exit 1); exit 1; }; }
65415 cat >conftest.$ac_ext <<_ACEOF
65416 /* confdefs.h. */
65417 _ACEOF
65418 cat confdefs.h >>conftest.$ac_ext
65419 cat >>conftest.$ac_ext <<_ACEOF
65420 /* end confdefs.h. */
65421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65423 #define $ac_func innocuous_$ac_func
65425 /* System header to define __stub macros and hopefully few prototypes,
65426 which can conflict with char $ac_func (); below.
65427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65428 <limits.h> exists even on freestanding compilers. */
65430 #ifdef __STDC__
65431 # include <limits.h>
65432 #else
65433 # include <assert.h>
65434 #endif
65436 #undef $ac_func
65438 /* Override any gcc2 internal prototype to avoid an error. */
65439 #ifdef __cplusplus
65440 extern "C"
65442 #endif
65443 /* We use char because int might match the return type of a gcc2
65444 builtin and then its argument prototype would still apply. */
65445 char $ac_func ();
65446 /* The GNU C library defines this for functions which it implements
65447 to always fail with ENOSYS. Some functions are actually named
65448 something starting with __ and the normal name is an alias. */
65449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65450 choke me
65451 #else
65452 char (*f) () = $ac_func;
65453 #endif
65454 #ifdef __cplusplus
65456 #endif
65459 main ()
65461 return f != $ac_func;
65463 return 0;
65465 _ACEOF
65466 rm -f conftest.$ac_objext conftest$ac_exeext
65467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65468 (eval $ac_link) 2>conftest.er1
65469 ac_status=$?
65470 grep -v '^ *+' conftest.er1 >conftest.err
65471 rm -f conftest.er1
65472 cat conftest.err >&5
65473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65474 (exit $ac_status); } &&
65475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65477 (eval $ac_try) 2>&5
65478 ac_status=$?
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); }; } &&
65481 { ac_try='test -s conftest$ac_exeext'
65482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65483 (eval $ac_try) 2>&5
65484 ac_status=$?
65485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65486 (exit $ac_status); }; }; then
65487 eval "$as_ac_var=yes"
65488 else
65489 echo "$as_me: failed program was:" >&5
65490 sed 's/^/| /' conftest.$ac_ext >&5
65492 eval "$as_ac_var=no"
65494 rm -f conftest.err conftest.$ac_objext \
65495 conftest$ac_exeext conftest.$ac_ext
65497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65499 if test `eval echo '${'$as_ac_var'}'` = yes; then
65500 cat >>confdefs.h <<_ACEOF
65501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65502 _ACEOF
65505 done
65507 else
65509 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
65510 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
65511 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65512 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
65513 echo $ECHO_N "(cached) $ECHO_C" >&6
65514 else
65518 ac_ext=cc
65519 ac_cpp='$CXXCPP $CPPFLAGS'
65520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524 cat >conftest.$ac_ext <<_ACEOF
65525 /* confdefs.h. */
65526 _ACEOF
65527 cat confdefs.h >>conftest.$ac_ext
65528 cat >>conftest.$ac_ext <<_ACEOF
65529 /* end confdefs.h. */
65530 #include <math.h>
65532 main ()
65534 _frexpl(0, 0);
65536 return 0;
65538 _ACEOF
65539 rm -f conftest.$ac_objext
65540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65541 (eval $ac_compile) 2>conftest.er1
65542 ac_status=$?
65543 grep -v '^ *+' conftest.er1 >conftest.err
65544 rm -f conftest.er1
65545 cat conftest.err >&5
65546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65547 (exit $ac_status); } &&
65548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65550 (eval $ac_try) 2>&5
65551 ac_status=$?
65552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65553 (exit $ac_status); }; } &&
65554 { ac_try='test -s conftest.$ac_objext'
65555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65556 (eval $ac_try) 2>&5
65557 ac_status=$?
65558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65559 (exit $ac_status); }; }; then
65560 glibcxx_cv_func__frexpl_use=yes
65561 else
65562 echo "$as_me: failed program was:" >&5
65563 sed 's/^/| /' conftest.$ac_ext >&5
65565 glibcxx_cv_func__frexpl_use=no
65567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65568 ac_ext=c
65569 ac_cpp='$CPP $CPPFLAGS'
65570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
65579 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
65581 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65583 for ac_func in _frexpl
65585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65586 echo "$as_me:$LINENO: checking for $ac_func" >&5
65587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65588 if eval "test \"\${$as_ac_var+set}\" = set"; then
65589 echo $ECHO_N "(cached) $ECHO_C" >&6
65590 else
65591 if test x$gcc_no_link = xyes; then
65592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65594 { (exit 1); exit 1; }; }
65596 cat >conftest.$ac_ext <<_ACEOF
65597 /* confdefs.h. */
65598 _ACEOF
65599 cat confdefs.h >>conftest.$ac_ext
65600 cat >>conftest.$ac_ext <<_ACEOF
65601 /* end confdefs.h. */
65602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65604 #define $ac_func innocuous_$ac_func
65606 /* System header to define __stub macros and hopefully few prototypes,
65607 which can conflict with char $ac_func (); below.
65608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65609 <limits.h> exists even on freestanding compilers. */
65611 #ifdef __STDC__
65612 # include <limits.h>
65613 #else
65614 # include <assert.h>
65615 #endif
65617 #undef $ac_func
65619 /* Override any gcc2 internal prototype to avoid an error. */
65620 #ifdef __cplusplus
65621 extern "C"
65623 #endif
65624 /* We use char because int might match the return type of a gcc2
65625 builtin and then its argument prototype would still apply. */
65626 char $ac_func ();
65627 /* The GNU C library defines this for functions which it implements
65628 to always fail with ENOSYS. Some functions are actually named
65629 something starting with __ and the normal name is an alias. */
65630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65631 choke me
65632 #else
65633 char (*f) () = $ac_func;
65634 #endif
65635 #ifdef __cplusplus
65637 #endif
65640 main ()
65642 return f != $ac_func;
65644 return 0;
65646 _ACEOF
65647 rm -f conftest.$ac_objext conftest$ac_exeext
65648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65649 (eval $ac_link) 2>conftest.er1
65650 ac_status=$?
65651 grep -v '^ *+' conftest.er1 >conftest.err
65652 rm -f conftest.er1
65653 cat conftest.err >&5
65654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65655 (exit $ac_status); } &&
65656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65658 (eval $ac_try) 2>&5
65659 ac_status=$?
65660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65661 (exit $ac_status); }; } &&
65662 { ac_try='test -s conftest$ac_exeext'
65663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65664 (eval $ac_try) 2>&5
65665 ac_status=$?
65666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65667 (exit $ac_status); }; }; then
65668 eval "$as_ac_var=yes"
65669 else
65670 echo "$as_me: failed program was:" >&5
65671 sed 's/^/| /' conftest.$ac_ext >&5
65673 eval "$as_ac_var=no"
65675 rm -f conftest.err conftest.$ac_objext \
65676 conftest$ac_exeext conftest.$ac_ext
65678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65680 if test `eval echo '${'$as_ac_var'}'` = yes; then
65681 cat >>confdefs.h <<_ACEOF
65682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65683 _ACEOF
65686 done
65693 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
65694 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
65695 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65696 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
65697 echo $ECHO_N "(cached) $ECHO_C" >&6
65698 else
65702 ac_ext=cc
65703 ac_cpp='$CXXCPP $CPPFLAGS'
65704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65708 cat >conftest.$ac_ext <<_ACEOF
65709 /* confdefs.h. */
65710 _ACEOF
65711 cat confdefs.h >>conftest.$ac_ext
65712 cat >>conftest.$ac_ext <<_ACEOF
65713 /* end confdefs.h. */
65714 #include <math.h>
65716 main ()
65718 hypotl(0, 0);
65720 return 0;
65722 _ACEOF
65723 rm -f conftest.$ac_objext
65724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65725 (eval $ac_compile) 2>conftest.er1
65726 ac_status=$?
65727 grep -v '^ *+' conftest.er1 >conftest.err
65728 rm -f conftest.er1
65729 cat conftest.err >&5
65730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65731 (exit $ac_status); } &&
65732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65734 (eval $ac_try) 2>&5
65735 ac_status=$?
65736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65737 (exit $ac_status); }; } &&
65738 { ac_try='test -s conftest.$ac_objext'
65739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65740 (eval $ac_try) 2>&5
65741 ac_status=$?
65742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65743 (exit $ac_status); }; }; then
65744 glibcxx_cv_func_hypotl_use=yes
65745 else
65746 echo "$as_me: failed program was:" >&5
65747 sed 's/^/| /' conftest.$ac_ext >&5
65749 glibcxx_cv_func_hypotl_use=no
65751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65752 ac_ext=c
65753 ac_cpp='$CPP $CPPFLAGS'
65754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
65763 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
65765 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65767 for ac_func in hypotl
65769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65770 echo "$as_me:$LINENO: checking for $ac_func" >&5
65771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65772 if eval "test \"\${$as_ac_var+set}\" = set"; then
65773 echo $ECHO_N "(cached) $ECHO_C" >&6
65774 else
65775 if test x$gcc_no_link = xyes; then
65776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65778 { (exit 1); exit 1; }; }
65780 cat >conftest.$ac_ext <<_ACEOF
65781 /* confdefs.h. */
65782 _ACEOF
65783 cat confdefs.h >>conftest.$ac_ext
65784 cat >>conftest.$ac_ext <<_ACEOF
65785 /* end confdefs.h. */
65786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65788 #define $ac_func innocuous_$ac_func
65790 /* System header to define __stub macros and hopefully few prototypes,
65791 which can conflict with char $ac_func (); below.
65792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65793 <limits.h> exists even on freestanding compilers. */
65795 #ifdef __STDC__
65796 # include <limits.h>
65797 #else
65798 # include <assert.h>
65799 #endif
65801 #undef $ac_func
65803 /* Override any gcc2 internal prototype to avoid an error. */
65804 #ifdef __cplusplus
65805 extern "C"
65807 #endif
65808 /* We use char because int might match the return type of a gcc2
65809 builtin and then its argument prototype would still apply. */
65810 char $ac_func ();
65811 /* The GNU C library defines this for functions which it implements
65812 to always fail with ENOSYS. Some functions are actually named
65813 something starting with __ and the normal name is an alias. */
65814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65815 choke me
65816 #else
65817 char (*f) () = $ac_func;
65818 #endif
65819 #ifdef __cplusplus
65821 #endif
65824 main ()
65826 return f != $ac_func;
65828 return 0;
65830 _ACEOF
65831 rm -f conftest.$ac_objext conftest$ac_exeext
65832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65833 (eval $ac_link) 2>conftest.er1
65834 ac_status=$?
65835 grep -v '^ *+' conftest.er1 >conftest.err
65836 rm -f conftest.er1
65837 cat conftest.err >&5
65838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65839 (exit $ac_status); } &&
65840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65842 (eval $ac_try) 2>&5
65843 ac_status=$?
65844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65845 (exit $ac_status); }; } &&
65846 { ac_try='test -s conftest$ac_exeext'
65847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65848 (eval $ac_try) 2>&5
65849 ac_status=$?
65850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65851 (exit $ac_status); }; }; then
65852 eval "$as_ac_var=yes"
65853 else
65854 echo "$as_me: failed program was:" >&5
65855 sed 's/^/| /' conftest.$ac_ext >&5
65857 eval "$as_ac_var=no"
65859 rm -f conftest.err conftest.$ac_objext \
65860 conftest$ac_exeext conftest.$ac_ext
65862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65864 if test `eval echo '${'$as_ac_var'}'` = yes; then
65865 cat >>confdefs.h <<_ACEOF
65866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65867 _ACEOF
65870 done
65872 else
65874 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
65875 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
65876 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65877 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
65878 echo $ECHO_N "(cached) $ECHO_C" >&6
65879 else
65883 ac_ext=cc
65884 ac_cpp='$CXXCPP $CPPFLAGS'
65885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65889 cat >conftest.$ac_ext <<_ACEOF
65890 /* confdefs.h. */
65891 _ACEOF
65892 cat confdefs.h >>conftest.$ac_ext
65893 cat >>conftest.$ac_ext <<_ACEOF
65894 /* end confdefs.h. */
65895 #include <math.h>
65897 main ()
65899 _hypotl(0, 0);
65901 return 0;
65903 _ACEOF
65904 rm -f conftest.$ac_objext
65905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65906 (eval $ac_compile) 2>conftest.er1
65907 ac_status=$?
65908 grep -v '^ *+' conftest.er1 >conftest.err
65909 rm -f conftest.er1
65910 cat conftest.err >&5
65911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65912 (exit $ac_status); } &&
65913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65915 (eval $ac_try) 2>&5
65916 ac_status=$?
65917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65918 (exit $ac_status); }; } &&
65919 { ac_try='test -s conftest.$ac_objext'
65920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65921 (eval $ac_try) 2>&5
65922 ac_status=$?
65923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924 (exit $ac_status); }; }; then
65925 glibcxx_cv_func__hypotl_use=yes
65926 else
65927 echo "$as_me: failed program was:" >&5
65928 sed 's/^/| /' conftest.$ac_ext >&5
65930 glibcxx_cv_func__hypotl_use=no
65932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65933 ac_ext=c
65934 ac_cpp='$CPP $CPPFLAGS'
65935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
65944 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
65946 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65948 for ac_func in _hypotl
65950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65951 echo "$as_me:$LINENO: checking for $ac_func" >&5
65952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65953 if eval "test \"\${$as_ac_var+set}\" = set"; then
65954 echo $ECHO_N "(cached) $ECHO_C" >&6
65955 else
65956 if test x$gcc_no_link = xyes; then
65957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65959 { (exit 1); exit 1; }; }
65961 cat >conftest.$ac_ext <<_ACEOF
65962 /* confdefs.h. */
65963 _ACEOF
65964 cat confdefs.h >>conftest.$ac_ext
65965 cat >>conftest.$ac_ext <<_ACEOF
65966 /* end confdefs.h. */
65967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65969 #define $ac_func innocuous_$ac_func
65971 /* System header to define __stub macros and hopefully few prototypes,
65972 which can conflict with char $ac_func (); below.
65973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65974 <limits.h> exists even on freestanding compilers. */
65976 #ifdef __STDC__
65977 # include <limits.h>
65978 #else
65979 # include <assert.h>
65980 #endif
65982 #undef $ac_func
65984 /* Override any gcc2 internal prototype to avoid an error. */
65985 #ifdef __cplusplus
65986 extern "C"
65988 #endif
65989 /* We use char because int might match the return type of a gcc2
65990 builtin and then its argument prototype would still apply. */
65991 char $ac_func ();
65992 /* The GNU C library defines this for functions which it implements
65993 to always fail with ENOSYS. Some functions are actually named
65994 something starting with __ and the normal name is an alias. */
65995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65996 choke me
65997 #else
65998 char (*f) () = $ac_func;
65999 #endif
66000 #ifdef __cplusplus
66002 #endif
66005 main ()
66007 return f != $ac_func;
66009 return 0;
66011 _ACEOF
66012 rm -f conftest.$ac_objext conftest$ac_exeext
66013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66014 (eval $ac_link) 2>conftest.er1
66015 ac_status=$?
66016 grep -v '^ *+' conftest.er1 >conftest.err
66017 rm -f conftest.er1
66018 cat conftest.err >&5
66019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020 (exit $ac_status); } &&
66021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
66027 { ac_try='test -s conftest$ac_exeext'
66028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66029 (eval $ac_try) 2>&5
66030 ac_status=$?
66031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66032 (exit $ac_status); }; }; then
66033 eval "$as_ac_var=yes"
66034 else
66035 echo "$as_me: failed program was:" >&5
66036 sed 's/^/| /' conftest.$ac_ext >&5
66038 eval "$as_ac_var=no"
66040 rm -f conftest.err conftest.$ac_objext \
66041 conftest$ac_exeext conftest.$ac_ext
66043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66045 if test `eval echo '${'$as_ac_var'}'` = yes; then
66046 cat >>confdefs.h <<_ACEOF
66047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66048 _ACEOF
66051 done
66058 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66059 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66060 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66061 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66062 echo $ECHO_N "(cached) $ECHO_C" >&6
66063 else
66067 ac_ext=cc
66068 ac_cpp='$CXXCPP $CPPFLAGS'
66069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66073 cat >conftest.$ac_ext <<_ACEOF
66074 /* confdefs.h. */
66075 _ACEOF
66076 cat confdefs.h >>conftest.$ac_ext
66077 cat >>conftest.$ac_ext <<_ACEOF
66078 /* end confdefs.h. */
66079 #include <math.h>
66081 main ()
66083 ldexpl(0, 0);
66085 return 0;
66087 _ACEOF
66088 rm -f conftest.$ac_objext
66089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66090 (eval $ac_compile) 2>conftest.er1
66091 ac_status=$?
66092 grep -v '^ *+' conftest.er1 >conftest.err
66093 rm -f conftest.er1
66094 cat conftest.err >&5
66095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66096 (exit $ac_status); } &&
66097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66099 (eval $ac_try) 2>&5
66100 ac_status=$?
66101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66102 (exit $ac_status); }; } &&
66103 { ac_try='test -s conftest.$ac_objext'
66104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66105 (eval $ac_try) 2>&5
66106 ac_status=$?
66107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108 (exit $ac_status); }; }; then
66109 glibcxx_cv_func_ldexpl_use=yes
66110 else
66111 echo "$as_me: failed program was:" >&5
66112 sed 's/^/| /' conftest.$ac_ext >&5
66114 glibcxx_cv_func_ldexpl_use=no
66116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66117 ac_ext=c
66118 ac_cpp='$CPP $CPPFLAGS'
66119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66128 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66130 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66132 for ac_func in ldexpl
66134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66135 echo "$as_me:$LINENO: checking for $ac_func" >&5
66136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66137 if eval "test \"\${$as_ac_var+set}\" = set"; then
66138 echo $ECHO_N "(cached) $ECHO_C" >&6
66139 else
66140 if test x$gcc_no_link = xyes; then
66141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66143 { (exit 1); exit 1; }; }
66145 cat >conftest.$ac_ext <<_ACEOF
66146 /* confdefs.h. */
66147 _ACEOF
66148 cat confdefs.h >>conftest.$ac_ext
66149 cat >>conftest.$ac_ext <<_ACEOF
66150 /* end confdefs.h. */
66151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66153 #define $ac_func innocuous_$ac_func
66155 /* System header to define __stub macros and hopefully few prototypes,
66156 which can conflict with char $ac_func (); below.
66157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66158 <limits.h> exists even on freestanding compilers. */
66160 #ifdef __STDC__
66161 # include <limits.h>
66162 #else
66163 # include <assert.h>
66164 #endif
66166 #undef $ac_func
66168 /* Override any gcc2 internal prototype to avoid an error. */
66169 #ifdef __cplusplus
66170 extern "C"
66172 #endif
66173 /* We use char because int might match the return type of a gcc2
66174 builtin and then its argument prototype would still apply. */
66175 char $ac_func ();
66176 /* The GNU C library defines this for functions which it implements
66177 to always fail with ENOSYS. Some functions are actually named
66178 something starting with __ and the normal name is an alias. */
66179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66180 choke me
66181 #else
66182 char (*f) () = $ac_func;
66183 #endif
66184 #ifdef __cplusplus
66186 #endif
66189 main ()
66191 return f != $ac_func;
66193 return 0;
66195 _ACEOF
66196 rm -f conftest.$ac_objext conftest$ac_exeext
66197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66198 (eval $ac_link) 2>conftest.er1
66199 ac_status=$?
66200 grep -v '^ *+' conftest.er1 >conftest.err
66201 rm -f conftest.er1
66202 cat conftest.err >&5
66203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66204 (exit $ac_status); } &&
66205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66207 (eval $ac_try) 2>&5
66208 ac_status=$?
66209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66210 (exit $ac_status); }; } &&
66211 { ac_try='test -s conftest$ac_exeext'
66212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66213 (eval $ac_try) 2>&5
66214 ac_status=$?
66215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66216 (exit $ac_status); }; }; then
66217 eval "$as_ac_var=yes"
66218 else
66219 echo "$as_me: failed program was:" >&5
66220 sed 's/^/| /' conftest.$ac_ext >&5
66222 eval "$as_ac_var=no"
66224 rm -f conftest.err conftest.$ac_objext \
66225 conftest$ac_exeext conftest.$ac_ext
66227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66229 if test `eval echo '${'$as_ac_var'}'` = yes; then
66230 cat >>confdefs.h <<_ACEOF
66231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66232 _ACEOF
66235 done
66237 else
66239 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66240 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66241 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66242 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66243 echo $ECHO_N "(cached) $ECHO_C" >&6
66244 else
66248 ac_ext=cc
66249 ac_cpp='$CXXCPP $CPPFLAGS'
66250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66254 cat >conftest.$ac_ext <<_ACEOF
66255 /* confdefs.h. */
66256 _ACEOF
66257 cat confdefs.h >>conftest.$ac_ext
66258 cat >>conftest.$ac_ext <<_ACEOF
66259 /* end confdefs.h. */
66260 #include <math.h>
66262 main ()
66264 _ldexpl(0, 0);
66266 return 0;
66268 _ACEOF
66269 rm -f conftest.$ac_objext
66270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66271 (eval $ac_compile) 2>conftest.er1
66272 ac_status=$?
66273 grep -v '^ *+' conftest.er1 >conftest.err
66274 rm -f conftest.er1
66275 cat conftest.err >&5
66276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66277 (exit $ac_status); } &&
66278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66280 (eval $ac_try) 2>&5
66281 ac_status=$?
66282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66283 (exit $ac_status); }; } &&
66284 { ac_try='test -s conftest.$ac_objext'
66285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66286 (eval $ac_try) 2>&5
66287 ac_status=$?
66288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66289 (exit $ac_status); }; }; then
66290 glibcxx_cv_func__ldexpl_use=yes
66291 else
66292 echo "$as_me: failed program was:" >&5
66293 sed 's/^/| /' conftest.$ac_ext >&5
66295 glibcxx_cv_func__ldexpl_use=no
66297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66298 ac_ext=c
66299 ac_cpp='$CPP $CPPFLAGS'
66300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
66309 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
66311 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66313 for ac_func in _ldexpl
66315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66316 echo "$as_me:$LINENO: checking for $ac_func" >&5
66317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66318 if eval "test \"\${$as_ac_var+set}\" = set"; then
66319 echo $ECHO_N "(cached) $ECHO_C" >&6
66320 else
66321 if test x$gcc_no_link = xyes; then
66322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66324 { (exit 1); exit 1; }; }
66326 cat >conftest.$ac_ext <<_ACEOF
66327 /* confdefs.h. */
66328 _ACEOF
66329 cat confdefs.h >>conftest.$ac_ext
66330 cat >>conftest.$ac_ext <<_ACEOF
66331 /* end confdefs.h. */
66332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66334 #define $ac_func innocuous_$ac_func
66336 /* System header to define __stub macros and hopefully few prototypes,
66337 which can conflict with char $ac_func (); below.
66338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66339 <limits.h> exists even on freestanding compilers. */
66341 #ifdef __STDC__
66342 # include <limits.h>
66343 #else
66344 # include <assert.h>
66345 #endif
66347 #undef $ac_func
66349 /* Override any gcc2 internal prototype to avoid an error. */
66350 #ifdef __cplusplus
66351 extern "C"
66353 #endif
66354 /* We use char because int might match the return type of a gcc2
66355 builtin and then its argument prototype would still apply. */
66356 char $ac_func ();
66357 /* The GNU C library defines this for functions which it implements
66358 to always fail with ENOSYS. Some functions are actually named
66359 something starting with __ and the normal name is an alias. */
66360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66361 choke me
66362 #else
66363 char (*f) () = $ac_func;
66364 #endif
66365 #ifdef __cplusplus
66367 #endif
66370 main ()
66372 return f != $ac_func;
66374 return 0;
66376 _ACEOF
66377 rm -f conftest.$ac_objext conftest$ac_exeext
66378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66379 (eval $ac_link) 2>conftest.er1
66380 ac_status=$?
66381 grep -v '^ *+' conftest.er1 >conftest.err
66382 rm -f conftest.er1
66383 cat conftest.err >&5
66384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385 (exit $ac_status); } &&
66386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66388 (eval $ac_try) 2>&5
66389 ac_status=$?
66390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391 (exit $ac_status); }; } &&
66392 { ac_try='test -s conftest$ac_exeext'
66393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66394 (eval $ac_try) 2>&5
66395 ac_status=$?
66396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66397 (exit $ac_status); }; }; then
66398 eval "$as_ac_var=yes"
66399 else
66400 echo "$as_me: failed program was:" >&5
66401 sed 's/^/| /' conftest.$ac_ext >&5
66403 eval "$as_ac_var=no"
66405 rm -f conftest.err conftest.$ac_objext \
66406 conftest$ac_exeext conftest.$ac_ext
66408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66410 if test `eval echo '${'$as_ac_var'}'` = yes; then
66411 cat >>confdefs.h <<_ACEOF
66412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66413 _ACEOF
66416 done
66423 echo "$as_me:$LINENO: checking for logl declaration" >&5
66424 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
66425 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66426 if test "${glibcxx_cv_func_logl_use+set}" = set; then
66427 echo $ECHO_N "(cached) $ECHO_C" >&6
66428 else
66432 ac_ext=cc
66433 ac_cpp='$CXXCPP $CPPFLAGS'
66434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66438 cat >conftest.$ac_ext <<_ACEOF
66439 /* confdefs.h. */
66440 _ACEOF
66441 cat confdefs.h >>conftest.$ac_ext
66442 cat >>conftest.$ac_ext <<_ACEOF
66443 /* end confdefs.h. */
66444 #include <math.h>
66445 #ifdef HAVE_IEEEFP_H
66446 #include <ieeefp.h>
66447 #endif
66450 main ()
66452 logl(0);
66454 return 0;
66456 _ACEOF
66457 rm -f conftest.$ac_objext
66458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66459 (eval $ac_compile) 2>conftest.er1
66460 ac_status=$?
66461 grep -v '^ *+' conftest.er1 >conftest.err
66462 rm -f conftest.er1
66463 cat conftest.err >&5
66464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66465 (exit $ac_status); } &&
66466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66468 (eval $ac_try) 2>&5
66469 ac_status=$?
66470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66471 (exit $ac_status); }; } &&
66472 { ac_try='test -s conftest.$ac_objext'
66473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66474 (eval $ac_try) 2>&5
66475 ac_status=$?
66476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66477 (exit $ac_status); }; }; then
66478 glibcxx_cv_func_logl_use=yes
66479 else
66480 echo "$as_me: failed program was:" >&5
66481 sed 's/^/| /' conftest.$ac_ext >&5
66483 glibcxx_cv_func_logl_use=no
66485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66486 ac_ext=c
66487 ac_cpp='$CPP $CPPFLAGS'
66488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
66497 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
66499 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66501 for ac_func in logl
66503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66504 echo "$as_me:$LINENO: checking for $ac_func" >&5
66505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66506 if eval "test \"\${$as_ac_var+set}\" = set"; then
66507 echo $ECHO_N "(cached) $ECHO_C" >&6
66508 else
66509 if test x$gcc_no_link = xyes; then
66510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66512 { (exit 1); exit 1; }; }
66514 cat >conftest.$ac_ext <<_ACEOF
66515 /* confdefs.h. */
66516 _ACEOF
66517 cat confdefs.h >>conftest.$ac_ext
66518 cat >>conftest.$ac_ext <<_ACEOF
66519 /* end confdefs.h. */
66520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66522 #define $ac_func innocuous_$ac_func
66524 /* System header to define __stub macros and hopefully few prototypes,
66525 which can conflict with char $ac_func (); below.
66526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66527 <limits.h> exists even on freestanding compilers. */
66529 #ifdef __STDC__
66530 # include <limits.h>
66531 #else
66532 # include <assert.h>
66533 #endif
66535 #undef $ac_func
66537 /* Override any gcc2 internal prototype to avoid an error. */
66538 #ifdef __cplusplus
66539 extern "C"
66541 #endif
66542 /* We use char because int might match the return type of a gcc2
66543 builtin and then its argument prototype would still apply. */
66544 char $ac_func ();
66545 /* The GNU C library defines this for functions which it implements
66546 to always fail with ENOSYS. Some functions are actually named
66547 something starting with __ and the normal name is an alias. */
66548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66549 choke me
66550 #else
66551 char (*f) () = $ac_func;
66552 #endif
66553 #ifdef __cplusplus
66555 #endif
66558 main ()
66560 return f != $ac_func;
66562 return 0;
66564 _ACEOF
66565 rm -f conftest.$ac_objext conftest$ac_exeext
66566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66567 (eval $ac_link) 2>conftest.er1
66568 ac_status=$?
66569 grep -v '^ *+' conftest.er1 >conftest.err
66570 rm -f conftest.er1
66571 cat conftest.err >&5
66572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66573 (exit $ac_status); } &&
66574 { ac_try='test -z "$ac_c_werror_flag" || 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
66606 else
66608 echo "$as_me:$LINENO: checking for _logl declaration" >&5
66609 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
66610 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66611 if test "${glibcxx_cv_func__logl_use+set}" = set; then
66612 echo $ECHO_N "(cached) $ECHO_C" >&6
66613 else
66617 ac_ext=cc
66618 ac_cpp='$CXXCPP $CPPFLAGS'
66619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66623 cat >conftest.$ac_ext <<_ACEOF
66624 /* confdefs.h. */
66625 _ACEOF
66626 cat confdefs.h >>conftest.$ac_ext
66627 cat >>conftest.$ac_ext <<_ACEOF
66628 /* end confdefs.h. */
66629 #include <math.h>
66630 #ifdef HAVE_IEEEFP_H
66631 #include <ieeefp.h>
66632 #endif
66635 main ()
66637 _logl(0);
66639 return 0;
66641 _ACEOF
66642 rm -f conftest.$ac_objext
66643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66644 (eval $ac_compile) 2>conftest.er1
66645 ac_status=$?
66646 grep -v '^ *+' conftest.er1 >conftest.err
66647 rm -f conftest.er1
66648 cat conftest.err >&5
66649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66650 (exit $ac_status); } &&
66651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66653 (eval $ac_try) 2>&5
66654 ac_status=$?
66655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66656 (exit $ac_status); }; } &&
66657 { ac_try='test -s conftest.$ac_objext'
66658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66659 (eval $ac_try) 2>&5
66660 ac_status=$?
66661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66662 (exit $ac_status); }; }; then
66663 glibcxx_cv_func__logl_use=yes
66664 else
66665 echo "$as_me: failed program was:" >&5
66666 sed 's/^/| /' conftest.$ac_ext >&5
66668 glibcxx_cv_func__logl_use=no
66670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66671 ac_ext=c
66672 ac_cpp='$CPP $CPPFLAGS'
66673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
66682 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
66684 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66686 for ac_func in _logl
66688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66689 echo "$as_me:$LINENO: checking for $ac_func" >&5
66690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66691 if eval "test \"\${$as_ac_var+set}\" = set"; then
66692 echo $ECHO_N "(cached) $ECHO_C" >&6
66693 else
66694 if test x$gcc_no_link = xyes; then
66695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66697 { (exit 1); exit 1; }; }
66699 cat >conftest.$ac_ext <<_ACEOF
66700 /* confdefs.h. */
66701 _ACEOF
66702 cat confdefs.h >>conftest.$ac_ext
66703 cat >>conftest.$ac_ext <<_ACEOF
66704 /* end confdefs.h. */
66705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66707 #define $ac_func innocuous_$ac_func
66709 /* System header to define __stub macros and hopefully few prototypes,
66710 which can conflict with char $ac_func (); below.
66711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66712 <limits.h> exists even on freestanding compilers. */
66714 #ifdef __STDC__
66715 # include <limits.h>
66716 #else
66717 # include <assert.h>
66718 #endif
66720 #undef $ac_func
66722 /* Override any gcc2 internal prototype to avoid an error. */
66723 #ifdef __cplusplus
66724 extern "C"
66726 #endif
66727 /* We use char because int might match the return type of a gcc2
66728 builtin and then its argument prototype would still apply. */
66729 char $ac_func ();
66730 /* The GNU C library defines this for functions which it implements
66731 to always fail with ENOSYS. Some functions are actually named
66732 something starting with __ and the normal name is an alias. */
66733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66734 choke me
66735 #else
66736 char (*f) () = $ac_func;
66737 #endif
66738 #ifdef __cplusplus
66740 #endif
66743 main ()
66745 return f != $ac_func;
66747 return 0;
66749 _ACEOF
66750 rm -f conftest.$ac_objext conftest$ac_exeext
66751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66752 (eval $ac_link) 2>conftest.er1
66753 ac_status=$?
66754 grep -v '^ *+' conftest.er1 >conftest.err
66755 rm -f conftest.er1
66756 cat conftest.err >&5
66757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66758 (exit $ac_status); } &&
66759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66761 (eval $ac_try) 2>&5
66762 ac_status=$?
66763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66764 (exit $ac_status); }; } &&
66765 { ac_try='test -s conftest$ac_exeext'
66766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66767 (eval $ac_try) 2>&5
66768 ac_status=$?
66769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66770 (exit $ac_status); }; }; then
66771 eval "$as_ac_var=yes"
66772 else
66773 echo "$as_me: failed program was:" >&5
66774 sed 's/^/| /' conftest.$ac_ext >&5
66776 eval "$as_ac_var=no"
66778 rm -f conftest.err conftest.$ac_objext \
66779 conftest$ac_exeext conftest.$ac_ext
66781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66783 if test `eval echo '${'$as_ac_var'}'` = yes; then
66784 cat >>confdefs.h <<_ACEOF
66785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66786 _ACEOF
66789 done
66796 echo "$as_me:$LINENO: checking for log10l declaration" >&5
66797 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
66798 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66799 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
66800 echo $ECHO_N "(cached) $ECHO_C" >&6
66801 else
66805 ac_ext=cc
66806 ac_cpp='$CXXCPP $CPPFLAGS'
66807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66811 cat >conftest.$ac_ext <<_ACEOF
66812 /* confdefs.h. */
66813 _ACEOF
66814 cat confdefs.h >>conftest.$ac_ext
66815 cat >>conftest.$ac_ext <<_ACEOF
66816 /* end confdefs.h. */
66817 #include <math.h>
66818 #ifdef HAVE_IEEEFP_H
66819 #include <ieeefp.h>
66820 #endif
66823 main ()
66825 log10l(0);
66827 return 0;
66829 _ACEOF
66830 rm -f conftest.$ac_objext
66831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66832 (eval $ac_compile) 2>conftest.er1
66833 ac_status=$?
66834 grep -v '^ *+' conftest.er1 >conftest.err
66835 rm -f conftest.er1
66836 cat conftest.err >&5
66837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66838 (exit $ac_status); } &&
66839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66841 (eval $ac_try) 2>&5
66842 ac_status=$?
66843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66844 (exit $ac_status); }; } &&
66845 { ac_try='test -s conftest.$ac_objext'
66846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66847 (eval $ac_try) 2>&5
66848 ac_status=$?
66849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66850 (exit $ac_status); }; }; then
66851 glibcxx_cv_func_log10l_use=yes
66852 else
66853 echo "$as_me: failed program was:" >&5
66854 sed 's/^/| /' conftest.$ac_ext >&5
66856 glibcxx_cv_func_log10l_use=no
66858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66859 ac_ext=c
66860 ac_cpp='$CPP $CPPFLAGS'
66861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
66870 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
66872 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66874 for ac_func in log10l
66876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66877 echo "$as_me:$LINENO: checking for $ac_func" >&5
66878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66879 if eval "test \"\${$as_ac_var+set}\" = set"; then
66880 echo $ECHO_N "(cached) $ECHO_C" >&6
66881 else
66882 if test x$gcc_no_link = xyes; then
66883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66885 { (exit 1); exit 1; }; }
66887 cat >conftest.$ac_ext <<_ACEOF
66888 /* confdefs.h. */
66889 _ACEOF
66890 cat confdefs.h >>conftest.$ac_ext
66891 cat >>conftest.$ac_ext <<_ACEOF
66892 /* end confdefs.h. */
66893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66895 #define $ac_func innocuous_$ac_func
66897 /* System header to define __stub macros and hopefully few prototypes,
66898 which can conflict with char $ac_func (); below.
66899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66900 <limits.h> exists even on freestanding compilers. */
66902 #ifdef __STDC__
66903 # include <limits.h>
66904 #else
66905 # include <assert.h>
66906 #endif
66908 #undef $ac_func
66910 /* Override any gcc2 internal prototype to avoid an error. */
66911 #ifdef __cplusplus
66912 extern "C"
66914 #endif
66915 /* We use char because int might match the return type of a gcc2
66916 builtin and then its argument prototype would still apply. */
66917 char $ac_func ();
66918 /* The GNU C library defines this for functions which it implements
66919 to always fail with ENOSYS. Some functions are actually named
66920 something starting with __ and the normal name is an alias. */
66921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66922 choke me
66923 #else
66924 char (*f) () = $ac_func;
66925 #endif
66926 #ifdef __cplusplus
66928 #endif
66931 main ()
66933 return f != $ac_func;
66935 return 0;
66937 _ACEOF
66938 rm -f conftest.$ac_objext conftest$ac_exeext
66939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66940 (eval $ac_link) 2>conftest.er1
66941 ac_status=$?
66942 grep -v '^ *+' conftest.er1 >conftest.err
66943 rm -f conftest.er1
66944 cat conftest.err >&5
66945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66946 (exit $ac_status); } &&
66947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66949 (eval $ac_try) 2>&5
66950 ac_status=$?
66951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66952 (exit $ac_status); }; } &&
66953 { ac_try='test -s conftest$ac_exeext'
66954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66955 (eval $ac_try) 2>&5
66956 ac_status=$?
66957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66958 (exit $ac_status); }; }; then
66959 eval "$as_ac_var=yes"
66960 else
66961 echo "$as_me: failed program was:" >&5
66962 sed 's/^/| /' conftest.$ac_ext >&5
66964 eval "$as_ac_var=no"
66966 rm -f conftest.err conftest.$ac_objext \
66967 conftest$ac_exeext conftest.$ac_ext
66969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66971 if test `eval echo '${'$as_ac_var'}'` = yes; then
66972 cat >>confdefs.h <<_ACEOF
66973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66974 _ACEOF
66977 done
66979 else
66981 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
66982 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
66983 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66984 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
66985 echo $ECHO_N "(cached) $ECHO_C" >&6
66986 else
66990 ac_ext=cc
66991 ac_cpp='$CXXCPP $CPPFLAGS'
66992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66996 cat >conftest.$ac_ext <<_ACEOF
66997 /* confdefs.h. */
66998 _ACEOF
66999 cat confdefs.h >>conftest.$ac_ext
67000 cat >>conftest.$ac_ext <<_ACEOF
67001 /* end confdefs.h. */
67002 #include <math.h>
67003 #ifdef HAVE_IEEEFP_H
67004 #include <ieeefp.h>
67005 #endif
67008 main ()
67010 _log10l(0);
67012 return 0;
67014 _ACEOF
67015 rm -f conftest.$ac_objext
67016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67017 (eval $ac_compile) 2>conftest.er1
67018 ac_status=$?
67019 grep -v '^ *+' conftest.er1 >conftest.err
67020 rm -f conftest.er1
67021 cat conftest.err >&5
67022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67023 (exit $ac_status); } &&
67024 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67026 (eval $ac_try) 2>&5
67027 ac_status=$?
67028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67029 (exit $ac_status); }; } &&
67030 { ac_try='test -s conftest.$ac_objext'
67031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67032 (eval $ac_try) 2>&5
67033 ac_status=$?
67034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67035 (exit $ac_status); }; }; then
67036 glibcxx_cv_func__log10l_use=yes
67037 else
67038 echo "$as_me: failed program was:" >&5
67039 sed 's/^/| /' conftest.$ac_ext >&5
67041 glibcxx_cv_func__log10l_use=no
67043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67044 ac_ext=c
67045 ac_cpp='$CPP $CPPFLAGS'
67046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67055 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67057 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67059 for ac_func in _log10l
67061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67062 echo "$as_me:$LINENO: checking for $ac_func" >&5
67063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67064 if eval "test \"\${$as_ac_var+set}\" = set"; then
67065 echo $ECHO_N "(cached) $ECHO_C" >&6
67066 else
67067 if test x$gcc_no_link = xyes; then
67068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67070 { (exit 1); exit 1; }; }
67072 cat >conftest.$ac_ext <<_ACEOF
67073 /* confdefs.h. */
67074 _ACEOF
67075 cat confdefs.h >>conftest.$ac_ext
67076 cat >>conftest.$ac_ext <<_ACEOF
67077 /* end confdefs.h. */
67078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67080 #define $ac_func innocuous_$ac_func
67082 /* System header to define __stub macros and hopefully few prototypes,
67083 which can conflict with char $ac_func (); below.
67084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67085 <limits.h> exists even on freestanding compilers. */
67087 #ifdef __STDC__
67088 # include <limits.h>
67089 #else
67090 # include <assert.h>
67091 #endif
67093 #undef $ac_func
67095 /* Override any gcc2 internal prototype to avoid an error. */
67096 #ifdef __cplusplus
67097 extern "C"
67099 #endif
67100 /* We use char because int might match the return type of a gcc2
67101 builtin and then its argument prototype would still apply. */
67102 char $ac_func ();
67103 /* The GNU C library defines this for functions which it implements
67104 to always fail with ENOSYS. Some functions are actually named
67105 something starting with __ and the normal name is an alias. */
67106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67107 choke me
67108 #else
67109 char (*f) () = $ac_func;
67110 #endif
67111 #ifdef __cplusplus
67113 #endif
67116 main ()
67118 return f != $ac_func;
67120 return 0;
67122 _ACEOF
67123 rm -f conftest.$ac_objext conftest$ac_exeext
67124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67125 (eval $ac_link) 2>conftest.er1
67126 ac_status=$?
67127 grep -v '^ *+' conftest.er1 >conftest.err
67128 rm -f conftest.er1
67129 cat conftest.err >&5
67130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131 (exit $ac_status); } &&
67132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67134 (eval $ac_try) 2>&5
67135 ac_status=$?
67136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137 (exit $ac_status); }; } &&
67138 { ac_try='test -s conftest$ac_exeext'
67139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67140 (eval $ac_try) 2>&5
67141 ac_status=$?
67142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143 (exit $ac_status); }; }; then
67144 eval "$as_ac_var=yes"
67145 else
67146 echo "$as_me: failed program was:" >&5
67147 sed 's/^/| /' conftest.$ac_ext >&5
67149 eval "$as_ac_var=no"
67151 rm -f conftest.err conftest.$ac_objext \
67152 conftest$ac_exeext conftest.$ac_ext
67154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67156 if test `eval echo '${'$as_ac_var'}'` = yes; then
67157 cat >>confdefs.h <<_ACEOF
67158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67159 _ACEOF
67162 done
67169 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67170 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67171 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67172 if test "${glibcxx_cv_func_modfl_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 modfl(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" || test ! -s conftest.err'
67209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67210 (eval $ac_try) 2>&5
67211 ac_status=$?
67212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67213 (exit $ac_status); }; } &&
67214 { ac_try='test -s conftest.$ac_objext'
67215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67216 (eval $ac_try) 2>&5
67217 ac_status=$?
67218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67219 (exit $ac_status); }; }; then
67220 glibcxx_cv_func_modfl_use=yes
67221 else
67222 echo "$as_me: failed program was:" >&5
67223 sed 's/^/| /' conftest.$ac_ext >&5
67225 glibcxx_cv_func_modfl_use=no
67227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67228 ac_ext=c
67229 ac_cpp='$CPP $CPPFLAGS'
67230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67239 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67241 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67243 for ac_func in modfl
67245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67246 echo "$as_me:$LINENO: checking for $ac_func" >&5
67247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67248 if eval "test \"\${$as_ac_var+set}\" = set"; then
67249 echo $ECHO_N "(cached) $ECHO_C" >&6
67250 else
67251 if test x$gcc_no_link = xyes; then
67252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67254 { (exit 1); exit 1; }; }
67256 cat >conftest.$ac_ext <<_ACEOF
67257 /* confdefs.h. */
67258 _ACEOF
67259 cat confdefs.h >>conftest.$ac_ext
67260 cat >>conftest.$ac_ext <<_ACEOF
67261 /* end confdefs.h. */
67262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67264 #define $ac_func innocuous_$ac_func
67266 /* System header to define __stub macros and hopefully few prototypes,
67267 which can conflict with char $ac_func (); below.
67268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67269 <limits.h> exists even on freestanding compilers. */
67271 #ifdef __STDC__
67272 # include <limits.h>
67273 #else
67274 # include <assert.h>
67275 #endif
67277 #undef $ac_func
67279 /* Override any gcc2 internal prototype to avoid an error. */
67280 #ifdef __cplusplus
67281 extern "C"
67283 #endif
67284 /* We use char because int might match the return type of a gcc2
67285 builtin and then its argument prototype would still apply. */
67286 char $ac_func ();
67287 /* The GNU C library defines this for functions which it implements
67288 to always fail with ENOSYS. Some functions are actually named
67289 something starting with __ and the normal name is an alias. */
67290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67291 choke me
67292 #else
67293 char (*f) () = $ac_func;
67294 #endif
67295 #ifdef __cplusplus
67297 #endif
67300 main ()
67302 return f != $ac_func;
67304 return 0;
67306 _ACEOF
67307 rm -f conftest.$ac_objext conftest$ac_exeext
67308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67309 (eval $ac_link) 2>conftest.er1
67310 ac_status=$?
67311 grep -v '^ *+' conftest.er1 >conftest.err
67312 rm -f conftest.er1
67313 cat conftest.err >&5
67314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67315 (exit $ac_status); } &&
67316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67318 (eval $ac_try) 2>&5
67319 ac_status=$?
67320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67321 (exit $ac_status); }; } &&
67322 { ac_try='test -s conftest$ac_exeext'
67323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67324 (eval $ac_try) 2>&5
67325 ac_status=$?
67326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67327 (exit $ac_status); }; }; then
67328 eval "$as_ac_var=yes"
67329 else
67330 echo "$as_me: failed program was:" >&5
67331 sed 's/^/| /' conftest.$ac_ext >&5
67333 eval "$as_ac_var=no"
67335 rm -f conftest.err conftest.$ac_objext \
67336 conftest$ac_exeext conftest.$ac_ext
67338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67340 if test `eval echo '${'$as_ac_var'}'` = yes; then
67341 cat >>confdefs.h <<_ACEOF
67342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67343 _ACEOF
67346 done
67348 else
67350 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
67351 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
67352 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
67353 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
67354 echo $ECHO_N "(cached) $ECHO_C" >&6
67355 else
67359 ac_ext=cc
67360 ac_cpp='$CXXCPP $CPPFLAGS'
67361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67365 cat >conftest.$ac_ext <<_ACEOF
67366 /* confdefs.h. */
67367 _ACEOF
67368 cat confdefs.h >>conftest.$ac_ext
67369 cat >>conftest.$ac_ext <<_ACEOF
67370 /* end confdefs.h. */
67371 #include <math.h>
67373 main ()
67375 _modfl(0, 0);
67377 return 0;
67379 _ACEOF
67380 rm -f conftest.$ac_objext
67381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67382 (eval $ac_compile) 2>conftest.er1
67383 ac_status=$?
67384 grep -v '^ *+' conftest.er1 >conftest.err
67385 rm -f conftest.er1
67386 cat conftest.err >&5
67387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67388 (exit $ac_status); } &&
67389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67391 (eval $ac_try) 2>&5
67392 ac_status=$?
67393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67394 (exit $ac_status); }; } &&
67395 { ac_try='test -s conftest.$ac_objext'
67396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67397 (eval $ac_try) 2>&5
67398 ac_status=$?
67399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67400 (exit $ac_status); }; }; then
67401 glibcxx_cv_func__modfl_use=yes
67402 else
67403 echo "$as_me: failed program was:" >&5
67404 sed 's/^/| /' conftest.$ac_ext >&5
67406 glibcxx_cv_func__modfl_use=no
67408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67409 ac_ext=c
67410 ac_cpp='$CPP $CPPFLAGS'
67411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67419 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
67420 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
67422 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
67424 for ac_func in _modfl
67426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67427 echo "$as_me:$LINENO: checking for $ac_func" >&5
67428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67429 if eval "test \"\${$as_ac_var+set}\" = set"; then
67430 echo $ECHO_N "(cached) $ECHO_C" >&6
67431 else
67432 if test x$gcc_no_link = xyes; then
67433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67435 { (exit 1); exit 1; }; }
67437 cat >conftest.$ac_ext <<_ACEOF
67438 /* confdefs.h. */
67439 _ACEOF
67440 cat confdefs.h >>conftest.$ac_ext
67441 cat >>conftest.$ac_ext <<_ACEOF
67442 /* end confdefs.h. */
67443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67445 #define $ac_func innocuous_$ac_func
67447 /* System header to define __stub macros and hopefully few prototypes,
67448 which can conflict with char $ac_func (); below.
67449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67450 <limits.h> exists even on freestanding compilers. */
67452 #ifdef __STDC__
67453 # include <limits.h>
67454 #else
67455 # include <assert.h>
67456 #endif
67458 #undef $ac_func
67460 /* Override any gcc2 internal prototype to avoid an error. */
67461 #ifdef __cplusplus
67462 extern "C"
67464 #endif
67465 /* We use char because int might match the return type of a gcc2
67466 builtin and then its argument prototype would still apply. */
67467 char $ac_func ();
67468 /* The GNU C library defines this for functions which it implements
67469 to always fail with ENOSYS. Some functions are actually named
67470 something starting with __ and the normal name is an alias. */
67471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67472 choke me
67473 #else
67474 char (*f) () = $ac_func;
67475 #endif
67476 #ifdef __cplusplus
67478 #endif
67481 main ()
67483 return f != $ac_func;
67485 return 0;
67487 _ACEOF
67488 rm -f conftest.$ac_objext conftest$ac_exeext
67489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67490 (eval $ac_link) 2>conftest.er1
67491 ac_status=$?
67492 grep -v '^ *+' conftest.er1 >conftest.err
67493 rm -f conftest.er1
67494 cat conftest.err >&5
67495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67496 (exit $ac_status); } &&
67497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67499 (eval $ac_try) 2>&5
67500 ac_status=$?
67501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67502 (exit $ac_status); }; } &&
67503 { ac_try='test -s conftest$ac_exeext'
67504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67505 (eval $ac_try) 2>&5
67506 ac_status=$?
67507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67508 (exit $ac_status); }; }; then
67509 eval "$as_ac_var=yes"
67510 else
67511 echo "$as_me: failed program was:" >&5
67512 sed 's/^/| /' conftest.$ac_ext >&5
67514 eval "$as_ac_var=no"
67516 rm -f conftest.err conftest.$ac_objext \
67517 conftest$ac_exeext conftest.$ac_ext
67519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67521 if test `eval echo '${'$as_ac_var'}'` = yes; then
67522 cat >>confdefs.h <<_ACEOF
67523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67524 _ACEOF
67527 done
67534 echo "$as_me:$LINENO: checking for powl declaration" >&5
67535 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
67536 if test x${glibcxx_cv_func_powl_use+set} != xset; then
67537 if test "${glibcxx_cv_func_powl_use+set}" = set; then
67538 echo $ECHO_N "(cached) $ECHO_C" >&6
67539 else
67543 ac_ext=cc
67544 ac_cpp='$CXXCPP $CPPFLAGS'
67545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67549 cat >conftest.$ac_ext <<_ACEOF
67550 /* confdefs.h. */
67551 _ACEOF
67552 cat confdefs.h >>conftest.$ac_ext
67553 cat >>conftest.$ac_ext <<_ACEOF
67554 /* end confdefs.h. */
67555 #include <math.h>
67557 main ()
67559 powl(0, 0);
67561 return 0;
67563 _ACEOF
67564 rm -f conftest.$ac_objext
67565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67566 (eval $ac_compile) 2>conftest.er1
67567 ac_status=$?
67568 grep -v '^ *+' conftest.er1 >conftest.err
67569 rm -f conftest.er1
67570 cat conftest.err >&5
67571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67572 (exit $ac_status); } &&
67573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67575 (eval $ac_try) 2>&5
67576 ac_status=$?
67577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67578 (exit $ac_status); }; } &&
67579 { ac_try='test -s conftest.$ac_objext'
67580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67581 (eval $ac_try) 2>&5
67582 ac_status=$?
67583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67584 (exit $ac_status); }; }; then
67585 glibcxx_cv_func_powl_use=yes
67586 else
67587 echo "$as_me: failed program was:" >&5
67588 sed 's/^/| /' conftest.$ac_ext >&5
67590 glibcxx_cv_func_powl_use=no
67592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67593 ac_ext=c
67594 ac_cpp='$CPP $CPPFLAGS'
67595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
67604 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
67606 if test x$glibcxx_cv_func_powl_use = x"yes"; then
67608 for ac_func in powl
67610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67611 echo "$as_me:$LINENO: checking for $ac_func" >&5
67612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67613 if eval "test \"\${$as_ac_var+set}\" = set"; then
67614 echo $ECHO_N "(cached) $ECHO_C" >&6
67615 else
67616 if test x$gcc_no_link = xyes; then
67617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67619 { (exit 1); exit 1; }; }
67621 cat >conftest.$ac_ext <<_ACEOF
67622 /* confdefs.h. */
67623 _ACEOF
67624 cat confdefs.h >>conftest.$ac_ext
67625 cat >>conftest.$ac_ext <<_ACEOF
67626 /* end confdefs.h. */
67627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67629 #define $ac_func innocuous_$ac_func
67631 /* System header to define __stub macros and hopefully few prototypes,
67632 which can conflict with char $ac_func (); below.
67633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67634 <limits.h> exists even on freestanding compilers. */
67636 #ifdef __STDC__
67637 # include <limits.h>
67638 #else
67639 # include <assert.h>
67640 #endif
67642 #undef $ac_func
67644 /* Override any gcc2 internal prototype to avoid an error. */
67645 #ifdef __cplusplus
67646 extern "C"
67648 #endif
67649 /* We use char because int might match the return type of a gcc2
67650 builtin and then its argument prototype would still apply. */
67651 char $ac_func ();
67652 /* The GNU C library defines this for functions which it implements
67653 to always fail with ENOSYS. Some functions are actually named
67654 something starting with __ and the normal name is an alias. */
67655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67656 choke me
67657 #else
67658 char (*f) () = $ac_func;
67659 #endif
67660 #ifdef __cplusplus
67662 #endif
67665 main ()
67667 return f != $ac_func;
67669 return 0;
67671 _ACEOF
67672 rm -f conftest.$ac_objext conftest$ac_exeext
67673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67674 (eval $ac_link) 2>conftest.er1
67675 ac_status=$?
67676 grep -v '^ *+' conftest.er1 >conftest.err
67677 rm -f conftest.er1
67678 cat conftest.err >&5
67679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680 (exit $ac_status); } &&
67681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67683 (eval $ac_try) 2>&5
67684 ac_status=$?
67685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67686 (exit $ac_status); }; } &&
67687 { ac_try='test -s conftest$ac_exeext'
67688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67689 (eval $ac_try) 2>&5
67690 ac_status=$?
67691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67692 (exit $ac_status); }; }; then
67693 eval "$as_ac_var=yes"
67694 else
67695 echo "$as_me: failed program was:" >&5
67696 sed 's/^/| /' conftest.$ac_ext >&5
67698 eval "$as_ac_var=no"
67700 rm -f conftest.err conftest.$ac_objext \
67701 conftest$ac_exeext conftest.$ac_ext
67703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67705 if test `eval echo '${'$as_ac_var'}'` = yes; then
67706 cat >>confdefs.h <<_ACEOF
67707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67708 _ACEOF
67711 done
67713 else
67715 echo "$as_me:$LINENO: checking for _powl declaration" >&5
67716 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
67717 if test x${glibcxx_cv_func__powl_use+set} != xset; then
67718 if test "${glibcxx_cv_func__powl_use+set}" = set; then
67719 echo $ECHO_N "(cached) $ECHO_C" >&6
67720 else
67724 ac_ext=cc
67725 ac_cpp='$CXXCPP $CPPFLAGS'
67726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67730 cat >conftest.$ac_ext <<_ACEOF
67731 /* confdefs.h. */
67732 _ACEOF
67733 cat confdefs.h >>conftest.$ac_ext
67734 cat >>conftest.$ac_ext <<_ACEOF
67735 /* end confdefs.h. */
67736 #include <math.h>
67738 main ()
67740 _powl(0, 0);
67742 return 0;
67744 _ACEOF
67745 rm -f conftest.$ac_objext
67746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67747 (eval $ac_compile) 2>conftest.er1
67748 ac_status=$?
67749 grep -v '^ *+' conftest.er1 >conftest.err
67750 rm -f conftest.er1
67751 cat conftest.err >&5
67752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67753 (exit $ac_status); } &&
67754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756 (eval $ac_try) 2>&5
67757 ac_status=$?
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); }; } &&
67760 { ac_try='test -s conftest.$ac_objext'
67761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762 (eval $ac_try) 2>&5
67763 ac_status=$?
67764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765 (exit $ac_status); }; }; then
67766 glibcxx_cv_func__powl_use=yes
67767 else
67768 echo "$as_me: failed program was:" >&5
67769 sed 's/^/| /' conftest.$ac_ext >&5
67771 glibcxx_cv_func__powl_use=no
67773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67774 ac_ext=c
67775 ac_cpp='$CPP $CPPFLAGS'
67776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
67785 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
67787 if test x$glibcxx_cv_func__powl_use = x"yes"; then
67789 for ac_func in _powl
67791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67792 echo "$as_me:$LINENO: checking for $ac_func" >&5
67793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67794 if eval "test \"\${$as_ac_var+set}\" = set"; then
67795 echo $ECHO_N "(cached) $ECHO_C" >&6
67796 else
67797 if test x$gcc_no_link = xyes; then
67798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67800 { (exit 1); exit 1; }; }
67802 cat >conftest.$ac_ext <<_ACEOF
67803 /* confdefs.h. */
67804 _ACEOF
67805 cat confdefs.h >>conftest.$ac_ext
67806 cat >>conftest.$ac_ext <<_ACEOF
67807 /* end confdefs.h. */
67808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67810 #define $ac_func innocuous_$ac_func
67812 /* System header to define __stub macros and hopefully few prototypes,
67813 which can conflict with char $ac_func (); below.
67814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67815 <limits.h> exists even on freestanding compilers. */
67817 #ifdef __STDC__
67818 # include <limits.h>
67819 #else
67820 # include <assert.h>
67821 #endif
67823 #undef $ac_func
67825 /* Override any gcc2 internal prototype to avoid an error. */
67826 #ifdef __cplusplus
67827 extern "C"
67829 #endif
67830 /* We use char because int might match the return type of a gcc2
67831 builtin and then its argument prototype would still apply. */
67832 char $ac_func ();
67833 /* The GNU C library defines this for functions which it implements
67834 to always fail with ENOSYS. Some functions are actually named
67835 something starting with __ and the normal name is an alias. */
67836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67837 choke me
67838 #else
67839 char (*f) () = $ac_func;
67840 #endif
67841 #ifdef __cplusplus
67843 #endif
67846 main ()
67848 return f != $ac_func;
67850 return 0;
67852 _ACEOF
67853 rm -f conftest.$ac_objext conftest$ac_exeext
67854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67855 (eval $ac_link) 2>conftest.er1
67856 ac_status=$?
67857 grep -v '^ *+' conftest.er1 >conftest.err
67858 rm -f conftest.er1
67859 cat conftest.err >&5
67860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67861 (exit $ac_status); } &&
67862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67864 (eval $ac_try) 2>&5
67865 ac_status=$?
67866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867 (exit $ac_status); }; } &&
67868 { ac_try='test -s conftest$ac_exeext'
67869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67870 (eval $ac_try) 2>&5
67871 ac_status=$?
67872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67873 (exit $ac_status); }; }; then
67874 eval "$as_ac_var=yes"
67875 else
67876 echo "$as_me: failed program was:" >&5
67877 sed 's/^/| /' conftest.$ac_ext >&5
67879 eval "$as_ac_var=no"
67881 rm -f conftest.err conftest.$ac_objext \
67882 conftest$ac_exeext conftest.$ac_ext
67884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67886 if test `eval echo '${'$as_ac_var'}'` = yes; then
67887 cat >>confdefs.h <<_ACEOF
67888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67889 _ACEOF
67892 done
67899 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
67900 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
67901 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
67902 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
67903 echo $ECHO_N "(cached) $ECHO_C" >&6
67904 else
67908 ac_ext=cc
67909 ac_cpp='$CXXCPP $CPPFLAGS'
67910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67914 cat >conftest.$ac_ext <<_ACEOF
67915 /* confdefs.h. */
67916 _ACEOF
67917 cat confdefs.h >>conftest.$ac_ext
67918 cat >>conftest.$ac_ext <<_ACEOF
67919 /* end confdefs.h. */
67920 #include <math.h>
67921 #ifdef HAVE_IEEEFP_H
67922 #include <ieeefp.h>
67923 #endif
67926 main ()
67928 sqrtl(0);
67930 return 0;
67932 _ACEOF
67933 rm -f conftest.$ac_objext
67934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67935 (eval $ac_compile) 2>conftest.er1
67936 ac_status=$?
67937 grep -v '^ *+' conftest.er1 >conftest.err
67938 rm -f conftest.er1
67939 cat conftest.err >&5
67940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67941 (exit $ac_status); } &&
67942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67944 (eval $ac_try) 2>&5
67945 ac_status=$?
67946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67947 (exit $ac_status); }; } &&
67948 { ac_try='test -s conftest.$ac_objext'
67949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67950 (eval $ac_try) 2>&5
67951 ac_status=$?
67952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67953 (exit $ac_status); }; }; then
67954 glibcxx_cv_func_sqrtl_use=yes
67955 else
67956 echo "$as_me: failed program was:" >&5
67957 sed 's/^/| /' conftest.$ac_ext >&5
67959 glibcxx_cv_func_sqrtl_use=no
67961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67962 ac_ext=c
67963 ac_cpp='$CPP $CPPFLAGS'
67964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
67973 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
67975 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
67977 for ac_func in sqrtl
67979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67980 echo "$as_me:$LINENO: checking for $ac_func" >&5
67981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67982 if eval "test \"\${$as_ac_var+set}\" = set"; then
67983 echo $ECHO_N "(cached) $ECHO_C" >&6
67984 else
67985 if test x$gcc_no_link = xyes; then
67986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67988 { (exit 1); exit 1; }; }
67990 cat >conftest.$ac_ext <<_ACEOF
67991 /* confdefs.h. */
67992 _ACEOF
67993 cat confdefs.h >>conftest.$ac_ext
67994 cat >>conftest.$ac_ext <<_ACEOF
67995 /* end confdefs.h. */
67996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67998 #define $ac_func innocuous_$ac_func
68000 /* System header to define __stub macros and hopefully few prototypes,
68001 which can conflict with char $ac_func (); below.
68002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68003 <limits.h> exists even on freestanding compilers. */
68005 #ifdef __STDC__
68006 # include <limits.h>
68007 #else
68008 # include <assert.h>
68009 #endif
68011 #undef $ac_func
68013 /* Override any gcc2 internal prototype to avoid an error. */
68014 #ifdef __cplusplus
68015 extern "C"
68017 #endif
68018 /* We use char because int might match the return type of a gcc2
68019 builtin and then its argument prototype would still apply. */
68020 char $ac_func ();
68021 /* The GNU C library defines this for functions which it implements
68022 to always fail with ENOSYS. Some functions are actually named
68023 something starting with __ and the normal name is an alias. */
68024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68025 choke me
68026 #else
68027 char (*f) () = $ac_func;
68028 #endif
68029 #ifdef __cplusplus
68031 #endif
68034 main ()
68036 return f != $ac_func;
68038 return 0;
68040 _ACEOF
68041 rm -f conftest.$ac_objext conftest$ac_exeext
68042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68043 (eval $ac_link) 2>conftest.er1
68044 ac_status=$?
68045 grep -v '^ *+' conftest.er1 >conftest.err
68046 rm -f conftest.er1
68047 cat conftest.err >&5
68048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68049 (exit $ac_status); } &&
68050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68052 (eval $ac_try) 2>&5
68053 ac_status=$?
68054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68055 (exit $ac_status); }; } &&
68056 { ac_try='test -s conftest$ac_exeext'
68057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68058 (eval $ac_try) 2>&5
68059 ac_status=$?
68060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68061 (exit $ac_status); }; }; then
68062 eval "$as_ac_var=yes"
68063 else
68064 echo "$as_me: failed program was:" >&5
68065 sed 's/^/| /' conftest.$ac_ext >&5
68067 eval "$as_ac_var=no"
68069 rm -f conftest.err conftest.$ac_objext \
68070 conftest$ac_exeext conftest.$ac_ext
68072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68074 if test `eval echo '${'$as_ac_var'}'` = yes; then
68075 cat >>confdefs.h <<_ACEOF
68076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68077 _ACEOF
68080 done
68082 else
68084 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68085 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68086 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68087 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68088 echo $ECHO_N "(cached) $ECHO_C" >&6
68089 else
68093 ac_ext=cc
68094 ac_cpp='$CXXCPP $CPPFLAGS'
68095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68099 cat >conftest.$ac_ext <<_ACEOF
68100 /* confdefs.h. */
68101 _ACEOF
68102 cat confdefs.h >>conftest.$ac_ext
68103 cat >>conftest.$ac_ext <<_ACEOF
68104 /* end confdefs.h. */
68105 #include <math.h>
68106 #ifdef HAVE_IEEEFP_H
68107 #include <ieeefp.h>
68108 #endif
68111 main ()
68113 _sqrtl(0);
68115 return 0;
68117 _ACEOF
68118 rm -f conftest.$ac_objext
68119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68120 (eval $ac_compile) 2>conftest.er1
68121 ac_status=$?
68122 grep -v '^ *+' conftest.er1 >conftest.err
68123 rm -f conftest.er1
68124 cat conftest.err >&5
68125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68126 (exit $ac_status); } &&
68127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68129 (eval $ac_try) 2>&5
68130 ac_status=$?
68131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68132 (exit $ac_status); }; } &&
68133 { ac_try='test -s conftest.$ac_objext'
68134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68135 (eval $ac_try) 2>&5
68136 ac_status=$?
68137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68138 (exit $ac_status); }; }; then
68139 glibcxx_cv_func__sqrtl_use=yes
68140 else
68141 echo "$as_me: failed program was:" >&5
68142 sed 's/^/| /' conftest.$ac_ext >&5
68144 glibcxx_cv_func__sqrtl_use=no
68146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68147 ac_ext=c
68148 ac_cpp='$CPP $CPPFLAGS'
68149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68157 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68158 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68160 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68162 for ac_func in _sqrtl
68164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68165 echo "$as_me:$LINENO: checking for $ac_func" >&5
68166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68167 if eval "test \"\${$as_ac_var+set}\" = set"; then
68168 echo $ECHO_N "(cached) $ECHO_C" >&6
68169 else
68170 if test x$gcc_no_link = xyes; then
68171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68173 { (exit 1); exit 1; }; }
68175 cat >conftest.$ac_ext <<_ACEOF
68176 /* confdefs.h. */
68177 _ACEOF
68178 cat confdefs.h >>conftest.$ac_ext
68179 cat >>conftest.$ac_ext <<_ACEOF
68180 /* end confdefs.h. */
68181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68183 #define $ac_func innocuous_$ac_func
68185 /* System header to define __stub macros and hopefully few prototypes,
68186 which can conflict with char $ac_func (); below.
68187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68188 <limits.h> exists even on freestanding compilers. */
68190 #ifdef __STDC__
68191 # include <limits.h>
68192 #else
68193 # include <assert.h>
68194 #endif
68196 #undef $ac_func
68198 /* Override any gcc2 internal prototype to avoid an error. */
68199 #ifdef __cplusplus
68200 extern "C"
68202 #endif
68203 /* We use char because int might match the return type of a gcc2
68204 builtin and then its argument prototype would still apply. */
68205 char $ac_func ();
68206 /* The GNU C library defines this for functions which it implements
68207 to always fail with ENOSYS. Some functions are actually named
68208 something starting with __ and the normal name is an alias. */
68209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68210 choke me
68211 #else
68212 char (*f) () = $ac_func;
68213 #endif
68214 #ifdef __cplusplus
68216 #endif
68219 main ()
68221 return f != $ac_func;
68223 return 0;
68225 _ACEOF
68226 rm -f conftest.$ac_objext conftest$ac_exeext
68227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68228 (eval $ac_link) 2>conftest.er1
68229 ac_status=$?
68230 grep -v '^ *+' conftest.er1 >conftest.err
68231 rm -f conftest.er1
68232 cat conftest.err >&5
68233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68234 (exit $ac_status); } &&
68235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68237 (eval $ac_try) 2>&5
68238 ac_status=$?
68239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240 (exit $ac_status); }; } &&
68241 { ac_try='test -s conftest$ac_exeext'
68242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68243 (eval $ac_try) 2>&5
68244 ac_status=$?
68245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246 (exit $ac_status); }; }; then
68247 eval "$as_ac_var=yes"
68248 else
68249 echo "$as_me: failed program was:" >&5
68250 sed 's/^/| /' conftest.$ac_ext >&5
68252 eval "$as_ac_var=no"
68254 rm -f conftest.err conftest.$ac_objext \
68255 conftest$ac_exeext conftest.$ac_ext
68257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68259 if test `eval echo '${'$as_ac_var'}'` = yes; then
68260 cat >>confdefs.h <<_ACEOF
68261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68262 _ACEOF
68265 done
68272 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
68273 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
68274 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68275 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
68276 echo $ECHO_N "(cached) $ECHO_C" >&6
68277 else
68281 ac_ext=cc
68282 ac_cpp='$CXXCPP $CPPFLAGS'
68283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68287 cat >conftest.$ac_ext <<_ACEOF
68288 /* confdefs.h. */
68289 _ACEOF
68290 cat confdefs.h >>conftest.$ac_ext
68291 cat >>conftest.$ac_ext <<_ACEOF
68292 /* end confdefs.h. */
68293 #include <math.h>
68295 main ()
68297 sincosl(0, 0, 0);
68299 return 0;
68301 _ACEOF
68302 rm -f conftest.$ac_objext
68303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68304 (eval $ac_compile) 2>conftest.er1
68305 ac_status=$?
68306 grep -v '^ *+' conftest.er1 >conftest.err
68307 rm -f conftest.er1
68308 cat conftest.err >&5
68309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68310 (exit $ac_status); } &&
68311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68313 (eval $ac_try) 2>&5
68314 ac_status=$?
68315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68316 (exit $ac_status); }; } &&
68317 { ac_try='test -s conftest.$ac_objext'
68318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68319 (eval $ac_try) 2>&5
68320 ac_status=$?
68321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68322 (exit $ac_status); }; }; then
68323 glibcxx_cv_func_sincosl_use=yes
68324 else
68325 echo "$as_me: failed program was:" >&5
68326 sed 's/^/| /' conftest.$ac_ext >&5
68328 glibcxx_cv_func_sincosl_use=no
68330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68331 ac_ext=c
68332 ac_cpp='$CPP $CPPFLAGS'
68333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
68342 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
68344 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
68346 for ac_func in sincosl
68348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68349 echo "$as_me:$LINENO: checking for $ac_func" >&5
68350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68351 if eval "test \"\${$as_ac_var+set}\" = set"; then
68352 echo $ECHO_N "(cached) $ECHO_C" >&6
68353 else
68354 if test x$gcc_no_link = xyes; then
68355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68357 { (exit 1); exit 1; }; }
68359 cat >conftest.$ac_ext <<_ACEOF
68360 /* confdefs.h. */
68361 _ACEOF
68362 cat confdefs.h >>conftest.$ac_ext
68363 cat >>conftest.$ac_ext <<_ACEOF
68364 /* end confdefs.h. */
68365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68367 #define $ac_func innocuous_$ac_func
68369 /* System header to define __stub macros and hopefully few prototypes,
68370 which can conflict with char $ac_func (); below.
68371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68372 <limits.h> exists even on freestanding compilers. */
68374 #ifdef __STDC__
68375 # include <limits.h>
68376 #else
68377 # include <assert.h>
68378 #endif
68380 #undef $ac_func
68382 /* Override any gcc2 internal prototype to avoid an error. */
68383 #ifdef __cplusplus
68384 extern "C"
68386 #endif
68387 /* We use char because int might match the return type of a gcc2
68388 builtin and then its argument prototype would still apply. */
68389 char $ac_func ();
68390 /* The GNU C library defines this for functions which it implements
68391 to always fail with ENOSYS. Some functions are actually named
68392 something starting with __ and the normal name is an alias. */
68393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68394 choke me
68395 #else
68396 char (*f) () = $ac_func;
68397 #endif
68398 #ifdef __cplusplus
68400 #endif
68403 main ()
68405 return f != $ac_func;
68407 return 0;
68409 _ACEOF
68410 rm -f conftest.$ac_objext conftest$ac_exeext
68411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68412 (eval $ac_link) 2>conftest.er1
68413 ac_status=$?
68414 grep -v '^ *+' conftest.er1 >conftest.err
68415 rm -f conftest.er1
68416 cat conftest.err >&5
68417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68418 (exit $ac_status); } &&
68419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68421 (eval $ac_try) 2>&5
68422 ac_status=$?
68423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68424 (exit $ac_status); }; } &&
68425 { ac_try='test -s conftest$ac_exeext'
68426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68427 (eval $ac_try) 2>&5
68428 ac_status=$?
68429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68430 (exit $ac_status); }; }; then
68431 eval "$as_ac_var=yes"
68432 else
68433 echo "$as_me: failed program was:" >&5
68434 sed 's/^/| /' conftest.$ac_ext >&5
68436 eval "$as_ac_var=no"
68438 rm -f conftest.err conftest.$ac_objext \
68439 conftest$ac_exeext conftest.$ac_ext
68441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68443 if test `eval echo '${'$as_ac_var'}'` = yes; then
68444 cat >>confdefs.h <<_ACEOF
68445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68446 _ACEOF
68449 done
68451 else
68453 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
68454 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
68455 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
68456 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
68457 echo $ECHO_N "(cached) $ECHO_C" >&6
68458 else
68462 ac_ext=cc
68463 ac_cpp='$CXXCPP $CPPFLAGS'
68464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68468 cat >conftest.$ac_ext <<_ACEOF
68469 /* confdefs.h. */
68470 _ACEOF
68471 cat confdefs.h >>conftest.$ac_ext
68472 cat >>conftest.$ac_ext <<_ACEOF
68473 /* end confdefs.h. */
68474 #include <math.h>
68476 main ()
68478 _sincosl(0, 0, 0);
68480 return 0;
68482 _ACEOF
68483 rm -f conftest.$ac_objext
68484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68485 (eval $ac_compile) 2>conftest.er1
68486 ac_status=$?
68487 grep -v '^ *+' conftest.er1 >conftest.err
68488 rm -f conftest.er1
68489 cat conftest.err >&5
68490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68491 (exit $ac_status); } &&
68492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68494 (eval $ac_try) 2>&5
68495 ac_status=$?
68496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68497 (exit $ac_status); }; } &&
68498 { ac_try='test -s conftest.$ac_objext'
68499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68500 (eval $ac_try) 2>&5
68501 ac_status=$?
68502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68503 (exit $ac_status); }; }; then
68504 glibcxx_cv_func__sincosl_use=yes
68505 else
68506 echo "$as_me: failed program was:" >&5
68507 sed 's/^/| /' conftest.$ac_ext >&5
68509 glibcxx_cv_func__sincosl_use=no
68511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68512 ac_ext=c
68513 ac_cpp='$CPP $CPPFLAGS'
68514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68522 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
68523 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
68525 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
68527 for ac_func in _sincosl
68529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68530 echo "$as_me:$LINENO: checking for $ac_func" >&5
68531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68532 if eval "test \"\${$as_ac_var+set}\" = set"; then
68533 echo $ECHO_N "(cached) $ECHO_C" >&6
68534 else
68535 if test x$gcc_no_link = xyes; then
68536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68538 { (exit 1); exit 1; }; }
68540 cat >conftest.$ac_ext <<_ACEOF
68541 /* confdefs.h. */
68542 _ACEOF
68543 cat confdefs.h >>conftest.$ac_ext
68544 cat >>conftest.$ac_ext <<_ACEOF
68545 /* end confdefs.h. */
68546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68548 #define $ac_func innocuous_$ac_func
68550 /* System header to define __stub macros and hopefully few prototypes,
68551 which can conflict with char $ac_func (); below.
68552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68553 <limits.h> exists even on freestanding compilers. */
68555 #ifdef __STDC__
68556 # include <limits.h>
68557 #else
68558 # include <assert.h>
68559 #endif
68561 #undef $ac_func
68563 /* Override any gcc2 internal prototype to avoid an error. */
68564 #ifdef __cplusplus
68565 extern "C"
68567 #endif
68568 /* We use char because int might match the return type of a gcc2
68569 builtin and then its argument prototype would still apply. */
68570 char $ac_func ();
68571 /* The GNU C library defines this for functions which it implements
68572 to always fail with ENOSYS. Some functions are actually named
68573 something starting with __ and the normal name is an alias. */
68574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68575 choke me
68576 #else
68577 char (*f) () = $ac_func;
68578 #endif
68579 #ifdef __cplusplus
68581 #endif
68584 main ()
68586 return f != $ac_func;
68588 return 0;
68590 _ACEOF
68591 rm -f conftest.$ac_objext conftest$ac_exeext
68592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68593 (eval $ac_link) 2>conftest.er1
68594 ac_status=$?
68595 grep -v '^ *+' conftest.er1 >conftest.err
68596 rm -f conftest.er1
68597 cat conftest.err >&5
68598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68599 (exit $ac_status); } &&
68600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68602 (eval $ac_try) 2>&5
68603 ac_status=$?
68604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68605 (exit $ac_status); }; } &&
68606 { ac_try='test -s conftest$ac_exeext'
68607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68608 (eval $ac_try) 2>&5
68609 ac_status=$?
68610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68611 (exit $ac_status); }; }; then
68612 eval "$as_ac_var=yes"
68613 else
68614 echo "$as_me: failed program was:" >&5
68615 sed 's/^/| /' conftest.$ac_ext >&5
68617 eval "$as_ac_var=no"
68619 rm -f conftest.err conftest.$ac_objext \
68620 conftest$ac_exeext conftest.$ac_ext
68622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68624 if test `eval echo '${'$as_ac_var'}'` = yes; then
68625 cat >>confdefs.h <<_ACEOF
68626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68627 _ACEOF
68630 done
68637 echo "$as_me:$LINENO: checking for finitel declaration" >&5
68638 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
68639 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
68640 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
68641 echo $ECHO_N "(cached) $ECHO_C" >&6
68642 else
68646 ac_ext=cc
68647 ac_cpp='$CXXCPP $CPPFLAGS'
68648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68652 cat >conftest.$ac_ext <<_ACEOF
68653 /* confdefs.h. */
68654 _ACEOF
68655 cat confdefs.h >>conftest.$ac_ext
68656 cat >>conftest.$ac_ext <<_ACEOF
68657 /* end confdefs.h. */
68658 #include <math.h>
68659 #ifdef HAVE_IEEEFP_H
68660 #include <ieeefp.h>
68661 #endif
68664 main ()
68666 finitel(0);
68668 return 0;
68670 _ACEOF
68671 rm -f conftest.$ac_objext
68672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68673 (eval $ac_compile) 2>conftest.er1
68674 ac_status=$?
68675 grep -v '^ *+' conftest.er1 >conftest.err
68676 rm -f conftest.er1
68677 cat conftest.err >&5
68678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68679 (exit $ac_status); } &&
68680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68682 (eval $ac_try) 2>&5
68683 ac_status=$?
68684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68685 (exit $ac_status); }; } &&
68686 { ac_try='test -s conftest.$ac_objext'
68687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68688 (eval $ac_try) 2>&5
68689 ac_status=$?
68690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68691 (exit $ac_status); }; }; then
68692 glibcxx_cv_func_finitel_use=yes
68693 else
68694 echo "$as_me: failed program was:" >&5
68695 sed 's/^/| /' conftest.$ac_ext >&5
68697 glibcxx_cv_func_finitel_use=no
68699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
68711 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
68713 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
68715 for ac_func in finitel
68717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68718 echo "$as_me:$LINENO: checking for $ac_func" >&5
68719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68720 if eval "test \"\${$as_ac_var+set}\" = set"; then
68721 echo $ECHO_N "(cached) $ECHO_C" >&6
68722 else
68723 if test x$gcc_no_link = xyes; then
68724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68726 { (exit 1); exit 1; }; }
68728 cat >conftest.$ac_ext <<_ACEOF
68729 /* confdefs.h. */
68730 _ACEOF
68731 cat confdefs.h >>conftest.$ac_ext
68732 cat >>conftest.$ac_ext <<_ACEOF
68733 /* end confdefs.h. */
68734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68736 #define $ac_func innocuous_$ac_func
68738 /* System header to define __stub macros and hopefully few prototypes,
68739 which can conflict with char $ac_func (); below.
68740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68741 <limits.h> exists even on freestanding compilers. */
68743 #ifdef __STDC__
68744 # include <limits.h>
68745 #else
68746 # include <assert.h>
68747 #endif
68749 #undef $ac_func
68751 /* Override any gcc2 internal prototype to avoid an error. */
68752 #ifdef __cplusplus
68753 extern "C"
68755 #endif
68756 /* We use char because int might match the return type of a gcc2
68757 builtin and then its argument prototype would still apply. */
68758 char $ac_func ();
68759 /* The GNU C library defines this for functions which it implements
68760 to always fail with ENOSYS. Some functions are actually named
68761 something starting with __ and the normal name is an alias. */
68762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68763 choke me
68764 #else
68765 char (*f) () = $ac_func;
68766 #endif
68767 #ifdef __cplusplus
68769 #endif
68772 main ()
68774 return f != $ac_func;
68776 return 0;
68778 _ACEOF
68779 rm -f conftest.$ac_objext conftest$ac_exeext
68780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68781 (eval $ac_link) 2>conftest.er1
68782 ac_status=$?
68783 grep -v '^ *+' conftest.er1 >conftest.err
68784 rm -f conftest.er1
68785 cat conftest.err >&5
68786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68787 (exit $ac_status); } &&
68788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68790 (eval $ac_try) 2>&5
68791 ac_status=$?
68792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68793 (exit $ac_status); }; } &&
68794 { ac_try='test -s conftest$ac_exeext'
68795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68796 (eval $ac_try) 2>&5
68797 ac_status=$?
68798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68799 (exit $ac_status); }; }; then
68800 eval "$as_ac_var=yes"
68801 else
68802 echo "$as_me: failed program was:" >&5
68803 sed 's/^/| /' conftest.$ac_ext >&5
68805 eval "$as_ac_var=no"
68807 rm -f conftest.err conftest.$ac_objext \
68808 conftest$ac_exeext conftest.$ac_ext
68810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68812 if test `eval echo '${'$as_ac_var'}'` = yes; then
68813 cat >>confdefs.h <<_ACEOF
68814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68815 _ACEOF
68818 done
68820 else
68822 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
68823 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
68824 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
68825 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
68826 echo $ECHO_N "(cached) $ECHO_C" >&6
68827 else
68831 ac_ext=cc
68832 ac_cpp='$CXXCPP $CPPFLAGS'
68833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68837 cat >conftest.$ac_ext <<_ACEOF
68838 /* confdefs.h. */
68839 _ACEOF
68840 cat confdefs.h >>conftest.$ac_ext
68841 cat >>conftest.$ac_ext <<_ACEOF
68842 /* end confdefs.h. */
68843 #include <math.h>
68844 #ifdef HAVE_IEEEFP_H
68845 #include <ieeefp.h>
68846 #endif
68849 main ()
68851 _finitel(0);
68853 return 0;
68855 _ACEOF
68856 rm -f conftest.$ac_objext
68857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68858 (eval $ac_compile) 2>conftest.er1
68859 ac_status=$?
68860 grep -v '^ *+' conftest.er1 >conftest.err
68861 rm -f conftest.er1
68862 cat conftest.err >&5
68863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68864 (exit $ac_status); } &&
68865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68867 (eval $ac_try) 2>&5
68868 ac_status=$?
68869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68870 (exit $ac_status); }; } &&
68871 { ac_try='test -s conftest.$ac_objext'
68872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68873 (eval $ac_try) 2>&5
68874 ac_status=$?
68875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68876 (exit $ac_status); }; }; then
68877 glibcxx_cv_func__finitel_use=yes
68878 else
68879 echo "$as_me: failed program was:" >&5
68880 sed 's/^/| /' conftest.$ac_ext >&5
68882 glibcxx_cv_func__finitel_use=no
68884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68885 ac_ext=c
68886 ac_cpp='$CPP $CPPFLAGS'
68887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
68896 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
68898 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
68900 for ac_func in _finitel
68902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68903 echo "$as_me:$LINENO: checking for $ac_func" >&5
68904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68905 if eval "test \"\${$as_ac_var+set}\" = set"; then
68906 echo $ECHO_N "(cached) $ECHO_C" >&6
68907 else
68908 if test x$gcc_no_link = xyes; then
68909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68911 { (exit 1); exit 1; }; }
68913 cat >conftest.$ac_ext <<_ACEOF
68914 /* confdefs.h. */
68915 _ACEOF
68916 cat confdefs.h >>conftest.$ac_ext
68917 cat >>conftest.$ac_ext <<_ACEOF
68918 /* end confdefs.h. */
68919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68921 #define $ac_func innocuous_$ac_func
68923 /* System header to define __stub macros and hopefully few prototypes,
68924 which can conflict with char $ac_func (); below.
68925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68926 <limits.h> exists even on freestanding compilers. */
68928 #ifdef __STDC__
68929 # include <limits.h>
68930 #else
68931 # include <assert.h>
68932 #endif
68934 #undef $ac_func
68936 /* Override any gcc2 internal prototype to avoid an error. */
68937 #ifdef __cplusplus
68938 extern "C"
68940 #endif
68941 /* We use char because int might match the return type of a gcc2
68942 builtin and then its argument prototype would still apply. */
68943 char $ac_func ();
68944 /* The GNU C library defines this for functions which it implements
68945 to always fail with ENOSYS. Some functions are actually named
68946 something starting with __ and the normal name is an alias. */
68947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68948 choke me
68949 #else
68950 char (*f) () = $ac_func;
68951 #endif
68952 #ifdef __cplusplus
68954 #endif
68957 main ()
68959 return f != $ac_func;
68961 return 0;
68963 _ACEOF
68964 rm -f conftest.$ac_objext conftest$ac_exeext
68965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68966 (eval $ac_link) 2>conftest.er1
68967 ac_status=$?
68968 grep -v '^ *+' conftest.er1 >conftest.err
68969 rm -f conftest.er1
68970 cat conftest.err >&5
68971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68972 (exit $ac_status); } &&
68973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68975 (eval $ac_try) 2>&5
68976 ac_status=$?
68977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68978 (exit $ac_status); }; } &&
68979 { ac_try='test -s conftest$ac_exeext'
68980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68981 (eval $ac_try) 2>&5
68982 ac_status=$?
68983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68984 (exit $ac_status); }; }; then
68985 eval "$as_ac_var=yes"
68986 else
68987 echo "$as_me: failed program was:" >&5
68988 sed 's/^/| /' conftest.$ac_ext >&5
68990 eval "$as_ac_var=no"
68992 rm -f conftest.err conftest.$ac_objext \
68993 conftest$ac_exeext conftest.$ac_ext
68995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68997 if test `eval echo '${'$as_ac_var'}'` = yes; then
68998 cat >>confdefs.h <<_ACEOF
68999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69000 _ACEOF
69003 done
69011 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69012 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69013 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69014 echo $ECHO_N "(cached) $ECHO_C" >&6
69015 else
69019 ac_ext=cc
69020 ac_cpp='$CXXCPP $CPPFLAGS'
69021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69025 cat >conftest.$ac_ext <<_ACEOF
69026 /* confdefs.h. */
69027 _ACEOF
69028 cat confdefs.h >>conftest.$ac_ext
69029 cat >>conftest.$ac_ext <<_ACEOF
69030 /* end confdefs.h. */
69031 #include <math.h>
69033 main ()
69035 `for x in _acosf _asinf _atanf \
69036 _cosf _sinf _tanf \
69037 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69039 return 0;
69041 _ACEOF
69042 rm -f conftest.$ac_objext
69043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69044 (eval $ac_compile) 2>conftest.er1
69045 ac_status=$?
69046 grep -v '^ *+' conftest.er1 >conftest.err
69047 rm -f conftest.er1
69048 cat conftest.err >&5
69049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69050 (exit $ac_status); } &&
69051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69053 (eval $ac_try) 2>&5
69054 ac_status=$?
69055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69056 (exit $ac_status); }; } &&
69057 { ac_try='test -s conftest.$ac_objext'
69058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69059 (eval $ac_try) 2>&5
69060 ac_status=$?
69061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69062 (exit $ac_status); }; }; then
69063 glibcxx_cv_func__float_trig_use=yes
69064 else
69065 echo "$as_me: failed program was:" >&5
69066 sed 's/^/| /' conftest.$ac_ext >&5
69068 glibcxx_cv_func__float_trig_use=no
69070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69071 ac_ext=c
69072 ac_cpp='$CPP $CPPFLAGS'
69073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69080 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69081 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69091 for ac_func in _acosf _asinf _atanf \
69092 _cosf _sinf _tanf \
69093 _coshf _sinhf _tanhf
69095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69096 echo "$as_me:$LINENO: checking for $ac_func" >&5
69097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69098 if eval "test \"\${$as_ac_var+set}\" = set"; then
69099 echo $ECHO_N "(cached) $ECHO_C" >&6
69100 else
69101 if test x$gcc_no_link = xyes; then
69102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69104 { (exit 1); exit 1; }; }
69106 cat >conftest.$ac_ext <<_ACEOF
69107 /* confdefs.h. */
69108 _ACEOF
69109 cat confdefs.h >>conftest.$ac_ext
69110 cat >>conftest.$ac_ext <<_ACEOF
69111 /* end confdefs.h. */
69112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69114 #define $ac_func innocuous_$ac_func
69116 /* System header to define __stub macros and hopefully few prototypes,
69117 which can conflict with char $ac_func (); below.
69118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69119 <limits.h> exists even on freestanding compilers. */
69121 #ifdef __STDC__
69122 # include <limits.h>
69123 #else
69124 # include <assert.h>
69125 #endif
69127 #undef $ac_func
69129 /* Override any gcc2 internal prototype to avoid an error. */
69130 #ifdef __cplusplus
69131 extern "C"
69133 #endif
69134 /* We use char because int might match the return type of a gcc2
69135 builtin and then its argument prototype would still apply. */
69136 char $ac_func ();
69137 /* The GNU C library defines this for functions which it implements
69138 to always fail with ENOSYS. Some functions are actually named
69139 something starting with __ and the normal name is an alias. */
69140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69141 choke me
69142 #else
69143 char (*f) () = $ac_func;
69144 #endif
69145 #ifdef __cplusplus
69147 #endif
69150 main ()
69152 return f != $ac_func;
69154 return 0;
69156 _ACEOF
69157 rm -f conftest.$ac_objext conftest$ac_exeext
69158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69159 (eval $ac_link) 2>conftest.er1
69160 ac_status=$?
69161 grep -v '^ *+' conftest.er1 >conftest.err
69162 rm -f conftest.er1
69163 cat conftest.err >&5
69164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69165 (exit $ac_status); } &&
69166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69168 (eval $ac_try) 2>&5
69169 ac_status=$?
69170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69171 (exit $ac_status); }; } &&
69172 { ac_try='test -s conftest$ac_exeext'
69173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69174 (eval $ac_try) 2>&5
69175 ac_status=$?
69176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69177 (exit $ac_status); }; }; then
69178 eval "$as_ac_var=yes"
69179 else
69180 echo "$as_me: failed program was:" >&5
69181 sed 's/^/| /' conftest.$ac_ext >&5
69183 eval "$as_ac_var=no"
69185 rm -f conftest.err conftest.$ac_objext \
69186 conftest$ac_exeext conftest.$ac_ext
69188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69190 if test `eval echo '${'$as_ac_var'}'` = yes; then
69191 cat >>confdefs.h <<_ACEOF
69192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69193 _ACEOF
69196 done
69201 echo "$as_me:$LINENO: checking for _float round functions" >&5
69202 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69204 echo $ECHO_N "(cached) $ECHO_C" >&6
69205 else
69209 ac_ext=cc
69210 ac_cpp='$CXXCPP $CPPFLAGS'
69211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69215 cat >conftest.$ac_ext <<_ACEOF
69216 /* confdefs.h. */
69217 _ACEOF
69218 cat confdefs.h >>conftest.$ac_ext
69219 cat >>conftest.$ac_ext <<_ACEOF
69220 /* end confdefs.h. */
69221 #include <math.h>
69223 main ()
69225 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69227 return 0;
69229 _ACEOF
69230 rm -f conftest.$ac_objext
69231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69232 (eval $ac_compile) 2>conftest.er1
69233 ac_status=$?
69234 grep -v '^ *+' conftest.er1 >conftest.err
69235 rm -f conftest.er1
69236 cat conftest.err >&5
69237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69238 (exit $ac_status); } &&
69239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69241 (eval $ac_try) 2>&5
69242 ac_status=$?
69243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69244 (exit $ac_status); }; } &&
69245 { ac_try='test -s conftest.$ac_objext'
69246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69247 (eval $ac_try) 2>&5
69248 ac_status=$?
69249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69250 (exit $ac_status); }; }; then
69251 glibcxx_cv_func__float_round_use=yes
69252 else
69253 echo "$as_me: failed program was:" >&5
69254 sed 's/^/| /' conftest.$ac_ext >&5
69256 glibcxx_cv_func__float_round_use=no
69258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69259 ac_ext=c
69260 ac_cpp='$CPP $CPPFLAGS'
69261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69268 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69269 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69272 for ac_func in _ceilf _floorf
69274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69275 echo "$as_me:$LINENO: checking for $ac_func" >&5
69276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69277 if eval "test \"\${$as_ac_var+set}\" = set"; then
69278 echo $ECHO_N "(cached) $ECHO_C" >&6
69279 else
69280 if test x$gcc_no_link = xyes; then
69281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69283 { (exit 1); exit 1; }; }
69285 cat >conftest.$ac_ext <<_ACEOF
69286 /* confdefs.h. */
69287 _ACEOF
69288 cat confdefs.h >>conftest.$ac_ext
69289 cat >>conftest.$ac_ext <<_ACEOF
69290 /* end confdefs.h. */
69291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69293 #define $ac_func innocuous_$ac_func
69295 /* System header to define __stub macros and hopefully few prototypes,
69296 which can conflict with char $ac_func (); below.
69297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69298 <limits.h> exists even on freestanding compilers. */
69300 #ifdef __STDC__
69301 # include <limits.h>
69302 #else
69303 # include <assert.h>
69304 #endif
69306 #undef $ac_func
69308 /* Override any gcc2 internal prototype to avoid an error. */
69309 #ifdef __cplusplus
69310 extern "C"
69312 #endif
69313 /* We use char because int might match the return type of a gcc2
69314 builtin and then its argument prototype would still apply. */
69315 char $ac_func ();
69316 /* The GNU C library defines this for functions which it implements
69317 to always fail with ENOSYS. Some functions are actually named
69318 something starting with __ and the normal name is an alias. */
69319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69320 choke me
69321 #else
69322 char (*f) () = $ac_func;
69323 #endif
69324 #ifdef __cplusplus
69326 #endif
69329 main ()
69331 return f != $ac_func;
69333 return 0;
69335 _ACEOF
69336 rm -f conftest.$ac_objext conftest$ac_exeext
69337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69338 (eval $ac_link) 2>conftest.er1
69339 ac_status=$?
69340 grep -v '^ *+' conftest.er1 >conftest.err
69341 rm -f conftest.er1
69342 cat conftest.err >&5
69343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69344 (exit $ac_status); } &&
69345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69347 (eval $ac_try) 2>&5
69348 ac_status=$?
69349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69350 (exit $ac_status); }; } &&
69351 { ac_try='test -s conftest$ac_exeext'
69352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69353 (eval $ac_try) 2>&5
69354 ac_status=$?
69355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69356 (exit $ac_status); }; }; then
69357 eval "$as_ac_var=yes"
69358 else
69359 echo "$as_me: failed program was:" >&5
69360 sed 's/^/| /' conftest.$ac_ext >&5
69362 eval "$as_ac_var=no"
69364 rm -f conftest.err conftest.$ac_objext \
69365 conftest$ac_exeext conftest.$ac_ext
69367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69369 if test `eval echo '${'$as_ac_var'}'` = yes; then
69370 cat >>confdefs.h <<_ACEOF
69371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69372 _ACEOF
69375 done
69381 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
69382 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
69383 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
69384 echo $ECHO_N "(cached) $ECHO_C" >&6
69385 else
69389 ac_ext=cc
69390 ac_cpp='$CXXCPP $CPPFLAGS'
69391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69395 cat >conftest.$ac_ext <<_ACEOF
69396 /* confdefs.h. */
69397 _ACEOF
69398 cat confdefs.h >>conftest.$ac_ext
69399 cat >>conftest.$ac_ext <<_ACEOF
69400 /* end confdefs.h. */
69401 #include <math.h>
69403 main ()
69405 `for x in _acosl _asinl _atanl \
69406 _cosl _sinl _tanl \
69407 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
69409 return 0;
69411 _ACEOF
69412 rm -f conftest.$ac_objext
69413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69414 (eval $ac_compile) 2>conftest.er1
69415 ac_status=$?
69416 grep -v '^ *+' conftest.er1 >conftest.err
69417 rm -f conftest.er1
69418 cat conftest.err >&5
69419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69420 (exit $ac_status); } &&
69421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69423 (eval $ac_try) 2>&5
69424 ac_status=$?
69425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69426 (exit $ac_status); }; } &&
69427 { ac_try='test -s conftest.$ac_objext'
69428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69429 (eval $ac_try) 2>&5
69430 ac_status=$?
69431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69432 (exit $ac_status); }; }; then
69433 glibcxx_cv_func__long_double_trig_use=yes
69434 else
69435 echo "$as_me: failed program was:" >&5
69436 sed 's/^/| /' conftest.$ac_ext >&5
69438 glibcxx_cv_func__long_double_trig_use=no
69440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69441 ac_ext=c
69442 ac_cpp='$CPP $CPPFLAGS'
69443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
69450 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
69451 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69461 for ac_func in _acosl _asinl _atanl \
69462 _cosl _sinl _tanl \
69463 _coshl _sinhl _tanhl
69465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69466 echo "$as_me:$LINENO: checking for $ac_func" >&5
69467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69468 if eval "test \"\${$as_ac_var+set}\" = set"; then
69469 echo $ECHO_N "(cached) $ECHO_C" >&6
69470 else
69471 if test x$gcc_no_link = xyes; then
69472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69474 { (exit 1); exit 1; }; }
69476 cat >conftest.$ac_ext <<_ACEOF
69477 /* confdefs.h. */
69478 _ACEOF
69479 cat confdefs.h >>conftest.$ac_ext
69480 cat >>conftest.$ac_ext <<_ACEOF
69481 /* end confdefs.h. */
69482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69484 #define $ac_func innocuous_$ac_func
69486 /* System header to define __stub macros and hopefully few prototypes,
69487 which can conflict with char $ac_func (); below.
69488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69489 <limits.h> exists even on freestanding compilers. */
69491 #ifdef __STDC__
69492 # include <limits.h>
69493 #else
69494 # include <assert.h>
69495 #endif
69497 #undef $ac_func
69499 /* Override any gcc2 internal prototype to avoid an error. */
69500 #ifdef __cplusplus
69501 extern "C"
69503 #endif
69504 /* We use char because int might match the return type of a gcc2
69505 builtin and then its argument prototype would still apply. */
69506 char $ac_func ();
69507 /* The GNU C library defines this for functions which it implements
69508 to always fail with ENOSYS. Some functions are actually named
69509 something starting with __ and the normal name is an alias. */
69510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69511 choke me
69512 #else
69513 char (*f) () = $ac_func;
69514 #endif
69515 #ifdef __cplusplus
69517 #endif
69520 main ()
69522 return f != $ac_func;
69524 return 0;
69526 _ACEOF
69527 rm -f conftest.$ac_objext conftest$ac_exeext
69528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69529 (eval $ac_link) 2>conftest.er1
69530 ac_status=$?
69531 grep -v '^ *+' conftest.er1 >conftest.err
69532 rm -f conftest.er1
69533 cat conftest.err >&5
69534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69535 (exit $ac_status); } &&
69536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69538 (eval $ac_try) 2>&5
69539 ac_status=$?
69540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69541 (exit $ac_status); }; } &&
69542 { ac_try='test -s conftest$ac_exeext'
69543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69544 (eval $ac_try) 2>&5
69545 ac_status=$?
69546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69547 (exit $ac_status); }; }; then
69548 eval "$as_ac_var=yes"
69549 else
69550 echo "$as_me: failed program was:" >&5
69551 sed 's/^/| /' conftest.$ac_ext >&5
69553 eval "$as_ac_var=no"
69555 rm -f conftest.err conftest.$ac_objext \
69556 conftest$ac_exeext conftest.$ac_ext
69558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69560 if test `eval echo '${'$as_ac_var'}'` = yes; then
69561 cat >>confdefs.h <<_ACEOF
69562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69563 _ACEOF
69566 done
69571 echo "$as_me:$LINENO: checking for _long double round functions" >&5
69572 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
69573 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
69574 echo $ECHO_N "(cached) $ECHO_C" >&6
69575 else
69579 ac_ext=cc
69580 ac_cpp='$CXXCPP $CPPFLAGS'
69581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69585 cat >conftest.$ac_ext <<_ACEOF
69586 /* confdefs.h. */
69587 _ACEOF
69588 cat confdefs.h >>conftest.$ac_ext
69589 cat >>conftest.$ac_ext <<_ACEOF
69590 /* end confdefs.h. */
69591 #include <math.h>
69593 main ()
69595 `for x in _ceill _floorl; do echo "$x (0);"; done`
69597 return 0;
69599 _ACEOF
69600 rm -f conftest.$ac_objext
69601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69602 (eval $ac_compile) 2>conftest.er1
69603 ac_status=$?
69604 grep -v '^ *+' conftest.er1 >conftest.err
69605 rm -f conftest.er1
69606 cat conftest.err >&5
69607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608 (exit $ac_status); } &&
69609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69611 (eval $ac_try) 2>&5
69612 ac_status=$?
69613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69614 (exit $ac_status); }; } &&
69615 { ac_try='test -s conftest.$ac_objext'
69616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69617 (eval $ac_try) 2>&5
69618 ac_status=$?
69619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69620 (exit $ac_status); }; }; then
69621 glibcxx_cv_func__long_double_round_use=yes
69622 else
69623 echo "$as_me: failed program was:" >&5
69624 sed 's/^/| /' conftest.$ac_ext >&5
69626 glibcxx_cv_func__long_double_round_use=no
69628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69629 ac_ext=c
69630 ac_cpp='$CPP $CPPFLAGS'
69631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
69638 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
69639 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69642 for ac_func in _ceill _floorl
69644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69645 echo "$as_me:$LINENO: checking for $ac_func" >&5
69646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69647 if eval "test \"\${$as_ac_var+set}\" = set"; then
69648 echo $ECHO_N "(cached) $ECHO_C" >&6
69649 else
69650 if test x$gcc_no_link = xyes; then
69651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69653 { (exit 1); exit 1; }; }
69655 cat >conftest.$ac_ext <<_ACEOF
69656 /* confdefs.h. */
69657 _ACEOF
69658 cat confdefs.h >>conftest.$ac_ext
69659 cat >>conftest.$ac_ext <<_ACEOF
69660 /* end confdefs.h. */
69661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69663 #define $ac_func innocuous_$ac_func
69665 /* System header to define __stub macros and hopefully few prototypes,
69666 which can conflict with char $ac_func (); below.
69667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69668 <limits.h> exists even on freestanding compilers. */
69670 #ifdef __STDC__
69671 # include <limits.h>
69672 #else
69673 # include <assert.h>
69674 #endif
69676 #undef $ac_func
69678 /* Override any gcc2 internal prototype to avoid an error. */
69679 #ifdef __cplusplus
69680 extern "C"
69682 #endif
69683 /* We use char because int might match the return type of a gcc2
69684 builtin and then its argument prototype would still apply. */
69685 char $ac_func ();
69686 /* The GNU C library defines this for functions which it implements
69687 to always fail with ENOSYS. Some functions are actually named
69688 something starting with __ and the normal name is an alias. */
69689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69690 choke me
69691 #else
69692 char (*f) () = $ac_func;
69693 #endif
69694 #ifdef __cplusplus
69696 #endif
69699 main ()
69701 return f != $ac_func;
69703 return 0;
69705 _ACEOF
69706 rm -f conftest.$ac_objext conftest$ac_exeext
69707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69708 (eval $ac_link) 2>conftest.er1
69709 ac_status=$?
69710 grep -v '^ *+' conftest.er1 >conftest.err
69711 rm -f conftest.er1
69712 cat conftest.err >&5
69713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69714 (exit $ac_status); } &&
69715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69717 (eval $ac_try) 2>&5
69718 ac_status=$?
69719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69720 (exit $ac_status); }; } &&
69721 { ac_try='test -s conftest$ac_exeext'
69722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69723 (eval $ac_try) 2>&5
69724 ac_status=$?
69725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69726 (exit $ac_status); }; }; then
69727 eval "$as_ac_var=yes"
69728 else
69729 echo "$as_me: failed program was:" >&5
69730 sed 's/^/| /' conftest.$ac_ext >&5
69732 eval "$as_ac_var=no"
69734 rm -f conftest.err conftest.$ac_objext \
69735 conftest$ac_exeext conftest.$ac_ext
69737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69739 if test `eval echo '${'$as_ac_var'}'` = yes; then
69740 cat >>confdefs.h <<_ACEOF
69741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69742 _ACEOF
69745 done
69750 LIBS="$ac_save_LIBS"
69751 CXXFLAGS="$ac_save_CXXFLAGS"
69755 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
69756 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
69757 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
69758 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
69759 echo $ECHO_N "(cached) $ECHO_C" >&6
69760 else
69764 ac_ext=cc
69765 ac_cpp='$CXXCPP $CPPFLAGS'
69766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69770 cat >conftest.$ac_ext <<_ACEOF
69771 /* confdefs.h. */
69772 _ACEOF
69773 cat confdefs.h >>conftest.$ac_ext
69774 cat >>conftest.$ac_ext <<_ACEOF
69775 /* end confdefs.h. */
69776 #include <math.h>
69778 main ()
69780 __builtin_abs(0);
69782 return 0;
69784 _ACEOF
69785 rm -f conftest.$ac_objext
69786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69787 (eval $ac_compile) 2>conftest.er1
69788 ac_status=$?
69789 grep -v '^ *+' conftest.er1 >conftest.err
69790 rm -f conftest.er1
69791 cat conftest.err >&5
69792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69793 (exit $ac_status); } &&
69794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69796 (eval $ac_try) 2>&5
69797 ac_status=$?
69798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69799 (exit $ac_status); }; } &&
69800 { ac_try='test -s conftest.$ac_objext'
69801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69802 (eval $ac_try) 2>&5
69803 ac_status=$?
69804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69805 (exit $ac_status); }; }; then
69806 glibcxx_cv_func___builtin_abs_use=yes
69807 else
69808 echo "$as_me: failed program was:" >&5
69809 sed 's/^/| /' conftest.$ac_ext >&5
69811 glibcxx_cv_func___builtin_abs_use=no
69813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69814 ac_ext=c
69815 ac_cpp='$CPP $CPPFLAGS'
69816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
69825 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
69826 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
69827 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
69828 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
69829 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
69830 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
69831 echo $ECHO_N "(cached) $ECHO_C" >&6
69832 else
69834 if test x$gcc_no_link = xyes; then
69835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69837 { (exit 1); exit 1; }; }
69839 cat >conftest.$ac_ext <<_ACEOF
69840 /* confdefs.h. */
69841 _ACEOF
69842 cat confdefs.h >>conftest.$ac_ext
69843 cat >>conftest.$ac_ext <<_ACEOF
69844 /* end confdefs.h. */
69845 #include <math.h>
69847 main ()
69849 __builtin_abs(0);
69851 return 0;
69853 _ACEOF
69854 rm -f conftest.$ac_objext conftest$ac_exeext
69855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69856 (eval $ac_link) 2>conftest.er1
69857 ac_status=$?
69858 grep -v '^ *+' conftest.er1 >conftest.err
69859 rm -f conftest.er1
69860 cat conftest.err >&5
69861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69862 (exit $ac_status); } &&
69863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69865 (eval $ac_try) 2>&5
69866 ac_status=$?
69867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69868 (exit $ac_status); }; } &&
69869 { ac_try='test -s conftest$ac_exeext'
69870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69871 (eval $ac_try) 2>&5
69872 ac_status=$?
69873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69874 (exit $ac_status); }; }; then
69875 glibcxx_cv_func___builtin_abs_link=yes
69876 else
69877 echo "$as_me: failed program was:" >&5
69878 sed 's/^/| /' conftest.$ac_ext >&5
69880 glibcxx_cv_func___builtin_abs_link=no
69882 rm -f conftest.err conftest.$ac_objext \
69883 conftest$ac_exeext conftest.$ac_ext
69888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
69889 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
69890 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
69891 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69893 cat >>confdefs.h <<_ACEOF
69894 #define ${ac_tr_func} 1
69895 _ACEOF
69901 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
69902 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
69903 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
69904 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
69905 echo $ECHO_N "(cached) $ECHO_C" >&6
69906 else
69910 ac_ext=cc
69911 ac_cpp='$CXXCPP $CPPFLAGS'
69912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69916 cat >conftest.$ac_ext <<_ACEOF
69917 /* confdefs.h. */
69918 _ACEOF
69919 cat confdefs.h >>conftest.$ac_ext
69920 cat >>conftest.$ac_ext <<_ACEOF
69921 /* end confdefs.h. */
69922 #include <math.h>
69924 main ()
69926 __builtin_fabsf(0);
69928 return 0;
69930 _ACEOF
69931 rm -f conftest.$ac_objext
69932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69933 (eval $ac_compile) 2>conftest.er1
69934 ac_status=$?
69935 grep -v '^ *+' conftest.er1 >conftest.err
69936 rm -f conftest.er1
69937 cat conftest.err >&5
69938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939 (exit $ac_status); } &&
69940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69942 (eval $ac_try) 2>&5
69943 ac_status=$?
69944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69945 (exit $ac_status); }; } &&
69946 { ac_try='test -s conftest.$ac_objext'
69947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69948 (eval $ac_try) 2>&5
69949 ac_status=$?
69950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69951 (exit $ac_status); }; }; then
69952 glibcxx_cv_func___builtin_fabsf_use=yes
69953 else
69954 echo "$as_me: failed program was:" >&5
69955 sed 's/^/| /' conftest.$ac_ext >&5
69957 glibcxx_cv_func___builtin_fabsf_use=no
69959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69960 ac_ext=c
69961 ac_cpp='$CPP $CPPFLAGS'
69962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69970 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
69971 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
69972 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
69973 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
69974 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
69975 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
69976 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
69977 echo $ECHO_N "(cached) $ECHO_C" >&6
69978 else
69980 if test x$gcc_no_link = xyes; then
69981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69983 { (exit 1); exit 1; }; }
69985 cat >conftest.$ac_ext <<_ACEOF
69986 /* confdefs.h. */
69987 _ACEOF
69988 cat confdefs.h >>conftest.$ac_ext
69989 cat >>conftest.$ac_ext <<_ACEOF
69990 /* end confdefs.h. */
69991 #include <math.h>
69993 main ()
69995 __builtin_fabsf(0);
69997 return 0;
69999 _ACEOF
70000 rm -f conftest.$ac_objext conftest$ac_exeext
70001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70002 (eval $ac_link) 2>conftest.er1
70003 ac_status=$?
70004 grep -v '^ *+' conftest.er1 >conftest.err
70005 rm -f conftest.er1
70006 cat conftest.err >&5
70007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70008 (exit $ac_status); } &&
70009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70011 (eval $ac_try) 2>&5
70012 ac_status=$?
70013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70014 (exit $ac_status); }; } &&
70015 { ac_try='test -s conftest$ac_exeext'
70016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70017 (eval $ac_try) 2>&5
70018 ac_status=$?
70019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70020 (exit $ac_status); }; }; then
70021 glibcxx_cv_func___builtin_fabsf_link=yes
70022 else
70023 echo "$as_me: failed program was:" >&5
70024 sed 's/^/| /' conftest.$ac_ext >&5
70026 glibcxx_cv_func___builtin_fabsf_link=no
70028 rm -f conftest.err conftest.$ac_objext \
70029 conftest$ac_exeext conftest.$ac_ext
70034 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70035 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70036 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70037 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70039 cat >>confdefs.h <<_ACEOF
70040 #define ${ac_tr_func} 1
70041 _ACEOF
70047 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70048 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70049 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70050 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70051 echo $ECHO_N "(cached) $ECHO_C" >&6
70052 else
70056 ac_ext=cc
70057 ac_cpp='$CXXCPP $CPPFLAGS'
70058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70062 cat >conftest.$ac_ext <<_ACEOF
70063 /* confdefs.h. */
70064 _ACEOF
70065 cat confdefs.h >>conftest.$ac_ext
70066 cat >>conftest.$ac_ext <<_ACEOF
70067 /* end confdefs.h. */
70068 #include <math.h>
70070 main ()
70072 __builtin_fabs(0);
70074 return 0;
70076 _ACEOF
70077 rm -f conftest.$ac_objext
70078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70079 (eval $ac_compile) 2>conftest.er1
70080 ac_status=$?
70081 grep -v '^ *+' conftest.er1 >conftest.err
70082 rm -f conftest.er1
70083 cat conftest.err >&5
70084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70085 (exit $ac_status); } &&
70086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70088 (eval $ac_try) 2>&5
70089 ac_status=$?
70090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70091 (exit $ac_status); }; } &&
70092 { ac_try='test -s conftest.$ac_objext'
70093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70094 (eval $ac_try) 2>&5
70095 ac_status=$?
70096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70097 (exit $ac_status); }; }; then
70098 glibcxx_cv_func___builtin_fabs_use=yes
70099 else
70100 echo "$as_me: failed program was:" >&5
70101 sed 's/^/| /' conftest.$ac_ext >&5
70103 glibcxx_cv_func___builtin_fabs_use=no
70105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70106 ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70116 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70117 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70118 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70119 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70120 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70121 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70122 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70123 echo $ECHO_N "(cached) $ECHO_C" >&6
70124 else
70126 if test x$gcc_no_link = xyes; then
70127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70129 { (exit 1); exit 1; }; }
70131 cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h. */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h. */
70137 #include <math.h>
70139 main ()
70141 __builtin_fabs(0);
70143 return 0;
70145 _ACEOF
70146 rm -f conftest.$ac_objext conftest$ac_exeext
70147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70148 (eval $ac_link) 2>conftest.er1
70149 ac_status=$?
70150 grep -v '^ *+' conftest.er1 >conftest.err
70151 rm -f conftest.er1
70152 cat conftest.err >&5
70153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70154 (exit $ac_status); } &&
70155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70157 (eval $ac_try) 2>&5
70158 ac_status=$?
70159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70160 (exit $ac_status); }; } &&
70161 { ac_try='test -s conftest$ac_exeext'
70162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70163 (eval $ac_try) 2>&5
70164 ac_status=$?
70165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70166 (exit $ac_status); }; }; then
70167 glibcxx_cv_func___builtin_fabs_link=yes
70168 else
70169 echo "$as_me: failed program was:" >&5
70170 sed 's/^/| /' conftest.$ac_ext >&5
70172 glibcxx_cv_func___builtin_fabs_link=no
70174 rm -f conftest.err conftest.$ac_objext \
70175 conftest$ac_exeext conftest.$ac_ext
70180 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70181 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70182 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70183 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70185 cat >>confdefs.h <<_ACEOF
70186 #define ${ac_tr_func} 1
70187 _ACEOF
70193 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70194 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70195 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70196 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70197 echo $ECHO_N "(cached) $ECHO_C" >&6
70198 else
70202 ac_ext=cc
70203 ac_cpp='$CXXCPP $CPPFLAGS'
70204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208 cat >conftest.$ac_ext <<_ACEOF
70209 /* confdefs.h. */
70210 _ACEOF
70211 cat confdefs.h >>conftest.$ac_ext
70212 cat >>conftest.$ac_ext <<_ACEOF
70213 /* end confdefs.h. */
70214 #include <math.h>
70216 main ()
70218 __builtin_fabsl(0);
70220 return 0;
70222 _ACEOF
70223 rm -f conftest.$ac_objext
70224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70225 (eval $ac_compile) 2>conftest.er1
70226 ac_status=$?
70227 grep -v '^ *+' conftest.er1 >conftest.err
70228 rm -f conftest.er1
70229 cat conftest.err >&5
70230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70231 (exit $ac_status); } &&
70232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70234 (eval $ac_try) 2>&5
70235 ac_status=$?
70236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70237 (exit $ac_status); }; } &&
70238 { ac_try='test -s conftest.$ac_objext'
70239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70240 (eval $ac_try) 2>&5
70241 ac_status=$?
70242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70243 (exit $ac_status); }; }; then
70244 glibcxx_cv_func___builtin_fabsl_use=yes
70245 else
70246 echo "$as_me: failed program was:" >&5
70247 sed 's/^/| /' conftest.$ac_ext >&5
70249 glibcxx_cv_func___builtin_fabsl_use=no
70251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70252 ac_ext=c
70253 ac_cpp='$CPP $CPPFLAGS'
70254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70263 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70264 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70265 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70266 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70267 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70268 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70269 echo $ECHO_N "(cached) $ECHO_C" >&6
70270 else
70272 if test x$gcc_no_link = xyes; then
70273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70275 { (exit 1); exit 1; }; }
70277 cat >conftest.$ac_ext <<_ACEOF
70278 /* confdefs.h. */
70279 _ACEOF
70280 cat confdefs.h >>conftest.$ac_ext
70281 cat >>conftest.$ac_ext <<_ACEOF
70282 /* end confdefs.h. */
70283 #include <math.h>
70285 main ()
70287 __builtin_fabsl(0);
70289 return 0;
70291 _ACEOF
70292 rm -f conftest.$ac_objext conftest$ac_exeext
70293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70294 (eval $ac_link) 2>conftest.er1
70295 ac_status=$?
70296 grep -v '^ *+' conftest.er1 >conftest.err
70297 rm -f conftest.er1
70298 cat conftest.err >&5
70299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70300 (exit $ac_status); } &&
70301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70303 (eval $ac_try) 2>&5
70304 ac_status=$?
70305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70306 (exit $ac_status); }; } &&
70307 { ac_try='test -s conftest$ac_exeext'
70308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70309 (eval $ac_try) 2>&5
70310 ac_status=$?
70311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312 (exit $ac_status); }; }; then
70313 glibcxx_cv_func___builtin_fabsl_link=yes
70314 else
70315 echo "$as_me: failed program was:" >&5
70316 sed 's/^/| /' conftest.$ac_ext >&5
70318 glibcxx_cv_func___builtin_fabsl_link=no
70320 rm -f conftest.err conftest.$ac_objext \
70321 conftest$ac_exeext conftest.$ac_ext
70326 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70327 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70328 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70329 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70331 cat >>confdefs.h <<_ACEOF
70332 #define ${ac_tr_func} 1
70333 _ACEOF
70339 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70340 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70341 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70342 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70343 echo $ECHO_N "(cached) $ECHO_C" >&6
70344 else
70348 ac_ext=cc
70349 ac_cpp='$CXXCPP $CPPFLAGS'
70350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70354 cat >conftest.$ac_ext <<_ACEOF
70355 /* confdefs.h. */
70356 _ACEOF
70357 cat confdefs.h >>conftest.$ac_ext
70358 cat >>conftest.$ac_ext <<_ACEOF
70359 /* end confdefs.h. */
70360 #include <math.h>
70362 main ()
70364 __builtin_labs(0);
70366 return 0;
70368 _ACEOF
70369 rm -f conftest.$ac_objext
70370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70371 (eval $ac_compile) 2>conftest.er1
70372 ac_status=$?
70373 grep -v '^ *+' conftest.er1 >conftest.err
70374 rm -f conftest.er1
70375 cat conftest.err >&5
70376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70377 (exit $ac_status); } &&
70378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70380 (eval $ac_try) 2>&5
70381 ac_status=$?
70382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70383 (exit $ac_status); }; } &&
70384 { ac_try='test -s conftest.$ac_objext'
70385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70386 (eval $ac_try) 2>&5
70387 ac_status=$?
70388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70389 (exit $ac_status); }; }; then
70390 glibcxx_cv_func___builtin_labs_use=yes
70391 else
70392 echo "$as_me: failed program was:" >&5
70393 sed 's/^/| /' conftest.$ac_ext >&5
70395 glibcxx_cv_func___builtin_labs_use=no
70397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70398 ac_ext=c
70399 ac_cpp='$CPP $CPPFLAGS'
70400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70408 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
70409 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
70410 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
70411 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
70412 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
70413 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
70414 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
70415 echo $ECHO_N "(cached) $ECHO_C" >&6
70416 else
70418 if test x$gcc_no_link = xyes; then
70419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70421 { (exit 1); exit 1; }; }
70423 cat >conftest.$ac_ext <<_ACEOF
70424 /* confdefs.h. */
70425 _ACEOF
70426 cat confdefs.h >>conftest.$ac_ext
70427 cat >>conftest.$ac_ext <<_ACEOF
70428 /* end confdefs.h. */
70429 #include <math.h>
70431 main ()
70433 __builtin_labs(0);
70435 return 0;
70437 _ACEOF
70438 rm -f conftest.$ac_objext conftest$ac_exeext
70439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70440 (eval $ac_link) 2>conftest.er1
70441 ac_status=$?
70442 grep -v '^ *+' conftest.er1 >conftest.err
70443 rm -f conftest.er1
70444 cat conftest.err >&5
70445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70446 (exit $ac_status); } &&
70447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70449 (eval $ac_try) 2>&5
70450 ac_status=$?
70451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70452 (exit $ac_status); }; } &&
70453 { ac_try='test -s conftest$ac_exeext'
70454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70455 (eval $ac_try) 2>&5
70456 ac_status=$?
70457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70458 (exit $ac_status); }; }; then
70459 glibcxx_cv_func___builtin_labs_link=yes
70460 else
70461 echo "$as_me: failed program was:" >&5
70462 sed 's/^/| /' conftest.$ac_ext >&5
70464 glibcxx_cv_func___builtin_labs_link=no
70466 rm -f conftest.err conftest.$ac_objext \
70467 conftest$ac_exeext conftest.$ac_ext
70472 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
70473 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
70474 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
70475 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70477 cat >>confdefs.h <<_ACEOF
70478 #define ${ac_tr_func} 1
70479 _ACEOF
70486 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
70487 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
70488 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
70489 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
70490 echo $ECHO_N "(cached) $ECHO_C" >&6
70491 else
70495 ac_ext=cc
70496 ac_cpp='$CXXCPP $CPPFLAGS'
70497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70501 cat >conftest.$ac_ext <<_ACEOF
70502 /* confdefs.h. */
70503 _ACEOF
70504 cat confdefs.h >>conftest.$ac_ext
70505 cat >>conftest.$ac_ext <<_ACEOF
70506 /* end confdefs.h. */
70507 #include <math.h>
70509 main ()
70511 __builtin_sqrtf(0);
70513 return 0;
70515 _ACEOF
70516 rm -f conftest.$ac_objext
70517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70518 (eval $ac_compile) 2>conftest.er1
70519 ac_status=$?
70520 grep -v '^ *+' conftest.er1 >conftest.err
70521 rm -f conftest.er1
70522 cat conftest.err >&5
70523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70524 (exit $ac_status); } &&
70525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70527 (eval $ac_try) 2>&5
70528 ac_status=$?
70529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70530 (exit $ac_status); }; } &&
70531 { ac_try='test -s conftest.$ac_objext'
70532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70533 (eval $ac_try) 2>&5
70534 ac_status=$?
70535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70536 (exit $ac_status); }; }; then
70537 glibcxx_cv_func___builtin_sqrtf_use=yes
70538 else
70539 echo "$as_me: failed program was:" >&5
70540 sed 's/^/| /' conftest.$ac_ext >&5
70542 glibcxx_cv_func___builtin_sqrtf_use=no
70544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70545 ac_ext=c
70546 ac_cpp='$CPP $CPPFLAGS'
70547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70555 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
70556 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
70557 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
70558 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
70559 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
70560 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
70561 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
70562 echo $ECHO_N "(cached) $ECHO_C" >&6
70563 else
70565 if test x$gcc_no_link = xyes; then
70566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70568 { (exit 1); exit 1; }; }
70570 cat >conftest.$ac_ext <<_ACEOF
70571 /* confdefs.h. */
70572 _ACEOF
70573 cat confdefs.h >>conftest.$ac_ext
70574 cat >>conftest.$ac_ext <<_ACEOF
70575 /* end confdefs.h. */
70576 #include <math.h>
70578 main ()
70580 __builtin_sqrtf(0);
70582 return 0;
70584 _ACEOF
70585 rm -f conftest.$ac_objext conftest$ac_exeext
70586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70587 (eval $ac_link) 2>conftest.er1
70588 ac_status=$?
70589 grep -v '^ *+' conftest.er1 >conftest.err
70590 rm -f conftest.er1
70591 cat conftest.err >&5
70592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70593 (exit $ac_status); } &&
70594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70596 (eval $ac_try) 2>&5
70597 ac_status=$?
70598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70599 (exit $ac_status); }; } &&
70600 { ac_try='test -s conftest$ac_exeext'
70601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70602 (eval $ac_try) 2>&5
70603 ac_status=$?
70604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70605 (exit $ac_status); }; }; then
70606 glibcxx_cv_func___builtin_sqrtf_link=yes
70607 else
70608 echo "$as_me: failed program was:" >&5
70609 sed 's/^/| /' conftest.$ac_ext >&5
70611 glibcxx_cv_func___builtin_sqrtf_link=no
70613 rm -f conftest.err conftest.$ac_objext \
70614 conftest$ac_exeext conftest.$ac_ext
70619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
70620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
70621 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
70622 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70624 cat >>confdefs.h <<_ACEOF
70625 #define ${ac_tr_func} 1
70626 _ACEOF
70632 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
70633 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
70634 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
70635 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
70636 echo $ECHO_N "(cached) $ECHO_C" >&6
70637 else
70641 ac_ext=cc
70642 ac_cpp='$CXXCPP $CPPFLAGS'
70643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70647 cat >conftest.$ac_ext <<_ACEOF
70648 /* confdefs.h. */
70649 _ACEOF
70650 cat confdefs.h >>conftest.$ac_ext
70651 cat >>conftest.$ac_ext <<_ACEOF
70652 /* end confdefs.h. */
70653 #include <math.h>
70655 main ()
70657 __builtin_sqrt(0);
70659 return 0;
70661 _ACEOF
70662 rm -f conftest.$ac_objext
70663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70664 (eval $ac_compile) 2>conftest.er1
70665 ac_status=$?
70666 grep -v '^ *+' conftest.er1 >conftest.err
70667 rm -f conftest.er1
70668 cat conftest.err >&5
70669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70670 (exit $ac_status); } &&
70671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70673 (eval $ac_try) 2>&5
70674 ac_status=$?
70675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70676 (exit $ac_status); }; } &&
70677 { ac_try='test -s conftest.$ac_objext'
70678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70679 (eval $ac_try) 2>&5
70680 ac_status=$?
70681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70682 (exit $ac_status); }; }; then
70683 glibcxx_cv_func___builtin_sqrt_use=yes
70684 else
70685 echo "$as_me: failed program was:" >&5
70686 sed 's/^/| /' conftest.$ac_ext >&5
70688 glibcxx_cv_func___builtin_sqrt_use=no
70690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70691 ac_ext=c
70692 ac_cpp='$CPP $CPPFLAGS'
70693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
70702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
70703 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
70704 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
70705 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
70706 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
70707 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
70708 echo $ECHO_N "(cached) $ECHO_C" >&6
70709 else
70711 if test x$gcc_no_link = xyes; then
70712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70714 { (exit 1); exit 1; }; }
70716 cat >conftest.$ac_ext <<_ACEOF
70717 /* confdefs.h. */
70718 _ACEOF
70719 cat confdefs.h >>conftest.$ac_ext
70720 cat >>conftest.$ac_ext <<_ACEOF
70721 /* end confdefs.h. */
70722 #include <math.h>
70724 main ()
70726 __builtin_sqrt(0);
70728 return 0;
70730 _ACEOF
70731 rm -f conftest.$ac_objext conftest$ac_exeext
70732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70733 (eval $ac_link) 2>conftest.er1
70734 ac_status=$?
70735 grep -v '^ *+' conftest.er1 >conftest.err
70736 rm -f conftest.er1
70737 cat conftest.err >&5
70738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70739 (exit $ac_status); } &&
70740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70742 (eval $ac_try) 2>&5
70743 ac_status=$?
70744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70745 (exit $ac_status); }; } &&
70746 { ac_try='test -s conftest$ac_exeext'
70747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70748 (eval $ac_try) 2>&5
70749 ac_status=$?
70750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70751 (exit $ac_status); }; }; then
70752 glibcxx_cv_func___builtin_sqrt_link=yes
70753 else
70754 echo "$as_me: failed program was:" >&5
70755 sed 's/^/| /' conftest.$ac_ext >&5
70757 glibcxx_cv_func___builtin_sqrt_link=no
70759 rm -f conftest.err conftest.$ac_objext \
70760 conftest$ac_exeext conftest.$ac_ext
70765 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
70766 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
70767 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
70768 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70770 cat >>confdefs.h <<_ACEOF
70771 #define ${ac_tr_func} 1
70772 _ACEOF
70778 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
70779 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
70780 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
70781 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
70782 echo $ECHO_N "(cached) $ECHO_C" >&6
70783 else
70787 ac_ext=cc
70788 ac_cpp='$CXXCPP $CPPFLAGS'
70789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70793 cat >conftest.$ac_ext <<_ACEOF
70794 /* confdefs.h. */
70795 _ACEOF
70796 cat confdefs.h >>conftest.$ac_ext
70797 cat >>conftest.$ac_ext <<_ACEOF
70798 /* end confdefs.h. */
70799 #include <math.h>
70801 main ()
70803 __builtin_sqrtl(0);
70805 return 0;
70807 _ACEOF
70808 rm -f conftest.$ac_objext
70809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70810 (eval $ac_compile) 2>conftest.er1
70811 ac_status=$?
70812 grep -v '^ *+' conftest.er1 >conftest.err
70813 rm -f conftest.er1
70814 cat conftest.err >&5
70815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70816 (exit $ac_status); } &&
70817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70819 (eval $ac_try) 2>&5
70820 ac_status=$?
70821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70822 (exit $ac_status); }; } &&
70823 { ac_try='test -s conftest.$ac_objext'
70824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70825 (eval $ac_try) 2>&5
70826 ac_status=$?
70827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70828 (exit $ac_status); }; }; then
70829 glibcxx_cv_func___builtin_sqrtl_use=yes
70830 else
70831 echo "$as_me: failed program was:" >&5
70832 sed 's/^/| /' conftest.$ac_ext >&5
70834 glibcxx_cv_func___builtin_sqrtl_use=no
70836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70837 ac_ext=c
70838 ac_cpp='$CPP $CPPFLAGS'
70839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
70848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
70849 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
70850 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
70851 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
70852 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
70853 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
70854 echo $ECHO_N "(cached) $ECHO_C" >&6
70855 else
70857 if test x$gcc_no_link = xyes; then
70858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70860 { (exit 1); exit 1; }; }
70862 cat >conftest.$ac_ext <<_ACEOF
70863 /* confdefs.h. */
70864 _ACEOF
70865 cat confdefs.h >>conftest.$ac_ext
70866 cat >>conftest.$ac_ext <<_ACEOF
70867 /* end confdefs.h. */
70868 #include <math.h>
70870 main ()
70872 __builtin_sqrtl(0);
70874 return 0;
70876 _ACEOF
70877 rm -f conftest.$ac_objext conftest$ac_exeext
70878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70879 (eval $ac_link) 2>conftest.er1
70880 ac_status=$?
70881 grep -v '^ *+' conftest.er1 >conftest.err
70882 rm -f conftest.er1
70883 cat conftest.err >&5
70884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70885 (exit $ac_status); } &&
70886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70888 (eval $ac_try) 2>&5
70889 ac_status=$?
70890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891 (exit $ac_status); }; } &&
70892 { ac_try='test -s conftest$ac_exeext'
70893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70894 (eval $ac_try) 2>&5
70895 ac_status=$?
70896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70897 (exit $ac_status); }; }; then
70898 glibcxx_cv_func___builtin_sqrtl_link=yes
70899 else
70900 echo "$as_me: failed program was:" >&5
70901 sed 's/^/| /' conftest.$ac_ext >&5
70903 glibcxx_cv_func___builtin_sqrtl_link=no
70905 rm -f conftest.err conftest.$ac_objext \
70906 conftest$ac_exeext conftest.$ac_ext
70911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
70912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
70913 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
70914 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70916 cat >>confdefs.h <<_ACEOF
70917 #define ${ac_tr_func} 1
70918 _ACEOF
70925 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
70926 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
70927 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
70928 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
70929 echo $ECHO_N "(cached) $ECHO_C" >&6
70930 else
70934 ac_ext=cc
70935 ac_cpp='$CXXCPP $CPPFLAGS'
70936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70940 cat >conftest.$ac_ext <<_ACEOF
70941 /* confdefs.h. */
70942 _ACEOF
70943 cat confdefs.h >>conftest.$ac_ext
70944 cat >>conftest.$ac_ext <<_ACEOF
70945 /* end confdefs.h. */
70946 #include <math.h>
70948 main ()
70950 __builtin_sinf(0);
70952 return 0;
70954 _ACEOF
70955 rm -f conftest.$ac_objext
70956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70957 (eval $ac_compile) 2>conftest.er1
70958 ac_status=$?
70959 grep -v '^ *+' conftest.er1 >conftest.err
70960 rm -f conftest.er1
70961 cat conftest.err >&5
70962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70963 (exit $ac_status); } &&
70964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70966 (eval $ac_try) 2>&5
70967 ac_status=$?
70968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70969 (exit $ac_status); }; } &&
70970 { ac_try='test -s conftest.$ac_objext'
70971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70972 (eval $ac_try) 2>&5
70973 ac_status=$?
70974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70975 (exit $ac_status); }; }; then
70976 glibcxx_cv_func___builtin_sinf_use=yes
70977 else
70978 echo "$as_me: failed program was:" >&5
70979 sed 's/^/| /' conftest.$ac_ext >&5
70981 glibcxx_cv_func___builtin_sinf_use=no
70983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70984 ac_ext=c
70985 ac_cpp='$CPP $CPPFLAGS'
70986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
70995 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
70996 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
70997 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
70998 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
70999 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71000 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71001 echo $ECHO_N "(cached) $ECHO_C" >&6
71002 else
71004 if test x$gcc_no_link = xyes; then
71005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71007 { (exit 1); exit 1; }; }
71009 cat >conftest.$ac_ext <<_ACEOF
71010 /* confdefs.h. */
71011 _ACEOF
71012 cat confdefs.h >>conftest.$ac_ext
71013 cat >>conftest.$ac_ext <<_ACEOF
71014 /* end confdefs.h. */
71015 #include <math.h>
71017 main ()
71019 __builtin_sinf(0);
71021 return 0;
71023 _ACEOF
71024 rm -f conftest.$ac_objext conftest$ac_exeext
71025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71026 (eval $ac_link) 2>conftest.er1
71027 ac_status=$?
71028 grep -v '^ *+' conftest.er1 >conftest.err
71029 rm -f conftest.er1
71030 cat conftest.err >&5
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); } &&
71033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71035 (eval $ac_try) 2>&5
71036 ac_status=$?
71037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71038 (exit $ac_status); }; } &&
71039 { ac_try='test -s conftest$ac_exeext'
71040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71041 (eval $ac_try) 2>&5
71042 ac_status=$?
71043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71044 (exit $ac_status); }; }; then
71045 glibcxx_cv_func___builtin_sinf_link=yes
71046 else
71047 echo "$as_me: failed program was:" >&5
71048 sed 's/^/| /' conftest.$ac_ext >&5
71050 glibcxx_cv_func___builtin_sinf_link=no
71052 rm -f conftest.err conftest.$ac_objext \
71053 conftest$ac_exeext conftest.$ac_ext
71058 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71059 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71060 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71061 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71063 cat >>confdefs.h <<_ACEOF
71064 #define ${ac_tr_func} 1
71065 _ACEOF
71071 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71072 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71073 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71074 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71075 echo $ECHO_N "(cached) $ECHO_C" >&6
71076 else
71080 ac_ext=cc
71081 ac_cpp='$CXXCPP $CPPFLAGS'
71082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086 cat >conftest.$ac_ext <<_ACEOF
71087 /* confdefs.h. */
71088 _ACEOF
71089 cat confdefs.h >>conftest.$ac_ext
71090 cat >>conftest.$ac_ext <<_ACEOF
71091 /* end confdefs.h. */
71092 #include <math.h>
71094 main ()
71096 __builtin_sin(0);
71098 return 0;
71100 _ACEOF
71101 rm -f conftest.$ac_objext
71102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71103 (eval $ac_compile) 2>conftest.er1
71104 ac_status=$?
71105 grep -v '^ *+' conftest.er1 >conftest.err
71106 rm -f conftest.er1
71107 cat conftest.err >&5
71108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71109 (exit $ac_status); } &&
71110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71112 (eval $ac_try) 2>&5
71113 ac_status=$?
71114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71115 (exit $ac_status); }; } &&
71116 { ac_try='test -s conftest.$ac_objext'
71117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71118 (eval $ac_try) 2>&5
71119 ac_status=$?
71120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71121 (exit $ac_status); }; }; then
71122 glibcxx_cv_func___builtin_sin_use=yes
71123 else
71124 echo "$as_me: failed program was:" >&5
71125 sed 's/^/| /' conftest.$ac_ext >&5
71127 glibcxx_cv_func___builtin_sin_use=no
71129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71130 ac_ext=c
71131 ac_cpp='$CPP $CPPFLAGS'
71132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71140 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71141 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71142 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71143 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71144 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71145 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71146 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71147 echo $ECHO_N "(cached) $ECHO_C" >&6
71148 else
71150 if test x$gcc_no_link = xyes; then
71151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71153 { (exit 1); exit 1; }; }
71155 cat >conftest.$ac_ext <<_ACEOF
71156 /* confdefs.h. */
71157 _ACEOF
71158 cat confdefs.h >>conftest.$ac_ext
71159 cat >>conftest.$ac_ext <<_ACEOF
71160 /* end confdefs.h. */
71161 #include <math.h>
71163 main ()
71165 __builtin_sin(0);
71167 return 0;
71169 _ACEOF
71170 rm -f conftest.$ac_objext conftest$ac_exeext
71171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71172 (eval $ac_link) 2>conftest.er1
71173 ac_status=$?
71174 grep -v '^ *+' conftest.er1 >conftest.err
71175 rm -f conftest.er1
71176 cat conftest.err >&5
71177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71178 (exit $ac_status); } &&
71179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71181 (eval $ac_try) 2>&5
71182 ac_status=$?
71183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71184 (exit $ac_status); }; } &&
71185 { ac_try='test -s conftest$ac_exeext'
71186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71187 (eval $ac_try) 2>&5
71188 ac_status=$?
71189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71190 (exit $ac_status); }; }; then
71191 glibcxx_cv_func___builtin_sin_link=yes
71192 else
71193 echo "$as_me: failed program was:" >&5
71194 sed 's/^/| /' conftest.$ac_ext >&5
71196 glibcxx_cv_func___builtin_sin_link=no
71198 rm -f conftest.err conftest.$ac_objext \
71199 conftest$ac_exeext conftest.$ac_ext
71204 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71205 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71206 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71207 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71209 cat >>confdefs.h <<_ACEOF
71210 #define ${ac_tr_func} 1
71211 _ACEOF
71217 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71218 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71219 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71220 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71221 echo $ECHO_N "(cached) $ECHO_C" >&6
71222 else
71226 ac_ext=cc
71227 ac_cpp='$CXXCPP $CPPFLAGS'
71228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71232 cat >conftest.$ac_ext <<_ACEOF
71233 /* confdefs.h. */
71234 _ACEOF
71235 cat confdefs.h >>conftest.$ac_ext
71236 cat >>conftest.$ac_ext <<_ACEOF
71237 /* end confdefs.h. */
71238 #include <math.h>
71240 main ()
71242 __builtin_sinl(0);
71244 return 0;
71246 _ACEOF
71247 rm -f conftest.$ac_objext
71248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71249 (eval $ac_compile) 2>conftest.er1
71250 ac_status=$?
71251 grep -v '^ *+' conftest.er1 >conftest.err
71252 rm -f conftest.er1
71253 cat conftest.err >&5
71254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71255 (exit $ac_status); } &&
71256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71258 (eval $ac_try) 2>&5
71259 ac_status=$?
71260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71261 (exit $ac_status); }; } &&
71262 { ac_try='test -s conftest.$ac_objext'
71263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71264 (eval $ac_try) 2>&5
71265 ac_status=$?
71266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71267 (exit $ac_status); }; }; then
71268 glibcxx_cv_func___builtin_sinl_use=yes
71269 else
71270 echo "$as_me: failed program was:" >&5
71271 sed 's/^/| /' conftest.$ac_ext >&5
71273 glibcxx_cv_func___builtin_sinl_use=no
71275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71276 ac_ext=c
71277 ac_cpp='$CPP $CPPFLAGS'
71278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71286 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71287 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71288 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71289 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71290 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71291 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71292 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71293 echo $ECHO_N "(cached) $ECHO_C" >&6
71294 else
71296 if test x$gcc_no_link = xyes; then
71297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71299 { (exit 1); exit 1; }; }
71301 cat >conftest.$ac_ext <<_ACEOF
71302 /* confdefs.h. */
71303 _ACEOF
71304 cat confdefs.h >>conftest.$ac_ext
71305 cat >>conftest.$ac_ext <<_ACEOF
71306 /* end confdefs.h. */
71307 #include <math.h>
71309 main ()
71311 __builtin_sinl(0);
71313 return 0;
71315 _ACEOF
71316 rm -f conftest.$ac_objext conftest$ac_exeext
71317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71318 (eval $ac_link) 2>conftest.er1
71319 ac_status=$?
71320 grep -v '^ *+' conftest.er1 >conftest.err
71321 rm -f conftest.er1
71322 cat conftest.err >&5
71323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71324 (exit $ac_status); } &&
71325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71327 (eval $ac_try) 2>&5
71328 ac_status=$?
71329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71330 (exit $ac_status); }; } &&
71331 { ac_try='test -s conftest$ac_exeext'
71332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71333 (eval $ac_try) 2>&5
71334 ac_status=$?
71335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71336 (exit $ac_status); }; }; then
71337 glibcxx_cv_func___builtin_sinl_link=yes
71338 else
71339 echo "$as_me: failed program was:" >&5
71340 sed 's/^/| /' conftest.$ac_ext >&5
71342 glibcxx_cv_func___builtin_sinl_link=no
71344 rm -f conftest.err conftest.$ac_objext \
71345 conftest$ac_exeext conftest.$ac_ext
71350 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71351 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71352 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71353 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71355 cat >>confdefs.h <<_ACEOF
71356 #define ${ac_tr_func} 1
71357 _ACEOF
71364 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71365 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71366 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71367 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71368 echo $ECHO_N "(cached) $ECHO_C" >&6
71369 else
71373 ac_ext=cc
71374 ac_cpp='$CXXCPP $CPPFLAGS'
71375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71379 cat >conftest.$ac_ext <<_ACEOF
71380 /* confdefs.h. */
71381 _ACEOF
71382 cat confdefs.h >>conftest.$ac_ext
71383 cat >>conftest.$ac_ext <<_ACEOF
71384 /* end confdefs.h. */
71385 #include <math.h>
71387 main ()
71389 __builtin_cosf(0);
71391 return 0;
71393 _ACEOF
71394 rm -f conftest.$ac_objext
71395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71396 (eval $ac_compile) 2>conftest.er1
71397 ac_status=$?
71398 grep -v '^ *+' conftest.er1 >conftest.err
71399 rm -f conftest.er1
71400 cat conftest.err >&5
71401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71402 (exit $ac_status); } &&
71403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71405 (eval $ac_try) 2>&5
71406 ac_status=$?
71407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408 (exit $ac_status); }; } &&
71409 { ac_try='test -s conftest.$ac_objext'
71410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71411 (eval $ac_try) 2>&5
71412 ac_status=$?
71413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71414 (exit $ac_status); }; }; then
71415 glibcxx_cv_func___builtin_cosf_use=yes
71416 else
71417 echo "$as_me: failed program was:" >&5
71418 sed 's/^/| /' conftest.$ac_ext >&5
71420 glibcxx_cv_func___builtin_cosf_use=no
71422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71423 ac_ext=c
71424 ac_cpp='$CPP $CPPFLAGS'
71425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71433 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
71434 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
71435 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
71436 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
71437 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
71438 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
71439 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
71440 echo $ECHO_N "(cached) $ECHO_C" >&6
71441 else
71443 if test x$gcc_no_link = xyes; then
71444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71446 { (exit 1); exit 1; }; }
71448 cat >conftest.$ac_ext <<_ACEOF
71449 /* confdefs.h. */
71450 _ACEOF
71451 cat confdefs.h >>conftest.$ac_ext
71452 cat >>conftest.$ac_ext <<_ACEOF
71453 /* end confdefs.h. */
71454 #include <math.h>
71456 main ()
71458 __builtin_cosf(0);
71460 return 0;
71462 _ACEOF
71463 rm -f conftest.$ac_objext conftest$ac_exeext
71464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71465 (eval $ac_link) 2>conftest.er1
71466 ac_status=$?
71467 grep -v '^ *+' conftest.er1 >conftest.err
71468 rm -f conftest.er1
71469 cat conftest.err >&5
71470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71471 (exit $ac_status); } &&
71472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71474 (eval $ac_try) 2>&5
71475 ac_status=$?
71476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71477 (exit $ac_status); }; } &&
71478 { ac_try='test -s conftest$ac_exeext'
71479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71480 (eval $ac_try) 2>&5
71481 ac_status=$?
71482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71483 (exit $ac_status); }; }; then
71484 glibcxx_cv_func___builtin_cosf_link=yes
71485 else
71486 echo "$as_me: failed program was:" >&5
71487 sed 's/^/| /' conftest.$ac_ext >&5
71489 glibcxx_cv_func___builtin_cosf_link=no
71491 rm -f conftest.err conftest.$ac_objext \
71492 conftest$ac_exeext conftest.$ac_ext
71497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
71498 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
71499 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
71500 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71502 cat >>confdefs.h <<_ACEOF
71503 #define ${ac_tr_func} 1
71504 _ACEOF
71510 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
71511 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
71512 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
71513 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
71514 echo $ECHO_N "(cached) $ECHO_C" >&6
71515 else
71519 ac_ext=cc
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71525 cat >conftest.$ac_ext <<_ACEOF
71526 /* confdefs.h. */
71527 _ACEOF
71528 cat confdefs.h >>conftest.$ac_ext
71529 cat >>conftest.$ac_ext <<_ACEOF
71530 /* end confdefs.h. */
71531 #include <math.h>
71533 main ()
71535 __builtin_cos(0);
71537 return 0;
71539 _ACEOF
71540 rm -f conftest.$ac_objext
71541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71542 (eval $ac_compile) 2>conftest.er1
71543 ac_status=$?
71544 grep -v '^ *+' conftest.er1 >conftest.err
71545 rm -f conftest.er1
71546 cat conftest.err >&5
71547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71548 (exit $ac_status); } &&
71549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71551 (eval $ac_try) 2>&5
71552 ac_status=$?
71553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554 (exit $ac_status); }; } &&
71555 { ac_try='test -s conftest.$ac_objext'
71556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71557 (eval $ac_try) 2>&5
71558 ac_status=$?
71559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71560 (exit $ac_status); }; }; then
71561 glibcxx_cv_func___builtin_cos_use=yes
71562 else
71563 echo "$as_me: failed program was:" >&5
71564 sed 's/^/| /' conftest.$ac_ext >&5
71566 glibcxx_cv_func___builtin_cos_use=no
71568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71569 ac_ext=c
71570 ac_cpp='$CPP $CPPFLAGS'
71571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
71580 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
71581 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
71582 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
71583 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
71584 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
71585 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
71586 echo $ECHO_N "(cached) $ECHO_C" >&6
71587 else
71589 if test x$gcc_no_link = xyes; then
71590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71592 { (exit 1); exit 1; }; }
71594 cat >conftest.$ac_ext <<_ACEOF
71595 /* confdefs.h. */
71596 _ACEOF
71597 cat confdefs.h >>conftest.$ac_ext
71598 cat >>conftest.$ac_ext <<_ACEOF
71599 /* end confdefs.h. */
71600 #include <math.h>
71602 main ()
71604 __builtin_cos(0);
71606 return 0;
71608 _ACEOF
71609 rm -f conftest.$ac_objext conftest$ac_exeext
71610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71611 (eval $ac_link) 2>conftest.er1
71612 ac_status=$?
71613 grep -v '^ *+' conftest.er1 >conftest.err
71614 rm -f conftest.er1
71615 cat conftest.err >&5
71616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71617 (exit $ac_status); } &&
71618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71620 (eval $ac_try) 2>&5
71621 ac_status=$?
71622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71623 (exit $ac_status); }; } &&
71624 { ac_try='test -s conftest$ac_exeext'
71625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71626 (eval $ac_try) 2>&5
71627 ac_status=$?
71628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629 (exit $ac_status); }; }; then
71630 glibcxx_cv_func___builtin_cos_link=yes
71631 else
71632 echo "$as_me: failed program was:" >&5
71633 sed 's/^/| /' conftest.$ac_ext >&5
71635 glibcxx_cv_func___builtin_cos_link=no
71637 rm -f conftest.err conftest.$ac_objext \
71638 conftest$ac_exeext conftest.$ac_ext
71643 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
71644 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
71645 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
71646 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71648 cat >>confdefs.h <<_ACEOF
71649 #define ${ac_tr_func} 1
71650 _ACEOF
71656 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
71657 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
71658 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
71659 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
71660 echo $ECHO_N "(cached) $ECHO_C" >&6
71661 else
71665 ac_ext=cc
71666 ac_cpp='$CXXCPP $CPPFLAGS'
71667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71671 cat >conftest.$ac_ext <<_ACEOF
71672 /* confdefs.h. */
71673 _ACEOF
71674 cat confdefs.h >>conftest.$ac_ext
71675 cat >>conftest.$ac_ext <<_ACEOF
71676 /* end confdefs.h. */
71677 #include <math.h>
71679 main ()
71681 __builtin_cosl(0);
71683 return 0;
71685 _ACEOF
71686 rm -f conftest.$ac_objext
71687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71688 (eval $ac_compile) 2>conftest.er1
71689 ac_status=$?
71690 grep -v '^ *+' conftest.er1 >conftest.err
71691 rm -f conftest.er1
71692 cat conftest.err >&5
71693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71694 (exit $ac_status); } &&
71695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71697 (eval $ac_try) 2>&5
71698 ac_status=$?
71699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71700 (exit $ac_status); }; } &&
71701 { ac_try='test -s conftest.$ac_objext'
71702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703 (eval $ac_try) 2>&5
71704 ac_status=$?
71705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706 (exit $ac_status); }; }; then
71707 glibcxx_cv_func___builtin_cosl_use=yes
71708 else
71709 echo "$as_me: failed program was:" >&5
71710 sed 's/^/| /' conftest.$ac_ext >&5
71712 glibcxx_cv_func___builtin_cosl_use=no
71714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71715 ac_ext=c
71716 ac_cpp='$CPP $CPPFLAGS'
71717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
71726 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
71727 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
71728 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
71729 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
71730 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
71731 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
71732 echo $ECHO_N "(cached) $ECHO_C" >&6
71733 else
71735 if test x$gcc_no_link = xyes; then
71736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71738 { (exit 1); exit 1; }; }
71740 cat >conftest.$ac_ext <<_ACEOF
71741 /* confdefs.h. */
71742 _ACEOF
71743 cat confdefs.h >>conftest.$ac_ext
71744 cat >>conftest.$ac_ext <<_ACEOF
71745 /* end confdefs.h. */
71746 #include <math.h>
71748 main ()
71750 __builtin_cosl(0);
71752 return 0;
71754 _ACEOF
71755 rm -f conftest.$ac_objext conftest$ac_exeext
71756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71757 (eval $ac_link) 2>conftest.er1
71758 ac_status=$?
71759 grep -v '^ *+' conftest.er1 >conftest.err
71760 rm -f conftest.er1
71761 cat conftest.err >&5
71762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71763 (exit $ac_status); } &&
71764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71766 (eval $ac_try) 2>&5
71767 ac_status=$?
71768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71769 (exit $ac_status); }; } &&
71770 { ac_try='test -s conftest$ac_exeext'
71771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71772 (eval $ac_try) 2>&5
71773 ac_status=$?
71774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71775 (exit $ac_status); }; }; then
71776 glibcxx_cv_func___builtin_cosl_link=yes
71777 else
71778 echo "$as_me: failed program was:" >&5
71779 sed 's/^/| /' conftest.$ac_ext >&5
71781 glibcxx_cv_func___builtin_cosl_link=no
71783 rm -f conftest.err conftest.$ac_objext \
71784 conftest$ac_exeext conftest.$ac_ext
71789 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
71790 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
71791 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
71792 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71794 cat >>confdefs.h <<_ACEOF
71795 #define ${ac_tr_func} 1
71796 _ACEOF
71804 echo "$as_me:$LINENO: checking for main in -lm" >&5
71805 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
71806 if test "${ac_cv_lib_m_main+set}" = set; then
71807 echo $ECHO_N "(cached) $ECHO_C" >&6
71808 else
71809 ac_check_lib_save_LIBS=$LIBS
71810 LIBS="-lm $LIBS"
71811 if test x$gcc_no_link = xyes; then
71812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71814 { (exit 1); exit 1; }; }
71816 cat >conftest.$ac_ext <<_ACEOF
71817 /* confdefs.h. */
71818 _ACEOF
71819 cat confdefs.h >>conftest.$ac_ext
71820 cat >>conftest.$ac_ext <<_ACEOF
71821 /* end confdefs.h. */
71825 main ()
71827 main ();
71829 return 0;
71831 _ACEOF
71832 rm -f conftest.$ac_objext conftest$ac_exeext
71833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71834 (eval $ac_link) 2>conftest.er1
71835 ac_status=$?
71836 grep -v '^ *+' conftest.er1 >conftest.err
71837 rm -f conftest.er1
71838 cat conftest.err >&5
71839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71840 (exit $ac_status); } &&
71841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71843 (eval $ac_try) 2>&5
71844 ac_status=$?
71845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71846 (exit $ac_status); }; } &&
71847 { ac_try='test -s conftest$ac_exeext'
71848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71849 (eval $ac_try) 2>&5
71850 ac_status=$?
71851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71852 (exit $ac_status); }; }; then
71853 ac_cv_lib_m_main=yes
71854 else
71855 echo "$as_me: failed program was:" >&5
71856 sed 's/^/| /' conftest.$ac_ext >&5
71858 ac_cv_lib_m_main=no
71860 rm -f conftest.err conftest.$ac_objext \
71861 conftest$ac_exeext conftest.$ac_ext
71862 LIBS=$ac_check_lib_save_LIBS
71864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
71865 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
71866 if test $ac_cv_lib_m_main = yes; then
71867 cat >>confdefs.h <<_ACEOF
71868 #define HAVE_LIBM 1
71869 _ACEOF
71871 LIBS="-lm $LIBS"
71876 for ac_func in copysignf
71878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71879 echo "$as_me:$LINENO: checking for $ac_func" >&5
71880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71881 if eval "test \"\${$as_ac_var+set}\" = set"; then
71882 echo $ECHO_N "(cached) $ECHO_C" >&6
71883 else
71884 if test x$gcc_no_link = xyes; then
71885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71887 { (exit 1); exit 1; }; }
71889 cat >conftest.$ac_ext <<_ACEOF
71890 /* confdefs.h. */
71891 _ACEOF
71892 cat confdefs.h >>conftest.$ac_ext
71893 cat >>conftest.$ac_ext <<_ACEOF
71894 /* end confdefs.h. */
71895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71897 #define $ac_func innocuous_$ac_func
71899 /* System header to define __stub macros and hopefully few prototypes,
71900 which can conflict with char $ac_func (); below.
71901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71902 <limits.h> exists even on freestanding compilers. */
71904 #ifdef __STDC__
71905 # include <limits.h>
71906 #else
71907 # include <assert.h>
71908 #endif
71910 #undef $ac_func
71912 /* Override any gcc2 internal prototype to avoid an error. */
71913 #ifdef __cplusplus
71914 extern "C"
71916 #endif
71917 /* We use char because int might match the return type of a gcc2
71918 builtin and then its argument prototype would still apply. */
71919 char $ac_func ();
71920 /* The GNU C library defines this for functions which it implements
71921 to always fail with ENOSYS. Some functions are actually named
71922 something starting with __ and the normal name is an alias. */
71923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71924 choke me
71925 #else
71926 char (*f) () = $ac_func;
71927 #endif
71928 #ifdef __cplusplus
71930 #endif
71933 main ()
71935 return f != $ac_func;
71937 return 0;
71939 _ACEOF
71940 rm -f conftest.$ac_objext conftest$ac_exeext
71941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71942 (eval $ac_link) 2>conftest.er1
71943 ac_status=$?
71944 grep -v '^ *+' conftest.er1 >conftest.err
71945 rm -f conftest.er1
71946 cat conftest.err >&5
71947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71948 (exit $ac_status); } &&
71949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71951 (eval $ac_try) 2>&5
71952 ac_status=$?
71953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71954 (exit $ac_status); }; } &&
71955 { ac_try='test -s conftest$ac_exeext'
71956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71957 (eval $ac_try) 2>&5
71958 ac_status=$?
71959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71960 (exit $ac_status); }; }; then
71961 eval "$as_ac_var=yes"
71962 else
71963 echo "$as_me: failed program was:" >&5
71964 sed 's/^/| /' conftest.$ac_ext >&5
71966 eval "$as_ac_var=no"
71968 rm -f conftest.err conftest.$ac_objext \
71969 conftest$ac_exeext conftest.$ac_ext
71971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71973 if test `eval echo '${'$as_ac_var'}'` = yes; then
71974 cat >>confdefs.h <<_ACEOF
71975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71976 _ACEOF
71978 else
71979 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
71981 done
71985 for ac_func in __signbit
71987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71988 echo "$as_me:$LINENO: checking for $ac_func" >&5
71989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71990 if eval "test \"\${$as_ac_var+set}\" = set"; then
71991 echo $ECHO_N "(cached) $ECHO_C" >&6
71992 else
71993 if test x$gcc_no_link = xyes; then
71994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71996 { (exit 1); exit 1; }; }
71998 cat >conftest.$ac_ext <<_ACEOF
71999 /* confdefs.h. */
72000 _ACEOF
72001 cat confdefs.h >>conftest.$ac_ext
72002 cat >>conftest.$ac_ext <<_ACEOF
72003 /* end confdefs.h. */
72004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72006 #define $ac_func innocuous_$ac_func
72008 /* System header to define __stub macros and hopefully few prototypes,
72009 which can conflict with char $ac_func (); below.
72010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72011 <limits.h> exists even on freestanding compilers. */
72013 #ifdef __STDC__
72014 # include <limits.h>
72015 #else
72016 # include <assert.h>
72017 #endif
72019 #undef $ac_func
72021 /* Override any gcc2 internal prototype to avoid an error. */
72022 #ifdef __cplusplus
72023 extern "C"
72025 #endif
72026 /* We use char because int might match the return type of a gcc2
72027 builtin and then its argument prototype would still apply. */
72028 char $ac_func ();
72029 /* The GNU C library defines this for functions which it implements
72030 to always fail with ENOSYS. Some functions are actually named
72031 something starting with __ and the normal name is an alias. */
72032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72033 choke me
72034 #else
72035 char (*f) () = $ac_func;
72036 #endif
72037 #ifdef __cplusplus
72039 #endif
72042 main ()
72044 return f != $ac_func;
72046 return 0;
72048 _ACEOF
72049 rm -f conftest.$ac_objext conftest$ac_exeext
72050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72051 (eval $ac_link) 2>conftest.er1
72052 ac_status=$?
72053 grep -v '^ *+' conftest.er1 >conftest.err
72054 rm -f conftest.er1
72055 cat conftest.err >&5
72056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72057 (exit $ac_status); } &&
72058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
72064 { ac_try='test -s conftest$ac_exeext'
72065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72066 (eval $ac_try) 2>&5
72067 ac_status=$?
72068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72069 (exit $ac_status); }; }; then
72070 eval "$as_ac_var=yes"
72071 else
72072 echo "$as_me: failed program was:" >&5
72073 sed 's/^/| /' conftest.$ac_ext >&5
72075 eval "$as_ac_var=no"
72077 rm -f conftest.err conftest.$ac_objext \
72078 conftest$ac_exeext conftest.$ac_ext
72080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72082 if test `eval echo '${'$as_ac_var'}'` = yes; then
72083 cat >>confdefs.h <<_ACEOF
72084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72085 _ACEOF
72087 else
72088 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72090 done
72094 for ac_func in __signbitf
72096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72097 echo "$as_me:$LINENO: checking for $ac_func" >&5
72098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72099 if eval "test \"\${$as_ac_var+set}\" = set"; then
72100 echo $ECHO_N "(cached) $ECHO_C" >&6
72101 else
72102 if test x$gcc_no_link = xyes; then
72103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72105 { (exit 1); exit 1; }; }
72107 cat >conftest.$ac_ext <<_ACEOF
72108 /* confdefs.h. */
72109 _ACEOF
72110 cat confdefs.h >>conftest.$ac_ext
72111 cat >>conftest.$ac_ext <<_ACEOF
72112 /* end confdefs.h. */
72113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72115 #define $ac_func innocuous_$ac_func
72117 /* System header to define __stub macros and hopefully few prototypes,
72118 which can conflict with char $ac_func (); below.
72119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72120 <limits.h> exists even on freestanding compilers. */
72122 #ifdef __STDC__
72123 # include <limits.h>
72124 #else
72125 # include <assert.h>
72126 #endif
72128 #undef $ac_func
72130 /* Override any gcc2 internal prototype to avoid an error. */
72131 #ifdef __cplusplus
72132 extern "C"
72134 #endif
72135 /* We use char because int might match the return type of a gcc2
72136 builtin and then its argument prototype would still apply. */
72137 char $ac_func ();
72138 /* The GNU C library defines this for functions which it implements
72139 to always fail with ENOSYS. Some functions are actually named
72140 something starting with __ and the normal name is an alias. */
72141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72142 choke me
72143 #else
72144 char (*f) () = $ac_func;
72145 #endif
72146 #ifdef __cplusplus
72148 #endif
72151 main ()
72153 return f != $ac_func;
72155 return 0;
72157 _ACEOF
72158 rm -f conftest.$ac_objext conftest$ac_exeext
72159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72160 (eval $ac_link) 2>conftest.er1
72161 ac_status=$?
72162 grep -v '^ *+' conftest.er1 >conftest.err
72163 rm -f conftest.er1
72164 cat conftest.err >&5
72165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72166 (exit $ac_status); } &&
72167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72169 (eval $ac_try) 2>&5
72170 ac_status=$?
72171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72172 (exit $ac_status); }; } &&
72173 { ac_try='test -s conftest$ac_exeext'
72174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72175 (eval $ac_try) 2>&5
72176 ac_status=$?
72177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72178 (exit $ac_status); }; }; then
72179 eval "$as_ac_var=yes"
72180 else
72181 echo "$as_me: failed program was:" >&5
72182 sed 's/^/| /' conftest.$ac_ext >&5
72184 eval "$as_ac_var=no"
72186 rm -f conftest.err conftest.$ac_objext \
72187 conftest$ac_exeext conftest.$ac_ext
72189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72191 if test `eval echo '${'$as_ac_var'}'` = yes; then
72192 cat >>confdefs.h <<_ACEOF
72193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72194 _ACEOF
72196 else
72197 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72199 done
72202 if test x$ac_cv_func_copysignl = x"yes"; then
72204 for ac_func in __signbitl
72206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72207 echo "$as_me:$LINENO: checking for $ac_func" >&5
72208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72209 if eval "test \"\${$as_ac_var+set}\" = set"; then
72210 echo $ECHO_N "(cached) $ECHO_C" >&6
72211 else
72212 if test x$gcc_no_link = xyes; then
72213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72215 { (exit 1); exit 1; }; }
72217 cat >conftest.$ac_ext <<_ACEOF
72218 /* confdefs.h. */
72219 _ACEOF
72220 cat confdefs.h >>conftest.$ac_ext
72221 cat >>conftest.$ac_ext <<_ACEOF
72222 /* end confdefs.h. */
72223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72225 #define $ac_func innocuous_$ac_func
72227 /* System header to define __stub macros and hopefully few prototypes,
72228 which can conflict with char $ac_func (); below.
72229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72230 <limits.h> exists even on freestanding compilers. */
72232 #ifdef __STDC__
72233 # include <limits.h>
72234 #else
72235 # include <assert.h>
72236 #endif
72238 #undef $ac_func
72240 /* Override any gcc2 internal prototype to avoid an error. */
72241 #ifdef __cplusplus
72242 extern "C"
72244 #endif
72245 /* We use char because int might match the return type of a gcc2
72246 builtin and then its argument prototype would still apply. */
72247 char $ac_func ();
72248 /* The GNU C library defines this for functions which it implements
72249 to always fail with ENOSYS. Some functions are actually named
72250 something starting with __ and the normal name is an alias. */
72251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72252 choke me
72253 #else
72254 char (*f) () = $ac_func;
72255 #endif
72256 #ifdef __cplusplus
72258 #endif
72261 main ()
72263 return f != $ac_func;
72265 return 0;
72267 _ACEOF
72268 rm -f conftest.$ac_objext conftest$ac_exeext
72269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72270 (eval $ac_link) 2>conftest.er1
72271 ac_status=$?
72272 grep -v '^ *+' conftest.er1 >conftest.err
72273 rm -f conftest.er1
72274 cat conftest.err >&5
72275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72276 (exit $ac_status); } &&
72277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
72283 { ac_try='test -s conftest$ac_exeext'
72284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72285 (eval $ac_try) 2>&5
72286 ac_status=$?
72287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72288 (exit $ac_status); }; }; then
72289 eval "$as_ac_var=yes"
72290 else
72291 echo "$as_me: failed program was:" >&5
72292 sed 's/^/| /' conftest.$ac_ext >&5
72294 eval "$as_ac_var=no"
72296 rm -f conftest.err conftest.$ac_objext \
72297 conftest$ac_exeext conftest.$ac_ext
72299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72301 if test `eval echo '${'$as_ac_var'}'` = yes; then
72302 cat >>confdefs.h <<_ACEOF
72303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72304 _ACEOF
72306 else
72307 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72309 done
72313 # Used in libmath/Makefile.am.
72314 if test -n "$LIBMATHOBJS"; then
72315 need_libmath=yes
72320 # Test wchar.h for mbstate_t, which is needed for char_traits and
72321 # others even if wchar_t support is not on.
72322 echo "$as_me:$LINENO: checking for mbstate_t" >&5
72323 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
72324 cat >conftest.$ac_ext <<_ACEOF
72325 /* confdefs.h. */
72326 _ACEOF
72327 cat confdefs.h >>conftest.$ac_ext
72328 cat >>conftest.$ac_ext <<_ACEOF
72329 /* end confdefs.h. */
72330 #include <wchar.h>
72332 main ()
72334 mbstate_t teststate;
72336 return 0;
72338 _ACEOF
72339 rm -f conftest.$ac_objext
72340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72341 (eval $ac_compile) 2>conftest.er1
72342 ac_status=$?
72343 grep -v '^ *+' conftest.er1 >conftest.err
72344 rm -f conftest.er1
72345 cat conftest.err >&5
72346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72347 (exit $ac_status); } &&
72348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72350 (eval $ac_try) 2>&5
72351 ac_status=$?
72352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72353 (exit $ac_status); }; } &&
72354 { ac_try='test -s conftest.$ac_objext'
72355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72356 (eval $ac_try) 2>&5
72357 ac_status=$?
72358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72359 (exit $ac_status); }; }; then
72360 have_mbstate_t=yes
72361 else
72362 echo "$as_me: failed program was:" >&5
72363 sed 's/^/| /' conftest.$ac_ext >&5
72365 have_mbstate_t=no
72367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72368 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
72369 echo "${ECHO_T}$have_mbstate_t" >&6
72370 if test x"$have_mbstate_t" = xyes; then
72371 cat >>confdefs.h <<\_ACEOF
72372 #define HAVE_MBSTATE_T 1
72373 _ACEOF
72377 # Sanity check for existence of ISO C99 headers for extended encoding.
72379 for ac_header in wchar.h
72381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72383 echo "$as_me:$LINENO: checking for $ac_header" >&5
72384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72386 echo $ECHO_N "(cached) $ECHO_C" >&6
72388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72390 else
72391 # Is the header compilable?
72392 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72394 cat >conftest.$ac_ext <<_ACEOF
72395 /* confdefs.h. */
72396 _ACEOF
72397 cat confdefs.h >>conftest.$ac_ext
72398 cat >>conftest.$ac_ext <<_ACEOF
72399 /* end confdefs.h. */
72400 $ac_includes_default
72401 #include <$ac_header>
72402 _ACEOF
72403 rm -f conftest.$ac_objext
72404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72405 (eval $ac_compile) 2>conftest.er1
72406 ac_status=$?
72407 grep -v '^ *+' conftest.er1 >conftest.err
72408 rm -f conftest.er1
72409 cat conftest.err >&5
72410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72411 (exit $ac_status); } &&
72412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72414 (eval $ac_try) 2>&5
72415 ac_status=$?
72416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72417 (exit $ac_status); }; } &&
72418 { ac_try='test -s conftest.$ac_objext'
72419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72420 (eval $ac_try) 2>&5
72421 ac_status=$?
72422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72423 (exit $ac_status); }; }; then
72424 ac_header_compiler=yes
72425 else
72426 echo "$as_me: failed program was:" >&5
72427 sed 's/^/| /' conftest.$ac_ext >&5
72429 ac_header_compiler=no
72431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72432 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72433 echo "${ECHO_T}$ac_header_compiler" >&6
72435 # Is the header present?
72436 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72437 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72438 cat >conftest.$ac_ext <<_ACEOF
72439 /* confdefs.h. */
72440 _ACEOF
72441 cat confdefs.h >>conftest.$ac_ext
72442 cat >>conftest.$ac_ext <<_ACEOF
72443 /* end confdefs.h. */
72444 #include <$ac_header>
72445 _ACEOF
72446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72448 ac_status=$?
72449 grep -v '^ *+' conftest.er1 >conftest.err
72450 rm -f conftest.er1
72451 cat conftest.err >&5
72452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453 (exit $ac_status); } >/dev/null; then
72454 if test -s conftest.err; then
72455 ac_cpp_err=$ac_c_preproc_warn_flag
72456 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72457 else
72458 ac_cpp_err=
72460 else
72461 ac_cpp_err=yes
72463 if test -z "$ac_cpp_err"; then
72464 ac_header_preproc=yes
72465 else
72466 echo "$as_me: failed program was:" >&5
72467 sed 's/^/| /' conftest.$ac_ext >&5
72469 ac_header_preproc=no
72471 rm -f conftest.err conftest.$ac_ext
72472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72473 echo "${ECHO_T}$ac_header_preproc" >&6
72475 # So? What about this header?
72476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72477 yes:no: )
72478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72482 ac_header_preproc=yes
72484 no:yes:* )
72485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
72492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
72493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72498 cat <<\_ASBOX
72499 ## ----------------------------------------- ##
72500 ## Report this to the package-unused lists. ##
72501 ## ----------------------------------------- ##
72502 _ASBOX
72504 sed "s/^/$as_me: WARNING: /" >&2
72506 esac
72507 echo "$as_me:$LINENO: checking for $ac_header" >&5
72508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72510 echo $ECHO_N "(cached) $ECHO_C" >&6
72511 else
72512 eval "$as_ac_Header=\$ac_header_preproc"
72514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72519 cat >>confdefs.h <<_ACEOF
72520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72521 _ACEOF
72522 ac_has_wchar_h=yes
72523 else
72524 ac_has_wchar_h=no
72527 done
72530 for ac_header in wctype.h
72532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72534 echo "$as_me:$LINENO: checking for $ac_header" >&5
72535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72537 echo $ECHO_N "(cached) $ECHO_C" >&6
72539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72541 else
72542 # Is the header compilable?
72543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72545 cat >conftest.$ac_ext <<_ACEOF
72546 /* confdefs.h. */
72547 _ACEOF
72548 cat confdefs.h >>conftest.$ac_ext
72549 cat >>conftest.$ac_ext <<_ACEOF
72550 /* end confdefs.h. */
72551 $ac_includes_default
72552 #include <$ac_header>
72553 _ACEOF
72554 rm -f conftest.$ac_objext
72555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72556 (eval $ac_compile) 2>conftest.er1
72557 ac_status=$?
72558 grep -v '^ *+' conftest.er1 >conftest.err
72559 rm -f conftest.er1
72560 cat conftest.err >&5
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); } &&
72563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72565 (eval $ac_try) 2>&5
72566 ac_status=$?
72567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72568 (exit $ac_status); }; } &&
72569 { ac_try='test -s conftest.$ac_objext'
72570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72571 (eval $ac_try) 2>&5
72572 ac_status=$?
72573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72574 (exit $ac_status); }; }; then
72575 ac_header_compiler=yes
72576 else
72577 echo "$as_me: failed program was:" >&5
72578 sed 's/^/| /' conftest.$ac_ext >&5
72580 ac_header_compiler=no
72582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72584 echo "${ECHO_T}$ac_header_compiler" >&6
72586 # Is the header present?
72587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72589 cat >conftest.$ac_ext <<_ACEOF
72590 /* confdefs.h. */
72591 _ACEOF
72592 cat confdefs.h >>conftest.$ac_ext
72593 cat >>conftest.$ac_ext <<_ACEOF
72594 /* end confdefs.h. */
72595 #include <$ac_header>
72596 _ACEOF
72597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72599 ac_status=$?
72600 grep -v '^ *+' conftest.er1 >conftest.err
72601 rm -f conftest.er1
72602 cat conftest.err >&5
72603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72604 (exit $ac_status); } >/dev/null; then
72605 if test -s conftest.err; then
72606 ac_cpp_err=$ac_c_preproc_warn_flag
72607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72608 else
72609 ac_cpp_err=
72611 else
72612 ac_cpp_err=yes
72614 if test -z "$ac_cpp_err"; then
72615 ac_header_preproc=yes
72616 else
72617 echo "$as_me: failed program was:" >&5
72618 sed 's/^/| /' conftest.$ac_ext >&5
72620 ac_header_preproc=no
72622 rm -f conftest.err conftest.$ac_ext
72623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72624 echo "${ECHO_T}$ac_header_preproc" >&6
72626 # So? What about this header?
72627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72628 yes:no: )
72629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72633 ac_header_preproc=yes
72635 no:yes:* )
72636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
72643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
72644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72649 cat <<\_ASBOX
72650 ## ----------------------------------------- ##
72651 ## Report this to the package-unused lists. ##
72652 ## ----------------------------------------- ##
72653 _ASBOX
72655 sed "s/^/$as_me: WARNING: /" >&2
72657 esac
72658 echo "$as_me:$LINENO: checking for $ac_header" >&5
72659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72661 echo $ECHO_N "(cached) $ECHO_C" >&6
72662 else
72663 eval "$as_ac_Header=\$ac_header_preproc"
72665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72670 cat >>confdefs.h <<_ACEOF
72671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72672 _ACEOF
72673 ac_has_wctype_h=yes
72674 else
72675 ac_has_wctype_h=no
72678 done
72681 # Only continue checking if the ISO C99 headers exist and support is on.
72682 if test x"$ac_has_wchar_h" = xyes &&
72683 test x"$ac_has_wctype_h" = xyes &&
72684 test x"$enable_c_mbchar" != xno; then
72686 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
72687 # numeric_limits can instantiate type_traits<wchar_t>
72688 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
72689 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
72690 cat >conftest.$ac_ext <<_ACEOF
72691 /* confdefs.h. */
72692 _ACEOF
72693 cat confdefs.h >>conftest.$ac_ext
72694 cat >>conftest.$ac_ext <<_ACEOF
72695 /* end confdefs.h. */
72696 #include <wchar.h>
72698 main ()
72700 int i = WCHAR_MIN; int j = WCHAR_MAX;
72702 return 0;
72704 _ACEOF
72705 rm -f conftest.$ac_objext
72706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72707 (eval $ac_compile) 2>conftest.er1
72708 ac_status=$?
72709 grep -v '^ *+' conftest.er1 >conftest.err
72710 rm -f conftest.er1
72711 cat conftest.err >&5
72712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72713 (exit $ac_status); } &&
72714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72716 (eval $ac_try) 2>&5
72717 ac_status=$?
72718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72719 (exit $ac_status); }; } &&
72720 { ac_try='test -s conftest.$ac_objext'
72721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72722 (eval $ac_try) 2>&5
72723 ac_status=$?
72724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72725 (exit $ac_status); }; }; then
72726 has_wchar_minmax=yes
72727 else
72728 echo "$as_me: failed program was:" >&5
72729 sed 's/^/| /' conftest.$ac_ext >&5
72731 has_wchar_minmax=no
72733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72734 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
72735 echo "${ECHO_T}$has_wchar_minmax" >&6
72737 # Test wchar.h for WEOF, which is what we use to determine whether
72738 # to specialize for char_traits<wchar_t> or not.
72739 echo "$as_me:$LINENO: checking for WEOF" >&5
72740 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
72741 cat >conftest.$ac_ext <<_ACEOF
72742 /* confdefs.h. */
72743 _ACEOF
72744 cat confdefs.h >>conftest.$ac_ext
72745 cat >>conftest.$ac_ext <<_ACEOF
72746 /* end confdefs.h. */
72748 #include <wchar.h>
72749 #include <stddef.h>
72751 main ()
72753 wint_t i = WEOF;
72755 return 0;
72757 _ACEOF
72758 rm -f conftest.$ac_objext
72759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72760 (eval $ac_compile) 2>conftest.er1
72761 ac_status=$?
72762 grep -v '^ *+' conftest.er1 >conftest.err
72763 rm -f conftest.er1
72764 cat conftest.err >&5
72765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72766 (exit $ac_status); } &&
72767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72769 (eval $ac_try) 2>&5
72770 ac_status=$?
72771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72772 (exit $ac_status); }; } &&
72773 { ac_try='test -s conftest.$ac_objext'
72774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72775 (eval $ac_try) 2>&5
72776 ac_status=$?
72777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72778 (exit $ac_status); }; }; then
72779 has_weof=yes
72780 else
72781 echo "$as_me: failed program was:" >&5
72782 sed 's/^/| /' conftest.$ac_ext >&5
72784 has_weof=no
72786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72787 echo "$as_me:$LINENO: result: $has_weof" >&5
72788 echo "${ECHO_T}$has_weof" >&6
72790 # Tests for wide character functions used in char_traits<wchar_t>.
72791 ac_wfuncs=yes
72798 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
72800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72801 echo "$as_me:$LINENO: checking for $ac_func" >&5
72802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72803 if eval "test \"\${$as_ac_var+set}\" = set"; then
72804 echo $ECHO_N "(cached) $ECHO_C" >&6
72805 else
72806 if test x$gcc_no_link = xyes; then
72807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72809 { (exit 1); exit 1; }; }
72811 cat >conftest.$ac_ext <<_ACEOF
72812 /* confdefs.h. */
72813 _ACEOF
72814 cat confdefs.h >>conftest.$ac_ext
72815 cat >>conftest.$ac_ext <<_ACEOF
72816 /* end confdefs.h. */
72817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72819 #define $ac_func innocuous_$ac_func
72821 /* System header to define __stub macros and hopefully few prototypes,
72822 which can conflict with char $ac_func (); below.
72823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72824 <limits.h> exists even on freestanding compilers. */
72826 #ifdef __STDC__
72827 # include <limits.h>
72828 #else
72829 # include <assert.h>
72830 #endif
72832 #undef $ac_func
72834 /* Override any gcc2 internal prototype to avoid an error. */
72835 #ifdef __cplusplus
72836 extern "C"
72838 #endif
72839 /* We use char because int might match the return type of a gcc2
72840 builtin and then its argument prototype would still apply. */
72841 char $ac_func ();
72842 /* The GNU C library defines this for functions which it implements
72843 to always fail with ENOSYS. Some functions are actually named
72844 something starting with __ and the normal name is an alias. */
72845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72846 choke me
72847 #else
72848 char (*f) () = $ac_func;
72849 #endif
72850 #ifdef __cplusplus
72852 #endif
72855 main ()
72857 return f != $ac_func;
72859 return 0;
72861 _ACEOF
72862 rm -f conftest.$ac_objext conftest$ac_exeext
72863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72864 (eval $ac_link) 2>conftest.er1
72865 ac_status=$?
72866 grep -v '^ *+' conftest.er1 >conftest.err
72867 rm -f conftest.er1
72868 cat conftest.err >&5
72869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870 (exit $ac_status); } &&
72871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72873 (eval $ac_try) 2>&5
72874 ac_status=$?
72875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876 (exit $ac_status); }; } &&
72877 { ac_try='test -s conftest$ac_exeext'
72878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72879 (eval $ac_try) 2>&5
72880 ac_status=$?
72881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72882 (exit $ac_status); }; }; then
72883 eval "$as_ac_var=yes"
72884 else
72885 echo "$as_me: failed program was:" >&5
72886 sed 's/^/| /' conftest.$ac_ext >&5
72888 eval "$as_ac_var=no"
72890 rm -f conftest.err conftest.$ac_objext \
72891 conftest$ac_exeext conftest.$ac_ext
72893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72895 if test `eval echo '${'$as_ac_var'}'` = yes; then
72896 cat >>confdefs.h <<_ACEOF
72897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72898 _ACEOF
72900 else
72901 ac_wfuncs=no
72903 done
72906 # Checks for names injected into std:: by the c_std headers.
72953 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
72954 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
72955 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
72956 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
72957 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
72958 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
72960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72961 echo "$as_me:$LINENO: checking for $ac_func" >&5
72962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72963 if eval "test \"\${$as_ac_var+set}\" = set"; then
72964 echo $ECHO_N "(cached) $ECHO_C" >&6
72965 else
72966 if test x$gcc_no_link = xyes; then
72967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72969 { (exit 1); exit 1; }; }
72971 cat >conftest.$ac_ext <<_ACEOF
72972 /* confdefs.h. */
72973 _ACEOF
72974 cat confdefs.h >>conftest.$ac_ext
72975 cat >>conftest.$ac_ext <<_ACEOF
72976 /* end confdefs.h. */
72977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72979 #define $ac_func innocuous_$ac_func
72981 /* System header to define __stub macros and hopefully few prototypes,
72982 which can conflict with char $ac_func (); below.
72983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72984 <limits.h> exists even on freestanding compilers. */
72986 #ifdef __STDC__
72987 # include <limits.h>
72988 #else
72989 # include <assert.h>
72990 #endif
72992 #undef $ac_func
72994 /* Override any gcc2 internal prototype to avoid an error. */
72995 #ifdef __cplusplus
72996 extern "C"
72998 #endif
72999 /* We use char because int might match the return type of a gcc2
73000 builtin and then its argument prototype would still apply. */
73001 char $ac_func ();
73002 /* The GNU C library defines this for functions which it implements
73003 to always fail with ENOSYS. Some functions are actually named
73004 something starting with __ and the normal name is an alias. */
73005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73006 choke me
73007 #else
73008 char (*f) () = $ac_func;
73009 #endif
73010 #ifdef __cplusplus
73012 #endif
73015 main ()
73017 return f != $ac_func;
73019 return 0;
73021 _ACEOF
73022 rm -f conftest.$ac_objext conftest$ac_exeext
73023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73024 (eval $ac_link) 2>conftest.er1
73025 ac_status=$?
73026 grep -v '^ *+' conftest.er1 >conftest.err
73027 rm -f conftest.er1
73028 cat conftest.err >&5
73029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73030 (exit $ac_status); } &&
73031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73033 (eval $ac_try) 2>&5
73034 ac_status=$?
73035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73036 (exit $ac_status); }; } &&
73037 { ac_try='test -s conftest$ac_exeext'
73038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73039 (eval $ac_try) 2>&5
73040 ac_status=$?
73041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73042 (exit $ac_status); }; }; then
73043 eval "$as_ac_var=yes"
73044 else
73045 echo "$as_me: failed program was:" >&5
73046 sed 's/^/| /' conftest.$ac_ext >&5
73048 eval "$as_ac_var=no"
73050 rm -f conftest.err conftest.$ac_objext \
73051 conftest$ac_exeext conftest.$ac_ext
73053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73055 if test `eval echo '${'$as_ac_var'}'` = yes; then
73056 cat >>confdefs.h <<_ACEOF
73057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73058 _ACEOF
73060 else
73061 ac_wfuncs=no
73063 done
73066 # Checks for wide character functions that are not required
73067 # for basic wchar_t support. Don't disable support if they are missing.
73068 # Injection of these is wrapped with guard macros.
73074 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73077 echo "$as_me:$LINENO: checking for $ac_func" >&5
73078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73079 if eval "test \"\${$as_ac_var+set}\" = set"; then
73080 echo $ECHO_N "(cached) $ECHO_C" >&6
73081 else
73082 if test x$gcc_no_link = xyes; then
73083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73085 { (exit 1); exit 1; }; }
73087 cat >conftest.$ac_ext <<_ACEOF
73088 /* confdefs.h. */
73089 _ACEOF
73090 cat confdefs.h >>conftest.$ac_ext
73091 cat >>conftest.$ac_ext <<_ACEOF
73092 /* end confdefs.h. */
73093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73095 #define $ac_func innocuous_$ac_func
73097 /* System header to define __stub macros and hopefully few prototypes,
73098 which can conflict with char $ac_func (); below.
73099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73100 <limits.h> exists even on freestanding compilers. */
73102 #ifdef __STDC__
73103 # include <limits.h>
73104 #else
73105 # include <assert.h>
73106 #endif
73108 #undef $ac_func
73110 /* Override any gcc2 internal prototype to avoid an error. */
73111 #ifdef __cplusplus
73112 extern "C"
73114 #endif
73115 /* We use char because int might match the return type of a gcc2
73116 builtin and then its argument prototype would still apply. */
73117 char $ac_func ();
73118 /* The GNU C library defines this for functions which it implements
73119 to always fail with ENOSYS. Some functions are actually named
73120 something starting with __ and the normal name is an alias. */
73121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73122 choke me
73123 #else
73124 char (*f) () = $ac_func;
73125 #endif
73126 #ifdef __cplusplus
73128 #endif
73131 main ()
73133 return f != $ac_func;
73135 return 0;
73137 _ACEOF
73138 rm -f conftest.$ac_objext conftest$ac_exeext
73139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73140 (eval $ac_link) 2>conftest.er1
73141 ac_status=$?
73142 grep -v '^ *+' conftest.er1 >conftest.err
73143 rm -f conftest.er1
73144 cat conftest.err >&5
73145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146 (exit $ac_status); } &&
73147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73149 (eval $ac_try) 2>&5
73150 ac_status=$?
73151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73152 (exit $ac_status); }; } &&
73153 { ac_try='test -s conftest$ac_exeext'
73154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73155 (eval $ac_try) 2>&5
73156 ac_status=$?
73157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73158 (exit $ac_status); }; }; then
73159 eval "$as_ac_var=yes"
73160 else
73161 echo "$as_me: failed program was:" >&5
73162 sed 's/^/| /' conftest.$ac_ext >&5
73164 eval "$as_ac_var=no"
73166 rm -f conftest.err conftest.$ac_objext \
73167 conftest$ac_exeext conftest.$ac_ext
73169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73171 if test `eval echo '${'$as_ac_var'}'` = yes; then
73172 cat >>confdefs.h <<_ACEOF
73173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73174 _ACEOF
73177 done
73180 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73181 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73182 if test x"$has_weof" = xyes &&
73183 test x"$has_wchar_minmax" = xyes &&
73184 test x"$ac_wfuncs" = xyes;
73185 then
73186 ac_isoC99_wchar_t=yes
73187 else
73188 ac_isoC99_wchar_t=no
73190 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73191 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73193 # Use iconv for wchar_t to char conversions. As such, check for
73194 # X/Open Portability Guide, version 2 features (XPG2).
73195 if test "${ac_cv_header_iconv_h+set}" = set; then
73196 echo "$as_me:$LINENO: checking for iconv.h" >&5
73197 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73198 if test "${ac_cv_header_iconv_h+set}" = set; then
73199 echo $ECHO_N "(cached) $ECHO_C" >&6
73201 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73202 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73203 else
73204 # Is the header compilable?
73205 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73206 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73207 cat >conftest.$ac_ext <<_ACEOF
73208 /* confdefs.h. */
73209 _ACEOF
73210 cat confdefs.h >>conftest.$ac_ext
73211 cat >>conftest.$ac_ext <<_ACEOF
73212 /* end confdefs.h. */
73213 $ac_includes_default
73214 #include <iconv.h>
73215 _ACEOF
73216 rm -f conftest.$ac_objext
73217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73218 (eval $ac_compile) 2>conftest.er1
73219 ac_status=$?
73220 grep -v '^ *+' conftest.er1 >conftest.err
73221 rm -f conftest.er1
73222 cat conftest.err >&5
73223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73224 (exit $ac_status); } &&
73225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73227 (eval $ac_try) 2>&5
73228 ac_status=$?
73229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73230 (exit $ac_status); }; } &&
73231 { ac_try='test -s conftest.$ac_objext'
73232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73233 (eval $ac_try) 2>&5
73234 ac_status=$?
73235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73236 (exit $ac_status); }; }; then
73237 ac_header_compiler=yes
73238 else
73239 echo "$as_me: failed program was:" >&5
73240 sed 's/^/| /' conftest.$ac_ext >&5
73242 ac_header_compiler=no
73244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73246 echo "${ECHO_T}$ac_header_compiler" >&6
73248 # Is the header present?
73249 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73250 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73251 cat >conftest.$ac_ext <<_ACEOF
73252 /* confdefs.h. */
73253 _ACEOF
73254 cat confdefs.h >>conftest.$ac_ext
73255 cat >>conftest.$ac_ext <<_ACEOF
73256 /* end confdefs.h. */
73257 #include <iconv.h>
73258 _ACEOF
73259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73261 ac_status=$?
73262 grep -v '^ *+' conftest.er1 >conftest.err
73263 rm -f conftest.er1
73264 cat conftest.err >&5
73265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73266 (exit $ac_status); } >/dev/null; then
73267 if test -s conftest.err; then
73268 ac_cpp_err=$ac_c_preproc_warn_flag
73269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73270 else
73271 ac_cpp_err=
73273 else
73274 ac_cpp_err=yes
73276 if test -z "$ac_cpp_err"; then
73277 ac_header_preproc=yes
73278 else
73279 echo "$as_me: failed program was:" >&5
73280 sed 's/^/| /' conftest.$ac_ext >&5
73282 ac_header_preproc=no
73284 rm -f conftest.err conftest.$ac_ext
73285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73286 echo "${ECHO_T}$ac_header_preproc" >&6
73288 # So? What about this header?
73289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73290 yes:no: )
73291 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73292 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73293 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73294 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73295 ac_header_preproc=yes
73297 no:yes:* )
73298 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73299 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73300 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73301 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73302 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73303 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73304 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73305 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73306 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73307 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73308 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73309 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73311 cat <<\_ASBOX
73312 ## ----------------------------------------- ##
73313 ## Report this to the package-unused lists. ##
73314 ## ----------------------------------------- ##
73315 _ASBOX
73317 sed "s/^/$as_me: WARNING: /" >&2
73319 esac
73320 echo "$as_me:$LINENO: checking for iconv.h" >&5
73321 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73322 if test "${ac_cv_header_iconv_h+set}" = set; then
73323 echo $ECHO_N "(cached) $ECHO_C" >&6
73324 else
73325 ac_cv_header_iconv_h=$ac_header_preproc
73327 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73328 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73331 if test $ac_cv_header_iconv_h = yes; then
73332 ac_has_iconv_h=yes
73333 else
73334 ac_has_iconv_h=no
73338 if test "${ac_cv_header_langinfo_h+set}" = set; then
73339 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73340 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73341 if test "${ac_cv_header_langinfo_h+set}" = set; then
73342 echo $ECHO_N "(cached) $ECHO_C" >&6
73344 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73345 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73346 else
73347 # Is the header compilable?
73348 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73349 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73350 cat >conftest.$ac_ext <<_ACEOF
73351 /* confdefs.h. */
73352 _ACEOF
73353 cat confdefs.h >>conftest.$ac_ext
73354 cat >>conftest.$ac_ext <<_ACEOF
73355 /* end confdefs.h. */
73356 $ac_includes_default
73357 #include <langinfo.h>
73358 _ACEOF
73359 rm -f conftest.$ac_objext
73360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73361 (eval $ac_compile) 2>conftest.er1
73362 ac_status=$?
73363 grep -v '^ *+' conftest.er1 >conftest.err
73364 rm -f conftest.er1
73365 cat conftest.err >&5
73366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73367 (exit $ac_status); } &&
73368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73370 (eval $ac_try) 2>&5
73371 ac_status=$?
73372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73373 (exit $ac_status); }; } &&
73374 { ac_try='test -s conftest.$ac_objext'
73375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73376 (eval $ac_try) 2>&5
73377 ac_status=$?
73378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73379 (exit $ac_status); }; }; then
73380 ac_header_compiler=yes
73381 else
73382 echo "$as_me: failed program was:" >&5
73383 sed 's/^/| /' conftest.$ac_ext >&5
73385 ac_header_compiler=no
73387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73389 echo "${ECHO_T}$ac_header_compiler" >&6
73391 # Is the header present?
73392 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73393 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73394 cat >conftest.$ac_ext <<_ACEOF
73395 /* confdefs.h. */
73396 _ACEOF
73397 cat confdefs.h >>conftest.$ac_ext
73398 cat >>conftest.$ac_ext <<_ACEOF
73399 /* end confdefs.h. */
73400 #include <langinfo.h>
73401 _ACEOF
73402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73404 ac_status=$?
73405 grep -v '^ *+' conftest.er1 >conftest.err
73406 rm -f conftest.er1
73407 cat conftest.err >&5
73408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73409 (exit $ac_status); } >/dev/null; then
73410 if test -s conftest.err; then
73411 ac_cpp_err=$ac_c_preproc_warn_flag
73412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73413 else
73414 ac_cpp_err=
73416 else
73417 ac_cpp_err=yes
73419 if test -z "$ac_cpp_err"; then
73420 ac_header_preproc=yes
73421 else
73422 echo "$as_me: failed program was:" >&5
73423 sed 's/^/| /' conftest.$ac_ext >&5
73425 ac_header_preproc=no
73427 rm -f conftest.err conftest.$ac_ext
73428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73429 echo "${ECHO_T}$ac_header_preproc" >&6
73431 # So? What about this header?
73432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73433 yes:no: )
73434 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73435 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73436 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73437 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73438 ac_header_preproc=yes
73440 no:yes:* )
73441 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73442 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73443 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73444 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73445 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73446 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73447 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73448 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73449 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73450 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73451 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73452 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73454 cat <<\_ASBOX
73455 ## ----------------------------------------- ##
73456 ## Report this to the package-unused lists. ##
73457 ## ----------------------------------------- ##
73458 _ASBOX
73460 sed "s/^/$as_me: WARNING: /" >&2
73462 esac
73463 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73464 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73465 if test "${ac_cv_header_langinfo_h+set}" = set; then
73466 echo $ECHO_N "(cached) $ECHO_C" >&6
73467 else
73468 ac_cv_header_langinfo_h=$ac_header_preproc
73470 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73471 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73474 if test $ac_cv_header_langinfo_h = yes; then
73475 ac_has_langinfo_h=yes
73476 else
73477 ac_has_langinfo_h=no
73482 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73483 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73484 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73485 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73486 echo $ECHO_N "(cached) $ECHO_C" >&6
73487 else
73488 ac_check_lib_save_LIBS=$LIBS
73489 LIBS="-liconv $LIBS"
73490 if test x$gcc_no_link = xyes; then
73491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73493 { (exit 1); exit 1; }; }
73495 cat >conftest.$ac_ext <<_ACEOF
73496 /* confdefs.h. */
73497 _ACEOF
73498 cat confdefs.h >>conftest.$ac_ext
73499 cat >>conftest.$ac_ext <<_ACEOF
73500 /* end confdefs.h. */
73502 /* Override any gcc2 internal prototype to avoid an error. */
73503 #ifdef __cplusplus
73504 extern "C"
73505 #endif
73506 /* We use char because int might match the return type of a gcc2
73507 builtin and then its argument prototype would still apply. */
73508 char iconv ();
73510 main ()
73512 iconv ();
73514 return 0;
73516 _ACEOF
73517 rm -f conftest.$ac_objext conftest$ac_exeext
73518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73519 (eval $ac_link) 2>conftest.er1
73520 ac_status=$?
73521 grep -v '^ *+' conftest.er1 >conftest.err
73522 rm -f conftest.er1
73523 cat conftest.err >&5
73524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73525 (exit $ac_status); } &&
73526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73528 (eval $ac_try) 2>&5
73529 ac_status=$?
73530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73531 (exit $ac_status); }; } &&
73532 { ac_try='test -s conftest$ac_exeext'
73533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73534 (eval $ac_try) 2>&5
73535 ac_status=$?
73536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73537 (exit $ac_status); }; }; then
73538 ac_cv_lib_iconv_iconv=yes
73539 else
73540 echo "$as_me: failed program was:" >&5
73541 sed 's/^/| /' conftest.$ac_ext >&5
73543 ac_cv_lib_iconv_iconv=no
73545 rm -f conftest.err conftest.$ac_objext \
73546 conftest$ac_exeext conftest.$ac_ext
73547 LIBS=$ac_check_lib_save_LIBS
73549 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73550 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73551 if test $ac_cv_lib_iconv_iconv = yes; then
73552 LIBICONV="-liconv"
73555 ac_save_LIBS="$LIBS"
73556 LIBS="$LIBS $LIBICONV"
73563 for ac_func in iconv_open iconv_close iconv nl_langinfo
73565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73566 echo "$as_me:$LINENO: checking for $ac_func" >&5
73567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73568 if eval "test \"\${$as_ac_var+set}\" = set"; then
73569 echo $ECHO_N "(cached) $ECHO_C" >&6
73570 else
73571 if test x$gcc_no_link = xyes; then
73572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73574 { (exit 1); exit 1; }; }
73576 cat >conftest.$ac_ext <<_ACEOF
73577 /* confdefs.h. */
73578 _ACEOF
73579 cat confdefs.h >>conftest.$ac_ext
73580 cat >>conftest.$ac_ext <<_ACEOF
73581 /* end confdefs.h. */
73582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73584 #define $ac_func innocuous_$ac_func
73586 /* System header to define __stub macros and hopefully few prototypes,
73587 which can conflict with char $ac_func (); below.
73588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73589 <limits.h> exists even on freestanding compilers. */
73591 #ifdef __STDC__
73592 # include <limits.h>
73593 #else
73594 # include <assert.h>
73595 #endif
73597 #undef $ac_func
73599 /* Override any gcc2 internal prototype to avoid an error. */
73600 #ifdef __cplusplus
73601 extern "C"
73603 #endif
73604 /* We use char because int might match the return type of a gcc2
73605 builtin and then its argument prototype would still apply. */
73606 char $ac_func ();
73607 /* The GNU C library defines this for functions which it implements
73608 to always fail with ENOSYS. Some functions are actually named
73609 something starting with __ and the normal name is an alias. */
73610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73611 choke me
73612 #else
73613 char (*f) () = $ac_func;
73614 #endif
73615 #ifdef __cplusplus
73617 #endif
73620 main ()
73622 return f != $ac_func;
73624 return 0;
73626 _ACEOF
73627 rm -f conftest.$ac_objext conftest$ac_exeext
73628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73629 (eval $ac_link) 2>conftest.er1
73630 ac_status=$?
73631 grep -v '^ *+' conftest.er1 >conftest.err
73632 rm -f conftest.er1
73633 cat conftest.err >&5
73634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73635 (exit $ac_status); } &&
73636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73638 (eval $ac_try) 2>&5
73639 ac_status=$?
73640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73641 (exit $ac_status); }; } &&
73642 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
73648 eval "$as_ac_var=yes"
73649 else
73650 echo "$as_me: failed program was:" >&5
73651 sed 's/^/| /' conftest.$ac_ext >&5
73653 eval "$as_ac_var=no"
73655 rm -f conftest.err conftest.$ac_objext \
73656 conftest$ac_exeext conftest.$ac_ext
73658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73660 if test `eval echo '${'$as_ac_var'}'` = yes; then
73661 cat >>confdefs.h <<_ACEOF
73662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73663 _ACEOF
73664 ac_XPG2funcs=yes
73665 else
73666 ac_XPG2funcs=no
73668 done
73671 LIBS="$ac_save_LIBS"
73673 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
73674 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
73675 if test x"$ac_has_iconv_h" = xyes &&
73676 test x"$ac_has_langinfo_h" = xyes &&
73677 test x"$ac_XPG2funcs" = xyes;
73678 then
73679 ac_XPG2_wchar_t=yes
73680 else
73681 ac_XPG2_wchar_t=no
73683 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
73684 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
73686 # At the moment, only enable wchar_t specializations if all the
73687 # above support is present.
73688 if test x"$ac_isoC99_wchar_t" = xyes &&
73689 test x"$ac_XPG2_wchar_t" = xyes;
73690 then
73691 cat >>confdefs.h <<\_ACEOF
73692 #define _GLIBCXX_USE_WCHAR_T 1
73693 _ACEOF
73695 enable_wchar_t=yes
73698 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
73699 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
73700 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
73701 echo "${ECHO_T}$enable_wchar_t" >&6
73704 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73705 ac_save_CXXFLAGS="$CXXFLAGS"
73706 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73709 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73710 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73711 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73712 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73713 echo $ECHO_N "(cached) $ECHO_C" >&6
73714 else
73718 ac_ext=cc
73719 ac_cpp='$CXXCPP $CPPFLAGS'
73720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73724 cat >conftest.$ac_ext <<_ACEOF
73725 /* confdefs.h. */
73726 _ACEOF
73727 cat confdefs.h >>conftest.$ac_ext
73728 cat >>conftest.$ac_ext <<_ACEOF
73729 /* end confdefs.h. */
73730 #include <stdlib.h>
73732 main ()
73734 strtold(0, 0);
73736 return 0;
73738 _ACEOF
73739 rm -f conftest.$ac_objext
73740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73741 (eval $ac_compile) 2>conftest.er1
73742 ac_status=$?
73743 grep -v '^ *+' conftest.er1 >conftest.err
73744 rm -f conftest.er1
73745 cat conftest.err >&5
73746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73747 (exit $ac_status); } &&
73748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
73749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73750 (eval $ac_try) 2>&5
73751 ac_status=$?
73752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73753 (exit $ac_status); }; } &&
73754 { ac_try='test -s conftest.$ac_objext'
73755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73756 (eval $ac_try) 2>&5
73757 ac_status=$?
73758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73759 (exit $ac_status); }; }; then
73760 glibcxx_cv_func_strtold_use=yes
73761 else
73762 echo "$as_me: failed program was:" >&5
73763 sed 's/^/| /' conftest.$ac_ext >&5
73765 glibcxx_cv_func_strtold_use=no
73767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73768 ac_ext=c
73769 ac_cpp='$CPP $CPPFLAGS'
73770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73779 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73780 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73782 for ac_func in strtold
73784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73785 echo "$as_me:$LINENO: checking for $ac_func" >&5
73786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73787 if eval "test \"\${$as_ac_var+set}\" = set"; then
73788 echo $ECHO_N "(cached) $ECHO_C" >&6
73789 else
73790 if test x$gcc_no_link = xyes; then
73791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73793 { (exit 1); exit 1; }; }
73795 cat >conftest.$ac_ext <<_ACEOF
73796 /* confdefs.h. */
73797 _ACEOF
73798 cat confdefs.h >>conftest.$ac_ext
73799 cat >>conftest.$ac_ext <<_ACEOF
73800 /* end confdefs.h. */
73801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73803 #define $ac_func innocuous_$ac_func
73805 /* System header to define __stub macros and hopefully few prototypes,
73806 which can conflict with char $ac_func (); below.
73807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73808 <limits.h> exists even on freestanding compilers. */
73810 #ifdef __STDC__
73811 # include <limits.h>
73812 #else
73813 # include <assert.h>
73814 #endif
73816 #undef $ac_func
73818 /* Override any gcc2 internal prototype to avoid an error. */
73819 #ifdef __cplusplus
73820 extern "C"
73822 #endif
73823 /* We use char because int might match the return type of a gcc2
73824 builtin and then its argument prototype would still apply. */
73825 char $ac_func ();
73826 /* The GNU C library defines this for functions which it implements
73827 to always fail with ENOSYS. Some functions are actually named
73828 something starting with __ and the normal name is an alias. */
73829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73830 choke me
73831 #else
73832 char (*f) () = $ac_func;
73833 #endif
73834 #ifdef __cplusplus
73836 #endif
73839 main ()
73841 return f != $ac_func;
73843 return 0;
73845 _ACEOF
73846 rm -f conftest.$ac_objext conftest$ac_exeext
73847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73848 (eval $ac_link) 2>conftest.er1
73849 ac_status=$?
73850 grep -v '^ *+' conftest.er1 >conftest.err
73851 rm -f conftest.er1
73852 cat conftest.err >&5
73853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73854 (exit $ac_status); } &&
73855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73857 (eval $ac_try) 2>&5
73858 ac_status=$?
73859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73860 (exit $ac_status); }; } &&
73861 { ac_try='test -s conftest$ac_exeext'
73862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73863 (eval $ac_try) 2>&5
73864 ac_status=$?
73865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73866 (exit $ac_status); }; }; then
73867 eval "$as_ac_var=yes"
73868 else
73869 echo "$as_me: failed program was:" >&5
73870 sed 's/^/| /' conftest.$ac_ext >&5
73872 eval "$as_ac_var=no"
73874 rm -f conftest.err conftest.$ac_objext \
73875 conftest$ac_exeext conftest.$ac_ext
73877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73879 if test `eval echo '${'$as_ac_var'}'` = yes; then
73880 cat >>confdefs.h <<_ACEOF
73881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73882 _ACEOF
73885 done
73890 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73891 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73892 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73893 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73894 echo $ECHO_N "(cached) $ECHO_C" >&6
73895 else
73899 ac_ext=cc
73900 ac_cpp='$CXXCPP $CPPFLAGS'
73901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73905 cat >conftest.$ac_ext <<_ACEOF
73906 /* confdefs.h. */
73907 _ACEOF
73908 cat confdefs.h >>conftest.$ac_ext
73909 cat >>conftest.$ac_ext <<_ACEOF
73910 /* end confdefs.h. */
73911 #include <stdlib.h>
73913 main ()
73915 strtof(0, 0);
73917 return 0;
73919 _ACEOF
73920 rm -f conftest.$ac_objext
73921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73922 (eval $ac_compile) 2>conftest.er1
73923 ac_status=$?
73924 grep -v '^ *+' conftest.er1 >conftest.err
73925 rm -f conftest.er1
73926 cat conftest.err >&5
73927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73928 (exit $ac_status); } &&
73929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
73930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73931 (eval $ac_try) 2>&5
73932 ac_status=$?
73933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73934 (exit $ac_status); }; } &&
73935 { ac_try='test -s conftest.$ac_objext'
73936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73937 (eval $ac_try) 2>&5
73938 ac_status=$?
73939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73940 (exit $ac_status); }; }; then
73941 glibcxx_cv_func_strtof_use=yes
73942 else
73943 echo "$as_me: failed program was:" >&5
73944 sed 's/^/| /' conftest.$ac_ext >&5
73946 glibcxx_cv_func_strtof_use=no
73948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73949 ac_ext=c
73950 ac_cpp='$CPP $CPPFLAGS'
73951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73960 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73961 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73963 for ac_func in strtof
73965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73966 echo "$as_me:$LINENO: checking for $ac_func" >&5
73967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73968 if eval "test \"\${$as_ac_var+set}\" = set"; then
73969 echo $ECHO_N "(cached) $ECHO_C" >&6
73970 else
73971 if test x$gcc_no_link = xyes; then
73972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73974 { (exit 1); exit 1; }; }
73976 cat >conftest.$ac_ext <<_ACEOF
73977 /* confdefs.h. */
73978 _ACEOF
73979 cat confdefs.h >>conftest.$ac_ext
73980 cat >>conftest.$ac_ext <<_ACEOF
73981 /* end confdefs.h. */
73982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73984 #define $ac_func innocuous_$ac_func
73986 /* System header to define __stub macros and hopefully few prototypes,
73987 which can conflict with char $ac_func (); below.
73988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73989 <limits.h> exists even on freestanding compilers. */
73991 #ifdef __STDC__
73992 # include <limits.h>
73993 #else
73994 # include <assert.h>
73995 #endif
73997 #undef $ac_func
73999 /* Override any gcc2 internal prototype to avoid an error. */
74000 #ifdef __cplusplus
74001 extern "C"
74003 #endif
74004 /* We use char because int might match the return type of a gcc2
74005 builtin and then its argument prototype would still apply. */
74006 char $ac_func ();
74007 /* The GNU C library defines this for functions which it implements
74008 to always fail with ENOSYS. Some functions are actually named
74009 something starting with __ and the normal name is an alias. */
74010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74011 choke me
74012 #else
74013 char (*f) () = $ac_func;
74014 #endif
74015 #ifdef __cplusplus
74017 #endif
74020 main ()
74022 return f != $ac_func;
74024 return 0;
74026 _ACEOF
74027 rm -f conftest.$ac_objext conftest$ac_exeext
74028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74029 (eval $ac_link) 2>conftest.er1
74030 ac_status=$?
74031 grep -v '^ *+' conftest.er1 >conftest.err
74032 rm -f conftest.er1
74033 cat conftest.err >&5
74034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74035 (exit $ac_status); } &&
74036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74038 (eval $ac_try) 2>&5
74039 ac_status=$?
74040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74041 (exit $ac_status); }; } &&
74042 { ac_try='test -s conftest$ac_exeext'
74043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74044 (eval $ac_try) 2>&5
74045 ac_status=$?
74046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74047 (exit $ac_status); }; }; then
74048 eval "$as_ac_var=yes"
74049 else
74050 echo "$as_me: failed program was:" >&5
74051 sed 's/^/| /' conftest.$ac_ext >&5
74053 eval "$as_ac_var=no"
74055 rm -f conftest.err conftest.$ac_objext \
74056 conftest$ac_exeext conftest.$ac_ext
74058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74060 if test `eval echo '${'$as_ac_var'}'` = yes; then
74061 cat >>confdefs.h <<_ACEOF
74062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74063 _ACEOF
74066 done
74071 CXXFLAGS="$ac_save_CXXFLAGS"
74074 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74075 echo $ECHO_N "(cached) $ECHO_C" >&6
74076 else
74078 if test x$gcc_no_link = xyes; then
74079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74081 { (exit 1); exit 1; }; }
74083 cat >conftest.$ac_ext <<_ACEOF
74084 /* confdefs.h. */
74085 _ACEOF
74086 cat confdefs.h >>conftest.$ac_ext
74087 cat >>conftest.$ac_ext <<_ACEOF
74088 /* end confdefs.h. */
74089 #include <sys/stat.h>
74091 main ()
74093 struct stat buffer;
74094 fstat(0, &buffer);
74095 S_ISREG(buffer.st_mode);
74097 return 0;
74099 _ACEOF
74100 rm -f conftest.$ac_objext conftest$ac_exeext
74101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74102 (eval $ac_link) 2>conftest.er1
74103 ac_status=$?
74104 grep -v '^ *+' conftest.er1 >conftest.err
74105 rm -f conftest.er1
74106 cat conftest.err >&5
74107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74108 (exit $ac_status); } &&
74109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74111 (eval $ac_try) 2>&5
74112 ac_status=$?
74113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74114 (exit $ac_status); }; } &&
74115 { ac_try='test -s conftest$ac_exeext'
74116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74117 (eval $ac_try) 2>&5
74118 ac_status=$?
74119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74120 (exit $ac_status); }; }; then
74121 glibcxx_cv_S_ISREG=yes
74122 else
74123 echo "$as_me: failed program was:" >&5
74124 sed 's/^/| /' conftest.$ac_ext >&5
74126 glibcxx_cv_S_ISREG=no
74128 rm -f conftest.err conftest.$ac_objext \
74129 conftest$ac_exeext conftest.$ac_ext
74133 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74134 echo $ECHO_N "(cached) $ECHO_C" >&6
74135 else
74137 if test x$gcc_no_link = xyes; then
74138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74140 { (exit 1); exit 1; }; }
74142 cat >conftest.$ac_ext <<_ACEOF
74143 /* confdefs.h. */
74144 _ACEOF
74145 cat confdefs.h >>conftest.$ac_ext
74146 cat >>conftest.$ac_ext <<_ACEOF
74147 /* end confdefs.h. */
74148 #include <sys/stat.h>
74150 main ()
74152 struct stat buffer;
74153 fstat(0, &buffer);
74154 S_IFREG & buffer.st_mode;
74156 return 0;
74158 _ACEOF
74159 rm -f conftest.$ac_objext conftest$ac_exeext
74160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74161 (eval $ac_link) 2>conftest.er1
74162 ac_status=$?
74163 grep -v '^ *+' conftest.er1 >conftest.err
74164 rm -f conftest.er1
74165 cat conftest.err >&5
74166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74167 (exit $ac_status); } &&
74168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74170 (eval $ac_try) 2>&5
74171 ac_status=$?
74172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74173 (exit $ac_status); }; } &&
74174 { ac_try='test -s conftest$ac_exeext'
74175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74176 (eval $ac_try) 2>&5
74177 ac_status=$?
74178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74179 (exit $ac_status); }; }; then
74180 glibcxx_cv_S_IFREG=yes
74181 else
74182 echo "$as_me: failed program was:" >&5
74183 sed 's/^/| /' conftest.$ac_ext >&5
74185 glibcxx_cv_S_IFREG=no
74187 rm -f conftest.err conftest.$ac_objext \
74188 conftest$ac_exeext conftest.$ac_ext
74192 if test $glibcxx_cv_S_ISREG = yes; then
74193 cat >>confdefs.h <<\_ACEOF
74194 #define HAVE_S_ISREG 1
74195 _ACEOF
74197 elif test $glibcxx_cv_S_IFREG = yes; then
74198 cat >>confdefs.h <<\_ACEOF
74199 #define HAVE_S_IFREG 1
74200 _ACEOF
74204 cat >>confdefs.h <<\_ACEOF
74205 #define HAVE_WRITEV 1
74206 _ACEOF
74210 *-freebsd*)
74227 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74228 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74229 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74230 sys/time.h unistd.h
74232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74234 echo "$as_me:$LINENO: checking for $ac_header" >&5
74235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74237 echo $ECHO_N "(cached) $ECHO_C" >&6
74239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74241 else
74242 # Is the header compilable?
74243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74245 cat >conftest.$ac_ext <<_ACEOF
74246 /* confdefs.h. */
74247 _ACEOF
74248 cat confdefs.h >>conftest.$ac_ext
74249 cat >>conftest.$ac_ext <<_ACEOF
74250 /* end confdefs.h. */
74251 $ac_includes_default
74252 #include <$ac_header>
74253 _ACEOF
74254 rm -f conftest.$ac_objext
74255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74256 (eval $ac_compile) 2>conftest.er1
74257 ac_status=$?
74258 grep -v '^ *+' conftest.er1 >conftest.err
74259 rm -f conftest.er1
74260 cat conftest.err >&5
74261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262 (exit $ac_status); } &&
74263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74265 (eval $ac_try) 2>&5
74266 ac_status=$?
74267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74268 (exit $ac_status); }; } &&
74269 { ac_try='test -s conftest.$ac_objext'
74270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74271 (eval $ac_try) 2>&5
74272 ac_status=$?
74273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74274 (exit $ac_status); }; }; then
74275 ac_header_compiler=yes
74276 else
74277 echo "$as_me: failed program was:" >&5
74278 sed 's/^/| /' conftest.$ac_ext >&5
74280 ac_header_compiler=no
74282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74284 echo "${ECHO_T}$ac_header_compiler" >&6
74286 # Is the header present?
74287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74289 cat >conftest.$ac_ext <<_ACEOF
74290 /* confdefs.h. */
74291 _ACEOF
74292 cat confdefs.h >>conftest.$ac_ext
74293 cat >>conftest.$ac_ext <<_ACEOF
74294 /* end confdefs.h. */
74295 #include <$ac_header>
74296 _ACEOF
74297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74299 ac_status=$?
74300 grep -v '^ *+' conftest.er1 >conftest.err
74301 rm -f conftest.er1
74302 cat conftest.err >&5
74303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74304 (exit $ac_status); } >/dev/null; then
74305 if test -s conftest.err; then
74306 ac_cpp_err=$ac_c_preproc_warn_flag
74307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74308 else
74309 ac_cpp_err=
74311 else
74312 ac_cpp_err=yes
74314 if test -z "$ac_cpp_err"; then
74315 ac_header_preproc=yes
74316 else
74317 echo "$as_me: failed program was:" >&5
74318 sed 's/^/| /' conftest.$ac_ext >&5
74320 ac_header_preproc=no
74322 rm -f conftest.err conftest.$ac_ext
74323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74324 echo "${ECHO_T}$ac_header_preproc" >&6
74326 # So? What about this header?
74327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74328 yes:no: )
74329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74333 ac_header_preproc=yes
74335 no:yes:* )
74336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74349 cat <<\_ASBOX
74350 ## ----------------------------------------- ##
74351 ## Report this to the package-unused lists. ##
74352 ## ----------------------------------------- ##
74353 _ASBOX
74355 sed "s/^/$as_me: WARNING: /" >&2
74357 esac
74358 echo "$as_me:$LINENO: checking for $ac_header" >&5
74359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74361 echo $ECHO_N "(cached) $ECHO_C" >&6
74362 else
74363 eval "$as_ac_Header=\$ac_header_preproc"
74365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74370 cat >>confdefs.h <<_ACEOF
74371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74372 _ACEOF
74376 done
74378 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74381 # If we're not using GNU ld, then there's no point in even trying these
74382 # tests. Check for that first. We should have already tested for gld
74383 # by now (in libtool), but require it now just to be safe...
74384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74389 # The name set by libtool depends on the version of libtool. Shame on us
74390 # for depending on an impl detail, but c'est la vie. Older versions used
74391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74394 # set (hence we're using an older libtool), then set it.
74395 if test x${with_gnu_ld+set} != xset; then
74396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74398 with_gnu_ld=no
74399 else
74400 with_gnu_ld=$ac_cv_prog_gnu_ld
74404 # Start by getting the version number. I think the libtool test already
74405 # does some of this, but throws away the result.
74407 ldver=`$LD --version 2>/dev/null | head -1 | \
74408 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74410 glibcxx_gnu_ld_version=`echo $ldver | \
74411 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74413 # Set --gc-sections.
74414 if test "$with_gnu_ld" = "notbroken"; then
74415 # GNU ld it is! Joy and bunny rabbits!
74417 # All these tests are for C++; save the language and the compiler flags.
74418 # Need to do this so that g++ won't try to link in libstdc++
74419 ac_test_CFLAGS="${CFLAGS+set}"
74420 ac_save_CFLAGS="$CFLAGS"
74421 CFLAGS='-x c++ -Wl,--gc-sections'
74423 # Check for -Wl,--gc-sections
74424 # XXX This test is broken at the moment, as symbols required for linking
74425 # are now in libsupc++ (not built yet). In addition, this test has
74426 # cored on solaris in the past. In addition, --gc-sections doesn't
74427 # really work at the moment (keeps on discarding used sections, first
74428 # .eh_frame and now some of the glibc sections for iconv).
74429 # Bzzzzt. Thanks for playing, maybe next time.
74430 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74431 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74432 if test "$cross_compiling" = yes; then
74433 ac_sectionLDflags=yes
74434 else
74435 cat >conftest.$ac_ext <<_ACEOF
74436 /* confdefs.h. */
74437 _ACEOF
74438 cat confdefs.h >>conftest.$ac_ext
74439 cat >>conftest.$ac_ext <<_ACEOF
74440 /* end confdefs.h. */
74442 int main(void)
74444 try { throw 1; }
74445 catch (...) { };
74446 return 0;
74449 _ACEOF
74450 rm -f conftest$ac_exeext
74451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74452 (eval $ac_link) 2>&5
74453 ac_status=$?
74454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74455 (exit $ac_status); } && { ac_try='./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 ac_sectionLDflags=yes
74462 else
74463 echo "$as_me: program exited with status $ac_status" >&5
74464 echo "$as_me: failed program was:" >&5
74465 sed 's/^/| /' conftest.$ac_ext >&5
74467 ( exit $ac_status )
74468 ac_sectionLDflags=no
74470 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74472 if test "$ac_test_CFLAGS" = set; then
74473 CFLAGS="$ac_save_CFLAGS"
74474 else
74475 # this is the suspicious part
74476 CFLAGS=''
74478 if test "$ac_sectionLDflags" = "yes"; then
74479 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74481 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74482 echo "${ECHO_T}$ac_sectionLDflags" >&6
74485 # Set linker optimization flags.
74486 if test x"$with_gnu_ld" = x"yes"; then
74487 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74495 echo "$as_me:$LINENO: checking for main in -lm" >&5
74496 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74497 if test "${ac_cv_lib_m_main+set}" = set; then
74498 echo $ECHO_N "(cached) $ECHO_C" >&6
74499 else
74500 ac_check_lib_save_LIBS=$LIBS
74501 LIBS="-lm $LIBS"
74502 if test x$gcc_no_link = xyes; then
74503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74505 { (exit 1); exit 1; }; }
74507 cat >conftest.$ac_ext <<_ACEOF
74508 /* confdefs.h. */
74509 _ACEOF
74510 cat confdefs.h >>conftest.$ac_ext
74511 cat >>conftest.$ac_ext <<_ACEOF
74512 /* end confdefs.h. */
74516 main ()
74518 main ();
74520 return 0;
74522 _ACEOF
74523 rm -f conftest.$ac_objext conftest$ac_exeext
74524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74525 (eval $ac_link) 2>conftest.er1
74526 ac_status=$?
74527 grep -v '^ *+' conftest.er1 >conftest.err
74528 rm -f conftest.er1
74529 cat conftest.err >&5
74530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74531 (exit $ac_status); } &&
74532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74534 (eval $ac_try) 2>&5
74535 ac_status=$?
74536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74537 (exit $ac_status); }; } &&
74538 { ac_try='test -s conftest$ac_exeext'
74539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74540 (eval $ac_try) 2>&5
74541 ac_status=$?
74542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74543 (exit $ac_status); }; }; then
74544 ac_cv_lib_m_main=yes
74545 else
74546 echo "$as_me: failed program was:" >&5
74547 sed 's/^/| /' conftest.$ac_ext >&5
74549 ac_cv_lib_m_main=no
74551 rm -f conftest.err conftest.$ac_objext \
74552 conftest$ac_exeext conftest.$ac_ext
74553 LIBS=$ac_check_lib_save_LIBS
74555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74556 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74557 if test $ac_cv_lib_m_main = yes; then
74558 cat >>confdefs.h <<_ACEOF
74559 #define HAVE_LIBM 1
74560 _ACEOF
74562 LIBS="-lm $LIBS"
74567 for ac_func in copysignf
74569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74570 echo "$as_me:$LINENO: checking for $ac_func" >&5
74571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74572 if eval "test \"\${$as_ac_var+set}\" = set"; then
74573 echo $ECHO_N "(cached) $ECHO_C" >&6
74574 else
74575 if test x$gcc_no_link = xyes; then
74576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74578 { (exit 1); exit 1; }; }
74580 cat >conftest.$ac_ext <<_ACEOF
74581 /* confdefs.h. */
74582 _ACEOF
74583 cat confdefs.h >>conftest.$ac_ext
74584 cat >>conftest.$ac_ext <<_ACEOF
74585 /* end confdefs.h. */
74586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74588 #define $ac_func innocuous_$ac_func
74590 /* System header to define __stub macros and hopefully few prototypes,
74591 which can conflict with char $ac_func (); below.
74592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74593 <limits.h> exists even on freestanding compilers. */
74595 #ifdef __STDC__
74596 # include <limits.h>
74597 #else
74598 # include <assert.h>
74599 #endif
74601 #undef $ac_func
74603 /* Override any gcc2 internal prototype to avoid an error. */
74604 #ifdef __cplusplus
74605 extern "C"
74607 #endif
74608 /* We use char because int might match the return type of a gcc2
74609 builtin and then its argument prototype would still apply. */
74610 char $ac_func ();
74611 /* The GNU C library defines this for functions which it implements
74612 to always fail with ENOSYS. Some functions are actually named
74613 something starting with __ and the normal name is an alias. */
74614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74615 choke me
74616 #else
74617 char (*f) () = $ac_func;
74618 #endif
74619 #ifdef __cplusplus
74621 #endif
74624 main ()
74626 return f != $ac_func;
74628 return 0;
74630 _ACEOF
74631 rm -f conftest.$ac_objext conftest$ac_exeext
74632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74633 (eval $ac_link) 2>conftest.er1
74634 ac_status=$?
74635 grep -v '^ *+' conftest.er1 >conftest.err
74636 rm -f conftest.er1
74637 cat conftest.err >&5
74638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74639 (exit $ac_status); } &&
74640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74642 (eval $ac_try) 2>&5
74643 ac_status=$?
74644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74645 (exit $ac_status); }; } &&
74646 { ac_try='test -s conftest$ac_exeext'
74647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74648 (eval $ac_try) 2>&5
74649 ac_status=$?
74650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74651 (exit $ac_status); }; }; then
74652 eval "$as_ac_var=yes"
74653 else
74654 echo "$as_me: failed program was:" >&5
74655 sed 's/^/| /' conftest.$ac_ext >&5
74657 eval "$as_ac_var=no"
74659 rm -f conftest.err conftest.$ac_objext \
74660 conftest$ac_exeext conftest.$ac_ext
74662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74664 if test `eval echo '${'$as_ac_var'}'` = yes; then
74665 cat >>confdefs.h <<_ACEOF
74666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74667 _ACEOF
74669 else
74670 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74672 done
74676 for ac_func in __signbit
74678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74679 echo "$as_me:$LINENO: checking for $ac_func" >&5
74680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74681 if eval "test \"\${$as_ac_var+set}\" = set"; then
74682 echo $ECHO_N "(cached) $ECHO_C" >&6
74683 else
74684 if test x$gcc_no_link = xyes; then
74685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74687 { (exit 1); exit 1; }; }
74689 cat >conftest.$ac_ext <<_ACEOF
74690 /* confdefs.h. */
74691 _ACEOF
74692 cat confdefs.h >>conftest.$ac_ext
74693 cat >>conftest.$ac_ext <<_ACEOF
74694 /* end confdefs.h. */
74695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74697 #define $ac_func innocuous_$ac_func
74699 /* System header to define __stub macros and hopefully few prototypes,
74700 which can conflict with char $ac_func (); below.
74701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74702 <limits.h> exists even on freestanding compilers. */
74704 #ifdef __STDC__
74705 # include <limits.h>
74706 #else
74707 # include <assert.h>
74708 #endif
74710 #undef $ac_func
74712 /* Override any gcc2 internal prototype to avoid an error. */
74713 #ifdef __cplusplus
74714 extern "C"
74716 #endif
74717 /* We use char because int might match the return type of a gcc2
74718 builtin and then its argument prototype would still apply. */
74719 char $ac_func ();
74720 /* The GNU C library defines this for functions which it implements
74721 to always fail with ENOSYS. Some functions are actually named
74722 something starting with __ and the normal name is an alias. */
74723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74724 choke me
74725 #else
74726 char (*f) () = $ac_func;
74727 #endif
74728 #ifdef __cplusplus
74730 #endif
74733 main ()
74735 return f != $ac_func;
74737 return 0;
74739 _ACEOF
74740 rm -f conftest.$ac_objext conftest$ac_exeext
74741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74742 (eval $ac_link) 2>conftest.er1
74743 ac_status=$?
74744 grep -v '^ *+' conftest.er1 >conftest.err
74745 rm -f conftest.er1
74746 cat conftest.err >&5
74747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74748 (exit $ac_status); } &&
74749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74751 (eval $ac_try) 2>&5
74752 ac_status=$?
74753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74754 (exit $ac_status); }; } &&
74755 { ac_try='test -s conftest$ac_exeext'
74756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74757 (eval $ac_try) 2>&5
74758 ac_status=$?
74759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760 (exit $ac_status); }; }; then
74761 eval "$as_ac_var=yes"
74762 else
74763 echo "$as_me: failed program was:" >&5
74764 sed 's/^/| /' conftest.$ac_ext >&5
74766 eval "$as_ac_var=no"
74768 rm -f conftest.err conftest.$ac_objext \
74769 conftest$ac_exeext conftest.$ac_ext
74771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74773 if test `eval echo '${'$as_ac_var'}'` = yes; then
74774 cat >>confdefs.h <<_ACEOF
74775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74776 _ACEOF
74778 else
74779 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74781 done
74785 for ac_func in __signbitf
74787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74788 echo "$as_me:$LINENO: checking for $ac_func" >&5
74789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74790 if eval "test \"\${$as_ac_var+set}\" = set"; then
74791 echo $ECHO_N "(cached) $ECHO_C" >&6
74792 else
74793 if test x$gcc_no_link = xyes; then
74794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74796 { (exit 1); exit 1; }; }
74798 cat >conftest.$ac_ext <<_ACEOF
74799 /* confdefs.h. */
74800 _ACEOF
74801 cat confdefs.h >>conftest.$ac_ext
74802 cat >>conftest.$ac_ext <<_ACEOF
74803 /* end confdefs.h. */
74804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74806 #define $ac_func innocuous_$ac_func
74808 /* System header to define __stub macros and hopefully few prototypes,
74809 which can conflict with char $ac_func (); below.
74810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74811 <limits.h> exists even on freestanding compilers. */
74813 #ifdef __STDC__
74814 # include <limits.h>
74815 #else
74816 # include <assert.h>
74817 #endif
74819 #undef $ac_func
74821 /* Override any gcc2 internal prototype to avoid an error. */
74822 #ifdef __cplusplus
74823 extern "C"
74825 #endif
74826 /* We use char because int might match the return type of a gcc2
74827 builtin and then its argument prototype would still apply. */
74828 char $ac_func ();
74829 /* The GNU C library defines this for functions which it implements
74830 to always fail with ENOSYS. Some functions are actually named
74831 something starting with __ and the normal name is an alias. */
74832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74833 choke me
74834 #else
74835 char (*f) () = $ac_func;
74836 #endif
74837 #ifdef __cplusplus
74839 #endif
74842 main ()
74844 return f != $ac_func;
74846 return 0;
74848 _ACEOF
74849 rm -f conftest.$ac_objext conftest$ac_exeext
74850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74851 (eval $ac_link) 2>conftest.er1
74852 ac_status=$?
74853 grep -v '^ *+' conftest.er1 >conftest.err
74854 rm -f conftest.er1
74855 cat conftest.err >&5
74856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74857 (exit $ac_status); } &&
74858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74860 (eval $ac_try) 2>&5
74861 ac_status=$?
74862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74863 (exit $ac_status); }; } &&
74864 { ac_try='test -s conftest$ac_exeext'
74865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74866 (eval $ac_try) 2>&5
74867 ac_status=$?
74868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74869 (exit $ac_status); }; }; then
74870 eval "$as_ac_var=yes"
74871 else
74872 echo "$as_me: failed program was:" >&5
74873 sed 's/^/| /' conftest.$ac_ext >&5
74875 eval "$as_ac_var=no"
74877 rm -f conftest.err conftest.$ac_objext \
74878 conftest$ac_exeext conftest.$ac_ext
74880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74882 if test `eval echo '${'$as_ac_var'}'` = yes; then
74883 cat >>confdefs.h <<_ACEOF
74884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74885 _ACEOF
74887 else
74888 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74890 done
74893 if test x$ac_cv_func_copysignl = x"yes"; then
74895 for ac_func in __signbitl
74897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74898 echo "$as_me:$LINENO: checking for $ac_func" >&5
74899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74900 if eval "test \"\${$as_ac_var+set}\" = set"; then
74901 echo $ECHO_N "(cached) $ECHO_C" >&6
74902 else
74903 if test x$gcc_no_link = xyes; then
74904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74906 { (exit 1); exit 1; }; }
74908 cat >conftest.$ac_ext <<_ACEOF
74909 /* confdefs.h. */
74910 _ACEOF
74911 cat confdefs.h >>conftest.$ac_ext
74912 cat >>conftest.$ac_ext <<_ACEOF
74913 /* end confdefs.h. */
74914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74916 #define $ac_func innocuous_$ac_func
74918 /* System header to define __stub macros and hopefully few prototypes,
74919 which can conflict with char $ac_func (); below.
74920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74921 <limits.h> exists even on freestanding compilers. */
74923 #ifdef __STDC__
74924 # include <limits.h>
74925 #else
74926 # include <assert.h>
74927 #endif
74929 #undef $ac_func
74931 /* Override any gcc2 internal prototype to avoid an error. */
74932 #ifdef __cplusplus
74933 extern "C"
74935 #endif
74936 /* We use char because int might match the return type of a gcc2
74937 builtin and then its argument prototype would still apply. */
74938 char $ac_func ();
74939 /* The GNU C library defines this for functions which it implements
74940 to always fail with ENOSYS. Some functions are actually named
74941 something starting with __ and the normal name is an alias. */
74942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74943 choke me
74944 #else
74945 char (*f) () = $ac_func;
74946 #endif
74947 #ifdef __cplusplus
74949 #endif
74952 main ()
74954 return f != $ac_func;
74956 return 0;
74958 _ACEOF
74959 rm -f conftest.$ac_objext conftest$ac_exeext
74960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74961 (eval $ac_link) 2>conftest.er1
74962 ac_status=$?
74963 grep -v '^ *+' conftest.er1 >conftest.err
74964 rm -f conftest.er1
74965 cat conftest.err >&5
74966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 (exit $ac_status); } &&
74968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74970 (eval $ac_try) 2>&5
74971 ac_status=$?
74972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74973 (exit $ac_status); }; } &&
74974 { ac_try='test -s conftest$ac_exeext'
74975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74976 (eval $ac_try) 2>&5
74977 ac_status=$?
74978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74979 (exit $ac_status); }; }; then
74980 eval "$as_ac_var=yes"
74981 else
74982 echo "$as_me: failed program was:" >&5
74983 sed 's/^/| /' conftest.$ac_ext >&5
74985 eval "$as_ac_var=no"
74987 rm -f conftest.err conftest.$ac_objext \
74988 conftest$ac_exeext conftest.$ac_ext
74990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74992 if test `eval echo '${'$as_ac_var'}'` = yes; then
74993 cat >>confdefs.h <<_ACEOF
74994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74995 _ACEOF
74997 else
74998 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75000 done
75004 # Used in libmath/Makefile.am.
75005 if test -n "$LIBMATHOBJS"; then
75006 need_libmath=yes
75011 # Test wchar.h for mbstate_t, which is needed for char_traits and
75012 # others even if wchar_t support is not on.
75013 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75014 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75015 cat >conftest.$ac_ext <<_ACEOF
75016 /* confdefs.h. */
75017 _ACEOF
75018 cat confdefs.h >>conftest.$ac_ext
75019 cat >>conftest.$ac_ext <<_ACEOF
75020 /* end confdefs.h. */
75021 #include <wchar.h>
75023 main ()
75025 mbstate_t teststate;
75027 return 0;
75029 _ACEOF
75030 rm -f conftest.$ac_objext
75031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75032 (eval $ac_compile) 2>conftest.er1
75033 ac_status=$?
75034 grep -v '^ *+' conftest.er1 >conftest.err
75035 rm -f conftest.er1
75036 cat conftest.err >&5
75037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75038 (exit $ac_status); } &&
75039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75041 (eval $ac_try) 2>&5
75042 ac_status=$?
75043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75044 (exit $ac_status); }; } &&
75045 { ac_try='test -s conftest.$ac_objext'
75046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75047 (eval $ac_try) 2>&5
75048 ac_status=$?
75049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75050 (exit $ac_status); }; }; then
75051 have_mbstate_t=yes
75052 else
75053 echo "$as_me: failed program was:" >&5
75054 sed 's/^/| /' conftest.$ac_ext >&5
75056 have_mbstate_t=no
75058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75059 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75060 echo "${ECHO_T}$have_mbstate_t" >&6
75061 if test x"$have_mbstate_t" = xyes; then
75062 cat >>confdefs.h <<\_ACEOF
75063 #define HAVE_MBSTATE_T 1
75064 _ACEOF
75068 # Sanity check for existence of ISO C99 headers for extended encoding.
75070 for ac_header in wchar.h
75072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75074 echo "$as_me:$LINENO: checking for $ac_header" >&5
75075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75077 echo $ECHO_N "(cached) $ECHO_C" >&6
75079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75081 else
75082 # Is the header compilable?
75083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75085 cat >conftest.$ac_ext <<_ACEOF
75086 /* confdefs.h. */
75087 _ACEOF
75088 cat confdefs.h >>conftest.$ac_ext
75089 cat >>conftest.$ac_ext <<_ACEOF
75090 /* end confdefs.h. */
75091 $ac_includes_default
75092 #include <$ac_header>
75093 _ACEOF
75094 rm -f conftest.$ac_objext
75095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75096 (eval $ac_compile) 2>conftest.er1
75097 ac_status=$?
75098 grep -v '^ *+' conftest.er1 >conftest.err
75099 rm -f conftest.er1
75100 cat conftest.err >&5
75101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75102 (exit $ac_status); } &&
75103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75105 (eval $ac_try) 2>&5
75106 ac_status=$?
75107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75108 (exit $ac_status); }; } &&
75109 { ac_try='test -s conftest.$ac_objext'
75110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75111 (eval $ac_try) 2>&5
75112 ac_status=$?
75113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75114 (exit $ac_status); }; }; then
75115 ac_header_compiler=yes
75116 else
75117 echo "$as_me: failed program was:" >&5
75118 sed 's/^/| /' conftest.$ac_ext >&5
75120 ac_header_compiler=no
75122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75124 echo "${ECHO_T}$ac_header_compiler" >&6
75126 # Is the header present?
75127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75129 cat >conftest.$ac_ext <<_ACEOF
75130 /* confdefs.h. */
75131 _ACEOF
75132 cat confdefs.h >>conftest.$ac_ext
75133 cat >>conftest.$ac_ext <<_ACEOF
75134 /* end confdefs.h. */
75135 #include <$ac_header>
75136 _ACEOF
75137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75139 ac_status=$?
75140 grep -v '^ *+' conftest.er1 >conftest.err
75141 rm -f conftest.er1
75142 cat conftest.err >&5
75143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75144 (exit $ac_status); } >/dev/null; then
75145 if test -s conftest.err; then
75146 ac_cpp_err=$ac_c_preproc_warn_flag
75147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75148 else
75149 ac_cpp_err=
75151 else
75152 ac_cpp_err=yes
75154 if test -z "$ac_cpp_err"; then
75155 ac_header_preproc=yes
75156 else
75157 echo "$as_me: failed program was:" >&5
75158 sed 's/^/| /' conftest.$ac_ext >&5
75160 ac_header_preproc=no
75162 rm -f conftest.err conftest.$ac_ext
75163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75164 echo "${ECHO_T}$ac_header_preproc" >&6
75166 # So? What about this header?
75167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75168 yes:no: )
75169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75173 ac_header_preproc=yes
75175 no:yes:* )
75176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75189 cat <<\_ASBOX
75190 ## ----------------------------------------- ##
75191 ## Report this to the package-unused lists. ##
75192 ## ----------------------------------------- ##
75193 _ASBOX
75195 sed "s/^/$as_me: WARNING: /" >&2
75197 esac
75198 echo "$as_me:$LINENO: checking for $ac_header" >&5
75199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75201 echo $ECHO_N "(cached) $ECHO_C" >&6
75202 else
75203 eval "$as_ac_Header=\$ac_header_preproc"
75205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75210 cat >>confdefs.h <<_ACEOF
75211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75212 _ACEOF
75213 ac_has_wchar_h=yes
75214 else
75215 ac_has_wchar_h=no
75218 done
75221 for ac_header in wctype.h
75223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75225 echo "$as_me:$LINENO: checking for $ac_header" >&5
75226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75228 echo $ECHO_N "(cached) $ECHO_C" >&6
75230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75232 else
75233 # Is the header compilable?
75234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75236 cat >conftest.$ac_ext <<_ACEOF
75237 /* confdefs.h. */
75238 _ACEOF
75239 cat confdefs.h >>conftest.$ac_ext
75240 cat >>conftest.$ac_ext <<_ACEOF
75241 /* end confdefs.h. */
75242 $ac_includes_default
75243 #include <$ac_header>
75244 _ACEOF
75245 rm -f conftest.$ac_objext
75246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75247 (eval $ac_compile) 2>conftest.er1
75248 ac_status=$?
75249 grep -v '^ *+' conftest.er1 >conftest.err
75250 rm -f conftest.er1
75251 cat conftest.err >&5
75252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75253 (exit $ac_status); } &&
75254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75256 (eval $ac_try) 2>&5
75257 ac_status=$?
75258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75259 (exit $ac_status); }; } &&
75260 { ac_try='test -s conftest.$ac_objext'
75261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75262 (eval $ac_try) 2>&5
75263 ac_status=$?
75264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75265 (exit $ac_status); }; }; then
75266 ac_header_compiler=yes
75267 else
75268 echo "$as_me: failed program was:" >&5
75269 sed 's/^/| /' conftest.$ac_ext >&5
75271 ac_header_compiler=no
75273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75275 echo "${ECHO_T}$ac_header_compiler" >&6
75277 # Is the header present?
75278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75280 cat >conftest.$ac_ext <<_ACEOF
75281 /* confdefs.h. */
75282 _ACEOF
75283 cat confdefs.h >>conftest.$ac_ext
75284 cat >>conftest.$ac_ext <<_ACEOF
75285 /* end confdefs.h. */
75286 #include <$ac_header>
75287 _ACEOF
75288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75290 ac_status=$?
75291 grep -v '^ *+' conftest.er1 >conftest.err
75292 rm -f conftest.er1
75293 cat conftest.err >&5
75294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75295 (exit $ac_status); } >/dev/null; then
75296 if test -s conftest.err; then
75297 ac_cpp_err=$ac_c_preproc_warn_flag
75298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75299 else
75300 ac_cpp_err=
75302 else
75303 ac_cpp_err=yes
75305 if test -z "$ac_cpp_err"; then
75306 ac_header_preproc=yes
75307 else
75308 echo "$as_me: failed program was:" >&5
75309 sed 's/^/| /' conftest.$ac_ext >&5
75311 ac_header_preproc=no
75313 rm -f conftest.err conftest.$ac_ext
75314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75315 echo "${ECHO_T}$ac_header_preproc" >&6
75317 # So? What about this header?
75318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75319 yes:no: )
75320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75324 ac_header_preproc=yes
75326 no:yes:* )
75327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75340 cat <<\_ASBOX
75341 ## ----------------------------------------- ##
75342 ## Report this to the package-unused lists. ##
75343 ## ----------------------------------------- ##
75344 _ASBOX
75346 sed "s/^/$as_me: WARNING: /" >&2
75348 esac
75349 echo "$as_me:$LINENO: checking for $ac_header" >&5
75350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75352 echo $ECHO_N "(cached) $ECHO_C" >&6
75353 else
75354 eval "$as_ac_Header=\$ac_header_preproc"
75356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75361 cat >>confdefs.h <<_ACEOF
75362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75363 _ACEOF
75364 ac_has_wctype_h=yes
75365 else
75366 ac_has_wctype_h=no
75369 done
75372 # Only continue checking if the ISO C99 headers exist and support is on.
75373 if test x"$ac_has_wchar_h" = xyes &&
75374 test x"$ac_has_wctype_h" = xyes &&
75375 test x"$enable_c_mbchar" != xno; then
75377 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
75378 # numeric_limits can instantiate type_traits<wchar_t>
75379 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
75380 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
75381 cat >conftest.$ac_ext <<_ACEOF
75382 /* confdefs.h. */
75383 _ACEOF
75384 cat confdefs.h >>conftest.$ac_ext
75385 cat >>conftest.$ac_ext <<_ACEOF
75386 /* end confdefs.h. */
75387 #include <wchar.h>
75389 main ()
75391 int i = WCHAR_MIN; int j = WCHAR_MAX;
75393 return 0;
75395 _ACEOF
75396 rm -f conftest.$ac_objext
75397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75398 (eval $ac_compile) 2>conftest.er1
75399 ac_status=$?
75400 grep -v '^ *+' conftest.er1 >conftest.err
75401 rm -f conftest.er1
75402 cat conftest.err >&5
75403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75404 (exit $ac_status); } &&
75405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75407 (eval $ac_try) 2>&5
75408 ac_status=$?
75409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75410 (exit $ac_status); }; } &&
75411 { ac_try='test -s conftest.$ac_objext'
75412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75413 (eval $ac_try) 2>&5
75414 ac_status=$?
75415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75416 (exit $ac_status); }; }; then
75417 has_wchar_minmax=yes
75418 else
75419 echo "$as_me: failed program was:" >&5
75420 sed 's/^/| /' conftest.$ac_ext >&5
75422 has_wchar_minmax=no
75424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75425 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
75426 echo "${ECHO_T}$has_wchar_minmax" >&6
75428 # Test wchar.h for WEOF, which is what we use to determine whether
75429 # to specialize for char_traits<wchar_t> or not.
75430 echo "$as_me:$LINENO: checking for WEOF" >&5
75431 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
75432 cat >conftest.$ac_ext <<_ACEOF
75433 /* confdefs.h. */
75434 _ACEOF
75435 cat confdefs.h >>conftest.$ac_ext
75436 cat >>conftest.$ac_ext <<_ACEOF
75437 /* end confdefs.h. */
75439 #include <wchar.h>
75440 #include <stddef.h>
75442 main ()
75444 wint_t i = WEOF;
75446 return 0;
75448 _ACEOF
75449 rm -f conftest.$ac_objext
75450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75451 (eval $ac_compile) 2>conftest.er1
75452 ac_status=$?
75453 grep -v '^ *+' conftest.er1 >conftest.err
75454 rm -f conftest.er1
75455 cat conftest.err >&5
75456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75457 (exit $ac_status); } &&
75458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75460 (eval $ac_try) 2>&5
75461 ac_status=$?
75462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75463 (exit $ac_status); }; } &&
75464 { ac_try='test -s conftest.$ac_objext'
75465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75466 (eval $ac_try) 2>&5
75467 ac_status=$?
75468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75469 (exit $ac_status); }; }; then
75470 has_weof=yes
75471 else
75472 echo "$as_me: failed program was:" >&5
75473 sed 's/^/| /' conftest.$ac_ext >&5
75475 has_weof=no
75477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75478 echo "$as_me:$LINENO: result: $has_weof" >&5
75479 echo "${ECHO_T}$has_weof" >&6
75481 # Tests for wide character functions used in char_traits<wchar_t>.
75482 ac_wfuncs=yes
75489 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
75491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75492 echo "$as_me:$LINENO: checking for $ac_func" >&5
75493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75494 if eval "test \"\${$as_ac_var+set}\" = set"; then
75495 echo $ECHO_N "(cached) $ECHO_C" >&6
75496 else
75497 if test x$gcc_no_link = xyes; then
75498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75500 { (exit 1); exit 1; }; }
75502 cat >conftest.$ac_ext <<_ACEOF
75503 /* confdefs.h. */
75504 _ACEOF
75505 cat confdefs.h >>conftest.$ac_ext
75506 cat >>conftest.$ac_ext <<_ACEOF
75507 /* end confdefs.h. */
75508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75510 #define $ac_func innocuous_$ac_func
75512 /* System header to define __stub macros and hopefully few prototypes,
75513 which can conflict with char $ac_func (); below.
75514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75515 <limits.h> exists even on freestanding compilers. */
75517 #ifdef __STDC__
75518 # include <limits.h>
75519 #else
75520 # include <assert.h>
75521 #endif
75523 #undef $ac_func
75525 /* Override any gcc2 internal prototype to avoid an error. */
75526 #ifdef __cplusplus
75527 extern "C"
75529 #endif
75530 /* We use char because int might match the return type of a gcc2
75531 builtin and then its argument prototype would still apply. */
75532 char $ac_func ();
75533 /* The GNU C library defines this for functions which it implements
75534 to always fail with ENOSYS. Some functions are actually named
75535 something starting with __ and the normal name is an alias. */
75536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75537 choke me
75538 #else
75539 char (*f) () = $ac_func;
75540 #endif
75541 #ifdef __cplusplus
75543 #endif
75546 main ()
75548 return f != $ac_func;
75550 return 0;
75552 _ACEOF
75553 rm -f conftest.$ac_objext conftest$ac_exeext
75554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75555 (eval $ac_link) 2>conftest.er1
75556 ac_status=$?
75557 grep -v '^ *+' conftest.er1 >conftest.err
75558 rm -f conftest.er1
75559 cat conftest.err >&5
75560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75561 (exit $ac_status); } &&
75562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75564 (eval $ac_try) 2>&5
75565 ac_status=$?
75566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75567 (exit $ac_status); }; } &&
75568 { ac_try='test -s conftest$ac_exeext'
75569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75570 (eval $ac_try) 2>&5
75571 ac_status=$?
75572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75573 (exit $ac_status); }; }; then
75574 eval "$as_ac_var=yes"
75575 else
75576 echo "$as_me: failed program was:" >&5
75577 sed 's/^/| /' conftest.$ac_ext >&5
75579 eval "$as_ac_var=no"
75581 rm -f conftest.err conftest.$ac_objext \
75582 conftest$ac_exeext conftest.$ac_ext
75584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75586 if test `eval echo '${'$as_ac_var'}'` = yes; then
75587 cat >>confdefs.h <<_ACEOF
75588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75589 _ACEOF
75591 else
75592 ac_wfuncs=no
75594 done
75597 # Checks for names injected into std:: by the c_std headers.
75644 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
75645 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
75646 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
75647 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
75648 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
75649 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
75651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75652 echo "$as_me:$LINENO: checking for $ac_func" >&5
75653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75654 if eval "test \"\${$as_ac_var+set}\" = set"; then
75655 echo $ECHO_N "(cached) $ECHO_C" >&6
75656 else
75657 if test x$gcc_no_link = xyes; then
75658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75660 { (exit 1); exit 1; }; }
75662 cat >conftest.$ac_ext <<_ACEOF
75663 /* confdefs.h. */
75664 _ACEOF
75665 cat confdefs.h >>conftest.$ac_ext
75666 cat >>conftest.$ac_ext <<_ACEOF
75667 /* end confdefs.h. */
75668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75670 #define $ac_func innocuous_$ac_func
75672 /* System header to define __stub macros and hopefully few prototypes,
75673 which can conflict with char $ac_func (); below.
75674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75675 <limits.h> exists even on freestanding compilers. */
75677 #ifdef __STDC__
75678 # include <limits.h>
75679 #else
75680 # include <assert.h>
75681 #endif
75683 #undef $ac_func
75685 /* Override any gcc2 internal prototype to avoid an error. */
75686 #ifdef __cplusplus
75687 extern "C"
75689 #endif
75690 /* We use char because int might match the return type of a gcc2
75691 builtin and then its argument prototype would still apply. */
75692 char $ac_func ();
75693 /* The GNU C library defines this for functions which it implements
75694 to always fail with ENOSYS. Some functions are actually named
75695 something starting with __ and the normal name is an alias. */
75696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75697 choke me
75698 #else
75699 char (*f) () = $ac_func;
75700 #endif
75701 #ifdef __cplusplus
75703 #endif
75706 main ()
75708 return f != $ac_func;
75710 return 0;
75712 _ACEOF
75713 rm -f conftest.$ac_objext conftest$ac_exeext
75714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75715 (eval $ac_link) 2>conftest.er1
75716 ac_status=$?
75717 grep -v '^ *+' conftest.er1 >conftest.err
75718 rm -f conftest.er1
75719 cat conftest.err >&5
75720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75721 (exit $ac_status); } &&
75722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75724 (eval $ac_try) 2>&5
75725 ac_status=$?
75726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75727 (exit $ac_status); }; } &&
75728 { ac_try='test -s conftest$ac_exeext'
75729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75730 (eval $ac_try) 2>&5
75731 ac_status=$?
75732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75733 (exit $ac_status); }; }; then
75734 eval "$as_ac_var=yes"
75735 else
75736 echo "$as_me: failed program was:" >&5
75737 sed 's/^/| /' conftest.$ac_ext >&5
75739 eval "$as_ac_var=no"
75741 rm -f conftest.err conftest.$ac_objext \
75742 conftest$ac_exeext conftest.$ac_ext
75744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75746 if test `eval echo '${'$as_ac_var'}'` = yes; then
75747 cat >>confdefs.h <<_ACEOF
75748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75749 _ACEOF
75751 else
75752 ac_wfuncs=no
75754 done
75757 # Checks for wide character functions that are not required
75758 # for basic wchar_t support. Don't disable support if they are missing.
75759 # Injection of these is wrapped with guard macros.
75765 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
75767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75768 echo "$as_me:$LINENO: checking for $ac_func" >&5
75769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75770 if eval "test \"\${$as_ac_var+set}\" = set"; then
75771 echo $ECHO_N "(cached) $ECHO_C" >&6
75772 else
75773 if test x$gcc_no_link = xyes; then
75774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75776 { (exit 1); exit 1; }; }
75778 cat >conftest.$ac_ext <<_ACEOF
75779 /* confdefs.h. */
75780 _ACEOF
75781 cat confdefs.h >>conftest.$ac_ext
75782 cat >>conftest.$ac_ext <<_ACEOF
75783 /* end confdefs.h. */
75784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75786 #define $ac_func innocuous_$ac_func
75788 /* System header to define __stub macros and hopefully few prototypes,
75789 which can conflict with char $ac_func (); below.
75790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75791 <limits.h> exists even on freestanding compilers. */
75793 #ifdef __STDC__
75794 # include <limits.h>
75795 #else
75796 # include <assert.h>
75797 #endif
75799 #undef $ac_func
75801 /* Override any gcc2 internal prototype to avoid an error. */
75802 #ifdef __cplusplus
75803 extern "C"
75805 #endif
75806 /* We use char because int might match the return type of a gcc2
75807 builtin and then its argument prototype would still apply. */
75808 char $ac_func ();
75809 /* The GNU C library defines this for functions which it implements
75810 to always fail with ENOSYS. Some functions are actually named
75811 something starting with __ and the normal name is an alias. */
75812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75813 choke me
75814 #else
75815 char (*f) () = $ac_func;
75816 #endif
75817 #ifdef __cplusplus
75819 #endif
75822 main ()
75824 return f != $ac_func;
75826 return 0;
75828 _ACEOF
75829 rm -f conftest.$ac_objext conftest$ac_exeext
75830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75831 (eval $ac_link) 2>conftest.er1
75832 ac_status=$?
75833 grep -v '^ *+' conftest.er1 >conftest.err
75834 rm -f conftest.er1
75835 cat conftest.err >&5
75836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75837 (exit $ac_status); } &&
75838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75840 (eval $ac_try) 2>&5
75841 ac_status=$?
75842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75843 (exit $ac_status); }; } &&
75844 { ac_try='test -s conftest$ac_exeext'
75845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75846 (eval $ac_try) 2>&5
75847 ac_status=$?
75848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75849 (exit $ac_status); }; }; then
75850 eval "$as_ac_var=yes"
75851 else
75852 echo "$as_me: failed program was:" >&5
75853 sed 's/^/| /' conftest.$ac_ext >&5
75855 eval "$as_ac_var=no"
75857 rm -f conftest.err conftest.$ac_objext \
75858 conftest$ac_exeext conftest.$ac_ext
75860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75862 if test `eval echo '${'$as_ac_var'}'` = yes; then
75863 cat >>confdefs.h <<_ACEOF
75864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75865 _ACEOF
75868 done
75871 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
75872 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
75873 if test x"$has_weof" = xyes &&
75874 test x"$has_wchar_minmax" = xyes &&
75875 test x"$ac_wfuncs" = xyes;
75876 then
75877 ac_isoC99_wchar_t=yes
75878 else
75879 ac_isoC99_wchar_t=no
75881 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
75882 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
75884 # Use iconv for wchar_t to char conversions. As such, check for
75885 # X/Open Portability Guide, version 2 features (XPG2).
75886 if test "${ac_cv_header_iconv_h+set}" = set; then
75887 echo "$as_me:$LINENO: checking for iconv.h" >&5
75888 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75889 if test "${ac_cv_header_iconv_h+set}" = set; then
75890 echo $ECHO_N "(cached) $ECHO_C" >&6
75892 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75893 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75894 else
75895 # Is the header compilable?
75896 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75897 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75898 cat >conftest.$ac_ext <<_ACEOF
75899 /* confdefs.h. */
75900 _ACEOF
75901 cat confdefs.h >>conftest.$ac_ext
75902 cat >>conftest.$ac_ext <<_ACEOF
75903 /* end confdefs.h. */
75904 $ac_includes_default
75905 #include <iconv.h>
75906 _ACEOF
75907 rm -f conftest.$ac_objext
75908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75909 (eval $ac_compile) 2>conftest.er1
75910 ac_status=$?
75911 grep -v '^ *+' conftest.er1 >conftest.err
75912 rm -f conftest.er1
75913 cat conftest.err >&5
75914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75915 (exit $ac_status); } &&
75916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75918 (eval $ac_try) 2>&5
75919 ac_status=$?
75920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75921 (exit $ac_status); }; } &&
75922 { ac_try='test -s conftest.$ac_objext'
75923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75924 (eval $ac_try) 2>&5
75925 ac_status=$?
75926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927 (exit $ac_status); }; }; then
75928 ac_header_compiler=yes
75929 else
75930 echo "$as_me: failed program was:" >&5
75931 sed 's/^/| /' conftest.$ac_ext >&5
75933 ac_header_compiler=no
75935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75937 echo "${ECHO_T}$ac_header_compiler" >&6
75939 # Is the header present?
75940 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75941 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75942 cat >conftest.$ac_ext <<_ACEOF
75943 /* confdefs.h. */
75944 _ACEOF
75945 cat confdefs.h >>conftest.$ac_ext
75946 cat >>conftest.$ac_ext <<_ACEOF
75947 /* end confdefs.h. */
75948 #include <iconv.h>
75949 _ACEOF
75950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75952 ac_status=$?
75953 grep -v '^ *+' conftest.er1 >conftest.err
75954 rm -f conftest.er1
75955 cat conftest.err >&5
75956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75957 (exit $ac_status); } >/dev/null; then
75958 if test -s conftest.err; then
75959 ac_cpp_err=$ac_c_preproc_warn_flag
75960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75961 else
75962 ac_cpp_err=
75964 else
75965 ac_cpp_err=yes
75967 if test -z "$ac_cpp_err"; then
75968 ac_header_preproc=yes
75969 else
75970 echo "$as_me: failed program was:" >&5
75971 sed 's/^/| /' conftest.$ac_ext >&5
75973 ac_header_preproc=no
75975 rm -f conftest.err conftest.$ac_ext
75976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75977 echo "${ECHO_T}$ac_header_preproc" >&6
75979 # So? What about this header?
75980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75981 yes:no: )
75982 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75983 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75984 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75985 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75986 ac_header_preproc=yes
75988 no:yes:* )
75989 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75990 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75991 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75992 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75993 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75994 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75995 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75996 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75997 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75998 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75999 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76000 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76002 cat <<\_ASBOX
76003 ## ----------------------------------------- ##
76004 ## Report this to the package-unused lists. ##
76005 ## ----------------------------------------- ##
76006 _ASBOX
76008 sed "s/^/$as_me: WARNING: /" >&2
76010 esac
76011 echo "$as_me:$LINENO: checking for iconv.h" >&5
76012 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76013 if test "${ac_cv_header_iconv_h+set}" = set; then
76014 echo $ECHO_N "(cached) $ECHO_C" >&6
76015 else
76016 ac_cv_header_iconv_h=$ac_header_preproc
76018 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76019 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76022 if test $ac_cv_header_iconv_h = yes; then
76023 ac_has_iconv_h=yes
76024 else
76025 ac_has_iconv_h=no
76029 if test "${ac_cv_header_langinfo_h+set}" = set; then
76030 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76031 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76032 if test "${ac_cv_header_langinfo_h+set}" = set; then
76033 echo $ECHO_N "(cached) $ECHO_C" >&6
76035 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76036 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76037 else
76038 # Is the header compilable?
76039 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76040 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76041 cat >conftest.$ac_ext <<_ACEOF
76042 /* confdefs.h. */
76043 _ACEOF
76044 cat confdefs.h >>conftest.$ac_ext
76045 cat >>conftest.$ac_ext <<_ACEOF
76046 /* end confdefs.h. */
76047 $ac_includes_default
76048 #include <langinfo.h>
76049 _ACEOF
76050 rm -f conftest.$ac_objext
76051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76052 (eval $ac_compile) 2>conftest.er1
76053 ac_status=$?
76054 grep -v '^ *+' conftest.er1 >conftest.err
76055 rm -f conftest.er1
76056 cat conftest.err >&5
76057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76058 (exit $ac_status); } &&
76059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76061 (eval $ac_try) 2>&5
76062 ac_status=$?
76063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76064 (exit $ac_status); }; } &&
76065 { ac_try='test -s conftest.$ac_objext'
76066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76067 (eval $ac_try) 2>&5
76068 ac_status=$?
76069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76070 (exit $ac_status); }; }; then
76071 ac_header_compiler=yes
76072 else
76073 echo "$as_me: failed program was:" >&5
76074 sed 's/^/| /' conftest.$ac_ext >&5
76076 ac_header_compiler=no
76078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76080 echo "${ECHO_T}$ac_header_compiler" >&6
76082 # Is the header present?
76083 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76084 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76085 cat >conftest.$ac_ext <<_ACEOF
76086 /* confdefs.h. */
76087 _ACEOF
76088 cat confdefs.h >>conftest.$ac_ext
76089 cat >>conftest.$ac_ext <<_ACEOF
76090 /* end confdefs.h. */
76091 #include <langinfo.h>
76092 _ACEOF
76093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76095 ac_status=$?
76096 grep -v '^ *+' conftest.er1 >conftest.err
76097 rm -f conftest.er1
76098 cat conftest.err >&5
76099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76100 (exit $ac_status); } >/dev/null; then
76101 if test -s conftest.err; then
76102 ac_cpp_err=$ac_c_preproc_warn_flag
76103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76104 else
76105 ac_cpp_err=
76107 else
76108 ac_cpp_err=yes
76110 if test -z "$ac_cpp_err"; then
76111 ac_header_preproc=yes
76112 else
76113 echo "$as_me: failed program was:" >&5
76114 sed 's/^/| /' conftest.$ac_ext >&5
76116 ac_header_preproc=no
76118 rm -f conftest.err conftest.$ac_ext
76119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76120 echo "${ECHO_T}$ac_header_preproc" >&6
76122 # So? What about this header?
76123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76124 yes:no: )
76125 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76126 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76127 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76128 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76129 ac_header_preproc=yes
76131 no:yes:* )
76132 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76133 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76134 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76135 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76136 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76137 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76138 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76139 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76140 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76141 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76142 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76143 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76145 cat <<\_ASBOX
76146 ## ----------------------------------------- ##
76147 ## Report this to the package-unused lists. ##
76148 ## ----------------------------------------- ##
76149 _ASBOX
76151 sed "s/^/$as_me: WARNING: /" >&2
76153 esac
76154 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76155 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76156 if test "${ac_cv_header_langinfo_h+set}" = set; then
76157 echo $ECHO_N "(cached) $ECHO_C" >&6
76158 else
76159 ac_cv_header_langinfo_h=$ac_header_preproc
76161 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76162 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76165 if test $ac_cv_header_langinfo_h = yes; then
76166 ac_has_langinfo_h=yes
76167 else
76168 ac_has_langinfo_h=no
76173 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76174 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76175 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76176 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76177 echo $ECHO_N "(cached) $ECHO_C" >&6
76178 else
76179 ac_check_lib_save_LIBS=$LIBS
76180 LIBS="-liconv $LIBS"
76181 if test x$gcc_no_link = xyes; then
76182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76184 { (exit 1); exit 1; }; }
76186 cat >conftest.$ac_ext <<_ACEOF
76187 /* confdefs.h. */
76188 _ACEOF
76189 cat confdefs.h >>conftest.$ac_ext
76190 cat >>conftest.$ac_ext <<_ACEOF
76191 /* end confdefs.h. */
76193 /* Override any gcc2 internal prototype to avoid an error. */
76194 #ifdef __cplusplus
76195 extern "C"
76196 #endif
76197 /* We use char because int might match the return type of a gcc2
76198 builtin and then its argument prototype would still apply. */
76199 char iconv ();
76201 main ()
76203 iconv ();
76205 return 0;
76207 _ACEOF
76208 rm -f conftest.$ac_objext conftest$ac_exeext
76209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76210 (eval $ac_link) 2>conftest.er1
76211 ac_status=$?
76212 grep -v '^ *+' conftest.er1 >conftest.err
76213 rm -f conftest.er1
76214 cat conftest.err >&5
76215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76216 (exit $ac_status); } &&
76217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76219 (eval $ac_try) 2>&5
76220 ac_status=$?
76221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76222 (exit $ac_status); }; } &&
76223 { ac_try='test -s conftest$ac_exeext'
76224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76225 (eval $ac_try) 2>&5
76226 ac_status=$?
76227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76228 (exit $ac_status); }; }; then
76229 ac_cv_lib_iconv_iconv=yes
76230 else
76231 echo "$as_me: failed program was:" >&5
76232 sed 's/^/| /' conftest.$ac_ext >&5
76234 ac_cv_lib_iconv_iconv=no
76236 rm -f conftest.err conftest.$ac_objext \
76237 conftest$ac_exeext conftest.$ac_ext
76238 LIBS=$ac_check_lib_save_LIBS
76240 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76241 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76242 if test $ac_cv_lib_iconv_iconv = yes; then
76243 LIBICONV="-liconv"
76246 ac_save_LIBS="$LIBS"
76247 LIBS="$LIBS $LIBICONV"
76254 for ac_func in iconv_open iconv_close iconv nl_langinfo
76256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76257 echo "$as_me:$LINENO: checking for $ac_func" >&5
76258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76259 if eval "test \"\${$as_ac_var+set}\" = set"; then
76260 echo $ECHO_N "(cached) $ECHO_C" >&6
76261 else
76262 if test x$gcc_no_link = xyes; then
76263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76265 { (exit 1); exit 1; }; }
76267 cat >conftest.$ac_ext <<_ACEOF
76268 /* confdefs.h. */
76269 _ACEOF
76270 cat confdefs.h >>conftest.$ac_ext
76271 cat >>conftest.$ac_ext <<_ACEOF
76272 /* end confdefs.h. */
76273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76275 #define $ac_func innocuous_$ac_func
76277 /* System header to define __stub macros and hopefully few prototypes,
76278 which can conflict with char $ac_func (); below.
76279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76280 <limits.h> exists even on freestanding compilers. */
76282 #ifdef __STDC__
76283 # include <limits.h>
76284 #else
76285 # include <assert.h>
76286 #endif
76288 #undef $ac_func
76290 /* Override any gcc2 internal prototype to avoid an error. */
76291 #ifdef __cplusplus
76292 extern "C"
76294 #endif
76295 /* We use char because int might match the return type of a gcc2
76296 builtin and then its argument prototype would still apply. */
76297 char $ac_func ();
76298 /* The GNU C library defines this for functions which it implements
76299 to always fail with ENOSYS. Some functions are actually named
76300 something starting with __ and the normal name is an alias. */
76301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76302 choke me
76303 #else
76304 char (*f) () = $ac_func;
76305 #endif
76306 #ifdef __cplusplus
76308 #endif
76311 main ()
76313 return f != $ac_func;
76315 return 0;
76317 _ACEOF
76318 rm -f conftest.$ac_objext conftest$ac_exeext
76319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76320 (eval $ac_link) 2>conftest.er1
76321 ac_status=$?
76322 grep -v '^ *+' conftest.er1 >conftest.err
76323 rm -f conftest.er1
76324 cat conftest.err >&5
76325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76326 (exit $ac_status); } &&
76327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76329 (eval $ac_try) 2>&5
76330 ac_status=$?
76331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76332 (exit $ac_status); }; } &&
76333 { ac_try='test -s conftest$ac_exeext'
76334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76335 (eval $ac_try) 2>&5
76336 ac_status=$?
76337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76338 (exit $ac_status); }; }; then
76339 eval "$as_ac_var=yes"
76340 else
76341 echo "$as_me: failed program was:" >&5
76342 sed 's/^/| /' conftest.$ac_ext >&5
76344 eval "$as_ac_var=no"
76346 rm -f conftest.err conftest.$ac_objext \
76347 conftest$ac_exeext conftest.$ac_ext
76349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76351 if test `eval echo '${'$as_ac_var'}'` = yes; then
76352 cat >>confdefs.h <<_ACEOF
76353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76354 _ACEOF
76355 ac_XPG2funcs=yes
76356 else
76357 ac_XPG2funcs=no
76359 done
76362 LIBS="$ac_save_LIBS"
76364 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
76365 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
76366 if test x"$ac_has_iconv_h" = xyes &&
76367 test x"$ac_has_langinfo_h" = xyes &&
76368 test x"$ac_XPG2funcs" = xyes;
76369 then
76370 ac_XPG2_wchar_t=yes
76371 else
76372 ac_XPG2_wchar_t=no
76374 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
76375 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
76377 # At the moment, only enable wchar_t specializations if all the
76378 # above support is present.
76379 if test x"$ac_isoC99_wchar_t" = xyes &&
76380 test x"$ac_XPG2_wchar_t" = xyes;
76381 then
76382 cat >>confdefs.h <<\_ACEOF
76383 #define _GLIBCXX_USE_WCHAR_T 1
76384 _ACEOF
76386 enable_wchar_t=yes
76389 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
76390 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
76391 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
76392 echo "${ECHO_T}$enable_wchar_t" >&6
76394 cat >>confdefs.h <<\_ACEOF
76395 #define HAVE_LC_MESSAGES 1
76396 _ACEOF
76398 cat >>confdefs.h <<\_ACEOF
76399 #define HAVE_GETPAGESIZE 1
76400 _ACEOF
76402 cat >>confdefs.h <<\_ACEOF
76403 #define HAVE_SETENV 1
76404 _ACEOF
76406 cat >>confdefs.h <<\_ACEOF
76407 #define HAVE_SIGSETJMP 1
76408 _ACEOF
76410 cat >>confdefs.h <<\_ACEOF
76411 #define HAVE_COPYSIGN 1
76412 _ACEOF
76414 cat >>confdefs.h <<\_ACEOF
76415 #define HAVE_COPYSIGNF 1
76416 _ACEOF
76418 cat >>confdefs.h <<\_ACEOF
76419 #define HAVE_FINITEF 1
76420 _ACEOF
76422 cat >>confdefs.h <<\_ACEOF
76423 #define HAVE_FINITE 1
76424 _ACEOF
76426 cat >>confdefs.h <<\_ACEOF
76427 #define HAVE_FREXPF 1
76428 _ACEOF
76430 cat >>confdefs.h <<\_ACEOF
76431 #define HAVE_HYPOT 1
76432 _ACEOF
76434 cat >>confdefs.h <<\_ACEOF
76435 #define HAVE_HYPOTF 1
76436 _ACEOF
76438 cat >>confdefs.h <<\_ACEOF
76439 #define HAVE_ISINF 1
76440 _ACEOF
76442 cat >>confdefs.h <<\_ACEOF
76443 #define HAVE_ISNAN 1
76444 _ACEOF
76446 cat >>confdefs.h <<\_ACEOF
76447 #define HAVE_ISNANF 1
76448 _ACEOF
76451 cat >>confdefs.h <<\_ACEOF
76452 #define HAVE_MMAP 1
76453 _ACEOF
76455 cat >>confdefs.h <<\_ACEOF
76456 #define HAVE_ACOSF 1
76457 _ACEOF
76459 cat >>confdefs.h <<\_ACEOF
76460 #define HAVE_ASINF 1
76461 _ACEOF
76463 cat >>confdefs.h <<\_ACEOF
76464 #define HAVE_ATAN2F 1
76465 _ACEOF
76467 cat >>confdefs.h <<\_ACEOF
76468 #define HAVE_ATANF 1
76469 _ACEOF
76471 cat >>confdefs.h <<\_ACEOF
76472 #define HAVE_CEILF 1
76473 _ACEOF
76475 cat >>confdefs.h <<\_ACEOF
76476 #define HAVE_COPYSIGN 1
76477 _ACEOF
76479 cat >>confdefs.h <<\_ACEOF
76480 #define HAVE_COPYSIGNF 1
76481 _ACEOF
76483 cat >>confdefs.h <<\_ACEOF
76484 #define HAVE_COSF 1
76485 _ACEOF
76487 cat >>confdefs.h <<\_ACEOF
76488 #define HAVE_COSHF 1
76489 _ACEOF
76491 cat >>confdefs.h <<\_ACEOF
76492 #define HAVE_EXPF 1
76493 _ACEOF
76495 cat >>confdefs.h <<\_ACEOF
76496 #define HAVE_FABSF 1
76497 _ACEOF
76499 cat >>confdefs.h <<\_ACEOF
76500 #define HAVE_FLOORF 1
76501 _ACEOF
76503 cat >>confdefs.h <<\_ACEOF
76504 #define HAVE_FMODF 1
76505 _ACEOF
76507 cat >>confdefs.h <<\_ACEOF
76508 #define HAVE_FREXPF 1
76509 _ACEOF
76511 cat >>confdefs.h <<\_ACEOF
76512 #define HAVE_LDEXPF 1
76513 _ACEOF
76515 cat >>confdefs.h <<\_ACEOF
76516 #define HAVE_LOG10F 1
76517 _ACEOF
76519 cat >>confdefs.h <<\_ACEOF
76520 #define HAVE_LOGF 1
76521 _ACEOF
76523 cat >>confdefs.h <<\_ACEOF
76524 #define HAVE_MODFF 1
76525 _ACEOF
76527 cat >>confdefs.h <<\_ACEOF
76528 #define HAVE_POWF 1
76529 _ACEOF
76531 cat >>confdefs.h <<\_ACEOF
76532 #define HAVE_SINF 1
76533 _ACEOF
76535 cat >>confdefs.h <<\_ACEOF
76536 #define HAVE_SINHF 1
76537 _ACEOF
76539 cat >>confdefs.h <<\_ACEOF
76540 #define HAVE_SQRTF 1
76541 _ACEOF
76543 cat >>confdefs.h <<\_ACEOF
76544 #define HAVE_TANF 1
76545 _ACEOF
76547 cat >>confdefs.h <<\_ACEOF
76548 #define HAVE_TANHF 1
76549 _ACEOF
76551 if test x"long_double_math_on_this_cpu" = x"yes"; then
76552 cat >>confdefs.h <<\_ACEOF
76553 #define HAVE_FINITEL 1
76554 _ACEOF
76556 cat >>confdefs.h <<\_ACEOF
76557 #define HAVE_ISINFL 1
76558 _ACEOF
76560 cat >>confdefs.h <<\_ACEOF
76561 #define HAVE_ISNANL 1
76562 _ACEOF
76566 *-hpux*)
76579 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76580 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76581 fp.h locale.h float.h inttypes.h
76583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76585 echo "$as_me:$LINENO: checking for $ac_header" >&5
76586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76588 echo $ECHO_N "(cached) $ECHO_C" >&6
76590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76592 else
76593 # Is the header compilable?
76594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76596 cat >conftest.$ac_ext <<_ACEOF
76597 /* confdefs.h. */
76598 _ACEOF
76599 cat confdefs.h >>conftest.$ac_ext
76600 cat >>conftest.$ac_ext <<_ACEOF
76601 /* end confdefs.h. */
76602 $ac_includes_default
76603 #include <$ac_header>
76604 _ACEOF
76605 rm -f conftest.$ac_objext
76606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76607 (eval $ac_compile) 2>conftest.er1
76608 ac_status=$?
76609 grep -v '^ *+' conftest.er1 >conftest.err
76610 rm -f conftest.er1
76611 cat conftest.err >&5
76612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76613 (exit $ac_status); } &&
76614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76616 (eval $ac_try) 2>&5
76617 ac_status=$?
76618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76619 (exit $ac_status); }; } &&
76620 { ac_try='test -s conftest.$ac_objext'
76621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76622 (eval $ac_try) 2>&5
76623 ac_status=$?
76624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76625 (exit $ac_status); }; }; then
76626 ac_header_compiler=yes
76627 else
76628 echo "$as_me: failed program was:" >&5
76629 sed 's/^/| /' conftest.$ac_ext >&5
76631 ac_header_compiler=no
76633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76635 echo "${ECHO_T}$ac_header_compiler" >&6
76637 # Is the header present?
76638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76640 cat >conftest.$ac_ext <<_ACEOF
76641 /* confdefs.h. */
76642 _ACEOF
76643 cat confdefs.h >>conftest.$ac_ext
76644 cat >>conftest.$ac_ext <<_ACEOF
76645 /* end confdefs.h. */
76646 #include <$ac_header>
76647 _ACEOF
76648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76650 ac_status=$?
76651 grep -v '^ *+' conftest.er1 >conftest.err
76652 rm -f conftest.er1
76653 cat conftest.err >&5
76654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76655 (exit $ac_status); } >/dev/null; then
76656 if test -s conftest.err; then
76657 ac_cpp_err=$ac_c_preproc_warn_flag
76658 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76659 else
76660 ac_cpp_err=
76662 else
76663 ac_cpp_err=yes
76665 if test -z "$ac_cpp_err"; then
76666 ac_header_preproc=yes
76667 else
76668 echo "$as_me: failed program was:" >&5
76669 sed 's/^/| /' conftest.$ac_ext >&5
76671 ac_header_preproc=no
76673 rm -f conftest.err conftest.$ac_ext
76674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76675 echo "${ECHO_T}$ac_header_preproc" >&6
76677 # So? What about this header?
76678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76679 yes:no: )
76680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76684 ac_header_preproc=yes
76686 no:yes:* )
76687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76700 cat <<\_ASBOX
76701 ## ----------------------------------------- ##
76702 ## Report this to the package-unused lists. ##
76703 ## ----------------------------------------- ##
76704 _ASBOX
76706 sed "s/^/$as_me: WARNING: /" >&2
76708 esac
76709 echo "$as_me:$LINENO: checking for $ac_header" >&5
76710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76712 echo $ECHO_N "(cached) $ECHO_C" >&6
76713 else
76714 eval "$as_ac_Header=\$ac_header_preproc"
76716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76721 cat >>confdefs.h <<_ACEOF
76722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76723 _ACEOF
76727 done
76729 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76732 # If we're not using GNU ld, then there's no point in even trying these
76733 # tests. Check for that first. We should have already tested for gld
76734 # by now (in libtool), but require it now just to be safe...
76735 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76736 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76740 # The name set by libtool depends on the version of libtool. Shame on us
76741 # for depending on an impl detail, but c'est la vie. Older versions used
76742 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76743 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76744 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76745 # set (hence we're using an older libtool), then set it.
76746 if test x${with_gnu_ld+set} != xset; then
76747 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76748 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76749 with_gnu_ld=no
76750 else
76751 with_gnu_ld=$ac_cv_prog_gnu_ld
76755 # Start by getting the version number. I think the libtool test already
76756 # does some of this, but throws away the result.
76758 ldver=`$LD --version 2>/dev/null | head -1 | \
76759 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76761 glibcxx_gnu_ld_version=`echo $ldver | \
76762 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76764 # Set --gc-sections.
76765 if test "$with_gnu_ld" = "notbroken"; then
76766 # GNU ld it is! Joy and bunny rabbits!
76768 # All these tests are for C++; save the language and the compiler flags.
76769 # Need to do this so that g++ won't try to link in libstdc++
76770 ac_test_CFLAGS="${CFLAGS+set}"
76771 ac_save_CFLAGS="$CFLAGS"
76772 CFLAGS='-x c++ -Wl,--gc-sections'
76774 # Check for -Wl,--gc-sections
76775 # XXX This test is broken at the moment, as symbols required for linking
76776 # are now in libsupc++ (not built yet). In addition, this test has
76777 # cored on solaris in the past. In addition, --gc-sections doesn't
76778 # really work at the moment (keeps on discarding used sections, first
76779 # .eh_frame and now some of the glibc sections for iconv).
76780 # Bzzzzt. Thanks for playing, maybe next time.
76781 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76782 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76783 if test "$cross_compiling" = yes; then
76784 ac_sectionLDflags=yes
76785 else
76786 cat >conftest.$ac_ext <<_ACEOF
76787 /* confdefs.h. */
76788 _ACEOF
76789 cat confdefs.h >>conftest.$ac_ext
76790 cat >>conftest.$ac_ext <<_ACEOF
76791 /* end confdefs.h. */
76793 int main(void)
76795 try { throw 1; }
76796 catch (...) { };
76797 return 0;
76800 _ACEOF
76801 rm -f conftest$ac_exeext
76802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76803 (eval $ac_link) 2>&5
76804 ac_status=$?
76805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76808 (eval $ac_try) 2>&5
76809 ac_status=$?
76810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76811 (exit $ac_status); }; }; then
76812 ac_sectionLDflags=yes
76813 else
76814 echo "$as_me: program exited with status $ac_status" >&5
76815 echo "$as_me: failed program was:" >&5
76816 sed 's/^/| /' conftest.$ac_ext >&5
76818 ( exit $ac_status )
76819 ac_sectionLDflags=no
76821 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76823 if test "$ac_test_CFLAGS" = set; then
76824 CFLAGS="$ac_save_CFLAGS"
76825 else
76826 # this is the suspicious part
76827 CFLAGS=''
76829 if test "$ac_sectionLDflags" = "yes"; then
76830 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76832 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
76833 echo "${ECHO_T}$ac_sectionLDflags" >&6
76836 # Set linker optimization flags.
76837 if test x"$with_gnu_ld" = x"yes"; then
76838 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76846 echo "$as_me:$LINENO: checking for main in -lm" >&5
76847 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76848 if test "${ac_cv_lib_m_main+set}" = set; then
76849 echo $ECHO_N "(cached) $ECHO_C" >&6
76850 else
76851 ac_check_lib_save_LIBS=$LIBS
76852 LIBS="-lm $LIBS"
76853 if test x$gcc_no_link = xyes; then
76854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76856 { (exit 1); exit 1; }; }
76858 cat >conftest.$ac_ext <<_ACEOF
76859 /* confdefs.h. */
76860 _ACEOF
76861 cat confdefs.h >>conftest.$ac_ext
76862 cat >>conftest.$ac_ext <<_ACEOF
76863 /* end confdefs.h. */
76867 main ()
76869 main ();
76871 return 0;
76873 _ACEOF
76874 rm -f conftest.$ac_objext conftest$ac_exeext
76875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76876 (eval $ac_link) 2>conftest.er1
76877 ac_status=$?
76878 grep -v '^ *+' conftest.er1 >conftest.err
76879 rm -f conftest.er1
76880 cat conftest.err >&5
76881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76882 (exit $ac_status); } &&
76883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76885 (eval $ac_try) 2>&5
76886 ac_status=$?
76887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76888 (exit $ac_status); }; } &&
76889 { ac_try='test -s conftest$ac_exeext'
76890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76891 (eval $ac_try) 2>&5
76892 ac_status=$?
76893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894 (exit $ac_status); }; }; then
76895 ac_cv_lib_m_main=yes
76896 else
76897 echo "$as_me: failed program was:" >&5
76898 sed 's/^/| /' conftest.$ac_ext >&5
76900 ac_cv_lib_m_main=no
76902 rm -f conftest.err conftest.$ac_objext \
76903 conftest$ac_exeext conftest.$ac_ext
76904 LIBS=$ac_check_lib_save_LIBS
76906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76907 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76908 if test $ac_cv_lib_m_main = yes; then
76909 cat >>confdefs.h <<_ACEOF
76910 #define HAVE_LIBM 1
76911 _ACEOF
76913 LIBS="-lm $LIBS"
76918 for ac_func in copysignf
76920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76921 echo "$as_me:$LINENO: checking for $ac_func" >&5
76922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76923 if eval "test \"\${$as_ac_var+set}\" = set"; then
76924 echo $ECHO_N "(cached) $ECHO_C" >&6
76925 else
76926 if test x$gcc_no_link = xyes; then
76927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76929 { (exit 1); exit 1; }; }
76931 cat >conftest.$ac_ext <<_ACEOF
76932 /* confdefs.h. */
76933 _ACEOF
76934 cat confdefs.h >>conftest.$ac_ext
76935 cat >>conftest.$ac_ext <<_ACEOF
76936 /* end confdefs.h. */
76937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76939 #define $ac_func innocuous_$ac_func
76941 /* System header to define __stub macros and hopefully few prototypes,
76942 which can conflict with char $ac_func (); below.
76943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76944 <limits.h> exists even on freestanding compilers. */
76946 #ifdef __STDC__
76947 # include <limits.h>
76948 #else
76949 # include <assert.h>
76950 #endif
76952 #undef $ac_func
76954 /* Override any gcc2 internal prototype to avoid an error. */
76955 #ifdef __cplusplus
76956 extern "C"
76958 #endif
76959 /* We use char because int might match the return type of a gcc2
76960 builtin and then its argument prototype would still apply. */
76961 char $ac_func ();
76962 /* The GNU C library defines this for functions which it implements
76963 to always fail with ENOSYS. Some functions are actually named
76964 something starting with __ and the normal name is an alias. */
76965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76966 choke me
76967 #else
76968 char (*f) () = $ac_func;
76969 #endif
76970 #ifdef __cplusplus
76972 #endif
76975 main ()
76977 return f != $ac_func;
76979 return 0;
76981 _ACEOF
76982 rm -f conftest.$ac_objext conftest$ac_exeext
76983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76984 (eval $ac_link) 2>conftest.er1
76985 ac_status=$?
76986 grep -v '^ *+' conftest.er1 >conftest.err
76987 rm -f conftest.er1
76988 cat conftest.err >&5
76989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76990 (exit $ac_status); } &&
76991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76993 (eval $ac_try) 2>&5
76994 ac_status=$?
76995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76996 (exit $ac_status); }; } &&
76997 { ac_try='test -s conftest$ac_exeext'
76998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76999 (eval $ac_try) 2>&5
77000 ac_status=$?
77001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77002 (exit $ac_status); }; }; then
77003 eval "$as_ac_var=yes"
77004 else
77005 echo "$as_me: failed program was:" >&5
77006 sed 's/^/| /' conftest.$ac_ext >&5
77008 eval "$as_ac_var=no"
77010 rm -f conftest.err conftest.$ac_objext \
77011 conftest$ac_exeext conftest.$ac_ext
77013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77015 if test `eval echo '${'$as_ac_var'}'` = yes; then
77016 cat >>confdefs.h <<_ACEOF
77017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77018 _ACEOF
77020 else
77021 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77023 done
77027 for ac_func in __signbit
77029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77030 echo "$as_me:$LINENO: checking for $ac_func" >&5
77031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77032 if eval "test \"\${$as_ac_var+set}\" = set"; then
77033 echo $ECHO_N "(cached) $ECHO_C" >&6
77034 else
77035 if test x$gcc_no_link = xyes; then
77036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77038 { (exit 1); exit 1; }; }
77040 cat >conftest.$ac_ext <<_ACEOF
77041 /* confdefs.h. */
77042 _ACEOF
77043 cat confdefs.h >>conftest.$ac_ext
77044 cat >>conftest.$ac_ext <<_ACEOF
77045 /* end confdefs.h. */
77046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77048 #define $ac_func innocuous_$ac_func
77050 /* System header to define __stub macros and hopefully few prototypes,
77051 which can conflict with char $ac_func (); below.
77052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77053 <limits.h> exists even on freestanding compilers. */
77055 #ifdef __STDC__
77056 # include <limits.h>
77057 #else
77058 # include <assert.h>
77059 #endif
77061 #undef $ac_func
77063 /* Override any gcc2 internal prototype to avoid an error. */
77064 #ifdef __cplusplus
77065 extern "C"
77067 #endif
77068 /* We use char because int might match the return type of a gcc2
77069 builtin and then its argument prototype would still apply. */
77070 char $ac_func ();
77071 /* The GNU C library defines this for functions which it implements
77072 to always fail with ENOSYS. Some functions are actually named
77073 something starting with __ and the normal name is an alias. */
77074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77075 choke me
77076 #else
77077 char (*f) () = $ac_func;
77078 #endif
77079 #ifdef __cplusplus
77081 #endif
77084 main ()
77086 return f != $ac_func;
77088 return 0;
77090 _ACEOF
77091 rm -f conftest.$ac_objext conftest$ac_exeext
77092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77093 (eval $ac_link) 2>conftest.er1
77094 ac_status=$?
77095 grep -v '^ *+' conftest.er1 >conftest.err
77096 rm -f conftest.er1
77097 cat conftest.err >&5
77098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77099 (exit $ac_status); } &&
77100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77102 (eval $ac_try) 2>&5
77103 ac_status=$?
77104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77105 (exit $ac_status); }; } &&
77106 { ac_try='test -s conftest$ac_exeext'
77107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77108 (eval $ac_try) 2>&5
77109 ac_status=$?
77110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77111 (exit $ac_status); }; }; then
77112 eval "$as_ac_var=yes"
77113 else
77114 echo "$as_me: failed program was:" >&5
77115 sed 's/^/| /' conftest.$ac_ext >&5
77117 eval "$as_ac_var=no"
77119 rm -f conftest.err conftest.$ac_objext \
77120 conftest$ac_exeext conftest.$ac_ext
77122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77124 if test `eval echo '${'$as_ac_var'}'` = yes; then
77125 cat >>confdefs.h <<_ACEOF
77126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77127 _ACEOF
77129 else
77130 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77132 done
77136 for ac_func in __signbitf
77138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77139 echo "$as_me:$LINENO: checking for $ac_func" >&5
77140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77141 if eval "test \"\${$as_ac_var+set}\" = set"; then
77142 echo $ECHO_N "(cached) $ECHO_C" >&6
77143 else
77144 if test x$gcc_no_link = xyes; then
77145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77147 { (exit 1); exit 1; }; }
77149 cat >conftest.$ac_ext <<_ACEOF
77150 /* confdefs.h. */
77151 _ACEOF
77152 cat confdefs.h >>conftest.$ac_ext
77153 cat >>conftest.$ac_ext <<_ACEOF
77154 /* end confdefs.h. */
77155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77157 #define $ac_func innocuous_$ac_func
77159 /* System header to define __stub macros and hopefully few prototypes,
77160 which can conflict with char $ac_func (); below.
77161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77162 <limits.h> exists even on freestanding compilers. */
77164 #ifdef __STDC__
77165 # include <limits.h>
77166 #else
77167 # include <assert.h>
77168 #endif
77170 #undef $ac_func
77172 /* Override any gcc2 internal prototype to avoid an error. */
77173 #ifdef __cplusplus
77174 extern "C"
77176 #endif
77177 /* We use char because int might match the return type of a gcc2
77178 builtin and then its argument prototype would still apply. */
77179 char $ac_func ();
77180 /* The GNU C library defines this for functions which it implements
77181 to always fail with ENOSYS. Some functions are actually named
77182 something starting with __ and the normal name is an alias. */
77183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77184 choke me
77185 #else
77186 char (*f) () = $ac_func;
77187 #endif
77188 #ifdef __cplusplus
77190 #endif
77193 main ()
77195 return f != $ac_func;
77197 return 0;
77199 _ACEOF
77200 rm -f conftest.$ac_objext conftest$ac_exeext
77201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77202 (eval $ac_link) 2>conftest.er1
77203 ac_status=$?
77204 grep -v '^ *+' conftest.er1 >conftest.err
77205 rm -f conftest.er1
77206 cat conftest.err >&5
77207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77208 (exit $ac_status); } &&
77209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77211 (eval $ac_try) 2>&5
77212 ac_status=$?
77213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77214 (exit $ac_status); }; } &&
77215 { ac_try='test -s conftest$ac_exeext'
77216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77217 (eval $ac_try) 2>&5
77218 ac_status=$?
77219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77220 (exit $ac_status); }; }; then
77221 eval "$as_ac_var=yes"
77222 else
77223 echo "$as_me: failed program was:" >&5
77224 sed 's/^/| /' conftest.$ac_ext >&5
77226 eval "$as_ac_var=no"
77228 rm -f conftest.err conftest.$ac_objext \
77229 conftest$ac_exeext conftest.$ac_ext
77231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77233 if test `eval echo '${'$as_ac_var'}'` = yes; then
77234 cat >>confdefs.h <<_ACEOF
77235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77236 _ACEOF
77238 else
77239 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77241 done
77244 if test x$ac_cv_func_copysignl = x"yes"; then
77246 for ac_func in __signbitl
77248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77249 echo "$as_me:$LINENO: checking for $ac_func" >&5
77250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77251 if eval "test \"\${$as_ac_var+set}\" = set"; then
77252 echo $ECHO_N "(cached) $ECHO_C" >&6
77253 else
77254 if test x$gcc_no_link = xyes; then
77255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77257 { (exit 1); exit 1; }; }
77259 cat >conftest.$ac_ext <<_ACEOF
77260 /* confdefs.h. */
77261 _ACEOF
77262 cat confdefs.h >>conftest.$ac_ext
77263 cat >>conftest.$ac_ext <<_ACEOF
77264 /* end confdefs.h. */
77265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77267 #define $ac_func innocuous_$ac_func
77269 /* System header to define __stub macros and hopefully few prototypes,
77270 which can conflict with char $ac_func (); below.
77271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77272 <limits.h> exists even on freestanding compilers. */
77274 #ifdef __STDC__
77275 # include <limits.h>
77276 #else
77277 # include <assert.h>
77278 #endif
77280 #undef $ac_func
77282 /* Override any gcc2 internal prototype to avoid an error. */
77283 #ifdef __cplusplus
77284 extern "C"
77286 #endif
77287 /* We use char because int might match the return type of a gcc2
77288 builtin and then its argument prototype would still apply. */
77289 char $ac_func ();
77290 /* The GNU C library defines this for functions which it implements
77291 to always fail with ENOSYS. Some functions are actually named
77292 something starting with __ and the normal name is an alias. */
77293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77294 choke me
77295 #else
77296 char (*f) () = $ac_func;
77297 #endif
77298 #ifdef __cplusplus
77300 #endif
77303 main ()
77305 return f != $ac_func;
77307 return 0;
77309 _ACEOF
77310 rm -f conftest.$ac_objext conftest$ac_exeext
77311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77312 (eval $ac_link) 2>conftest.er1
77313 ac_status=$?
77314 grep -v '^ *+' conftest.er1 >conftest.err
77315 rm -f conftest.er1
77316 cat conftest.err >&5
77317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77318 (exit $ac_status); } &&
77319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77321 (eval $ac_try) 2>&5
77322 ac_status=$?
77323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77324 (exit $ac_status); }; } &&
77325 { ac_try='test -s conftest$ac_exeext'
77326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77327 (eval $ac_try) 2>&5
77328 ac_status=$?
77329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77330 (exit $ac_status); }; }; then
77331 eval "$as_ac_var=yes"
77332 else
77333 echo "$as_me: failed program was:" >&5
77334 sed 's/^/| /' conftest.$ac_ext >&5
77336 eval "$as_ac_var=no"
77338 rm -f conftest.err conftest.$ac_objext \
77339 conftest$ac_exeext conftest.$ac_ext
77341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77343 if test `eval echo '${'$as_ac_var'}'` = yes; then
77344 cat >>confdefs.h <<_ACEOF
77345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77346 _ACEOF
77348 else
77349 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77351 done
77355 # Used in libmath/Makefile.am.
77356 if test -n "$LIBMATHOBJS"; then
77357 need_libmath=yes
77362 # Test wchar.h for mbstate_t, which is needed for char_traits and
77363 # others even if wchar_t support is not on.
77364 echo "$as_me:$LINENO: checking for mbstate_t" >&5
77365 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
77366 cat >conftest.$ac_ext <<_ACEOF
77367 /* confdefs.h. */
77368 _ACEOF
77369 cat confdefs.h >>conftest.$ac_ext
77370 cat >>conftest.$ac_ext <<_ACEOF
77371 /* end confdefs.h. */
77372 #include <wchar.h>
77374 main ()
77376 mbstate_t teststate;
77378 return 0;
77380 _ACEOF
77381 rm -f conftest.$ac_objext
77382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77383 (eval $ac_compile) 2>conftest.er1
77384 ac_status=$?
77385 grep -v '^ *+' conftest.er1 >conftest.err
77386 rm -f conftest.er1
77387 cat conftest.err >&5
77388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77389 (exit $ac_status); } &&
77390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77392 (eval $ac_try) 2>&5
77393 ac_status=$?
77394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77395 (exit $ac_status); }; } &&
77396 { ac_try='test -s conftest.$ac_objext'
77397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77398 (eval $ac_try) 2>&5
77399 ac_status=$?
77400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77401 (exit $ac_status); }; }; then
77402 have_mbstate_t=yes
77403 else
77404 echo "$as_me: failed program was:" >&5
77405 sed 's/^/| /' conftest.$ac_ext >&5
77407 have_mbstate_t=no
77409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77410 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
77411 echo "${ECHO_T}$have_mbstate_t" >&6
77412 if test x"$have_mbstate_t" = xyes; then
77413 cat >>confdefs.h <<\_ACEOF
77414 #define HAVE_MBSTATE_T 1
77415 _ACEOF
77419 # Sanity check for existence of ISO C99 headers for extended encoding.
77421 for ac_header in wchar.h
77423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77425 echo "$as_me:$LINENO: checking for $ac_header" >&5
77426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77428 echo $ECHO_N "(cached) $ECHO_C" >&6
77430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77432 else
77433 # Is the header compilable?
77434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77436 cat >conftest.$ac_ext <<_ACEOF
77437 /* confdefs.h. */
77438 _ACEOF
77439 cat confdefs.h >>conftest.$ac_ext
77440 cat >>conftest.$ac_ext <<_ACEOF
77441 /* end confdefs.h. */
77442 $ac_includes_default
77443 #include <$ac_header>
77444 _ACEOF
77445 rm -f conftest.$ac_objext
77446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77447 (eval $ac_compile) 2>conftest.er1
77448 ac_status=$?
77449 grep -v '^ *+' conftest.er1 >conftest.err
77450 rm -f conftest.er1
77451 cat conftest.err >&5
77452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77453 (exit $ac_status); } &&
77454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77456 (eval $ac_try) 2>&5
77457 ac_status=$?
77458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77459 (exit $ac_status); }; } &&
77460 { ac_try='test -s conftest.$ac_objext'
77461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77462 (eval $ac_try) 2>&5
77463 ac_status=$?
77464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77465 (exit $ac_status); }; }; then
77466 ac_header_compiler=yes
77467 else
77468 echo "$as_me: failed program was:" >&5
77469 sed 's/^/| /' conftest.$ac_ext >&5
77471 ac_header_compiler=no
77473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77475 echo "${ECHO_T}$ac_header_compiler" >&6
77477 # Is the header present?
77478 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77480 cat >conftest.$ac_ext <<_ACEOF
77481 /* confdefs.h. */
77482 _ACEOF
77483 cat confdefs.h >>conftest.$ac_ext
77484 cat >>conftest.$ac_ext <<_ACEOF
77485 /* end confdefs.h. */
77486 #include <$ac_header>
77487 _ACEOF
77488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77490 ac_status=$?
77491 grep -v '^ *+' conftest.er1 >conftest.err
77492 rm -f conftest.er1
77493 cat conftest.err >&5
77494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77495 (exit $ac_status); } >/dev/null; then
77496 if test -s conftest.err; then
77497 ac_cpp_err=$ac_c_preproc_warn_flag
77498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77499 else
77500 ac_cpp_err=
77502 else
77503 ac_cpp_err=yes
77505 if test -z "$ac_cpp_err"; then
77506 ac_header_preproc=yes
77507 else
77508 echo "$as_me: failed program was:" >&5
77509 sed 's/^/| /' conftest.$ac_ext >&5
77511 ac_header_preproc=no
77513 rm -f conftest.err conftest.$ac_ext
77514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77515 echo "${ECHO_T}$ac_header_preproc" >&6
77517 # So? What about this header?
77518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77519 yes:no: )
77520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77524 ac_header_preproc=yes
77526 no:yes:* )
77527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77531 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77533 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77534 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77537 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77540 cat <<\_ASBOX
77541 ## ----------------------------------------- ##
77542 ## Report this to the package-unused lists. ##
77543 ## ----------------------------------------- ##
77544 _ASBOX
77546 sed "s/^/$as_me: WARNING: /" >&2
77548 esac
77549 echo "$as_me:$LINENO: checking for $ac_header" >&5
77550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77552 echo $ECHO_N "(cached) $ECHO_C" >&6
77553 else
77554 eval "$as_ac_Header=\$ac_header_preproc"
77556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77561 cat >>confdefs.h <<_ACEOF
77562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77563 _ACEOF
77564 ac_has_wchar_h=yes
77565 else
77566 ac_has_wchar_h=no
77569 done
77572 for ac_header in wctype.h
77574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77576 echo "$as_me:$LINENO: checking for $ac_header" >&5
77577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77579 echo $ECHO_N "(cached) $ECHO_C" >&6
77581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77583 else
77584 # Is the header compilable?
77585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77587 cat >conftest.$ac_ext <<_ACEOF
77588 /* confdefs.h. */
77589 _ACEOF
77590 cat confdefs.h >>conftest.$ac_ext
77591 cat >>conftest.$ac_ext <<_ACEOF
77592 /* end confdefs.h. */
77593 $ac_includes_default
77594 #include <$ac_header>
77595 _ACEOF
77596 rm -f conftest.$ac_objext
77597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77598 (eval $ac_compile) 2>conftest.er1
77599 ac_status=$?
77600 grep -v '^ *+' conftest.er1 >conftest.err
77601 rm -f conftest.er1
77602 cat conftest.err >&5
77603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77604 (exit $ac_status); } &&
77605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77607 (eval $ac_try) 2>&5
77608 ac_status=$?
77609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77610 (exit $ac_status); }; } &&
77611 { ac_try='test -s conftest.$ac_objext'
77612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77613 (eval $ac_try) 2>&5
77614 ac_status=$?
77615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77616 (exit $ac_status); }; }; then
77617 ac_header_compiler=yes
77618 else
77619 echo "$as_me: failed program was:" >&5
77620 sed 's/^/| /' conftest.$ac_ext >&5
77622 ac_header_compiler=no
77624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77626 echo "${ECHO_T}$ac_header_compiler" >&6
77628 # Is the header present?
77629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77631 cat >conftest.$ac_ext <<_ACEOF
77632 /* confdefs.h. */
77633 _ACEOF
77634 cat confdefs.h >>conftest.$ac_ext
77635 cat >>conftest.$ac_ext <<_ACEOF
77636 /* end confdefs.h. */
77637 #include <$ac_header>
77638 _ACEOF
77639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77641 ac_status=$?
77642 grep -v '^ *+' conftest.er1 >conftest.err
77643 rm -f conftest.er1
77644 cat conftest.err >&5
77645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646 (exit $ac_status); } >/dev/null; then
77647 if test -s conftest.err; then
77648 ac_cpp_err=$ac_c_preproc_warn_flag
77649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77650 else
77651 ac_cpp_err=
77653 else
77654 ac_cpp_err=yes
77656 if test -z "$ac_cpp_err"; then
77657 ac_header_preproc=yes
77658 else
77659 echo "$as_me: failed program was:" >&5
77660 sed 's/^/| /' conftest.$ac_ext >&5
77662 ac_header_preproc=no
77664 rm -f conftest.err conftest.$ac_ext
77665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77666 echo "${ECHO_T}$ac_header_preproc" >&6
77668 # So? What about this header?
77669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77670 yes:no: )
77671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77675 ac_header_preproc=yes
77677 no:yes:* )
77678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77691 cat <<\_ASBOX
77692 ## ----------------------------------------- ##
77693 ## Report this to the package-unused lists. ##
77694 ## ----------------------------------------- ##
77695 _ASBOX
77697 sed "s/^/$as_me: WARNING: /" >&2
77699 esac
77700 echo "$as_me:$LINENO: checking for $ac_header" >&5
77701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77703 echo $ECHO_N "(cached) $ECHO_C" >&6
77704 else
77705 eval "$as_ac_Header=\$ac_header_preproc"
77707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77712 cat >>confdefs.h <<_ACEOF
77713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77714 _ACEOF
77715 ac_has_wctype_h=yes
77716 else
77717 ac_has_wctype_h=no
77720 done
77723 # Only continue checking if the ISO C99 headers exist and support is on.
77724 if test x"$ac_has_wchar_h" = xyes &&
77725 test x"$ac_has_wctype_h" = xyes &&
77726 test x"$enable_c_mbchar" != xno; then
77728 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
77729 # numeric_limits can instantiate type_traits<wchar_t>
77730 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
77731 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
77732 cat >conftest.$ac_ext <<_ACEOF
77733 /* confdefs.h. */
77734 _ACEOF
77735 cat confdefs.h >>conftest.$ac_ext
77736 cat >>conftest.$ac_ext <<_ACEOF
77737 /* end confdefs.h. */
77738 #include <wchar.h>
77740 main ()
77742 int i = WCHAR_MIN; int j = WCHAR_MAX;
77744 return 0;
77746 _ACEOF
77747 rm -f conftest.$ac_objext
77748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77749 (eval $ac_compile) 2>conftest.er1
77750 ac_status=$?
77751 grep -v '^ *+' conftest.er1 >conftest.err
77752 rm -f conftest.er1
77753 cat conftest.err >&5
77754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77755 (exit $ac_status); } &&
77756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77758 (eval $ac_try) 2>&5
77759 ac_status=$?
77760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77761 (exit $ac_status); }; } &&
77762 { ac_try='test -s conftest.$ac_objext'
77763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77764 (eval $ac_try) 2>&5
77765 ac_status=$?
77766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77767 (exit $ac_status); }; }; then
77768 has_wchar_minmax=yes
77769 else
77770 echo "$as_me: failed program was:" >&5
77771 sed 's/^/| /' conftest.$ac_ext >&5
77773 has_wchar_minmax=no
77775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77776 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
77777 echo "${ECHO_T}$has_wchar_minmax" >&6
77779 # Test wchar.h for WEOF, which is what we use to determine whether
77780 # to specialize for char_traits<wchar_t> or not.
77781 echo "$as_me:$LINENO: checking for WEOF" >&5
77782 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
77783 cat >conftest.$ac_ext <<_ACEOF
77784 /* confdefs.h. */
77785 _ACEOF
77786 cat confdefs.h >>conftest.$ac_ext
77787 cat >>conftest.$ac_ext <<_ACEOF
77788 /* end confdefs.h. */
77790 #include <wchar.h>
77791 #include <stddef.h>
77793 main ()
77795 wint_t i = WEOF;
77797 return 0;
77799 _ACEOF
77800 rm -f conftest.$ac_objext
77801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77802 (eval $ac_compile) 2>conftest.er1
77803 ac_status=$?
77804 grep -v '^ *+' conftest.er1 >conftest.err
77805 rm -f conftest.er1
77806 cat conftest.err >&5
77807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77808 (exit $ac_status); } &&
77809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77811 (eval $ac_try) 2>&5
77812 ac_status=$?
77813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77814 (exit $ac_status); }; } &&
77815 { ac_try='test -s conftest.$ac_objext'
77816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77817 (eval $ac_try) 2>&5
77818 ac_status=$?
77819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820 (exit $ac_status); }; }; then
77821 has_weof=yes
77822 else
77823 echo "$as_me: failed program was:" >&5
77824 sed 's/^/| /' conftest.$ac_ext >&5
77826 has_weof=no
77828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77829 echo "$as_me:$LINENO: result: $has_weof" >&5
77830 echo "${ECHO_T}$has_weof" >&6
77832 # Tests for wide character functions used in char_traits<wchar_t>.
77833 ac_wfuncs=yes
77840 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
77842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77843 echo "$as_me:$LINENO: checking for $ac_func" >&5
77844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77845 if eval "test \"\${$as_ac_var+set}\" = set"; then
77846 echo $ECHO_N "(cached) $ECHO_C" >&6
77847 else
77848 if test x$gcc_no_link = xyes; then
77849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77851 { (exit 1); exit 1; }; }
77853 cat >conftest.$ac_ext <<_ACEOF
77854 /* confdefs.h. */
77855 _ACEOF
77856 cat confdefs.h >>conftest.$ac_ext
77857 cat >>conftest.$ac_ext <<_ACEOF
77858 /* end confdefs.h. */
77859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77861 #define $ac_func innocuous_$ac_func
77863 /* System header to define __stub macros and hopefully few prototypes,
77864 which can conflict with char $ac_func (); below.
77865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77866 <limits.h> exists even on freestanding compilers. */
77868 #ifdef __STDC__
77869 # include <limits.h>
77870 #else
77871 # include <assert.h>
77872 #endif
77874 #undef $ac_func
77876 /* Override any gcc2 internal prototype to avoid an error. */
77877 #ifdef __cplusplus
77878 extern "C"
77880 #endif
77881 /* We use char because int might match the return type of a gcc2
77882 builtin and then its argument prototype would still apply. */
77883 char $ac_func ();
77884 /* The GNU C library defines this for functions which it implements
77885 to always fail with ENOSYS. Some functions are actually named
77886 something starting with __ and the normal name is an alias. */
77887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77888 choke me
77889 #else
77890 char (*f) () = $ac_func;
77891 #endif
77892 #ifdef __cplusplus
77894 #endif
77897 main ()
77899 return f != $ac_func;
77901 return 0;
77903 _ACEOF
77904 rm -f conftest.$ac_objext conftest$ac_exeext
77905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77906 (eval $ac_link) 2>conftest.er1
77907 ac_status=$?
77908 grep -v '^ *+' conftest.er1 >conftest.err
77909 rm -f conftest.er1
77910 cat conftest.err >&5
77911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77912 (exit $ac_status); } &&
77913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77915 (eval $ac_try) 2>&5
77916 ac_status=$?
77917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77918 (exit $ac_status); }; } &&
77919 { ac_try='test -s conftest$ac_exeext'
77920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77921 (eval $ac_try) 2>&5
77922 ac_status=$?
77923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77924 (exit $ac_status); }; }; then
77925 eval "$as_ac_var=yes"
77926 else
77927 echo "$as_me: failed program was:" >&5
77928 sed 's/^/| /' conftest.$ac_ext >&5
77930 eval "$as_ac_var=no"
77932 rm -f conftest.err conftest.$ac_objext \
77933 conftest$ac_exeext conftest.$ac_ext
77935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77937 if test `eval echo '${'$as_ac_var'}'` = yes; then
77938 cat >>confdefs.h <<_ACEOF
77939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77940 _ACEOF
77942 else
77943 ac_wfuncs=no
77945 done
77948 # Checks for names injected into std:: by the c_std headers.
77995 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
77996 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
77997 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
77998 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
77999 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78000 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78003 echo "$as_me:$LINENO: checking for $ac_func" >&5
78004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78005 if eval "test \"\${$as_ac_var+set}\" = set"; then
78006 echo $ECHO_N "(cached) $ECHO_C" >&6
78007 else
78008 if test x$gcc_no_link = xyes; then
78009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78011 { (exit 1); exit 1; }; }
78013 cat >conftest.$ac_ext <<_ACEOF
78014 /* confdefs.h. */
78015 _ACEOF
78016 cat confdefs.h >>conftest.$ac_ext
78017 cat >>conftest.$ac_ext <<_ACEOF
78018 /* end confdefs.h. */
78019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78021 #define $ac_func innocuous_$ac_func
78023 /* System header to define __stub macros and hopefully few prototypes,
78024 which can conflict with char $ac_func (); below.
78025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78026 <limits.h> exists even on freestanding compilers. */
78028 #ifdef __STDC__
78029 # include <limits.h>
78030 #else
78031 # include <assert.h>
78032 #endif
78034 #undef $ac_func
78036 /* Override any gcc2 internal prototype to avoid an error. */
78037 #ifdef __cplusplus
78038 extern "C"
78040 #endif
78041 /* We use char because int might match the return type of a gcc2
78042 builtin and then its argument prototype would still apply. */
78043 char $ac_func ();
78044 /* The GNU C library defines this for functions which it implements
78045 to always fail with ENOSYS. Some functions are actually named
78046 something starting with __ and the normal name is an alias. */
78047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78048 choke me
78049 #else
78050 char (*f) () = $ac_func;
78051 #endif
78052 #ifdef __cplusplus
78054 #endif
78057 main ()
78059 return f != $ac_func;
78061 return 0;
78063 _ACEOF
78064 rm -f conftest.$ac_objext conftest$ac_exeext
78065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78066 (eval $ac_link) 2>conftest.er1
78067 ac_status=$?
78068 grep -v '^ *+' conftest.er1 >conftest.err
78069 rm -f conftest.er1
78070 cat conftest.err >&5
78071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78072 (exit $ac_status); } &&
78073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78075 (eval $ac_try) 2>&5
78076 ac_status=$?
78077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78078 (exit $ac_status); }; } &&
78079 { ac_try='test -s conftest$ac_exeext'
78080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78081 (eval $ac_try) 2>&5
78082 ac_status=$?
78083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78084 (exit $ac_status); }; }; then
78085 eval "$as_ac_var=yes"
78086 else
78087 echo "$as_me: failed program was:" >&5
78088 sed 's/^/| /' conftest.$ac_ext >&5
78090 eval "$as_ac_var=no"
78092 rm -f conftest.err conftest.$ac_objext \
78093 conftest$ac_exeext conftest.$ac_ext
78095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78097 if test `eval echo '${'$as_ac_var'}'` = yes; then
78098 cat >>confdefs.h <<_ACEOF
78099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78100 _ACEOF
78102 else
78103 ac_wfuncs=no
78105 done
78108 # Checks for wide character functions that are not required
78109 # for basic wchar_t support. Don't disable support if they are missing.
78110 # Injection of these is wrapped with guard macros.
78116 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78119 echo "$as_me:$LINENO: checking for $ac_func" >&5
78120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78121 if eval "test \"\${$as_ac_var+set}\" = set"; then
78122 echo $ECHO_N "(cached) $ECHO_C" >&6
78123 else
78124 if test x$gcc_no_link = xyes; then
78125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78127 { (exit 1); exit 1; }; }
78129 cat >conftest.$ac_ext <<_ACEOF
78130 /* confdefs.h. */
78131 _ACEOF
78132 cat confdefs.h >>conftest.$ac_ext
78133 cat >>conftest.$ac_ext <<_ACEOF
78134 /* end confdefs.h. */
78135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78137 #define $ac_func innocuous_$ac_func
78139 /* System header to define __stub macros and hopefully few prototypes,
78140 which can conflict with char $ac_func (); below.
78141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78142 <limits.h> exists even on freestanding compilers. */
78144 #ifdef __STDC__
78145 # include <limits.h>
78146 #else
78147 # include <assert.h>
78148 #endif
78150 #undef $ac_func
78152 /* Override any gcc2 internal prototype to avoid an error. */
78153 #ifdef __cplusplus
78154 extern "C"
78156 #endif
78157 /* We use char because int might match the return type of a gcc2
78158 builtin and then its argument prototype would still apply. */
78159 char $ac_func ();
78160 /* The GNU C library defines this for functions which it implements
78161 to always fail with ENOSYS. Some functions are actually named
78162 something starting with __ and the normal name is an alias. */
78163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78164 choke me
78165 #else
78166 char (*f) () = $ac_func;
78167 #endif
78168 #ifdef __cplusplus
78170 #endif
78173 main ()
78175 return f != $ac_func;
78177 return 0;
78179 _ACEOF
78180 rm -f conftest.$ac_objext conftest$ac_exeext
78181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78182 (eval $ac_link) 2>conftest.er1
78183 ac_status=$?
78184 grep -v '^ *+' conftest.er1 >conftest.err
78185 rm -f conftest.er1
78186 cat conftest.err >&5
78187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78188 (exit $ac_status); } &&
78189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78191 (eval $ac_try) 2>&5
78192 ac_status=$?
78193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78194 (exit $ac_status); }; } &&
78195 { ac_try='test -s conftest$ac_exeext'
78196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78197 (eval $ac_try) 2>&5
78198 ac_status=$?
78199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78200 (exit $ac_status); }; }; then
78201 eval "$as_ac_var=yes"
78202 else
78203 echo "$as_me: failed program was:" >&5
78204 sed 's/^/| /' conftest.$ac_ext >&5
78206 eval "$as_ac_var=no"
78208 rm -f conftest.err conftest.$ac_objext \
78209 conftest$ac_exeext conftest.$ac_ext
78211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78213 if test `eval echo '${'$as_ac_var'}'` = yes; then
78214 cat >>confdefs.h <<_ACEOF
78215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78216 _ACEOF
78219 done
78222 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
78223 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
78224 if test x"$has_weof" = xyes &&
78225 test x"$has_wchar_minmax" = xyes &&
78226 test x"$ac_wfuncs" = xyes;
78227 then
78228 ac_isoC99_wchar_t=yes
78229 else
78230 ac_isoC99_wchar_t=no
78232 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
78233 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
78235 # Use iconv for wchar_t to char conversions. As such, check for
78236 # X/Open Portability Guide, version 2 features (XPG2).
78237 if test "${ac_cv_header_iconv_h+set}" = set; then
78238 echo "$as_me:$LINENO: checking for iconv.h" >&5
78239 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78240 if test "${ac_cv_header_iconv_h+set}" = set; then
78241 echo $ECHO_N "(cached) $ECHO_C" >&6
78243 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78244 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78245 else
78246 # Is the header compilable?
78247 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78248 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78249 cat >conftest.$ac_ext <<_ACEOF
78250 /* confdefs.h. */
78251 _ACEOF
78252 cat confdefs.h >>conftest.$ac_ext
78253 cat >>conftest.$ac_ext <<_ACEOF
78254 /* end confdefs.h. */
78255 $ac_includes_default
78256 #include <iconv.h>
78257 _ACEOF
78258 rm -f conftest.$ac_objext
78259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78260 (eval $ac_compile) 2>conftest.er1
78261 ac_status=$?
78262 grep -v '^ *+' conftest.er1 >conftest.err
78263 rm -f conftest.er1
78264 cat conftest.err >&5
78265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78266 (exit $ac_status); } &&
78267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78269 (eval $ac_try) 2>&5
78270 ac_status=$?
78271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78272 (exit $ac_status); }; } &&
78273 { ac_try='test -s conftest.$ac_objext'
78274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78275 (eval $ac_try) 2>&5
78276 ac_status=$?
78277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78278 (exit $ac_status); }; }; then
78279 ac_header_compiler=yes
78280 else
78281 echo "$as_me: failed program was:" >&5
78282 sed 's/^/| /' conftest.$ac_ext >&5
78284 ac_header_compiler=no
78286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78288 echo "${ECHO_T}$ac_header_compiler" >&6
78290 # Is the header present?
78291 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78292 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78293 cat >conftest.$ac_ext <<_ACEOF
78294 /* confdefs.h. */
78295 _ACEOF
78296 cat confdefs.h >>conftest.$ac_ext
78297 cat >>conftest.$ac_ext <<_ACEOF
78298 /* end confdefs.h. */
78299 #include <iconv.h>
78300 _ACEOF
78301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78303 ac_status=$?
78304 grep -v '^ *+' conftest.er1 >conftest.err
78305 rm -f conftest.er1
78306 cat conftest.err >&5
78307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78308 (exit $ac_status); } >/dev/null; then
78309 if test -s conftest.err; then
78310 ac_cpp_err=$ac_c_preproc_warn_flag
78311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78312 else
78313 ac_cpp_err=
78315 else
78316 ac_cpp_err=yes
78318 if test -z "$ac_cpp_err"; then
78319 ac_header_preproc=yes
78320 else
78321 echo "$as_me: failed program was:" >&5
78322 sed 's/^/| /' conftest.$ac_ext >&5
78324 ac_header_preproc=no
78326 rm -f conftest.err conftest.$ac_ext
78327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78328 echo "${ECHO_T}$ac_header_preproc" >&6
78330 # So? What about this header?
78331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78332 yes:no: )
78333 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78334 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78335 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78336 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78337 ac_header_preproc=yes
78339 no:yes:* )
78340 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78341 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78342 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78343 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78344 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78345 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78346 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78347 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78348 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78349 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78350 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78351 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78353 cat <<\_ASBOX
78354 ## ----------------------------------------- ##
78355 ## Report this to the package-unused lists. ##
78356 ## ----------------------------------------- ##
78357 _ASBOX
78359 sed "s/^/$as_me: WARNING: /" >&2
78361 esac
78362 echo "$as_me:$LINENO: checking for iconv.h" >&5
78363 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78364 if test "${ac_cv_header_iconv_h+set}" = set; then
78365 echo $ECHO_N "(cached) $ECHO_C" >&6
78366 else
78367 ac_cv_header_iconv_h=$ac_header_preproc
78369 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78370 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78373 if test $ac_cv_header_iconv_h = yes; then
78374 ac_has_iconv_h=yes
78375 else
78376 ac_has_iconv_h=no
78380 if test "${ac_cv_header_langinfo_h+set}" = set; then
78381 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78382 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78383 if test "${ac_cv_header_langinfo_h+set}" = set; then
78384 echo $ECHO_N "(cached) $ECHO_C" >&6
78386 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78387 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78388 else
78389 # Is the header compilable?
78390 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78391 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78392 cat >conftest.$ac_ext <<_ACEOF
78393 /* confdefs.h. */
78394 _ACEOF
78395 cat confdefs.h >>conftest.$ac_ext
78396 cat >>conftest.$ac_ext <<_ACEOF
78397 /* end confdefs.h. */
78398 $ac_includes_default
78399 #include <langinfo.h>
78400 _ACEOF
78401 rm -f conftest.$ac_objext
78402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78403 (eval $ac_compile) 2>conftest.er1
78404 ac_status=$?
78405 grep -v '^ *+' conftest.er1 >conftest.err
78406 rm -f conftest.er1
78407 cat conftest.err >&5
78408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78409 (exit $ac_status); } &&
78410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78412 (eval $ac_try) 2>&5
78413 ac_status=$?
78414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78415 (exit $ac_status); }; } &&
78416 { ac_try='test -s conftest.$ac_objext'
78417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78418 (eval $ac_try) 2>&5
78419 ac_status=$?
78420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78421 (exit $ac_status); }; }; then
78422 ac_header_compiler=yes
78423 else
78424 echo "$as_me: failed program was:" >&5
78425 sed 's/^/| /' conftest.$ac_ext >&5
78427 ac_header_compiler=no
78429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78431 echo "${ECHO_T}$ac_header_compiler" >&6
78433 # Is the header present?
78434 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78435 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78436 cat >conftest.$ac_ext <<_ACEOF
78437 /* confdefs.h. */
78438 _ACEOF
78439 cat confdefs.h >>conftest.$ac_ext
78440 cat >>conftest.$ac_ext <<_ACEOF
78441 /* end confdefs.h. */
78442 #include <langinfo.h>
78443 _ACEOF
78444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78446 ac_status=$?
78447 grep -v '^ *+' conftest.er1 >conftest.err
78448 rm -f conftest.er1
78449 cat conftest.err >&5
78450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78451 (exit $ac_status); } >/dev/null; then
78452 if test -s conftest.err; then
78453 ac_cpp_err=$ac_c_preproc_warn_flag
78454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78455 else
78456 ac_cpp_err=
78458 else
78459 ac_cpp_err=yes
78461 if test -z "$ac_cpp_err"; then
78462 ac_header_preproc=yes
78463 else
78464 echo "$as_me: failed program was:" >&5
78465 sed 's/^/| /' conftest.$ac_ext >&5
78467 ac_header_preproc=no
78469 rm -f conftest.err conftest.$ac_ext
78470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78471 echo "${ECHO_T}$ac_header_preproc" >&6
78473 # So? What about this header?
78474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78475 yes:no: )
78476 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78477 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78478 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78479 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78480 ac_header_preproc=yes
78482 no:yes:* )
78483 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78484 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78485 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78486 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78487 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78488 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78489 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78490 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78491 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78492 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78493 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78494 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78496 cat <<\_ASBOX
78497 ## ----------------------------------------- ##
78498 ## Report this to the package-unused lists. ##
78499 ## ----------------------------------------- ##
78500 _ASBOX
78502 sed "s/^/$as_me: WARNING: /" >&2
78504 esac
78505 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78506 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78507 if test "${ac_cv_header_langinfo_h+set}" = set; then
78508 echo $ECHO_N "(cached) $ECHO_C" >&6
78509 else
78510 ac_cv_header_langinfo_h=$ac_header_preproc
78512 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78513 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78516 if test $ac_cv_header_langinfo_h = yes; then
78517 ac_has_langinfo_h=yes
78518 else
78519 ac_has_langinfo_h=no
78524 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78525 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78526 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78527 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78528 echo $ECHO_N "(cached) $ECHO_C" >&6
78529 else
78530 ac_check_lib_save_LIBS=$LIBS
78531 LIBS="-liconv $LIBS"
78532 if test x$gcc_no_link = xyes; then
78533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78535 { (exit 1); exit 1; }; }
78537 cat >conftest.$ac_ext <<_ACEOF
78538 /* confdefs.h. */
78539 _ACEOF
78540 cat confdefs.h >>conftest.$ac_ext
78541 cat >>conftest.$ac_ext <<_ACEOF
78542 /* end confdefs.h. */
78544 /* Override any gcc2 internal prototype to avoid an error. */
78545 #ifdef __cplusplus
78546 extern "C"
78547 #endif
78548 /* We use char because int might match the return type of a gcc2
78549 builtin and then its argument prototype would still apply. */
78550 char iconv ();
78552 main ()
78554 iconv ();
78556 return 0;
78558 _ACEOF
78559 rm -f conftest.$ac_objext conftest$ac_exeext
78560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78561 (eval $ac_link) 2>conftest.er1
78562 ac_status=$?
78563 grep -v '^ *+' conftest.er1 >conftest.err
78564 rm -f conftest.er1
78565 cat conftest.err >&5
78566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78567 (exit $ac_status); } &&
78568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78570 (eval $ac_try) 2>&5
78571 ac_status=$?
78572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78573 (exit $ac_status); }; } &&
78574 { ac_try='test -s conftest$ac_exeext'
78575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78576 (eval $ac_try) 2>&5
78577 ac_status=$?
78578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78579 (exit $ac_status); }; }; then
78580 ac_cv_lib_iconv_iconv=yes
78581 else
78582 echo "$as_me: failed program was:" >&5
78583 sed 's/^/| /' conftest.$ac_ext >&5
78585 ac_cv_lib_iconv_iconv=no
78587 rm -f conftest.err conftest.$ac_objext \
78588 conftest$ac_exeext conftest.$ac_ext
78589 LIBS=$ac_check_lib_save_LIBS
78591 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78592 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78593 if test $ac_cv_lib_iconv_iconv = yes; then
78594 LIBICONV="-liconv"
78597 ac_save_LIBS="$LIBS"
78598 LIBS="$LIBS $LIBICONV"
78605 for ac_func in iconv_open iconv_close iconv nl_langinfo
78607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78608 echo "$as_me:$LINENO: checking for $ac_func" >&5
78609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78610 if eval "test \"\${$as_ac_var+set}\" = set"; then
78611 echo $ECHO_N "(cached) $ECHO_C" >&6
78612 else
78613 if test x$gcc_no_link = xyes; then
78614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78616 { (exit 1); exit 1; }; }
78618 cat >conftest.$ac_ext <<_ACEOF
78619 /* confdefs.h. */
78620 _ACEOF
78621 cat confdefs.h >>conftest.$ac_ext
78622 cat >>conftest.$ac_ext <<_ACEOF
78623 /* end confdefs.h. */
78624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78626 #define $ac_func innocuous_$ac_func
78628 /* System header to define __stub macros and hopefully few prototypes,
78629 which can conflict with char $ac_func (); below.
78630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78631 <limits.h> exists even on freestanding compilers. */
78633 #ifdef __STDC__
78634 # include <limits.h>
78635 #else
78636 # include <assert.h>
78637 #endif
78639 #undef $ac_func
78641 /* Override any gcc2 internal prototype to avoid an error. */
78642 #ifdef __cplusplus
78643 extern "C"
78645 #endif
78646 /* We use char because int might match the return type of a gcc2
78647 builtin and then its argument prototype would still apply. */
78648 char $ac_func ();
78649 /* The GNU C library defines this for functions which it implements
78650 to always fail with ENOSYS. Some functions are actually named
78651 something starting with __ and the normal name is an alias. */
78652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78653 choke me
78654 #else
78655 char (*f) () = $ac_func;
78656 #endif
78657 #ifdef __cplusplus
78659 #endif
78662 main ()
78664 return f != $ac_func;
78666 return 0;
78668 _ACEOF
78669 rm -f conftest.$ac_objext conftest$ac_exeext
78670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78671 (eval $ac_link) 2>conftest.er1
78672 ac_status=$?
78673 grep -v '^ *+' conftest.er1 >conftest.err
78674 rm -f conftest.er1
78675 cat conftest.err >&5
78676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78677 (exit $ac_status); } &&
78678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78680 (eval $ac_try) 2>&5
78681 ac_status=$?
78682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78683 (exit $ac_status); }; } &&
78684 { ac_try='test -s conftest$ac_exeext'
78685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78686 (eval $ac_try) 2>&5
78687 ac_status=$?
78688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78689 (exit $ac_status); }; }; then
78690 eval "$as_ac_var=yes"
78691 else
78692 echo "$as_me: failed program was:" >&5
78693 sed 's/^/| /' conftest.$ac_ext >&5
78695 eval "$as_ac_var=no"
78697 rm -f conftest.err conftest.$ac_objext \
78698 conftest$ac_exeext conftest.$ac_ext
78700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78702 if test `eval echo '${'$as_ac_var'}'` = yes; then
78703 cat >>confdefs.h <<_ACEOF
78704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78705 _ACEOF
78706 ac_XPG2funcs=yes
78707 else
78708 ac_XPG2funcs=no
78710 done
78713 LIBS="$ac_save_LIBS"
78715 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
78716 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
78717 if test x"$ac_has_iconv_h" = xyes &&
78718 test x"$ac_has_langinfo_h" = xyes &&
78719 test x"$ac_XPG2funcs" = xyes;
78720 then
78721 ac_XPG2_wchar_t=yes
78722 else
78723 ac_XPG2_wchar_t=no
78725 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
78726 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
78728 # At the moment, only enable wchar_t specializations if all the
78729 # above support is present.
78730 if test x"$ac_isoC99_wchar_t" = xyes &&
78731 test x"$ac_XPG2_wchar_t" = xyes;
78732 then
78733 cat >>confdefs.h <<\_ACEOF
78734 #define _GLIBCXX_USE_WCHAR_T 1
78735 _ACEOF
78737 enable_wchar_t=yes
78740 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
78741 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
78742 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
78743 echo "${ECHO_T}$enable_wchar_t" >&6
78745 cat >>confdefs.h <<\_ACEOF
78746 #define HAVE_COPYSIGN 1
78747 _ACEOF
78749 cat >>confdefs.h <<\_ACEOF
78750 #define HAVE_COPYSIGNF 1
78751 _ACEOF
78753 cat >>confdefs.h <<\_ACEOF
78754 #define HAVE_FREXPF 1
78755 _ACEOF
78757 cat >>confdefs.h <<\_ACEOF
78758 #define HAVE_HYPOT 1
78759 _ACEOF
78761 case "$target" in
78762 *-hpux10*)
78763 cat >>confdefs.h <<\_ACEOF
78764 #define HAVE_FINITE 1
78765 _ACEOF
78767 cat >>confdefs.h <<\_ACEOF
78768 #define HAVE_FINITEF 1
78769 _ACEOF
78771 cat >>confdefs.h <<\_ACEOF
78772 #define HAVE_ISINF 1
78773 _ACEOF
78775 cat >>confdefs.h <<\_ACEOF
78776 #define HAVE_ISINFF 1
78777 _ACEOF
78779 cat >>confdefs.h <<\_ACEOF
78780 #define HAVE_ISNAN 1
78781 _ACEOF
78783 cat >>confdefs.h <<\_ACEOF
78784 #define HAVE_ISNANF 1
78785 _ACEOF
78788 esac
78790 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78806 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78807 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78808 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78812 echo "$as_me:$LINENO: checking for $ac_header" >&5
78813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78815 echo $ECHO_N "(cached) $ECHO_C" >&6
78817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78819 else
78820 # Is the header compilable?
78821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78823 cat >conftest.$ac_ext <<_ACEOF
78824 /* confdefs.h. */
78825 _ACEOF
78826 cat confdefs.h >>conftest.$ac_ext
78827 cat >>conftest.$ac_ext <<_ACEOF
78828 /* end confdefs.h. */
78829 $ac_includes_default
78830 #include <$ac_header>
78831 _ACEOF
78832 rm -f conftest.$ac_objext
78833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78834 (eval $ac_compile) 2>conftest.er1
78835 ac_status=$?
78836 grep -v '^ *+' conftest.er1 >conftest.err
78837 rm -f conftest.er1
78838 cat conftest.err >&5
78839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78840 (exit $ac_status); } &&
78841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78843 (eval $ac_try) 2>&5
78844 ac_status=$?
78845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78846 (exit $ac_status); }; } &&
78847 { ac_try='test -s conftest.$ac_objext'
78848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78849 (eval $ac_try) 2>&5
78850 ac_status=$?
78851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78852 (exit $ac_status); }; }; then
78853 ac_header_compiler=yes
78854 else
78855 echo "$as_me: failed program was:" >&5
78856 sed 's/^/| /' conftest.$ac_ext >&5
78858 ac_header_compiler=no
78860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78862 echo "${ECHO_T}$ac_header_compiler" >&6
78864 # Is the header present?
78865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78867 cat >conftest.$ac_ext <<_ACEOF
78868 /* confdefs.h. */
78869 _ACEOF
78870 cat confdefs.h >>conftest.$ac_ext
78871 cat >>conftest.$ac_ext <<_ACEOF
78872 /* end confdefs.h. */
78873 #include <$ac_header>
78874 _ACEOF
78875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78877 ac_status=$?
78878 grep -v '^ *+' conftest.er1 >conftest.err
78879 rm -f conftest.er1
78880 cat conftest.err >&5
78881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78882 (exit $ac_status); } >/dev/null; then
78883 if test -s conftest.err; then
78884 ac_cpp_err=$ac_c_preproc_warn_flag
78885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78886 else
78887 ac_cpp_err=
78889 else
78890 ac_cpp_err=yes
78892 if test -z "$ac_cpp_err"; then
78893 ac_header_preproc=yes
78894 else
78895 echo "$as_me: failed program was:" >&5
78896 sed 's/^/| /' conftest.$ac_ext >&5
78898 ac_header_preproc=no
78900 rm -f conftest.err conftest.$ac_ext
78901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78902 echo "${ECHO_T}$ac_header_preproc" >&6
78904 # So? What about this header?
78905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78906 yes:no: )
78907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78911 ac_header_preproc=yes
78913 no:yes:* )
78914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78927 cat <<\_ASBOX
78928 ## ----------------------------------------- ##
78929 ## Report this to the package-unused lists. ##
78930 ## ----------------------------------------- ##
78931 _ASBOX
78933 sed "s/^/$as_me: WARNING: /" >&2
78935 esac
78936 echo "$as_me:$LINENO: checking for $ac_header" >&5
78937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78939 echo $ECHO_N "(cached) $ECHO_C" >&6
78940 else
78941 eval "$as_ac_Header=\$ac_header_preproc"
78943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78948 cat >>confdefs.h <<_ACEOF
78949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78950 _ACEOF
78954 done
78956 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78959 # If we're not using GNU ld, then there's no point in even trying these
78960 # tests. Check for that first. We should have already tested for gld
78961 # by now (in libtool), but require it now just to be safe...
78962 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78963 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78967 # The name set by libtool depends on the version of libtool. Shame on us
78968 # for depending on an impl detail, but c'est la vie. Older versions used
78969 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78970 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78971 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78972 # set (hence we're using an older libtool), then set it.
78973 if test x${with_gnu_ld+set} != xset; then
78974 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78975 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78976 with_gnu_ld=no
78977 else
78978 with_gnu_ld=$ac_cv_prog_gnu_ld
78982 # Start by getting the version number. I think the libtool test already
78983 # does some of this, but throws away the result.
78985 ldver=`$LD --version 2>/dev/null | head -1 | \
78986 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78988 glibcxx_gnu_ld_version=`echo $ldver | \
78989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78991 # Set --gc-sections.
78992 if test "$with_gnu_ld" = "notbroken"; then
78993 # GNU ld it is! Joy and bunny rabbits!
78995 # All these tests are for C++; save the language and the compiler flags.
78996 # Need to do this so that g++ won't try to link in libstdc++
78997 ac_test_CFLAGS="${CFLAGS+set}"
78998 ac_save_CFLAGS="$CFLAGS"
78999 CFLAGS='-x c++ -Wl,--gc-sections'
79001 # Check for -Wl,--gc-sections
79002 # XXX This test is broken at the moment, as symbols required for linking
79003 # are now in libsupc++ (not built yet). In addition, this test has
79004 # cored on solaris in the past. In addition, --gc-sections doesn't
79005 # really work at the moment (keeps on discarding used sections, first
79006 # .eh_frame and now some of the glibc sections for iconv).
79007 # Bzzzzt. Thanks for playing, maybe next time.
79008 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79009 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79010 if test "$cross_compiling" = yes; then
79011 ac_sectionLDflags=yes
79012 else
79013 cat >conftest.$ac_ext <<_ACEOF
79014 /* confdefs.h. */
79015 _ACEOF
79016 cat confdefs.h >>conftest.$ac_ext
79017 cat >>conftest.$ac_ext <<_ACEOF
79018 /* end confdefs.h. */
79020 int main(void)
79022 try { throw 1; }
79023 catch (...) { };
79024 return 0;
79027 _ACEOF
79028 rm -f conftest$ac_exeext
79029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79030 (eval $ac_link) 2>&5
79031 ac_status=$?
79032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79035 (eval $ac_try) 2>&5
79036 ac_status=$?
79037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79038 (exit $ac_status); }; }; then
79039 ac_sectionLDflags=yes
79040 else
79041 echo "$as_me: program exited with status $ac_status" >&5
79042 echo "$as_me: failed program was:" >&5
79043 sed 's/^/| /' conftest.$ac_ext >&5
79045 ( exit $ac_status )
79046 ac_sectionLDflags=no
79048 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79050 if test "$ac_test_CFLAGS" = set; then
79051 CFLAGS="$ac_save_CFLAGS"
79052 else
79053 # this is the suspicious part
79054 CFLAGS=''
79056 if test "$ac_sectionLDflags" = "yes"; then
79057 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79059 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79060 echo "${ECHO_T}$ac_sectionLDflags" >&6
79063 # Set linker optimization flags.
79064 if test x"$with_gnu_ld" = x"yes"; then
79065 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79073 echo "$as_me:$LINENO: checking for main in -lm" >&5
79074 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79075 if test "${ac_cv_lib_m_main+set}" = set; then
79076 echo $ECHO_N "(cached) $ECHO_C" >&6
79077 else
79078 ac_check_lib_save_LIBS=$LIBS
79079 LIBS="-lm $LIBS"
79080 if test x$gcc_no_link = xyes; then
79081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79083 { (exit 1); exit 1; }; }
79085 cat >conftest.$ac_ext <<_ACEOF
79086 /* confdefs.h. */
79087 _ACEOF
79088 cat confdefs.h >>conftest.$ac_ext
79089 cat >>conftest.$ac_ext <<_ACEOF
79090 /* end confdefs.h. */
79094 main ()
79096 main ();
79098 return 0;
79100 _ACEOF
79101 rm -f conftest.$ac_objext conftest$ac_exeext
79102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79103 (eval $ac_link) 2>conftest.er1
79104 ac_status=$?
79105 grep -v '^ *+' conftest.er1 >conftest.err
79106 rm -f conftest.er1
79107 cat conftest.err >&5
79108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79109 (exit $ac_status); } &&
79110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79112 (eval $ac_try) 2>&5
79113 ac_status=$?
79114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79115 (exit $ac_status); }; } &&
79116 { ac_try='test -s conftest$ac_exeext'
79117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79118 (eval $ac_try) 2>&5
79119 ac_status=$?
79120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79121 (exit $ac_status); }; }; then
79122 ac_cv_lib_m_main=yes
79123 else
79124 echo "$as_me: failed program was:" >&5
79125 sed 's/^/| /' conftest.$ac_ext >&5
79127 ac_cv_lib_m_main=no
79129 rm -f conftest.err conftest.$ac_objext \
79130 conftest$ac_exeext conftest.$ac_ext
79131 LIBS=$ac_check_lib_save_LIBS
79133 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79134 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79135 if test $ac_cv_lib_m_main = yes; then
79136 cat >>confdefs.h <<_ACEOF
79137 #define HAVE_LIBM 1
79138 _ACEOF
79140 LIBS="-lm $LIBS"
79145 for ac_func in copysignf
79147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79148 echo "$as_me:$LINENO: checking for $ac_func" >&5
79149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79150 if eval "test \"\${$as_ac_var+set}\" = set"; then
79151 echo $ECHO_N "(cached) $ECHO_C" >&6
79152 else
79153 if test x$gcc_no_link = xyes; then
79154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79156 { (exit 1); exit 1; }; }
79158 cat >conftest.$ac_ext <<_ACEOF
79159 /* confdefs.h. */
79160 _ACEOF
79161 cat confdefs.h >>conftest.$ac_ext
79162 cat >>conftest.$ac_ext <<_ACEOF
79163 /* end confdefs.h. */
79164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79166 #define $ac_func innocuous_$ac_func
79168 /* System header to define __stub macros and hopefully few prototypes,
79169 which can conflict with char $ac_func (); below.
79170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79171 <limits.h> exists even on freestanding compilers. */
79173 #ifdef __STDC__
79174 # include <limits.h>
79175 #else
79176 # include <assert.h>
79177 #endif
79179 #undef $ac_func
79181 /* Override any gcc2 internal prototype to avoid an error. */
79182 #ifdef __cplusplus
79183 extern "C"
79185 #endif
79186 /* We use char because int might match the return type of a gcc2
79187 builtin and then its argument prototype would still apply. */
79188 char $ac_func ();
79189 /* The GNU C library defines this for functions which it implements
79190 to always fail with ENOSYS. Some functions are actually named
79191 something starting with __ and the normal name is an alias. */
79192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79193 choke me
79194 #else
79195 char (*f) () = $ac_func;
79196 #endif
79197 #ifdef __cplusplus
79199 #endif
79202 main ()
79204 return f != $ac_func;
79206 return 0;
79208 _ACEOF
79209 rm -f conftest.$ac_objext conftest$ac_exeext
79210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79211 (eval $ac_link) 2>conftest.er1
79212 ac_status=$?
79213 grep -v '^ *+' conftest.er1 >conftest.err
79214 rm -f conftest.er1
79215 cat conftest.err >&5
79216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79217 (exit $ac_status); } &&
79218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79220 (eval $ac_try) 2>&5
79221 ac_status=$?
79222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79223 (exit $ac_status); }; } &&
79224 { ac_try='test -s conftest$ac_exeext'
79225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79226 (eval $ac_try) 2>&5
79227 ac_status=$?
79228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79229 (exit $ac_status); }; }; then
79230 eval "$as_ac_var=yes"
79231 else
79232 echo "$as_me: failed program was:" >&5
79233 sed 's/^/| /' conftest.$ac_ext >&5
79235 eval "$as_ac_var=no"
79237 rm -f conftest.err conftest.$ac_objext \
79238 conftest$ac_exeext conftest.$ac_ext
79240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79242 if test `eval echo '${'$as_ac_var'}'` = yes; then
79243 cat >>confdefs.h <<_ACEOF
79244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79245 _ACEOF
79247 else
79248 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79250 done
79254 for ac_func in __signbit
79256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79257 echo "$as_me:$LINENO: checking for $ac_func" >&5
79258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79259 if eval "test \"\${$as_ac_var+set}\" = set"; then
79260 echo $ECHO_N "(cached) $ECHO_C" >&6
79261 else
79262 if test x$gcc_no_link = xyes; then
79263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79265 { (exit 1); exit 1; }; }
79267 cat >conftest.$ac_ext <<_ACEOF
79268 /* confdefs.h. */
79269 _ACEOF
79270 cat confdefs.h >>conftest.$ac_ext
79271 cat >>conftest.$ac_ext <<_ACEOF
79272 /* end confdefs.h. */
79273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79275 #define $ac_func innocuous_$ac_func
79277 /* System header to define __stub macros and hopefully few prototypes,
79278 which can conflict with char $ac_func (); below.
79279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79280 <limits.h> exists even on freestanding compilers. */
79282 #ifdef __STDC__
79283 # include <limits.h>
79284 #else
79285 # include <assert.h>
79286 #endif
79288 #undef $ac_func
79290 /* Override any gcc2 internal prototype to avoid an error. */
79291 #ifdef __cplusplus
79292 extern "C"
79294 #endif
79295 /* We use char because int might match the return type of a gcc2
79296 builtin and then its argument prototype would still apply. */
79297 char $ac_func ();
79298 /* The GNU C library defines this for functions which it implements
79299 to always fail with ENOSYS. Some functions are actually named
79300 something starting with __ and the normal name is an alias. */
79301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79302 choke me
79303 #else
79304 char (*f) () = $ac_func;
79305 #endif
79306 #ifdef __cplusplus
79308 #endif
79311 main ()
79313 return f != $ac_func;
79315 return 0;
79317 _ACEOF
79318 rm -f conftest.$ac_objext conftest$ac_exeext
79319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79320 (eval $ac_link) 2>conftest.er1
79321 ac_status=$?
79322 grep -v '^ *+' conftest.er1 >conftest.err
79323 rm -f conftest.er1
79324 cat conftest.err >&5
79325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79326 (exit $ac_status); } &&
79327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79329 (eval $ac_try) 2>&5
79330 ac_status=$?
79331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79332 (exit $ac_status); }; } &&
79333 { ac_try='test -s conftest$ac_exeext'
79334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79335 (eval $ac_try) 2>&5
79336 ac_status=$?
79337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338 (exit $ac_status); }; }; then
79339 eval "$as_ac_var=yes"
79340 else
79341 echo "$as_me: failed program was:" >&5
79342 sed 's/^/| /' conftest.$ac_ext >&5
79344 eval "$as_ac_var=no"
79346 rm -f conftest.err conftest.$ac_objext \
79347 conftest$ac_exeext conftest.$ac_ext
79349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79351 if test `eval echo '${'$as_ac_var'}'` = yes; then
79352 cat >>confdefs.h <<_ACEOF
79353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79354 _ACEOF
79356 else
79357 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79359 done
79363 for ac_func in __signbitf
79365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79366 echo "$as_me:$LINENO: checking for $ac_func" >&5
79367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79368 if eval "test \"\${$as_ac_var+set}\" = set"; then
79369 echo $ECHO_N "(cached) $ECHO_C" >&6
79370 else
79371 if test x$gcc_no_link = xyes; then
79372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79374 { (exit 1); exit 1; }; }
79376 cat >conftest.$ac_ext <<_ACEOF
79377 /* confdefs.h. */
79378 _ACEOF
79379 cat confdefs.h >>conftest.$ac_ext
79380 cat >>conftest.$ac_ext <<_ACEOF
79381 /* end confdefs.h. */
79382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79384 #define $ac_func innocuous_$ac_func
79386 /* System header to define __stub macros and hopefully few prototypes,
79387 which can conflict with char $ac_func (); below.
79388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79389 <limits.h> exists even on freestanding compilers. */
79391 #ifdef __STDC__
79392 # include <limits.h>
79393 #else
79394 # include <assert.h>
79395 #endif
79397 #undef $ac_func
79399 /* Override any gcc2 internal prototype to avoid an error. */
79400 #ifdef __cplusplus
79401 extern "C"
79403 #endif
79404 /* We use char because int might match the return type of a gcc2
79405 builtin and then its argument prototype would still apply. */
79406 char $ac_func ();
79407 /* The GNU C library defines this for functions which it implements
79408 to always fail with ENOSYS. Some functions are actually named
79409 something starting with __ and the normal name is an alias. */
79410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79411 choke me
79412 #else
79413 char (*f) () = $ac_func;
79414 #endif
79415 #ifdef __cplusplus
79417 #endif
79420 main ()
79422 return f != $ac_func;
79424 return 0;
79426 _ACEOF
79427 rm -f conftest.$ac_objext conftest$ac_exeext
79428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79429 (eval $ac_link) 2>conftest.er1
79430 ac_status=$?
79431 grep -v '^ *+' conftest.er1 >conftest.err
79432 rm -f conftest.er1
79433 cat conftest.err >&5
79434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79435 (exit $ac_status); } &&
79436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79438 (eval $ac_try) 2>&5
79439 ac_status=$?
79440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79441 (exit $ac_status); }; } &&
79442 { ac_try='test -s conftest$ac_exeext'
79443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79444 (eval $ac_try) 2>&5
79445 ac_status=$?
79446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79447 (exit $ac_status); }; }; then
79448 eval "$as_ac_var=yes"
79449 else
79450 echo "$as_me: failed program was:" >&5
79451 sed 's/^/| /' conftest.$ac_ext >&5
79453 eval "$as_ac_var=no"
79455 rm -f conftest.err conftest.$ac_objext \
79456 conftest$ac_exeext conftest.$ac_ext
79458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79460 if test `eval echo '${'$as_ac_var'}'` = yes; then
79461 cat >>confdefs.h <<_ACEOF
79462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79463 _ACEOF
79465 else
79466 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79468 done
79471 if test x$ac_cv_func_copysignl = x"yes"; then
79473 for ac_func in __signbitl
79475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79476 echo "$as_me:$LINENO: checking for $ac_func" >&5
79477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79478 if eval "test \"\${$as_ac_var+set}\" = set"; then
79479 echo $ECHO_N "(cached) $ECHO_C" >&6
79480 else
79481 if test x$gcc_no_link = xyes; then
79482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79484 { (exit 1); exit 1; }; }
79486 cat >conftest.$ac_ext <<_ACEOF
79487 /* confdefs.h. */
79488 _ACEOF
79489 cat confdefs.h >>conftest.$ac_ext
79490 cat >>conftest.$ac_ext <<_ACEOF
79491 /* end confdefs.h. */
79492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79494 #define $ac_func innocuous_$ac_func
79496 /* System header to define __stub macros and hopefully few prototypes,
79497 which can conflict with char $ac_func (); below.
79498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79499 <limits.h> exists even on freestanding compilers. */
79501 #ifdef __STDC__
79502 # include <limits.h>
79503 #else
79504 # include <assert.h>
79505 #endif
79507 #undef $ac_func
79509 /* Override any gcc2 internal prototype to avoid an error. */
79510 #ifdef __cplusplus
79511 extern "C"
79513 #endif
79514 /* We use char because int might match the return type of a gcc2
79515 builtin and then its argument prototype would still apply. */
79516 char $ac_func ();
79517 /* The GNU C library defines this for functions which it implements
79518 to always fail with ENOSYS. Some functions are actually named
79519 something starting with __ and the normal name is an alias. */
79520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79521 choke me
79522 #else
79523 char (*f) () = $ac_func;
79524 #endif
79525 #ifdef __cplusplus
79527 #endif
79530 main ()
79532 return f != $ac_func;
79534 return 0;
79536 _ACEOF
79537 rm -f conftest.$ac_objext conftest$ac_exeext
79538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79539 (eval $ac_link) 2>conftest.er1
79540 ac_status=$?
79541 grep -v '^ *+' conftest.er1 >conftest.err
79542 rm -f conftest.er1
79543 cat conftest.err >&5
79544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79545 (exit $ac_status); } &&
79546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79548 (eval $ac_try) 2>&5
79549 ac_status=$?
79550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79551 (exit $ac_status); }; } &&
79552 { ac_try='test -s conftest$ac_exeext'
79553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79554 (eval $ac_try) 2>&5
79555 ac_status=$?
79556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79557 (exit $ac_status); }; }; then
79558 eval "$as_ac_var=yes"
79559 else
79560 echo "$as_me: failed program was:" >&5
79561 sed 's/^/| /' conftest.$ac_ext >&5
79563 eval "$as_ac_var=no"
79565 rm -f conftest.err conftest.$ac_objext \
79566 conftest$ac_exeext conftest.$ac_ext
79568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79570 if test `eval echo '${'$as_ac_var'}'` = yes; then
79571 cat >>confdefs.h <<_ACEOF
79572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79573 _ACEOF
79575 else
79576 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79578 done
79582 # Used in libmath/Makefile.am.
79583 if test -n "$LIBMATHOBJS"; then
79584 need_libmath=yes
79589 # Test wchar.h for mbstate_t, which is needed for char_traits and
79590 # others even if wchar_t support is not on.
79591 echo "$as_me:$LINENO: checking for mbstate_t" >&5
79592 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
79593 cat >conftest.$ac_ext <<_ACEOF
79594 /* confdefs.h. */
79595 _ACEOF
79596 cat confdefs.h >>conftest.$ac_ext
79597 cat >>conftest.$ac_ext <<_ACEOF
79598 /* end confdefs.h. */
79599 #include <wchar.h>
79601 main ()
79603 mbstate_t teststate;
79605 return 0;
79607 _ACEOF
79608 rm -f conftest.$ac_objext
79609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79610 (eval $ac_compile) 2>conftest.er1
79611 ac_status=$?
79612 grep -v '^ *+' conftest.er1 >conftest.err
79613 rm -f conftest.er1
79614 cat conftest.err >&5
79615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79616 (exit $ac_status); } &&
79617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79619 (eval $ac_try) 2>&5
79620 ac_status=$?
79621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79622 (exit $ac_status); }; } &&
79623 { ac_try='test -s conftest.$ac_objext'
79624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79625 (eval $ac_try) 2>&5
79626 ac_status=$?
79627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79628 (exit $ac_status); }; }; then
79629 have_mbstate_t=yes
79630 else
79631 echo "$as_me: failed program was:" >&5
79632 sed 's/^/| /' conftest.$ac_ext >&5
79634 have_mbstate_t=no
79636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79637 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
79638 echo "${ECHO_T}$have_mbstate_t" >&6
79639 if test x"$have_mbstate_t" = xyes; then
79640 cat >>confdefs.h <<\_ACEOF
79641 #define HAVE_MBSTATE_T 1
79642 _ACEOF
79646 # Sanity check for existence of ISO C99 headers for extended encoding.
79648 for ac_header in wchar.h
79650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79652 echo "$as_me:$LINENO: checking for $ac_header" >&5
79653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79655 echo $ECHO_N "(cached) $ECHO_C" >&6
79657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79659 else
79660 # Is the header compilable?
79661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79663 cat >conftest.$ac_ext <<_ACEOF
79664 /* confdefs.h. */
79665 _ACEOF
79666 cat confdefs.h >>conftest.$ac_ext
79667 cat >>conftest.$ac_ext <<_ACEOF
79668 /* end confdefs.h. */
79669 $ac_includes_default
79670 #include <$ac_header>
79671 _ACEOF
79672 rm -f conftest.$ac_objext
79673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79674 (eval $ac_compile) 2>conftest.er1
79675 ac_status=$?
79676 grep -v '^ *+' conftest.er1 >conftest.err
79677 rm -f conftest.er1
79678 cat conftest.err >&5
79679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680 (exit $ac_status); } &&
79681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79683 (eval $ac_try) 2>&5
79684 ac_status=$?
79685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79686 (exit $ac_status); }; } &&
79687 { ac_try='test -s conftest.$ac_objext'
79688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79689 (eval $ac_try) 2>&5
79690 ac_status=$?
79691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79692 (exit $ac_status); }; }; then
79693 ac_header_compiler=yes
79694 else
79695 echo "$as_me: failed program was:" >&5
79696 sed 's/^/| /' conftest.$ac_ext >&5
79698 ac_header_compiler=no
79700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79702 echo "${ECHO_T}$ac_header_compiler" >&6
79704 # Is the header present?
79705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79707 cat >conftest.$ac_ext <<_ACEOF
79708 /* confdefs.h. */
79709 _ACEOF
79710 cat confdefs.h >>conftest.$ac_ext
79711 cat >>conftest.$ac_ext <<_ACEOF
79712 /* end confdefs.h. */
79713 #include <$ac_header>
79714 _ACEOF
79715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79717 ac_status=$?
79718 grep -v '^ *+' conftest.er1 >conftest.err
79719 rm -f conftest.er1
79720 cat conftest.err >&5
79721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79722 (exit $ac_status); } >/dev/null; then
79723 if test -s conftest.err; then
79724 ac_cpp_err=$ac_c_preproc_warn_flag
79725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79726 else
79727 ac_cpp_err=
79729 else
79730 ac_cpp_err=yes
79732 if test -z "$ac_cpp_err"; then
79733 ac_header_preproc=yes
79734 else
79735 echo "$as_me: failed program was:" >&5
79736 sed 's/^/| /' conftest.$ac_ext >&5
79738 ac_header_preproc=no
79740 rm -f conftest.err conftest.$ac_ext
79741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79742 echo "${ECHO_T}$ac_header_preproc" >&6
79744 # So? What about this header?
79745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79746 yes:no: )
79747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79751 ac_header_preproc=yes
79753 no:yes:* )
79754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79767 cat <<\_ASBOX
79768 ## ----------------------------------------- ##
79769 ## Report this to the package-unused lists. ##
79770 ## ----------------------------------------- ##
79771 _ASBOX
79773 sed "s/^/$as_me: WARNING: /" >&2
79775 esac
79776 echo "$as_me:$LINENO: checking for $ac_header" >&5
79777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79779 echo $ECHO_N "(cached) $ECHO_C" >&6
79780 else
79781 eval "$as_ac_Header=\$ac_header_preproc"
79783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79788 cat >>confdefs.h <<_ACEOF
79789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79790 _ACEOF
79791 ac_has_wchar_h=yes
79792 else
79793 ac_has_wchar_h=no
79796 done
79799 for ac_header in wctype.h
79801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79803 echo "$as_me:$LINENO: checking for $ac_header" >&5
79804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79806 echo $ECHO_N "(cached) $ECHO_C" >&6
79808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79810 else
79811 # Is the header compilable?
79812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79814 cat >conftest.$ac_ext <<_ACEOF
79815 /* confdefs.h. */
79816 _ACEOF
79817 cat confdefs.h >>conftest.$ac_ext
79818 cat >>conftest.$ac_ext <<_ACEOF
79819 /* end confdefs.h. */
79820 $ac_includes_default
79821 #include <$ac_header>
79822 _ACEOF
79823 rm -f conftest.$ac_objext
79824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79825 (eval $ac_compile) 2>conftest.er1
79826 ac_status=$?
79827 grep -v '^ *+' conftest.er1 >conftest.err
79828 rm -f conftest.er1
79829 cat conftest.err >&5
79830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79831 (exit $ac_status); } &&
79832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79834 (eval $ac_try) 2>&5
79835 ac_status=$?
79836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79837 (exit $ac_status); }; } &&
79838 { ac_try='test -s conftest.$ac_objext'
79839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79840 (eval $ac_try) 2>&5
79841 ac_status=$?
79842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79843 (exit $ac_status); }; }; then
79844 ac_header_compiler=yes
79845 else
79846 echo "$as_me: failed program was:" >&5
79847 sed 's/^/| /' conftest.$ac_ext >&5
79849 ac_header_compiler=no
79851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79853 echo "${ECHO_T}$ac_header_compiler" >&6
79855 # Is the header present?
79856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79858 cat >conftest.$ac_ext <<_ACEOF
79859 /* confdefs.h. */
79860 _ACEOF
79861 cat confdefs.h >>conftest.$ac_ext
79862 cat >>conftest.$ac_ext <<_ACEOF
79863 /* end confdefs.h. */
79864 #include <$ac_header>
79865 _ACEOF
79866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79868 ac_status=$?
79869 grep -v '^ *+' conftest.er1 >conftest.err
79870 rm -f conftest.er1
79871 cat conftest.err >&5
79872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79873 (exit $ac_status); } >/dev/null; then
79874 if test -s conftest.err; then
79875 ac_cpp_err=$ac_c_preproc_warn_flag
79876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79877 else
79878 ac_cpp_err=
79880 else
79881 ac_cpp_err=yes
79883 if test -z "$ac_cpp_err"; then
79884 ac_header_preproc=yes
79885 else
79886 echo "$as_me: failed program was:" >&5
79887 sed 's/^/| /' conftest.$ac_ext >&5
79889 ac_header_preproc=no
79891 rm -f conftest.err conftest.$ac_ext
79892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79893 echo "${ECHO_T}$ac_header_preproc" >&6
79895 # So? What about this header?
79896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79897 yes:no: )
79898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79902 ac_header_preproc=yes
79904 no:yes:* )
79905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79918 cat <<\_ASBOX
79919 ## ----------------------------------------- ##
79920 ## Report this to the package-unused lists. ##
79921 ## ----------------------------------------- ##
79922 _ASBOX
79924 sed "s/^/$as_me: WARNING: /" >&2
79926 esac
79927 echo "$as_me:$LINENO: checking for $ac_header" >&5
79928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79930 echo $ECHO_N "(cached) $ECHO_C" >&6
79931 else
79932 eval "$as_ac_Header=\$ac_header_preproc"
79934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79939 cat >>confdefs.h <<_ACEOF
79940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79941 _ACEOF
79942 ac_has_wctype_h=yes
79943 else
79944 ac_has_wctype_h=no
79947 done
79950 # Only continue checking if the ISO C99 headers exist and support is on.
79951 if test x"$ac_has_wchar_h" = xyes &&
79952 test x"$ac_has_wctype_h" = xyes &&
79953 test x"$enable_c_mbchar" != xno; then
79955 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
79956 # numeric_limits can instantiate type_traits<wchar_t>
79957 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
79958 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
79959 cat >conftest.$ac_ext <<_ACEOF
79960 /* confdefs.h. */
79961 _ACEOF
79962 cat confdefs.h >>conftest.$ac_ext
79963 cat >>conftest.$ac_ext <<_ACEOF
79964 /* end confdefs.h. */
79965 #include <wchar.h>
79967 main ()
79969 int i = WCHAR_MIN; int j = WCHAR_MAX;
79971 return 0;
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" || test ! -s conftest.err'
79984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79985 (eval $ac_try) 2>&5
79986 ac_status=$?
79987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79988 (exit $ac_status); }; } &&
79989 { ac_try='test -s conftest.$ac_objext'
79990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79991 (eval $ac_try) 2>&5
79992 ac_status=$?
79993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79994 (exit $ac_status); }; }; then
79995 has_wchar_minmax=yes
79996 else
79997 echo "$as_me: failed program was:" >&5
79998 sed 's/^/| /' conftest.$ac_ext >&5
80000 has_wchar_minmax=no
80002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80003 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80004 echo "${ECHO_T}$has_wchar_minmax" >&6
80006 # Test wchar.h for WEOF, which is what we use to determine whether
80007 # to specialize for char_traits<wchar_t> or not.
80008 echo "$as_me:$LINENO: checking for WEOF" >&5
80009 echo $ECHO_N "checking for WEOF... $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. */
80017 #include <wchar.h>
80018 #include <stddef.h>
80020 main ()
80022 wint_t i = WEOF;
80024 return 0;
80026 _ACEOF
80027 rm -f conftest.$ac_objext
80028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80029 (eval $ac_compile) 2>conftest.er1
80030 ac_status=$?
80031 grep -v '^ *+' conftest.er1 >conftest.err
80032 rm -f conftest.er1
80033 cat conftest.err >&5
80034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80035 (exit $ac_status); } &&
80036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80038 (eval $ac_try) 2>&5
80039 ac_status=$?
80040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80041 (exit $ac_status); }; } &&
80042 { ac_try='test -s conftest.$ac_objext'
80043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80044 (eval $ac_try) 2>&5
80045 ac_status=$?
80046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80047 (exit $ac_status); }; }; then
80048 has_weof=yes
80049 else
80050 echo "$as_me: failed program was:" >&5
80051 sed 's/^/| /' conftest.$ac_ext >&5
80053 has_weof=no
80055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80056 echo "$as_me:$LINENO: result: $has_weof" >&5
80057 echo "${ECHO_T}$has_weof" >&6
80059 # Tests for wide character functions used in char_traits<wchar_t>.
80060 ac_wfuncs=yes
80067 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80070 echo "$as_me:$LINENO: checking for $ac_func" >&5
80071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80072 if eval "test \"\${$as_ac_var+set}\" = set"; then
80073 echo $ECHO_N "(cached) $ECHO_C" >&6
80074 else
80075 if test x$gcc_no_link = xyes; then
80076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80078 { (exit 1); exit 1; }; }
80080 cat >conftest.$ac_ext <<_ACEOF
80081 /* confdefs.h. */
80082 _ACEOF
80083 cat confdefs.h >>conftest.$ac_ext
80084 cat >>conftest.$ac_ext <<_ACEOF
80085 /* end confdefs.h. */
80086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80088 #define $ac_func innocuous_$ac_func
80090 /* System header to define __stub macros and hopefully few prototypes,
80091 which can conflict with char $ac_func (); below.
80092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80093 <limits.h> exists even on freestanding compilers. */
80095 #ifdef __STDC__
80096 # include <limits.h>
80097 #else
80098 # include <assert.h>
80099 #endif
80101 #undef $ac_func
80103 /* Override any gcc2 internal prototype to avoid an error. */
80104 #ifdef __cplusplus
80105 extern "C"
80107 #endif
80108 /* We use char because int might match the return type of a gcc2
80109 builtin and then its argument prototype would still apply. */
80110 char $ac_func ();
80111 /* The GNU C library defines this for functions which it implements
80112 to always fail with ENOSYS. Some functions are actually named
80113 something starting with __ and the normal name is an alias. */
80114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80115 choke me
80116 #else
80117 char (*f) () = $ac_func;
80118 #endif
80119 #ifdef __cplusplus
80121 #endif
80124 main ()
80126 return f != $ac_func;
80128 return 0;
80130 _ACEOF
80131 rm -f conftest.$ac_objext conftest$ac_exeext
80132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80133 (eval $ac_link) 2>conftest.er1
80134 ac_status=$?
80135 grep -v '^ *+' conftest.er1 >conftest.err
80136 rm -f conftest.er1
80137 cat conftest.err >&5
80138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80139 (exit $ac_status); } &&
80140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80142 (eval $ac_try) 2>&5
80143 ac_status=$?
80144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80145 (exit $ac_status); }; } &&
80146 { ac_try='test -s conftest$ac_exeext'
80147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80148 (eval $ac_try) 2>&5
80149 ac_status=$?
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); }; }; then
80152 eval "$as_ac_var=yes"
80153 else
80154 echo "$as_me: failed program was:" >&5
80155 sed 's/^/| /' conftest.$ac_ext >&5
80157 eval "$as_ac_var=no"
80159 rm -f conftest.err conftest.$ac_objext \
80160 conftest$ac_exeext conftest.$ac_ext
80162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80164 if test `eval echo '${'$as_ac_var'}'` = yes; then
80165 cat >>confdefs.h <<_ACEOF
80166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80167 _ACEOF
80169 else
80170 ac_wfuncs=no
80172 done
80175 # Checks for names injected into std:: by the c_std headers.
80222 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
80223 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
80224 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
80225 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
80226 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
80227 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
80229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80230 echo "$as_me:$LINENO: checking for $ac_func" >&5
80231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80232 if eval "test \"\${$as_ac_var+set}\" = set"; then
80233 echo $ECHO_N "(cached) $ECHO_C" >&6
80234 else
80235 if test x$gcc_no_link = xyes; then
80236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80238 { (exit 1); exit 1; }; }
80240 cat >conftest.$ac_ext <<_ACEOF
80241 /* confdefs.h. */
80242 _ACEOF
80243 cat confdefs.h >>conftest.$ac_ext
80244 cat >>conftest.$ac_ext <<_ACEOF
80245 /* end confdefs.h. */
80246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80248 #define $ac_func innocuous_$ac_func
80250 /* System header to define __stub macros and hopefully few prototypes,
80251 which can conflict with char $ac_func (); below.
80252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80253 <limits.h> exists even on freestanding compilers. */
80255 #ifdef __STDC__
80256 # include <limits.h>
80257 #else
80258 # include <assert.h>
80259 #endif
80261 #undef $ac_func
80263 /* Override any gcc2 internal prototype to avoid an error. */
80264 #ifdef __cplusplus
80265 extern "C"
80267 #endif
80268 /* We use char because int might match the return type of a gcc2
80269 builtin and then its argument prototype would still apply. */
80270 char $ac_func ();
80271 /* The GNU C library defines this for functions which it implements
80272 to always fail with ENOSYS. Some functions are actually named
80273 something starting with __ and the normal name is an alias. */
80274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80275 choke me
80276 #else
80277 char (*f) () = $ac_func;
80278 #endif
80279 #ifdef __cplusplus
80281 #endif
80284 main ()
80286 return f != $ac_func;
80288 return 0;
80290 _ACEOF
80291 rm -f conftest.$ac_objext conftest$ac_exeext
80292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80293 (eval $ac_link) 2>conftest.er1
80294 ac_status=$?
80295 grep -v '^ *+' conftest.er1 >conftest.err
80296 rm -f conftest.er1
80297 cat conftest.err >&5
80298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80299 (exit $ac_status); } &&
80300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80302 (eval $ac_try) 2>&5
80303 ac_status=$?
80304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80305 (exit $ac_status); }; } &&
80306 { ac_try='test -s conftest$ac_exeext'
80307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80308 (eval $ac_try) 2>&5
80309 ac_status=$?
80310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80311 (exit $ac_status); }; }; then
80312 eval "$as_ac_var=yes"
80313 else
80314 echo "$as_me: failed program was:" >&5
80315 sed 's/^/| /' conftest.$ac_ext >&5
80317 eval "$as_ac_var=no"
80319 rm -f conftest.err conftest.$ac_objext \
80320 conftest$ac_exeext conftest.$ac_ext
80322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80324 if test `eval echo '${'$as_ac_var'}'` = yes; then
80325 cat >>confdefs.h <<_ACEOF
80326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80327 _ACEOF
80329 else
80330 ac_wfuncs=no
80332 done
80335 # Checks for wide character functions that are not required
80336 # for basic wchar_t support. Don't disable support if they are missing.
80337 # Injection of these is wrapped with guard macros.
80343 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
80345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80346 echo "$as_me:$LINENO: checking for $ac_func" >&5
80347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80348 if eval "test \"\${$as_ac_var+set}\" = set"; then
80349 echo $ECHO_N "(cached) $ECHO_C" >&6
80350 else
80351 if test x$gcc_no_link = xyes; then
80352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80354 { (exit 1); exit 1; }; }
80356 cat >conftest.$ac_ext <<_ACEOF
80357 /* confdefs.h. */
80358 _ACEOF
80359 cat confdefs.h >>conftest.$ac_ext
80360 cat >>conftest.$ac_ext <<_ACEOF
80361 /* end confdefs.h. */
80362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80364 #define $ac_func innocuous_$ac_func
80366 /* System header to define __stub macros and hopefully few prototypes,
80367 which can conflict with char $ac_func (); below.
80368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80369 <limits.h> exists even on freestanding compilers. */
80371 #ifdef __STDC__
80372 # include <limits.h>
80373 #else
80374 # include <assert.h>
80375 #endif
80377 #undef $ac_func
80379 /* Override any gcc2 internal prototype to avoid an error. */
80380 #ifdef __cplusplus
80381 extern "C"
80383 #endif
80384 /* We use char because int might match the return type of a gcc2
80385 builtin and then its argument prototype would still apply. */
80386 char $ac_func ();
80387 /* The GNU C library defines this for functions which it implements
80388 to always fail with ENOSYS. Some functions are actually named
80389 something starting with __ and the normal name is an alias. */
80390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80391 choke me
80392 #else
80393 char (*f) () = $ac_func;
80394 #endif
80395 #ifdef __cplusplus
80397 #endif
80400 main ()
80402 return f != $ac_func;
80404 return 0;
80406 _ACEOF
80407 rm -f conftest.$ac_objext conftest$ac_exeext
80408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80409 (eval $ac_link) 2>conftest.er1
80410 ac_status=$?
80411 grep -v '^ *+' conftest.er1 >conftest.err
80412 rm -f conftest.er1
80413 cat conftest.err >&5
80414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80415 (exit $ac_status); } &&
80416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80418 (eval $ac_try) 2>&5
80419 ac_status=$?
80420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80421 (exit $ac_status); }; } &&
80422 { ac_try='test -s conftest$ac_exeext'
80423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80424 (eval $ac_try) 2>&5
80425 ac_status=$?
80426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80427 (exit $ac_status); }; }; then
80428 eval "$as_ac_var=yes"
80429 else
80430 echo "$as_me: failed program was:" >&5
80431 sed 's/^/| /' conftest.$ac_ext >&5
80433 eval "$as_ac_var=no"
80435 rm -f conftest.err conftest.$ac_objext \
80436 conftest$ac_exeext conftest.$ac_ext
80438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80440 if test `eval echo '${'$as_ac_var'}'` = yes; then
80441 cat >>confdefs.h <<_ACEOF
80442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80443 _ACEOF
80446 done
80449 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
80450 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
80451 if test x"$has_weof" = xyes &&
80452 test x"$has_wchar_minmax" = xyes &&
80453 test x"$ac_wfuncs" = xyes;
80454 then
80455 ac_isoC99_wchar_t=yes
80456 else
80457 ac_isoC99_wchar_t=no
80459 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
80460 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
80462 # Use iconv for wchar_t to char conversions. As such, check for
80463 # X/Open Portability Guide, version 2 features (XPG2).
80464 if test "${ac_cv_header_iconv_h+set}" = set; then
80465 echo "$as_me:$LINENO: checking for iconv.h" >&5
80466 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80467 if test "${ac_cv_header_iconv_h+set}" = set; then
80468 echo $ECHO_N "(cached) $ECHO_C" >&6
80470 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80471 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80472 else
80473 # Is the header compilable?
80474 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80475 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80476 cat >conftest.$ac_ext <<_ACEOF
80477 /* confdefs.h. */
80478 _ACEOF
80479 cat confdefs.h >>conftest.$ac_ext
80480 cat >>conftest.$ac_ext <<_ACEOF
80481 /* end confdefs.h. */
80482 $ac_includes_default
80483 #include <iconv.h>
80484 _ACEOF
80485 rm -f conftest.$ac_objext
80486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80487 (eval $ac_compile) 2>conftest.er1
80488 ac_status=$?
80489 grep -v '^ *+' conftest.er1 >conftest.err
80490 rm -f conftest.er1
80491 cat conftest.err >&5
80492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80493 (exit $ac_status); } &&
80494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80496 (eval $ac_try) 2>&5
80497 ac_status=$?
80498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80499 (exit $ac_status); }; } &&
80500 { ac_try='test -s conftest.$ac_objext'
80501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80502 (eval $ac_try) 2>&5
80503 ac_status=$?
80504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80505 (exit $ac_status); }; }; then
80506 ac_header_compiler=yes
80507 else
80508 echo "$as_me: failed program was:" >&5
80509 sed 's/^/| /' conftest.$ac_ext >&5
80511 ac_header_compiler=no
80513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80515 echo "${ECHO_T}$ac_header_compiler" >&6
80517 # Is the header present?
80518 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80519 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80520 cat >conftest.$ac_ext <<_ACEOF
80521 /* confdefs.h. */
80522 _ACEOF
80523 cat confdefs.h >>conftest.$ac_ext
80524 cat >>conftest.$ac_ext <<_ACEOF
80525 /* end confdefs.h. */
80526 #include <iconv.h>
80527 _ACEOF
80528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80530 ac_status=$?
80531 grep -v '^ *+' conftest.er1 >conftest.err
80532 rm -f conftest.er1
80533 cat conftest.err >&5
80534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80535 (exit $ac_status); } >/dev/null; then
80536 if test -s conftest.err; then
80537 ac_cpp_err=$ac_c_preproc_warn_flag
80538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80539 else
80540 ac_cpp_err=
80542 else
80543 ac_cpp_err=yes
80545 if test -z "$ac_cpp_err"; then
80546 ac_header_preproc=yes
80547 else
80548 echo "$as_me: failed program was:" >&5
80549 sed 's/^/| /' conftest.$ac_ext >&5
80551 ac_header_preproc=no
80553 rm -f conftest.err conftest.$ac_ext
80554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80555 echo "${ECHO_T}$ac_header_preproc" >&6
80557 # So? What about this header?
80558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80559 yes:no: )
80560 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80561 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80562 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80563 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80564 ac_header_preproc=yes
80566 no:yes:* )
80567 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80568 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80569 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80570 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80571 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80572 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80573 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80574 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80575 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80576 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80577 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80578 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80580 cat <<\_ASBOX
80581 ## ----------------------------------------- ##
80582 ## Report this to the package-unused lists. ##
80583 ## ----------------------------------------- ##
80584 _ASBOX
80586 sed "s/^/$as_me: WARNING: /" >&2
80588 esac
80589 echo "$as_me:$LINENO: checking for iconv.h" >&5
80590 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80591 if test "${ac_cv_header_iconv_h+set}" = set; then
80592 echo $ECHO_N "(cached) $ECHO_C" >&6
80593 else
80594 ac_cv_header_iconv_h=$ac_header_preproc
80596 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80597 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80600 if test $ac_cv_header_iconv_h = yes; then
80601 ac_has_iconv_h=yes
80602 else
80603 ac_has_iconv_h=no
80607 if test "${ac_cv_header_langinfo_h+set}" = set; then
80608 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80609 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80610 if test "${ac_cv_header_langinfo_h+set}" = set; then
80611 echo $ECHO_N "(cached) $ECHO_C" >&6
80613 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80614 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80615 else
80616 # Is the header compilable?
80617 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80618 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80619 cat >conftest.$ac_ext <<_ACEOF
80620 /* confdefs.h. */
80621 _ACEOF
80622 cat confdefs.h >>conftest.$ac_ext
80623 cat >>conftest.$ac_ext <<_ACEOF
80624 /* end confdefs.h. */
80625 $ac_includes_default
80626 #include <langinfo.h>
80627 _ACEOF
80628 rm -f conftest.$ac_objext
80629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80630 (eval $ac_compile) 2>conftest.er1
80631 ac_status=$?
80632 grep -v '^ *+' conftest.er1 >conftest.err
80633 rm -f conftest.er1
80634 cat conftest.err >&5
80635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80636 (exit $ac_status); } &&
80637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80639 (eval $ac_try) 2>&5
80640 ac_status=$?
80641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80642 (exit $ac_status); }; } &&
80643 { ac_try='test -s conftest.$ac_objext'
80644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80645 (eval $ac_try) 2>&5
80646 ac_status=$?
80647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80648 (exit $ac_status); }; }; then
80649 ac_header_compiler=yes
80650 else
80651 echo "$as_me: failed program was:" >&5
80652 sed 's/^/| /' conftest.$ac_ext >&5
80654 ac_header_compiler=no
80656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80658 echo "${ECHO_T}$ac_header_compiler" >&6
80660 # Is the header present?
80661 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80662 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80663 cat >conftest.$ac_ext <<_ACEOF
80664 /* confdefs.h. */
80665 _ACEOF
80666 cat confdefs.h >>conftest.$ac_ext
80667 cat >>conftest.$ac_ext <<_ACEOF
80668 /* end confdefs.h. */
80669 #include <langinfo.h>
80670 _ACEOF
80671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80673 ac_status=$?
80674 grep -v '^ *+' conftest.er1 >conftest.err
80675 rm -f conftest.er1
80676 cat conftest.err >&5
80677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80678 (exit $ac_status); } >/dev/null; then
80679 if test -s conftest.err; then
80680 ac_cpp_err=$ac_c_preproc_warn_flag
80681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80682 else
80683 ac_cpp_err=
80685 else
80686 ac_cpp_err=yes
80688 if test -z "$ac_cpp_err"; then
80689 ac_header_preproc=yes
80690 else
80691 echo "$as_me: failed program was:" >&5
80692 sed 's/^/| /' conftest.$ac_ext >&5
80694 ac_header_preproc=no
80696 rm -f conftest.err conftest.$ac_ext
80697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80698 echo "${ECHO_T}$ac_header_preproc" >&6
80700 # So? What about this header?
80701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80702 yes:no: )
80703 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80704 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80705 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80706 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80707 ac_header_preproc=yes
80709 no:yes:* )
80710 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80711 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80712 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80713 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80714 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80715 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80716 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80717 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80718 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80719 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80720 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80721 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80723 cat <<\_ASBOX
80724 ## ----------------------------------------- ##
80725 ## Report this to the package-unused lists. ##
80726 ## ----------------------------------------- ##
80727 _ASBOX
80729 sed "s/^/$as_me: WARNING: /" >&2
80731 esac
80732 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80733 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80734 if test "${ac_cv_header_langinfo_h+set}" = set; then
80735 echo $ECHO_N "(cached) $ECHO_C" >&6
80736 else
80737 ac_cv_header_langinfo_h=$ac_header_preproc
80739 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80740 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80743 if test $ac_cv_header_langinfo_h = yes; then
80744 ac_has_langinfo_h=yes
80745 else
80746 ac_has_langinfo_h=no
80751 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80752 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80753 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80754 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80755 echo $ECHO_N "(cached) $ECHO_C" >&6
80756 else
80757 ac_check_lib_save_LIBS=$LIBS
80758 LIBS="-liconv $LIBS"
80759 if test x$gcc_no_link = xyes; then
80760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80762 { (exit 1); exit 1; }; }
80764 cat >conftest.$ac_ext <<_ACEOF
80765 /* confdefs.h. */
80766 _ACEOF
80767 cat confdefs.h >>conftest.$ac_ext
80768 cat >>conftest.$ac_ext <<_ACEOF
80769 /* end confdefs.h. */
80771 /* Override any gcc2 internal prototype to avoid an error. */
80772 #ifdef __cplusplus
80773 extern "C"
80774 #endif
80775 /* We use char because int might match the return type of a gcc2
80776 builtin and then its argument prototype would still apply. */
80777 char iconv ();
80779 main ()
80781 iconv ();
80783 return 0;
80785 _ACEOF
80786 rm -f conftest.$ac_objext conftest$ac_exeext
80787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80788 (eval $ac_link) 2>conftest.er1
80789 ac_status=$?
80790 grep -v '^ *+' conftest.er1 >conftest.err
80791 rm -f conftest.er1
80792 cat conftest.err >&5
80793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80794 (exit $ac_status); } &&
80795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80797 (eval $ac_try) 2>&5
80798 ac_status=$?
80799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80800 (exit $ac_status); }; } &&
80801 { ac_try='test -s conftest$ac_exeext'
80802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80803 (eval $ac_try) 2>&5
80804 ac_status=$?
80805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80806 (exit $ac_status); }; }; then
80807 ac_cv_lib_iconv_iconv=yes
80808 else
80809 echo "$as_me: failed program was:" >&5
80810 sed 's/^/| /' conftest.$ac_ext >&5
80812 ac_cv_lib_iconv_iconv=no
80814 rm -f conftest.err conftest.$ac_objext \
80815 conftest$ac_exeext conftest.$ac_ext
80816 LIBS=$ac_check_lib_save_LIBS
80818 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80819 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80820 if test $ac_cv_lib_iconv_iconv = yes; then
80821 LIBICONV="-liconv"
80824 ac_save_LIBS="$LIBS"
80825 LIBS="$LIBS $LIBICONV"
80832 for ac_func in iconv_open iconv_close iconv nl_langinfo
80834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80835 echo "$as_me:$LINENO: checking for $ac_func" >&5
80836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80837 if eval "test \"\${$as_ac_var+set}\" = set"; then
80838 echo $ECHO_N "(cached) $ECHO_C" >&6
80839 else
80840 if test x$gcc_no_link = xyes; then
80841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80843 { (exit 1); exit 1; }; }
80845 cat >conftest.$ac_ext <<_ACEOF
80846 /* confdefs.h. */
80847 _ACEOF
80848 cat confdefs.h >>conftest.$ac_ext
80849 cat >>conftest.$ac_ext <<_ACEOF
80850 /* end confdefs.h. */
80851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80853 #define $ac_func innocuous_$ac_func
80855 /* System header to define __stub macros and hopefully few prototypes,
80856 which can conflict with char $ac_func (); below.
80857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80858 <limits.h> exists even on freestanding compilers. */
80860 #ifdef __STDC__
80861 # include <limits.h>
80862 #else
80863 # include <assert.h>
80864 #endif
80866 #undef $ac_func
80868 /* Override any gcc2 internal prototype to avoid an error. */
80869 #ifdef __cplusplus
80870 extern "C"
80872 #endif
80873 /* We use char because int might match the return type of a gcc2
80874 builtin and then its argument prototype would still apply. */
80875 char $ac_func ();
80876 /* The GNU C library defines this for functions which it implements
80877 to always fail with ENOSYS. Some functions are actually named
80878 something starting with __ and the normal name is an alias. */
80879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80880 choke me
80881 #else
80882 char (*f) () = $ac_func;
80883 #endif
80884 #ifdef __cplusplus
80886 #endif
80889 main ()
80891 return f != $ac_func;
80893 return 0;
80895 _ACEOF
80896 rm -f conftest.$ac_objext conftest$ac_exeext
80897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80898 (eval $ac_link) 2>conftest.er1
80899 ac_status=$?
80900 grep -v '^ *+' conftest.er1 >conftest.err
80901 rm -f conftest.er1
80902 cat conftest.err >&5
80903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80904 (exit $ac_status); } &&
80905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80907 (eval $ac_try) 2>&5
80908 ac_status=$?
80909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80910 (exit $ac_status); }; } &&
80911 { ac_try='test -s conftest$ac_exeext'
80912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80913 (eval $ac_try) 2>&5
80914 ac_status=$?
80915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80916 (exit $ac_status); }; }; then
80917 eval "$as_ac_var=yes"
80918 else
80919 echo "$as_me: failed program was:" >&5
80920 sed 's/^/| /' conftest.$ac_ext >&5
80922 eval "$as_ac_var=no"
80924 rm -f conftest.err conftest.$ac_objext \
80925 conftest$ac_exeext conftest.$ac_ext
80927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80929 if test `eval echo '${'$as_ac_var'}'` = yes; then
80930 cat >>confdefs.h <<_ACEOF
80931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80932 _ACEOF
80933 ac_XPG2funcs=yes
80934 else
80935 ac_XPG2funcs=no
80937 done
80940 LIBS="$ac_save_LIBS"
80942 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
80943 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
80944 if test x"$ac_has_iconv_h" = xyes &&
80945 test x"$ac_has_langinfo_h" = xyes &&
80946 test x"$ac_XPG2funcs" = xyes;
80947 then
80948 ac_XPG2_wchar_t=yes
80949 else
80950 ac_XPG2_wchar_t=no
80952 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
80953 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
80955 # At the moment, only enable wchar_t specializations if all the
80956 # above support is present.
80957 if test x"$ac_isoC99_wchar_t" = xyes &&
80958 test x"$ac_XPG2_wchar_t" = xyes;
80959 then
80960 cat >>confdefs.h <<\_ACEOF
80961 #define _GLIBCXX_USE_WCHAR_T 1
80962 _ACEOF
80964 enable_wchar_t=yes
80967 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
80968 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
80969 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
80970 echo "${ECHO_T}$enable_wchar_t" >&6
80973 # For LFS.
80974 cat >>confdefs.h <<\_ACEOF
80975 #define HAVE_INT64_T 1
80976 _ACEOF
80978 case "$target" in
80979 *-uclinux*)
80980 # Don't enable LFS with uClibc
80983 cat >>confdefs.h <<\_ACEOF
80984 #define _GLIBCXX_USE_LFS 1
80985 _ACEOF
80987 esac
80989 # For showmanyc_helper().
80992 for ac_header in sys/ioctl.h sys/filio.h
80994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80996 echo "$as_me:$LINENO: checking for $ac_header" >&5
80997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80999 echo $ECHO_N "(cached) $ECHO_C" >&6
81001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81003 else
81004 # Is the header compilable?
81005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
81014 #include <$ac_header>
81015 _ACEOF
81016 rm -f conftest.$ac_objext
81017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81018 (eval $ac_compile) 2>conftest.er1
81019 ac_status=$?
81020 grep -v '^ *+' conftest.er1 >conftest.err
81021 rm -f conftest.er1
81022 cat conftest.err >&5
81023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81024 (exit $ac_status); } &&
81025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81027 (eval $ac_try) 2>&5
81028 ac_status=$?
81029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81030 (exit $ac_status); }; } &&
81031 { ac_try='test -s conftest.$ac_objext'
81032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81033 (eval $ac_try) 2>&5
81034 ac_status=$?
81035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81036 (exit $ac_status); }; }; then
81037 ac_header_compiler=yes
81038 else
81039 echo "$as_me: failed program was:" >&5
81040 sed 's/^/| /' conftest.$ac_ext >&5
81042 ac_header_compiler=no
81044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81046 echo "${ECHO_T}$ac_header_compiler" >&6
81048 # Is the header present?
81049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81051 cat >conftest.$ac_ext <<_ACEOF
81052 /* confdefs.h. */
81053 _ACEOF
81054 cat confdefs.h >>conftest.$ac_ext
81055 cat >>conftest.$ac_ext <<_ACEOF
81056 /* end confdefs.h. */
81057 #include <$ac_header>
81058 _ACEOF
81059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81060 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
81067 if test -s conftest.err; then
81068 ac_cpp_err=$ac_c_preproc_warn_flag
81069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81070 else
81071 ac_cpp_err=
81073 else
81074 ac_cpp_err=yes
81076 if test -z "$ac_cpp_err"; then
81077 ac_header_preproc=yes
81078 else
81079 echo "$as_me: failed program was:" >&5
81080 sed 's/^/| /' conftest.$ac_ext >&5
81082 ac_header_preproc=no
81084 rm -f conftest.err conftest.$ac_ext
81085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81086 echo "${ECHO_T}$ac_header_preproc" >&6
81088 # So? What about this header?
81089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81090 yes:no: )
81091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81095 ac_header_preproc=yes
81097 no:yes:* )
81098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81111 cat <<\_ASBOX
81112 ## ----------------------------------------- ##
81113 ## Report this to the package-unused lists. ##
81114 ## ----------------------------------------- ##
81115 _ASBOX
81117 sed "s/^/$as_me: WARNING: /" >&2
81119 esac
81120 echo "$as_me:$LINENO: checking for $ac_header" >&5
81121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81123 echo $ECHO_N "(cached) $ECHO_C" >&6
81124 else
81125 eval "$as_ac_Header=\$ac_header_preproc"
81127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81132 cat >>confdefs.h <<_ACEOF
81133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81134 _ACEOF
81138 done
81141 if test "${glibcxx_cv_POLL+set}" = set; then
81142 echo $ECHO_N "(cached) $ECHO_C" >&6
81143 else
81145 if test x$gcc_no_link = xyes; then
81146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81148 { (exit 1); exit 1; }; }
81150 cat >conftest.$ac_ext <<_ACEOF
81151 /* confdefs.h. */
81152 _ACEOF
81153 cat confdefs.h >>conftest.$ac_ext
81154 cat >>conftest.$ac_ext <<_ACEOF
81155 /* end confdefs.h. */
81156 #include <poll.h>
81158 main ()
81160 struct pollfd pfd[1];
81161 pfd[0].events = POLLIN;
81162 poll(pfd, 1, 0);
81164 return 0;
81166 _ACEOF
81167 rm -f conftest.$ac_objext conftest$ac_exeext
81168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81169 (eval $ac_link) 2>conftest.er1
81170 ac_status=$?
81171 grep -v '^ *+' conftest.er1 >conftest.err
81172 rm -f conftest.er1
81173 cat conftest.err >&5
81174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81175 (exit $ac_status); } &&
81176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81178 (eval $ac_try) 2>&5
81179 ac_status=$?
81180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81181 (exit $ac_status); }; } &&
81182 { ac_try='test -s conftest$ac_exeext'
81183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81184 (eval $ac_try) 2>&5
81185 ac_status=$?
81186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81187 (exit $ac_status); }; }; then
81188 glibcxx_cv_POLL=yes
81189 else
81190 echo "$as_me: failed program was:" >&5
81191 sed 's/^/| /' conftest.$ac_ext >&5
81193 glibcxx_cv_POLL=no
81195 rm -f conftest.err conftest.$ac_objext \
81196 conftest$ac_exeext conftest.$ac_ext
81200 if test $glibcxx_cv_POLL = yes; then
81201 cat >>confdefs.h <<\_ACEOF
81202 #define HAVE_POLL 1
81203 _ACEOF
81208 if test "${glibcxx_cv_S_ISREG+set}" = set; then
81209 echo $ECHO_N "(cached) $ECHO_C" >&6
81210 else
81212 if test x$gcc_no_link = xyes; then
81213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81215 { (exit 1); exit 1; }; }
81217 cat >conftest.$ac_ext <<_ACEOF
81218 /* confdefs.h. */
81219 _ACEOF
81220 cat confdefs.h >>conftest.$ac_ext
81221 cat >>conftest.$ac_ext <<_ACEOF
81222 /* end confdefs.h. */
81223 #include <sys/stat.h>
81225 main ()
81227 struct stat buffer;
81228 fstat(0, &buffer);
81229 S_ISREG(buffer.st_mode);
81231 return 0;
81233 _ACEOF
81234 rm -f conftest.$ac_objext conftest$ac_exeext
81235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81236 (eval $ac_link) 2>conftest.er1
81237 ac_status=$?
81238 grep -v '^ *+' conftest.er1 >conftest.err
81239 rm -f conftest.er1
81240 cat conftest.err >&5
81241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81242 (exit $ac_status); } &&
81243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81245 (eval $ac_try) 2>&5
81246 ac_status=$?
81247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81248 (exit $ac_status); }; } &&
81249 { ac_try='test -s conftest$ac_exeext'
81250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81251 (eval $ac_try) 2>&5
81252 ac_status=$?
81253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81254 (exit $ac_status); }; }; then
81255 glibcxx_cv_S_ISREG=yes
81256 else
81257 echo "$as_me: failed program was:" >&5
81258 sed 's/^/| /' conftest.$ac_ext >&5
81260 glibcxx_cv_S_ISREG=no
81262 rm -f conftest.err conftest.$ac_objext \
81263 conftest$ac_exeext conftest.$ac_ext
81267 if test "${glibcxx_cv_S_IFREG+set}" = set; then
81268 echo $ECHO_N "(cached) $ECHO_C" >&6
81269 else
81271 if test x$gcc_no_link = xyes; then
81272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81274 { (exit 1); exit 1; }; }
81276 cat >conftest.$ac_ext <<_ACEOF
81277 /* confdefs.h. */
81278 _ACEOF
81279 cat confdefs.h >>conftest.$ac_ext
81280 cat >>conftest.$ac_ext <<_ACEOF
81281 /* end confdefs.h. */
81282 #include <sys/stat.h>
81284 main ()
81286 struct stat buffer;
81287 fstat(0, &buffer);
81288 S_IFREG & buffer.st_mode;
81290 return 0;
81292 _ACEOF
81293 rm -f conftest.$ac_objext conftest$ac_exeext
81294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81295 (eval $ac_link) 2>conftest.er1
81296 ac_status=$?
81297 grep -v '^ *+' conftest.er1 >conftest.err
81298 rm -f conftest.er1
81299 cat conftest.err >&5
81300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81301 (exit $ac_status); } &&
81302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81304 (eval $ac_try) 2>&5
81305 ac_status=$?
81306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307 (exit $ac_status); }; } &&
81308 { ac_try='test -s conftest$ac_exeext'
81309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81310 (eval $ac_try) 2>&5
81311 ac_status=$?
81312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81313 (exit $ac_status); }; }; then
81314 glibcxx_cv_S_IFREG=yes
81315 else
81316 echo "$as_me: failed program was:" >&5
81317 sed 's/^/| /' conftest.$ac_ext >&5
81319 glibcxx_cv_S_IFREG=no
81321 rm -f conftest.err conftest.$ac_objext \
81322 conftest$ac_exeext conftest.$ac_ext
81326 if test $glibcxx_cv_S_ISREG = yes; then
81327 cat >>confdefs.h <<\_ACEOF
81328 #define HAVE_S_ISREG 1
81329 _ACEOF
81331 elif test $glibcxx_cv_S_IFREG = yes; then
81332 cat >>confdefs.h <<\_ACEOF
81333 #define HAVE_S_IFREG 1
81334 _ACEOF
81339 # For xsputn_2().
81341 for ac_header in sys/uio.h
81343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81345 echo "$as_me:$LINENO: checking for $ac_header" >&5
81346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81348 echo $ECHO_N "(cached) $ECHO_C" >&6
81350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81352 else
81353 # Is the header compilable?
81354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81356 cat >conftest.$ac_ext <<_ACEOF
81357 /* confdefs.h. */
81358 _ACEOF
81359 cat confdefs.h >>conftest.$ac_ext
81360 cat >>conftest.$ac_ext <<_ACEOF
81361 /* end confdefs.h. */
81362 $ac_includes_default
81363 #include <$ac_header>
81364 _ACEOF
81365 rm -f conftest.$ac_objext
81366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81367 (eval $ac_compile) 2>conftest.er1
81368 ac_status=$?
81369 grep -v '^ *+' conftest.er1 >conftest.err
81370 rm -f conftest.er1
81371 cat conftest.err >&5
81372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81373 (exit $ac_status); } &&
81374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81376 (eval $ac_try) 2>&5
81377 ac_status=$?
81378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81379 (exit $ac_status); }; } &&
81380 { ac_try='test -s conftest.$ac_objext'
81381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81382 (eval $ac_try) 2>&5
81383 ac_status=$?
81384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81385 (exit $ac_status); }; }; then
81386 ac_header_compiler=yes
81387 else
81388 echo "$as_me: failed program was:" >&5
81389 sed 's/^/| /' conftest.$ac_ext >&5
81391 ac_header_compiler=no
81393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81395 echo "${ECHO_T}$ac_header_compiler" >&6
81397 # Is the header present?
81398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81400 cat >conftest.$ac_ext <<_ACEOF
81401 /* confdefs.h. */
81402 _ACEOF
81403 cat confdefs.h >>conftest.$ac_ext
81404 cat >>conftest.$ac_ext <<_ACEOF
81405 /* end confdefs.h. */
81406 #include <$ac_header>
81407 _ACEOF
81408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81410 ac_status=$?
81411 grep -v '^ *+' conftest.er1 >conftest.err
81412 rm -f conftest.er1
81413 cat conftest.err >&5
81414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81415 (exit $ac_status); } >/dev/null; then
81416 if test -s conftest.err; then
81417 ac_cpp_err=$ac_c_preproc_warn_flag
81418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81419 else
81420 ac_cpp_err=
81422 else
81423 ac_cpp_err=yes
81425 if test -z "$ac_cpp_err"; then
81426 ac_header_preproc=yes
81427 else
81428 echo "$as_me: failed program was:" >&5
81429 sed 's/^/| /' conftest.$ac_ext >&5
81431 ac_header_preproc=no
81433 rm -f conftest.err conftest.$ac_ext
81434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81435 echo "${ECHO_T}$ac_header_preproc" >&6
81437 # So? What about this header?
81438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81439 yes:no: )
81440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81444 ac_header_preproc=yes
81446 no:yes:* )
81447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81460 cat <<\_ASBOX
81461 ## ----------------------------------------- ##
81462 ## Report this to the package-unused lists. ##
81463 ## ----------------------------------------- ##
81464 _ASBOX
81466 sed "s/^/$as_me: WARNING: /" >&2
81468 esac
81469 echo "$as_me:$LINENO: checking for $ac_header" >&5
81470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81472 echo $ECHO_N "(cached) $ECHO_C" >&6
81473 else
81474 eval "$as_ac_Header=\$ac_header_preproc"
81476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81481 cat >>confdefs.h <<_ACEOF
81482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81483 _ACEOF
81487 done
81490 if test "${glibcxx_cv_WRITEV+set}" = set; then
81491 echo $ECHO_N "(cached) $ECHO_C" >&6
81492 else
81494 if test x$gcc_no_link = xyes; then
81495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81497 { (exit 1); exit 1; }; }
81499 cat >conftest.$ac_ext <<_ACEOF
81500 /* confdefs.h. */
81501 _ACEOF
81502 cat confdefs.h >>conftest.$ac_ext
81503 cat >>conftest.$ac_ext <<_ACEOF
81504 /* end confdefs.h. */
81505 #include <sys/uio.h>
81507 main ()
81509 struct iovec iov[2];
81510 writev(0, iov, 0);
81512 return 0;
81514 _ACEOF
81515 rm -f conftest.$ac_objext conftest$ac_exeext
81516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81517 (eval $ac_link) 2>conftest.er1
81518 ac_status=$?
81519 grep -v '^ *+' conftest.er1 >conftest.err
81520 rm -f conftest.er1
81521 cat conftest.err >&5
81522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81523 (exit $ac_status); } &&
81524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81526 (eval $ac_try) 2>&5
81527 ac_status=$?
81528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81529 (exit $ac_status); }; } &&
81530 { ac_try='test -s conftest$ac_exeext'
81531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81532 (eval $ac_try) 2>&5
81533 ac_status=$?
81534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81535 (exit $ac_status); }; }; then
81536 glibcxx_cv_WRITEV=yes
81537 else
81538 echo "$as_me: failed program was:" >&5
81539 sed 's/^/| /' conftest.$ac_ext >&5
81541 glibcxx_cv_WRITEV=no
81543 rm -f conftest.err conftest.$ac_objext \
81544 conftest$ac_exeext conftest.$ac_ext
81548 if test $glibcxx_cv_WRITEV = yes; then
81549 cat >>confdefs.h <<\_ACEOF
81550 #define HAVE_WRITEV 1
81551 _ACEOF
81556 cat >>confdefs.h <<\_ACEOF
81557 #define HAVE_ACOSF 1
81558 _ACEOF
81560 cat >>confdefs.h <<\_ACEOF
81561 #define HAVE_ASINF 1
81562 _ACEOF
81564 cat >>confdefs.h <<\_ACEOF
81565 #define HAVE_ATANF 1
81566 _ACEOF
81568 cat >>confdefs.h <<\_ACEOF
81569 #define HAVE_ATAN2F 1
81570 _ACEOF
81572 cat >>confdefs.h <<\_ACEOF
81573 #define HAVE_CEILF 1
81574 _ACEOF
81576 cat >>confdefs.h <<\_ACEOF
81577 #define HAVE_COPYSIGN 1
81578 _ACEOF
81580 cat >>confdefs.h <<\_ACEOF
81581 #define HAVE_COPYSIGNF 1
81582 _ACEOF
81584 cat >>confdefs.h <<\_ACEOF
81585 #define HAVE_COSF 1
81586 _ACEOF
81588 cat >>confdefs.h <<\_ACEOF
81589 #define HAVE_COSHF 1
81590 _ACEOF
81592 cat >>confdefs.h <<\_ACEOF
81593 #define HAVE_EXPF 1
81594 _ACEOF
81596 cat >>confdefs.h <<\_ACEOF
81597 #define HAVE_FABSF 1
81598 _ACEOF
81600 cat >>confdefs.h <<\_ACEOF
81601 #define HAVE_FINITE 1
81602 _ACEOF
81604 cat >>confdefs.h <<\_ACEOF
81605 #define HAVE_FINITEF 1
81606 _ACEOF
81608 cat >>confdefs.h <<\_ACEOF
81609 #define HAVE_FLOORF 1
81610 _ACEOF
81612 cat >>confdefs.h <<\_ACEOF
81613 #define HAVE_FMODF 1
81614 _ACEOF
81616 cat >>confdefs.h <<\_ACEOF
81617 #define HAVE_FREXPF 1
81618 _ACEOF
81620 cat >>confdefs.h <<\_ACEOF
81621 #define HAVE_HYPOT 1
81622 _ACEOF
81624 cat >>confdefs.h <<\_ACEOF
81625 #define HAVE_HYPOTF 1
81626 _ACEOF
81628 cat >>confdefs.h <<\_ACEOF
81629 #define HAVE_ISINF 1
81630 _ACEOF
81632 cat >>confdefs.h <<\_ACEOF
81633 #define HAVE_ISINFF 1
81634 _ACEOF
81636 cat >>confdefs.h <<\_ACEOF
81637 #define HAVE_ISNAN 1
81638 _ACEOF
81640 cat >>confdefs.h <<\_ACEOF
81641 #define HAVE_ISNANF 1
81642 _ACEOF
81644 cat >>confdefs.h <<\_ACEOF
81645 #define HAVE_LOGF 1
81646 _ACEOF
81648 cat >>confdefs.h <<\_ACEOF
81649 #define HAVE_LOG10F 1
81650 _ACEOF
81652 cat >>confdefs.h <<\_ACEOF
81653 #define HAVE_MODFF 1
81654 _ACEOF
81656 cat >>confdefs.h <<\_ACEOF
81657 #define HAVE_SINF 1
81658 _ACEOF
81660 cat >>confdefs.h <<\_ACEOF
81661 #define HAVE_SINHF 1
81662 _ACEOF
81664 cat >>confdefs.h <<\_ACEOF
81665 #define HAVE_SINCOS 1
81666 _ACEOF
81668 cat >>confdefs.h <<\_ACEOF
81669 #define HAVE_SINCOSF 1
81670 _ACEOF
81672 cat >>confdefs.h <<\_ACEOF
81673 #define HAVE_SQRTF 1
81674 _ACEOF
81676 cat >>confdefs.h <<\_ACEOF
81677 #define HAVE_TANF 1
81678 _ACEOF
81680 cat >>confdefs.h <<\_ACEOF
81681 #define HAVE_TANHF 1
81682 _ACEOF
81684 if test x"long_double_math_on_this_cpu" = x"yes"; then
81685 cat >>confdefs.h <<\_ACEOF
81686 #define HAVE_ACOSL 1
81687 _ACEOF
81689 cat >>confdefs.h <<\_ACEOF
81690 #define HAVE_ASINL 1
81691 _ACEOF
81693 cat >>confdefs.h <<\_ACEOF
81694 #define HAVE_ATANL 1
81695 _ACEOF
81697 cat >>confdefs.h <<\_ACEOF
81698 #define HAVE_ATAN2L 1
81699 _ACEOF
81701 cat >>confdefs.h <<\_ACEOF
81702 #define HAVE_CEILL 1
81703 _ACEOF
81705 cat >>confdefs.h <<\_ACEOF
81706 #define HAVE_COPYSIGNL 1
81707 _ACEOF
81709 cat >>confdefs.h <<\_ACEOF
81710 #define HAVE_COSL 1
81711 _ACEOF
81713 cat >>confdefs.h <<\_ACEOF
81714 #define HAVE_COSHL 1
81715 _ACEOF
81717 cat >>confdefs.h <<\_ACEOF
81718 #define HAVE_EXPL 1
81719 _ACEOF
81721 cat >>confdefs.h <<\_ACEOF
81722 #define HAVE_FABSL 1
81723 _ACEOF
81725 cat >>confdefs.h <<\_ACEOF
81726 #define HAVE_FINITEL 1
81727 _ACEOF
81729 cat >>confdefs.h <<\_ACEOF
81730 #define HAVE_FLOORL 1
81731 _ACEOF
81733 cat >>confdefs.h <<\_ACEOF
81734 #define HAVE_FMODL 1
81735 _ACEOF
81737 cat >>confdefs.h <<\_ACEOF
81738 #define HAVE_FREXPL 1
81739 _ACEOF
81741 cat >>confdefs.h <<\_ACEOF
81742 #define HAVE_HYPOTL 1
81743 _ACEOF
81745 cat >>confdefs.h <<\_ACEOF
81746 #define HAVE_ISINFL 1
81747 _ACEOF
81749 cat >>confdefs.h <<\_ACEOF
81750 #define HAVE_ISNANL 1
81751 _ACEOF
81753 cat >>confdefs.h <<\_ACEOF
81754 #define HAVE_LOGL 1
81755 _ACEOF
81757 cat >>confdefs.h <<\_ACEOF
81758 #define HAVE_LOG10L 1
81759 _ACEOF
81761 cat >>confdefs.h <<\_ACEOF
81762 #define HAVE_MODFL 1
81763 _ACEOF
81765 cat >>confdefs.h <<\_ACEOF
81766 #define HAVE_POWL 1
81767 _ACEOF
81769 cat >>confdefs.h <<\_ACEOF
81770 #define HAVE_SINL 1
81771 _ACEOF
81773 cat >>confdefs.h <<\_ACEOF
81774 #define HAVE_SINHL 1
81775 _ACEOF
81777 cat >>confdefs.h <<\_ACEOF
81778 #define HAVE_SINCOSL 1
81779 _ACEOF
81781 cat >>confdefs.h <<\_ACEOF
81782 #define HAVE_SQRTL 1
81783 _ACEOF
81785 cat >>confdefs.h <<\_ACEOF
81786 #define HAVE_TANL 1
81787 _ACEOF
81789 cat >>confdefs.h <<\_ACEOF
81790 #define HAVE_TANHL 1
81791 _ACEOF
81795 *-mingw32*)
81799 for ac_header in sys/types.h locale.h float.h
81801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81803 echo "$as_me:$LINENO: checking for $ac_header" >&5
81804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81806 echo $ECHO_N "(cached) $ECHO_C" >&6
81808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81810 else
81811 # Is the header compilable?
81812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81814 cat >conftest.$ac_ext <<_ACEOF
81815 /* confdefs.h. */
81816 _ACEOF
81817 cat confdefs.h >>conftest.$ac_ext
81818 cat >>conftest.$ac_ext <<_ACEOF
81819 /* end confdefs.h. */
81820 $ac_includes_default
81821 #include <$ac_header>
81822 _ACEOF
81823 rm -f conftest.$ac_objext
81824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81825 (eval $ac_compile) 2>conftest.er1
81826 ac_status=$?
81827 grep -v '^ *+' conftest.er1 >conftest.err
81828 rm -f conftest.er1
81829 cat conftest.err >&5
81830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81831 (exit $ac_status); } &&
81832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81834 (eval $ac_try) 2>&5
81835 ac_status=$?
81836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81837 (exit $ac_status); }; } &&
81838 { ac_try='test -s conftest.$ac_objext'
81839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81840 (eval $ac_try) 2>&5
81841 ac_status=$?
81842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81843 (exit $ac_status); }; }; then
81844 ac_header_compiler=yes
81845 else
81846 echo "$as_me: failed program was:" >&5
81847 sed 's/^/| /' conftest.$ac_ext >&5
81849 ac_header_compiler=no
81851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81853 echo "${ECHO_T}$ac_header_compiler" >&6
81855 # Is the header present?
81856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81858 cat >conftest.$ac_ext <<_ACEOF
81859 /* confdefs.h. */
81860 _ACEOF
81861 cat confdefs.h >>conftest.$ac_ext
81862 cat >>conftest.$ac_ext <<_ACEOF
81863 /* end confdefs.h. */
81864 #include <$ac_header>
81865 _ACEOF
81866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81868 ac_status=$?
81869 grep -v '^ *+' conftest.er1 >conftest.err
81870 rm -f conftest.er1
81871 cat conftest.err >&5
81872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81873 (exit $ac_status); } >/dev/null; then
81874 if test -s conftest.err; then
81875 ac_cpp_err=$ac_c_preproc_warn_flag
81876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81877 else
81878 ac_cpp_err=
81880 else
81881 ac_cpp_err=yes
81883 if test -z "$ac_cpp_err"; then
81884 ac_header_preproc=yes
81885 else
81886 echo "$as_me: failed program was:" >&5
81887 sed 's/^/| /' conftest.$ac_ext >&5
81889 ac_header_preproc=no
81891 rm -f conftest.err conftest.$ac_ext
81892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81893 echo "${ECHO_T}$ac_header_preproc" >&6
81895 # So? What about this header?
81896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81897 yes:no: )
81898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81902 ac_header_preproc=yes
81904 no:yes:* )
81905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81918 cat <<\_ASBOX
81919 ## ----------------------------------------- ##
81920 ## Report this to the package-unused lists. ##
81921 ## ----------------------------------------- ##
81922 _ASBOX
81924 sed "s/^/$as_me: WARNING: /" >&2
81926 esac
81927 echo "$as_me:$LINENO: checking for $ac_header" >&5
81928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81930 echo $ECHO_N "(cached) $ECHO_C" >&6
81931 else
81932 eval "$as_ac_Header=\$ac_header_preproc"
81934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81939 cat >>confdefs.h <<_ACEOF
81940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81941 _ACEOF
81945 done
81948 # If we're not using GNU ld, then there's no point in even trying these
81949 # tests. Check for that first. We should have already tested for gld
81950 # by now (in libtool), but require it now just to be safe...
81951 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81952 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81956 # The name set by libtool depends on the version of libtool. Shame on us
81957 # for depending on an impl detail, but c'est la vie. Older versions used
81958 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81959 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81960 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81961 # set (hence we're using an older libtool), then set it.
81962 if test x${with_gnu_ld+set} != xset; then
81963 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81964 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81965 with_gnu_ld=no
81966 else
81967 with_gnu_ld=$ac_cv_prog_gnu_ld
81971 # Start by getting the version number. I think the libtool test already
81972 # does some of this, but throws away the result.
81974 ldver=`$LD --version 2>/dev/null | head -1 | \
81975 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81977 glibcxx_gnu_ld_version=`echo $ldver | \
81978 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81980 # Set --gc-sections.
81981 if test "$with_gnu_ld" = "notbroken"; then
81982 # GNU ld it is! Joy and bunny rabbits!
81984 # All these tests are for C++; save the language and the compiler flags.
81985 # Need to do this so that g++ won't try to link in libstdc++
81986 ac_test_CFLAGS="${CFLAGS+set}"
81987 ac_save_CFLAGS="$CFLAGS"
81988 CFLAGS='-x c++ -Wl,--gc-sections'
81990 # Check for -Wl,--gc-sections
81991 # XXX This test is broken at the moment, as symbols required for linking
81992 # are now in libsupc++ (not built yet). In addition, this test has
81993 # cored on solaris in the past. In addition, --gc-sections doesn't
81994 # really work at the moment (keeps on discarding used sections, first
81995 # .eh_frame and now some of the glibc sections for iconv).
81996 # Bzzzzt. Thanks for playing, maybe next time.
81997 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81998 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81999 if test "$cross_compiling" = yes; then
82000 ac_sectionLDflags=yes
82001 else
82002 cat >conftest.$ac_ext <<_ACEOF
82003 /* confdefs.h. */
82004 _ACEOF
82005 cat confdefs.h >>conftest.$ac_ext
82006 cat >>conftest.$ac_ext <<_ACEOF
82007 /* end confdefs.h. */
82009 int main(void)
82011 try { throw 1; }
82012 catch (...) { };
82013 return 0;
82016 _ACEOF
82017 rm -f conftest$ac_exeext
82018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82019 (eval $ac_link) 2>&5
82020 ac_status=$?
82021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82022 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82024 (eval $ac_try) 2>&5
82025 ac_status=$?
82026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82027 (exit $ac_status); }; }; then
82028 ac_sectionLDflags=yes
82029 else
82030 echo "$as_me: program exited with status $ac_status" >&5
82031 echo "$as_me: failed program was:" >&5
82032 sed 's/^/| /' conftest.$ac_ext >&5
82034 ( exit $ac_status )
82035 ac_sectionLDflags=no
82037 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82039 if test "$ac_test_CFLAGS" = set; then
82040 CFLAGS="$ac_save_CFLAGS"
82041 else
82042 # this is the suspicious part
82043 CFLAGS=''
82045 if test "$ac_sectionLDflags" = "yes"; then
82046 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82048 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82049 echo "${ECHO_T}$ac_sectionLDflags" >&6
82052 # Set linker optimization flags.
82053 if test x"$with_gnu_ld" = x"yes"; then
82054 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82062 echo "$as_me:$LINENO: checking for main in -lm" >&5
82063 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82064 if test "${ac_cv_lib_m_main+set}" = set; then
82065 echo $ECHO_N "(cached) $ECHO_C" >&6
82066 else
82067 ac_check_lib_save_LIBS=$LIBS
82068 LIBS="-lm $LIBS"
82069 if test x$gcc_no_link = xyes; then
82070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82072 { (exit 1); exit 1; }; }
82074 cat >conftest.$ac_ext <<_ACEOF
82075 /* confdefs.h. */
82076 _ACEOF
82077 cat confdefs.h >>conftest.$ac_ext
82078 cat >>conftest.$ac_ext <<_ACEOF
82079 /* end confdefs.h. */
82083 main ()
82085 main ();
82087 return 0;
82089 _ACEOF
82090 rm -f conftest.$ac_objext conftest$ac_exeext
82091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82092 (eval $ac_link) 2>conftest.er1
82093 ac_status=$?
82094 grep -v '^ *+' conftest.er1 >conftest.err
82095 rm -f conftest.er1
82096 cat conftest.err >&5
82097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82098 (exit $ac_status); } &&
82099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82101 (eval $ac_try) 2>&5
82102 ac_status=$?
82103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104 (exit $ac_status); }; } &&
82105 { ac_try='test -s conftest$ac_exeext'
82106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82107 (eval $ac_try) 2>&5
82108 ac_status=$?
82109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82110 (exit $ac_status); }; }; then
82111 ac_cv_lib_m_main=yes
82112 else
82113 echo "$as_me: failed program was:" >&5
82114 sed 's/^/| /' conftest.$ac_ext >&5
82116 ac_cv_lib_m_main=no
82118 rm -f conftest.err conftest.$ac_objext \
82119 conftest$ac_exeext conftest.$ac_ext
82120 LIBS=$ac_check_lib_save_LIBS
82122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82123 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82124 if test $ac_cv_lib_m_main = yes; then
82125 cat >>confdefs.h <<_ACEOF
82126 #define HAVE_LIBM 1
82127 _ACEOF
82129 LIBS="-lm $LIBS"
82134 for ac_func in copysignf
82136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82137 echo "$as_me:$LINENO: checking for $ac_func" >&5
82138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82139 if eval "test \"\${$as_ac_var+set}\" = set"; then
82140 echo $ECHO_N "(cached) $ECHO_C" >&6
82141 else
82142 if test x$gcc_no_link = xyes; then
82143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82145 { (exit 1); exit 1; }; }
82147 cat >conftest.$ac_ext <<_ACEOF
82148 /* confdefs.h. */
82149 _ACEOF
82150 cat confdefs.h >>conftest.$ac_ext
82151 cat >>conftest.$ac_ext <<_ACEOF
82152 /* end confdefs.h. */
82153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82155 #define $ac_func innocuous_$ac_func
82157 /* System header to define __stub macros and hopefully few prototypes,
82158 which can conflict with char $ac_func (); below.
82159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82160 <limits.h> exists even on freestanding compilers. */
82162 #ifdef __STDC__
82163 # include <limits.h>
82164 #else
82165 # include <assert.h>
82166 #endif
82168 #undef $ac_func
82170 /* Override any gcc2 internal prototype to avoid an error. */
82171 #ifdef __cplusplus
82172 extern "C"
82174 #endif
82175 /* We use char because int might match the return type of a gcc2
82176 builtin and then its argument prototype would still apply. */
82177 char $ac_func ();
82178 /* The GNU C library defines this for functions which it implements
82179 to always fail with ENOSYS. Some functions are actually named
82180 something starting with __ and the normal name is an alias. */
82181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82182 choke me
82183 #else
82184 char (*f) () = $ac_func;
82185 #endif
82186 #ifdef __cplusplus
82188 #endif
82191 main ()
82193 return f != $ac_func;
82195 return 0;
82197 _ACEOF
82198 rm -f conftest.$ac_objext conftest$ac_exeext
82199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82200 (eval $ac_link) 2>conftest.er1
82201 ac_status=$?
82202 grep -v '^ *+' conftest.er1 >conftest.err
82203 rm -f conftest.er1
82204 cat conftest.err >&5
82205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82206 (exit $ac_status); } &&
82207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82209 (eval $ac_try) 2>&5
82210 ac_status=$?
82211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82212 (exit $ac_status); }; } &&
82213 { ac_try='test -s conftest$ac_exeext'
82214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82215 (eval $ac_try) 2>&5
82216 ac_status=$?
82217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82218 (exit $ac_status); }; }; then
82219 eval "$as_ac_var=yes"
82220 else
82221 echo "$as_me: failed program was:" >&5
82222 sed 's/^/| /' conftest.$ac_ext >&5
82224 eval "$as_ac_var=no"
82226 rm -f conftest.err conftest.$ac_objext \
82227 conftest$ac_exeext conftest.$ac_ext
82229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82231 if test `eval echo '${'$as_ac_var'}'` = yes; then
82232 cat >>confdefs.h <<_ACEOF
82233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82234 _ACEOF
82236 else
82237 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82239 done
82243 for ac_func in __signbit
82245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82246 echo "$as_me:$LINENO: checking for $ac_func" >&5
82247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82248 if eval "test \"\${$as_ac_var+set}\" = set"; then
82249 echo $ECHO_N "(cached) $ECHO_C" >&6
82250 else
82251 if test x$gcc_no_link = xyes; then
82252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82254 { (exit 1); exit 1; }; }
82256 cat >conftest.$ac_ext <<_ACEOF
82257 /* confdefs.h. */
82258 _ACEOF
82259 cat confdefs.h >>conftest.$ac_ext
82260 cat >>conftest.$ac_ext <<_ACEOF
82261 /* end confdefs.h. */
82262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82264 #define $ac_func innocuous_$ac_func
82266 /* System header to define __stub macros and hopefully few prototypes,
82267 which can conflict with char $ac_func (); below.
82268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82269 <limits.h> exists even on freestanding compilers. */
82271 #ifdef __STDC__
82272 # include <limits.h>
82273 #else
82274 # include <assert.h>
82275 #endif
82277 #undef $ac_func
82279 /* Override any gcc2 internal prototype to avoid an error. */
82280 #ifdef __cplusplus
82281 extern "C"
82283 #endif
82284 /* We use char because int might match the return type of a gcc2
82285 builtin and then its argument prototype would still apply. */
82286 char $ac_func ();
82287 /* The GNU C library defines this for functions which it implements
82288 to always fail with ENOSYS. Some functions are actually named
82289 something starting with __ and the normal name is an alias. */
82290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82291 choke me
82292 #else
82293 char (*f) () = $ac_func;
82294 #endif
82295 #ifdef __cplusplus
82297 #endif
82300 main ()
82302 return f != $ac_func;
82304 return 0;
82306 _ACEOF
82307 rm -f conftest.$ac_objext conftest$ac_exeext
82308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82309 (eval $ac_link) 2>conftest.er1
82310 ac_status=$?
82311 grep -v '^ *+' conftest.er1 >conftest.err
82312 rm -f conftest.er1
82313 cat conftest.err >&5
82314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82315 (exit $ac_status); } &&
82316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82318 (eval $ac_try) 2>&5
82319 ac_status=$?
82320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82321 (exit $ac_status); }; } &&
82322 { ac_try='test -s conftest$ac_exeext'
82323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82324 (eval $ac_try) 2>&5
82325 ac_status=$?
82326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82327 (exit $ac_status); }; }; then
82328 eval "$as_ac_var=yes"
82329 else
82330 echo "$as_me: failed program was:" >&5
82331 sed 's/^/| /' conftest.$ac_ext >&5
82333 eval "$as_ac_var=no"
82335 rm -f conftest.err conftest.$ac_objext \
82336 conftest$ac_exeext conftest.$ac_ext
82338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82340 if test `eval echo '${'$as_ac_var'}'` = yes; then
82341 cat >>confdefs.h <<_ACEOF
82342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82343 _ACEOF
82345 else
82346 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82348 done
82352 for ac_func in __signbitf
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" || test ! -s conftest.err'
82426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82427 (eval $ac_try) 2>&5
82428 ac_status=$?
82429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82430 (exit $ac_status); }; } &&
82431 { ac_try='test -s conftest$ac_exeext'
82432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82433 (eval $ac_try) 2>&5
82434 ac_status=$?
82435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82436 (exit $ac_status); }; }; then
82437 eval "$as_ac_var=yes"
82438 else
82439 echo "$as_me: failed program was:" >&5
82440 sed 's/^/| /' conftest.$ac_ext >&5
82442 eval "$as_ac_var=no"
82444 rm -f conftest.err conftest.$ac_objext \
82445 conftest$ac_exeext conftest.$ac_ext
82447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82449 if test `eval echo '${'$as_ac_var'}'` = yes; then
82450 cat >>confdefs.h <<_ACEOF
82451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82452 _ACEOF
82454 else
82455 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82457 done
82460 if test x$ac_cv_func_copysignl = x"yes"; then
82462 for ac_func in __signbitl
82464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82465 echo "$as_me:$LINENO: checking for $ac_func" >&5
82466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82467 if eval "test \"\${$as_ac_var+set}\" = set"; then
82468 echo $ECHO_N "(cached) $ECHO_C" >&6
82469 else
82470 if test x$gcc_no_link = xyes; then
82471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82473 { (exit 1); exit 1; }; }
82475 cat >conftest.$ac_ext <<_ACEOF
82476 /* confdefs.h. */
82477 _ACEOF
82478 cat confdefs.h >>conftest.$ac_ext
82479 cat >>conftest.$ac_ext <<_ACEOF
82480 /* end confdefs.h. */
82481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82483 #define $ac_func innocuous_$ac_func
82485 /* System header to define __stub macros and hopefully few prototypes,
82486 which can conflict with char $ac_func (); below.
82487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82488 <limits.h> exists even on freestanding compilers. */
82490 #ifdef __STDC__
82491 # include <limits.h>
82492 #else
82493 # include <assert.h>
82494 #endif
82496 #undef $ac_func
82498 /* Override any gcc2 internal prototype to avoid an error. */
82499 #ifdef __cplusplus
82500 extern "C"
82502 #endif
82503 /* We use char because int might match the return type of a gcc2
82504 builtin and then its argument prototype would still apply. */
82505 char $ac_func ();
82506 /* The GNU C library defines this for functions which it implements
82507 to always fail with ENOSYS. Some functions are actually named
82508 something starting with __ and the normal name is an alias. */
82509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82510 choke me
82511 #else
82512 char (*f) () = $ac_func;
82513 #endif
82514 #ifdef __cplusplus
82516 #endif
82519 main ()
82521 return f != $ac_func;
82523 return 0;
82525 _ACEOF
82526 rm -f conftest.$ac_objext conftest$ac_exeext
82527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82528 (eval $ac_link) 2>conftest.er1
82529 ac_status=$?
82530 grep -v '^ *+' conftest.er1 >conftest.err
82531 rm -f conftest.er1
82532 cat conftest.err >&5
82533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82534 (exit $ac_status); } &&
82535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82537 (eval $ac_try) 2>&5
82538 ac_status=$?
82539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82540 (exit $ac_status); }; } &&
82541 { ac_try='test -s conftest$ac_exeext'
82542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82543 (eval $ac_try) 2>&5
82544 ac_status=$?
82545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82546 (exit $ac_status); }; }; then
82547 eval "$as_ac_var=yes"
82548 else
82549 echo "$as_me: failed program was:" >&5
82550 sed 's/^/| /' conftest.$ac_ext >&5
82552 eval "$as_ac_var=no"
82554 rm -f conftest.err conftest.$ac_objext \
82555 conftest$ac_exeext conftest.$ac_ext
82557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82559 if test `eval echo '${'$as_ac_var'}'` = yes; then
82560 cat >>confdefs.h <<_ACEOF
82561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82562 _ACEOF
82564 else
82565 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82567 done
82571 # Used in libmath/Makefile.am.
82572 if test -n "$LIBMATHOBJS"; then
82573 need_libmath=yes
82578 # Test wchar.h for mbstate_t, which is needed for char_traits and
82579 # others even if wchar_t support is not on.
82580 echo "$as_me:$LINENO: checking for mbstate_t" >&5
82581 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
82582 cat >conftest.$ac_ext <<_ACEOF
82583 /* confdefs.h. */
82584 _ACEOF
82585 cat confdefs.h >>conftest.$ac_ext
82586 cat >>conftest.$ac_ext <<_ACEOF
82587 /* end confdefs.h. */
82588 #include <wchar.h>
82590 main ()
82592 mbstate_t teststate;
82594 return 0;
82596 _ACEOF
82597 rm -f conftest.$ac_objext
82598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82599 (eval $ac_compile) 2>conftest.er1
82600 ac_status=$?
82601 grep -v '^ *+' conftest.er1 >conftest.err
82602 rm -f conftest.er1
82603 cat conftest.err >&5
82604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82605 (exit $ac_status); } &&
82606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82608 (eval $ac_try) 2>&5
82609 ac_status=$?
82610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82611 (exit $ac_status); }; } &&
82612 { ac_try='test -s conftest.$ac_objext'
82613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82614 (eval $ac_try) 2>&5
82615 ac_status=$?
82616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82617 (exit $ac_status); }; }; then
82618 have_mbstate_t=yes
82619 else
82620 echo "$as_me: failed program was:" >&5
82621 sed 's/^/| /' conftest.$ac_ext >&5
82623 have_mbstate_t=no
82625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82626 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
82627 echo "${ECHO_T}$have_mbstate_t" >&6
82628 if test x"$have_mbstate_t" = xyes; then
82629 cat >>confdefs.h <<\_ACEOF
82630 #define HAVE_MBSTATE_T 1
82631 _ACEOF
82635 # Sanity check for existence of ISO C99 headers for extended encoding.
82637 for ac_header in wchar.h
82639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82641 echo "$as_me:$LINENO: checking for $ac_header" >&5
82642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82644 echo $ECHO_N "(cached) $ECHO_C" >&6
82646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82648 else
82649 # Is the header compilable?
82650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82652 cat >conftest.$ac_ext <<_ACEOF
82653 /* confdefs.h. */
82654 _ACEOF
82655 cat confdefs.h >>conftest.$ac_ext
82656 cat >>conftest.$ac_ext <<_ACEOF
82657 /* end confdefs.h. */
82658 $ac_includes_default
82659 #include <$ac_header>
82660 _ACEOF
82661 rm -f conftest.$ac_objext
82662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82663 (eval $ac_compile) 2>conftest.er1
82664 ac_status=$?
82665 grep -v '^ *+' conftest.er1 >conftest.err
82666 rm -f conftest.er1
82667 cat conftest.err >&5
82668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82669 (exit $ac_status); } &&
82670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82672 (eval $ac_try) 2>&5
82673 ac_status=$?
82674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82675 (exit $ac_status); }; } &&
82676 { ac_try='test -s conftest.$ac_objext'
82677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82678 (eval $ac_try) 2>&5
82679 ac_status=$?
82680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82681 (exit $ac_status); }; }; then
82682 ac_header_compiler=yes
82683 else
82684 echo "$as_me: failed program was:" >&5
82685 sed 's/^/| /' conftest.$ac_ext >&5
82687 ac_header_compiler=no
82689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82691 echo "${ECHO_T}$ac_header_compiler" >&6
82693 # Is the header present?
82694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82696 cat >conftest.$ac_ext <<_ACEOF
82697 /* confdefs.h. */
82698 _ACEOF
82699 cat confdefs.h >>conftest.$ac_ext
82700 cat >>conftest.$ac_ext <<_ACEOF
82701 /* end confdefs.h. */
82702 #include <$ac_header>
82703 _ACEOF
82704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82705 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82706 ac_status=$?
82707 grep -v '^ *+' conftest.er1 >conftest.err
82708 rm -f conftest.er1
82709 cat conftest.err >&5
82710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711 (exit $ac_status); } >/dev/null; then
82712 if test -s conftest.err; then
82713 ac_cpp_err=$ac_c_preproc_warn_flag
82714 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82715 else
82716 ac_cpp_err=
82718 else
82719 ac_cpp_err=yes
82721 if test -z "$ac_cpp_err"; then
82722 ac_header_preproc=yes
82723 else
82724 echo "$as_me: failed program was:" >&5
82725 sed 's/^/| /' conftest.$ac_ext >&5
82727 ac_header_preproc=no
82729 rm -f conftest.err conftest.$ac_ext
82730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82731 echo "${ECHO_T}$ac_header_preproc" >&6
82733 # So? What about this header?
82734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82735 yes:no: )
82736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82740 ac_header_preproc=yes
82742 no:yes:* )
82743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82756 cat <<\_ASBOX
82757 ## ----------------------------------------- ##
82758 ## Report this to the package-unused lists. ##
82759 ## ----------------------------------------- ##
82760 _ASBOX
82762 sed "s/^/$as_me: WARNING: /" >&2
82764 esac
82765 echo "$as_me:$LINENO: checking for $ac_header" >&5
82766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82768 echo $ECHO_N "(cached) $ECHO_C" >&6
82769 else
82770 eval "$as_ac_Header=\$ac_header_preproc"
82772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82777 cat >>confdefs.h <<_ACEOF
82778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82779 _ACEOF
82780 ac_has_wchar_h=yes
82781 else
82782 ac_has_wchar_h=no
82785 done
82788 for ac_header in wctype.h
82790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82792 echo "$as_me:$LINENO: checking for $ac_header" >&5
82793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82795 echo $ECHO_N "(cached) $ECHO_C" >&6
82797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82799 else
82800 # Is the header compilable?
82801 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82802 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82803 cat >conftest.$ac_ext <<_ACEOF
82804 /* confdefs.h. */
82805 _ACEOF
82806 cat confdefs.h >>conftest.$ac_ext
82807 cat >>conftest.$ac_ext <<_ACEOF
82808 /* end confdefs.h. */
82809 $ac_includes_default
82810 #include <$ac_header>
82811 _ACEOF
82812 rm -f conftest.$ac_objext
82813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82814 (eval $ac_compile) 2>conftest.er1
82815 ac_status=$?
82816 grep -v '^ *+' conftest.er1 >conftest.err
82817 rm -f conftest.er1
82818 cat conftest.err >&5
82819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82820 (exit $ac_status); } &&
82821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82823 (eval $ac_try) 2>&5
82824 ac_status=$?
82825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82826 (exit $ac_status); }; } &&
82827 { ac_try='test -s conftest.$ac_objext'
82828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82829 (eval $ac_try) 2>&5
82830 ac_status=$?
82831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82832 (exit $ac_status); }; }; then
82833 ac_header_compiler=yes
82834 else
82835 echo "$as_me: failed program was:" >&5
82836 sed 's/^/| /' conftest.$ac_ext >&5
82838 ac_header_compiler=no
82840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82842 echo "${ECHO_T}$ac_header_compiler" >&6
82844 # Is the header present?
82845 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82847 cat >conftest.$ac_ext <<_ACEOF
82848 /* confdefs.h. */
82849 _ACEOF
82850 cat confdefs.h >>conftest.$ac_ext
82851 cat >>conftest.$ac_ext <<_ACEOF
82852 /* end confdefs.h. */
82853 #include <$ac_header>
82854 _ACEOF
82855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82857 ac_status=$?
82858 grep -v '^ *+' conftest.er1 >conftest.err
82859 rm -f conftest.er1
82860 cat conftest.err >&5
82861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82862 (exit $ac_status); } >/dev/null; then
82863 if test -s conftest.err; then
82864 ac_cpp_err=$ac_c_preproc_warn_flag
82865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82866 else
82867 ac_cpp_err=
82869 else
82870 ac_cpp_err=yes
82872 if test -z "$ac_cpp_err"; then
82873 ac_header_preproc=yes
82874 else
82875 echo "$as_me: failed program was:" >&5
82876 sed 's/^/| /' conftest.$ac_ext >&5
82878 ac_header_preproc=no
82880 rm -f conftest.err conftest.$ac_ext
82881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82882 echo "${ECHO_T}$ac_header_preproc" >&6
82884 # So? What about this header?
82885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82886 yes:no: )
82887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82891 ac_header_preproc=yes
82893 no:yes:* )
82894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82907 cat <<\_ASBOX
82908 ## ----------------------------------------- ##
82909 ## Report this to the package-unused lists. ##
82910 ## ----------------------------------------- ##
82911 _ASBOX
82913 sed "s/^/$as_me: WARNING: /" >&2
82915 esac
82916 echo "$as_me:$LINENO: checking for $ac_header" >&5
82917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82919 echo $ECHO_N "(cached) $ECHO_C" >&6
82920 else
82921 eval "$as_ac_Header=\$ac_header_preproc"
82923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82928 cat >>confdefs.h <<_ACEOF
82929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82930 _ACEOF
82931 ac_has_wctype_h=yes
82932 else
82933 ac_has_wctype_h=no
82936 done
82939 # Only continue checking if the ISO C99 headers exist and support is on.
82940 if test x"$ac_has_wchar_h" = xyes &&
82941 test x"$ac_has_wctype_h" = xyes &&
82942 test x"$enable_c_mbchar" != xno; then
82944 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
82945 # numeric_limits can instantiate type_traits<wchar_t>
82946 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
82947 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
82948 cat >conftest.$ac_ext <<_ACEOF
82949 /* confdefs.h. */
82950 _ACEOF
82951 cat confdefs.h >>conftest.$ac_ext
82952 cat >>conftest.$ac_ext <<_ACEOF
82953 /* end confdefs.h. */
82954 #include <wchar.h>
82956 main ()
82958 int i = WCHAR_MIN; int j = WCHAR_MAX;
82960 return 0;
82962 _ACEOF
82963 rm -f conftest.$ac_objext
82964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82965 (eval $ac_compile) 2>conftest.er1
82966 ac_status=$?
82967 grep -v '^ *+' conftest.er1 >conftest.err
82968 rm -f conftest.er1
82969 cat conftest.err >&5
82970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82971 (exit $ac_status); } &&
82972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82974 (eval $ac_try) 2>&5
82975 ac_status=$?
82976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82977 (exit $ac_status); }; } &&
82978 { ac_try='test -s conftest.$ac_objext'
82979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82980 (eval $ac_try) 2>&5
82981 ac_status=$?
82982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82983 (exit $ac_status); }; }; then
82984 has_wchar_minmax=yes
82985 else
82986 echo "$as_me: failed program was:" >&5
82987 sed 's/^/| /' conftest.$ac_ext >&5
82989 has_wchar_minmax=no
82991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82992 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
82993 echo "${ECHO_T}$has_wchar_minmax" >&6
82995 # Test wchar.h for WEOF, which is what we use to determine whether
82996 # to specialize for char_traits<wchar_t> or not.
82997 echo "$as_me:$LINENO: checking for WEOF" >&5
82998 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
82999 cat >conftest.$ac_ext <<_ACEOF
83000 /* confdefs.h. */
83001 _ACEOF
83002 cat confdefs.h >>conftest.$ac_ext
83003 cat >>conftest.$ac_ext <<_ACEOF
83004 /* end confdefs.h. */
83006 #include <wchar.h>
83007 #include <stddef.h>
83009 main ()
83011 wint_t i = WEOF;
83013 return 0;
83015 _ACEOF
83016 rm -f conftest.$ac_objext
83017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83018 (eval $ac_compile) 2>conftest.er1
83019 ac_status=$?
83020 grep -v '^ *+' conftest.er1 >conftest.err
83021 rm -f conftest.er1
83022 cat conftest.err >&5
83023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83024 (exit $ac_status); } &&
83025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83027 (eval $ac_try) 2>&5
83028 ac_status=$?
83029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83030 (exit $ac_status); }; } &&
83031 { ac_try='test -s conftest.$ac_objext'
83032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83033 (eval $ac_try) 2>&5
83034 ac_status=$?
83035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83036 (exit $ac_status); }; }; then
83037 has_weof=yes
83038 else
83039 echo "$as_me: failed program was:" >&5
83040 sed 's/^/| /' conftest.$ac_ext >&5
83042 has_weof=no
83044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83045 echo "$as_me:$LINENO: result: $has_weof" >&5
83046 echo "${ECHO_T}$has_weof" >&6
83048 # Tests for wide character functions used in char_traits<wchar_t>.
83049 ac_wfuncs=yes
83056 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83059 echo "$as_me:$LINENO: checking for $ac_func" >&5
83060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83061 if eval "test \"\${$as_ac_var+set}\" = set"; then
83062 echo $ECHO_N "(cached) $ECHO_C" >&6
83063 else
83064 if test x$gcc_no_link = xyes; then
83065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83067 { (exit 1); exit 1; }; }
83069 cat >conftest.$ac_ext <<_ACEOF
83070 /* confdefs.h. */
83071 _ACEOF
83072 cat confdefs.h >>conftest.$ac_ext
83073 cat >>conftest.$ac_ext <<_ACEOF
83074 /* end confdefs.h. */
83075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83077 #define $ac_func innocuous_$ac_func
83079 /* System header to define __stub macros and hopefully few prototypes,
83080 which can conflict with char $ac_func (); below.
83081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83082 <limits.h> exists even on freestanding compilers. */
83084 #ifdef __STDC__
83085 # include <limits.h>
83086 #else
83087 # include <assert.h>
83088 #endif
83090 #undef $ac_func
83092 /* Override any gcc2 internal prototype to avoid an error. */
83093 #ifdef __cplusplus
83094 extern "C"
83096 #endif
83097 /* We use char because int might match the return type of a gcc2
83098 builtin and then its argument prototype would still apply. */
83099 char $ac_func ();
83100 /* The GNU C library defines this for functions which it implements
83101 to always fail with ENOSYS. Some functions are actually named
83102 something starting with __ and the normal name is an alias. */
83103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83104 choke me
83105 #else
83106 char (*f) () = $ac_func;
83107 #endif
83108 #ifdef __cplusplus
83110 #endif
83113 main ()
83115 return f != $ac_func;
83117 return 0;
83119 _ACEOF
83120 rm -f conftest.$ac_objext conftest$ac_exeext
83121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83122 (eval $ac_link) 2>conftest.er1
83123 ac_status=$?
83124 grep -v '^ *+' conftest.er1 >conftest.err
83125 rm -f conftest.er1
83126 cat conftest.err >&5
83127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83128 (exit $ac_status); } &&
83129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83131 (eval $ac_try) 2>&5
83132 ac_status=$?
83133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83134 (exit $ac_status); }; } &&
83135 { ac_try='test -s conftest$ac_exeext'
83136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83137 (eval $ac_try) 2>&5
83138 ac_status=$?
83139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83140 (exit $ac_status); }; }; then
83141 eval "$as_ac_var=yes"
83142 else
83143 echo "$as_me: failed program was:" >&5
83144 sed 's/^/| /' conftest.$ac_ext >&5
83146 eval "$as_ac_var=no"
83148 rm -f conftest.err conftest.$ac_objext \
83149 conftest$ac_exeext conftest.$ac_ext
83151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83153 if test `eval echo '${'$as_ac_var'}'` = yes; then
83154 cat >>confdefs.h <<_ACEOF
83155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83156 _ACEOF
83158 else
83159 ac_wfuncs=no
83161 done
83164 # Checks for names injected into std:: by the c_std headers.
83211 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
83212 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
83213 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
83214 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
83215 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
83216 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
83218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83219 echo "$as_me:$LINENO: checking for $ac_func" >&5
83220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83221 if eval "test \"\${$as_ac_var+set}\" = set"; then
83222 echo $ECHO_N "(cached) $ECHO_C" >&6
83223 else
83224 if test x$gcc_no_link = xyes; then
83225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83227 { (exit 1); exit 1; }; }
83229 cat >conftest.$ac_ext <<_ACEOF
83230 /* confdefs.h. */
83231 _ACEOF
83232 cat confdefs.h >>conftest.$ac_ext
83233 cat >>conftest.$ac_ext <<_ACEOF
83234 /* end confdefs.h. */
83235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83237 #define $ac_func innocuous_$ac_func
83239 /* System header to define __stub macros and hopefully few prototypes,
83240 which can conflict with char $ac_func (); below.
83241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83242 <limits.h> exists even on freestanding compilers. */
83244 #ifdef __STDC__
83245 # include <limits.h>
83246 #else
83247 # include <assert.h>
83248 #endif
83250 #undef $ac_func
83252 /* Override any gcc2 internal prototype to avoid an error. */
83253 #ifdef __cplusplus
83254 extern "C"
83256 #endif
83257 /* We use char because int might match the return type of a gcc2
83258 builtin and then its argument prototype would still apply. */
83259 char $ac_func ();
83260 /* The GNU C library defines this for functions which it implements
83261 to always fail with ENOSYS. Some functions are actually named
83262 something starting with __ and the normal name is an alias. */
83263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83264 choke me
83265 #else
83266 char (*f) () = $ac_func;
83267 #endif
83268 #ifdef __cplusplus
83270 #endif
83273 main ()
83275 return f != $ac_func;
83277 return 0;
83279 _ACEOF
83280 rm -f conftest.$ac_objext conftest$ac_exeext
83281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83282 (eval $ac_link) 2>conftest.er1
83283 ac_status=$?
83284 grep -v '^ *+' conftest.er1 >conftest.err
83285 rm -f conftest.er1
83286 cat conftest.err >&5
83287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288 (exit $ac_status); } &&
83289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83291 (eval $ac_try) 2>&5
83292 ac_status=$?
83293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83294 (exit $ac_status); }; } &&
83295 { ac_try='test -s conftest$ac_exeext'
83296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83297 (eval $ac_try) 2>&5
83298 ac_status=$?
83299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83300 (exit $ac_status); }; }; then
83301 eval "$as_ac_var=yes"
83302 else
83303 echo "$as_me: failed program was:" >&5
83304 sed 's/^/| /' conftest.$ac_ext >&5
83306 eval "$as_ac_var=no"
83308 rm -f conftest.err conftest.$ac_objext \
83309 conftest$ac_exeext conftest.$ac_ext
83311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83313 if test `eval echo '${'$as_ac_var'}'` = yes; then
83314 cat >>confdefs.h <<_ACEOF
83315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83316 _ACEOF
83318 else
83319 ac_wfuncs=no
83321 done
83324 # Checks for wide character functions that are not required
83325 # for basic wchar_t support. Don't disable support if they are missing.
83326 # Injection of these is wrapped with guard macros.
83332 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
83334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83335 echo "$as_me:$LINENO: checking for $ac_func" >&5
83336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83337 if eval "test \"\${$as_ac_var+set}\" = set"; then
83338 echo $ECHO_N "(cached) $ECHO_C" >&6
83339 else
83340 if test x$gcc_no_link = xyes; then
83341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83343 { (exit 1); exit 1; }; }
83345 cat >conftest.$ac_ext <<_ACEOF
83346 /* confdefs.h. */
83347 _ACEOF
83348 cat confdefs.h >>conftest.$ac_ext
83349 cat >>conftest.$ac_ext <<_ACEOF
83350 /* end confdefs.h. */
83351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83353 #define $ac_func innocuous_$ac_func
83355 /* System header to define __stub macros and hopefully few prototypes,
83356 which can conflict with char $ac_func (); below.
83357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83358 <limits.h> exists even on freestanding compilers. */
83360 #ifdef __STDC__
83361 # include <limits.h>
83362 #else
83363 # include <assert.h>
83364 #endif
83366 #undef $ac_func
83368 /* Override any gcc2 internal prototype to avoid an error. */
83369 #ifdef __cplusplus
83370 extern "C"
83372 #endif
83373 /* We use char because int might match the return type of a gcc2
83374 builtin and then its argument prototype would still apply. */
83375 char $ac_func ();
83376 /* The GNU C library defines this for functions which it implements
83377 to always fail with ENOSYS. Some functions are actually named
83378 something starting with __ and the normal name is an alias. */
83379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83380 choke me
83381 #else
83382 char (*f) () = $ac_func;
83383 #endif
83384 #ifdef __cplusplus
83386 #endif
83389 main ()
83391 return f != $ac_func;
83393 return 0;
83395 _ACEOF
83396 rm -f conftest.$ac_objext conftest$ac_exeext
83397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83398 (eval $ac_link) 2>conftest.er1
83399 ac_status=$?
83400 grep -v '^ *+' conftest.er1 >conftest.err
83401 rm -f conftest.er1
83402 cat conftest.err >&5
83403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404 (exit $ac_status); } &&
83405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83407 (eval $ac_try) 2>&5
83408 ac_status=$?
83409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83410 (exit $ac_status); }; } &&
83411 { ac_try='test -s conftest$ac_exeext'
83412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83413 (eval $ac_try) 2>&5
83414 ac_status=$?
83415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83416 (exit $ac_status); }; }; then
83417 eval "$as_ac_var=yes"
83418 else
83419 echo "$as_me: failed program was:" >&5
83420 sed 's/^/| /' conftest.$ac_ext >&5
83422 eval "$as_ac_var=no"
83424 rm -f conftest.err conftest.$ac_objext \
83425 conftest$ac_exeext conftest.$ac_ext
83427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83429 if test `eval echo '${'$as_ac_var'}'` = yes; then
83430 cat >>confdefs.h <<_ACEOF
83431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83432 _ACEOF
83435 done
83438 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
83439 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
83440 if test x"$has_weof" = xyes &&
83441 test x"$has_wchar_minmax" = xyes &&
83442 test x"$ac_wfuncs" = xyes;
83443 then
83444 ac_isoC99_wchar_t=yes
83445 else
83446 ac_isoC99_wchar_t=no
83448 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
83449 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
83451 # Use iconv for wchar_t to char conversions. As such, check for
83452 # X/Open Portability Guide, version 2 features (XPG2).
83453 if test "${ac_cv_header_iconv_h+set}" = set; then
83454 echo "$as_me:$LINENO: checking for iconv.h" >&5
83455 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83456 if test "${ac_cv_header_iconv_h+set}" = set; then
83457 echo $ECHO_N "(cached) $ECHO_C" >&6
83459 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83460 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83461 else
83462 # Is the header compilable?
83463 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83464 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83465 cat >conftest.$ac_ext <<_ACEOF
83466 /* confdefs.h. */
83467 _ACEOF
83468 cat confdefs.h >>conftest.$ac_ext
83469 cat >>conftest.$ac_ext <<_ACEOF
83470 /* end confdefs.h. */
83471 $ac_includes_default
83472 #include <iconv.h>
83473 _ACEOF
83474 rm -f conftest.$ac_objext
83475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83476 (eval $ac_compile) 2>conftest.er1
83477 ac_status=$?
83478 grep -v '^ *+' conftest.er1 >conftest.err
83479 rm -f conftest.er1
83480 cat conftest.err >&5
83481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83482 (exit $ac_status); } &&
83483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83485 (eval $ac_try) 2>&5
83486 ac_status=$?
83487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83488 (exit $ac_status); }; } &&
83489 { ac_try='test -s conftest.$ac_objext'
83490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83491 (eval $ac_try) 2>&5
83492 ac_status=$?
83493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83494 (exit $ac_status); }; }; then
83495 ac_header_compiler=yes
83496 else
83497 echo "$as_me: failed program was:" >&5
83498 sed 's/^/| /' conftest.$ac_ext >&5
83500 ac_header_compiler=no
83502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83504 echo "${ECHO_T}$ac_header_compiler" >&6
83506 # Is the header present?
83507 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83508 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83509 cat >conftest.$ac_ext <<_ACEOF
83510 /* confdefs.h. */
83511 _ACEOF
83512 cat confdefs.h >>conftest.$ac_ext
83513 cat >>conftest.$ac_ext <<_ACEOF
83514 /* end confdefs.h. */
83515 #include <iconv.h>
83516 _ACEOF
83517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83519 ac_status=$?
83520 grep -v '^ *+' conftest.er1 >conftest.err
83521 rm -f conftest.er1
83522 cat conftest.err >&5
83523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83524 (exit $ac_status); } >/dev/null; then
83525 if test -s conftest.err; then
83526 ac_cpp_err=$ac_c_preproc_warn_flag
83527 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83528 else
83529 ac_cpp_err=
83531 else
83532 ac_cpp_err=yes
83534 if test -z "$ac_cpp_err"; then
83535 ac_header_preproc=yes
83536 else
83537 echo "$as_me: failed program was:" >&5
83538 sed 's/^/| /' conftest.$ac_ext >&5
83540 ac_header_preproc=no
83542 rm -f conftest.err conftest.$ac_ext
83543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83544 echo "${ECHO_T}$ac_header_preproc" >&6
83546 # So? What about this header?
83547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83548 yes:no: )
83549 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83550 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83551 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83552 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83553 ac_header_preproc=yes
83555 no:yes:* )
83556 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83557 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83558 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83559 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83560 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83561 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83562 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83563 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83564 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83565 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83566 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83567 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83569 cat <<\_ASBOX
83570 ## ----------------------------------------- ##
83571 ## Report this to the package-unused lists. ##
83572 ## ----------------------------------------- ##
83573 _ASBOX
83575 sed "s/^/$as_me: WARNING: /" >&2
83577 esac
83578 echo "$as_me:$LINENO: checking for iconv.h" >&5
83579 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83580 if test "${ac_cv_header_iconv_h+set}" = set; then
83581 echo $ECHO_N "(cached) $ECHO_C" >&6
83582 else
83583 ac_cv_header_iconv_h=$ac_header_preproc
83585 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83586 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83589 if test $ac_cv_header_iconv_h = yes; then
83590 ac_has_iconv_h=yes
83591 else
83592 ac_has_iconv_h=no
83596 if test "${ac_cv_header_langinfo_h+set}" = set; then
83597 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83598 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83599 if test "${ac_cv_header_langinfo_h+set}" = set; then
83600 echo $ECHO_N "(cached) $ECHO_C" >&6
83602 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83603 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83604 else
83605 # Is the header compilable?
83606 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83607 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83608 cat >conftest.$ac_ext <<_ACEOF
83609 /* confdefs.h. */
83610 _ACEOF
83611 cat confdefs.h >>conftest.$ac_ext
83612 cat >>conftest.$ac_ext <<_ACEOF
83613 /* end confdefs.h. */
83614 $ac_includes_default
83615 #include <langinfo.h>
83616 _ACEOF
83617 rm -f conftest.$ac_objext
83618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83619 (eval $ac_compile) 2>conftest.er1
83620 ac_status=$?
83621 grep -v '^ *+' conftest.er1 >conftest.err
83622 rm -f conftest.er1
83623 cat conftest.err >&5
83624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83625 (exit $ac_status); } &&
83626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83628 (eval $ac_try) 2>&5
83629 ac_status=$?
83630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83631 (exit $ac_status); }; } &&
83632 { ac_try='test -s conftest.$ac_objext'
83633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83634 (eval $ac_try) 2>&5
83635 ac_status=$?
83636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83637 (exit $ac_status); }; }; then
83638 ac_header_compiler=yes
83639 else
83640 echo "$as_me: failed program was:" >&5
83641 sed 's/^/| /' conftest.$ac_ext >&5
83643 ac_header_compiler=no
83645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83647 echo "${ECHO_T}$ac_header_compiler" >&6
83649 # Is the header present?
83650 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83651 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83652 cat >conftest.$ac_ext <<_ACEOF
83653 /* confdefs.h. */
83654 _ACEOF
83655 cat confdefs.h >>conftest.$ac_ext
83656 cat >>conftest.$ac_ext <<_ACEOF
83657 /* end confdefs.h. */
83658 #include <langinfo.h>
83659 _ACEOF
83660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83662 ac_status=$?
83663 grep -v '^ *+' conftest.er1 >conftest.err
83664 rm -f conftest.er1
83665 cat conftest.err >&5
83666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83667 (exit $ac_status); } >/dev/null; then
83668 if test -s conftest.err; then
83669 ac_cpp_err=$ac_c_preproc_warn_flag
83670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83671 else
83672 ac_cpp_err=
83674 else
83675 ac_cpp_err=yes
83677 if test -z "$ac_cpp_err"; then
83678 ac_header_preproc=yes
83679 else
83680 echo "$as_me: failed program was:" >&5
83681 sed 's/^/| /' conftest.$ac_ext >&5
83683 ac_header_preproc=no
83685 rm -f conftest.err conftest.$ac_ext
83686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83687 echo "${ECHO_T}$ac_header_preproc" >&6
83689 # So? What about this header?
83690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83691 yes:no: )
83692 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83693 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83694 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83695 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83696 ac_header_preproc=yes
83698 no:yes:* )
83699 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83700 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83701 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83702 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83703 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83704 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83705 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83706 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83707 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83708 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83709 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83710 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83712 cat <<\_ASBOX
83713 ## ----------------------------------------- ##
83714 ## Report this to the package-unused lists. ##
83715 ## ----------------------------------------- ##
83716 _ASBOX
83718 sed "s/^/$as_me: WARNING: /" >&2
83720 esac
83721 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83722 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83723 if test "${ac_cv_header_langinfo_h+set}" = set; then
83724 echo $ECHO_N "(cached) $ECHO_C" >&6
83725 else
83726 ac_cv_header_langinfo_h=$ac_header_preproc
83728 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83729 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83732 if test $ac_cv_header_langinfo_h = yes; then
83733 ac_has_langinfo_h=yes
83734 else
83735 ac_has_langinfo_h=no
83740 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83741 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83742 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83743 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83744 echo $ECHO_N "(cached) $ECHO_C" >&6
83745 else
83746 ac_check_lib_save_LIBS=$LIBS
83747 LIBS="-liconv $LIBS"
83748 if test x$gcc_no_link = xyes; then
83749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83751 { (exit 1); exit 1; }; }
83753 cat >conftest.$ac_ext <<_ACEOF
83754 /* confdefs.h. */
83755 _ACEOF
83756 cat confdefs.h >>conftest.$ac_ext
83757 cat >>conftest.$ac_ext <<_ACEOF
83758 /* end confdefs.h. */
83760 /* Override any gcc2 internal prototype to avoid an error. */
83761 #ifdef __cplusplus
83762 extern "C"
83763 #endif
83764 /* We use char because int might match the return type of a gcc2
83765 builtin and then its argument prototype would still apply. */
83766 char iconv ();
83768 main ()
83770 iconv ();
83772 return 0;
83774 _ACEOF
83775 rm -f conftest.$ac_objext conftest$ac_exeext
83776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83777 (eval $ac_link) 2>conftest.er1
83778 ac_status=$?
83779 grep -v '^ *+' conftest.er1 >conftest.err
83780 rm -f conftest.er1
83781 cat conftest.err >&5
83782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83783 (exit $ac_status); } &&
83784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83786 (eval $ac_try) 2>&5
83787 ac_status=$?
83788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83789 (exit $ac_status); }; } &&
83790 { ac_try='test -s conftest$ac_exeext'
83791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83792 (eval $ac_try) 2>&5
83793 ac_status=$?
83794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83795 (exit $ac_status); }; }; then
83796 ac_cv_lib_iconv_iconv=yes
83797 else
83798 echo "$as_me: failed program was:" >&5
83799 sed 's/^/| /' conftest.$ac_ext >&5
83801 ac_cv_lib_iconv_iconv=no
83803 rm -f conftest.err conftest.$ac_objext \
83804 conftest$ac_exeext conftest.$ac_ext
83805 LIBS=$ac_check_lib_save_LIBS
83807 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83808 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83809 if test $ac_cv_lib_iconv_iconv = yes; then
83810 LIBICONV="-liconv"
83813 ac_save_LIBS="$LIBS"
83814 LIBS="$LIBS $LIBICONV"
83821 for ac_func in iconv_open iconv_close iconv nl_langinfo
83823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83824 echo "$as_me:$LINENO: checking for $ac_func" >&5
83825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83826 if eval "test \"\${$as_ac_var+set}\" = set"; then
83827 echo $ECHO_N "(cached) $ECHO_C" >&6
83828 else
83829 if test x$gcc_no_link = xyes; then
83830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83832 { (exit 1); exit 1; }; }
83834 cat >conftest.$ac_ext <<_ACEOF
83835 /* confdefs.h. */
83836 _ACEOF
83837 cat confdefs.h >>conftest.$ac_ext
83838 cat >>conftest.$ac_ext <<_ACEOF
83839 /* end confdefs.h. */
83840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83842 #define $ac_func innocuous_$ac_func
83844 /* System header to define __stub macros and hopefully few prototypes,
83845 which can conflict with char $ac_func (); below.
83846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83847 <limits.h> exists even on freestanding compilers. */
83849 #ifdef __STDC__
83850 # include <limits.h>
83851 #else
83852 # include <assert.h>
83853 #endif
83855 #undef $ac_func
83857 /* Override any gcc2 internal prototype to avoid an error. */
83858 #ifdef __cplusplus
83859 extern "C"
83861 #endif
83862 /* We use char because int might match the return type of a gcc2
83863 builtin and then its argument prototype would still apply. */
83864 char $ac_func ();
83865 /* The GNU C library defines this for functions which it implements
83866 to always fail with ENOSYS. Some functions are actually named
83867 something starting with __ and the normal name is an alias. */
83868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83869 choke me
83870 #else
83871 char (*f) () = $ac_func;
83872 #endif
83873 #ifdef __cplusplus
83875 #endif
83878 main ()
83880 return f != $ac_func;
83882 return 0;
83884 _ACEOF
83885 rm -f conftest.$ac_objext conftest$ac_exeext
83886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83887 (eval $ac_link) 2>conftest.er1
83888 ac_status=$?
83889 grep -v '^ *+' conftest.er1 >conftest.err
83890 rm -f conftest.er1
83891 cat conftest.err >&5
83892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83893 (exit $ac_status); } &&
83894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83896 (eval $ac_try) 2>&5
83897 ac_status=$?
83898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83899 (exit $ac_status); }; } &&
83900 { ac_try='test -s conftest$ac_exeext'
83901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83902 (eval $ac_try) 2>&5
83903 ac_status=$?
83904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905 (exit $ac_status); }; }; then
83906 eval "$as_ac_var=yes"
83907 else
83908 echo "$as_me: failed program was:" >&5
83909 sed 's/^/| /' conftest.$ac_ext >&5
83911 eval "$as_ac_var=no"
83913 rm -f conftest.err conftest.$ac_objext \
83914 conftest$ac_exeext conftest.$ac_ext
83916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83918 if test `eval echo '${'$as_ac_var'}'` = yes; then
83919 cat >>confdefs.h <<_ACEOF
83920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83921 _ACEOF
83922 ac_XPG2funcs=yes
83923 else
83924 ac_XPG2funcs=no
83926 done
83929 LIBS="$ac_save_LIBS"
83931 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
83932 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
83933 if test x"$ac_has_iconv_h" = xyes &&
83934 test x"$ac_has_langinfo_h" = xyes &&
83935 test x"$ac_XPG2funcs" = xyes;
83936 then
83937 ac_XPG2_wchar_t=yes
83938 else
83939 ac_XPG2_wchar_t=no
83941 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
83942 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
83944 # At the moment, only enable wchar_t specializations if all the
83945 # above support is present.
83946 if test x"$ac_isoC99_wchar_t" = xyes &&
83947 test x"$ac_XPG2_wchar_t" = xyes;
83948 then
83949 cat >>confdefs.h <<\_ACEOF
83950 #define _GLIBCXX_USE_WCHAR_T 1
83951 _ACEOF
83953 enable_wchar_t=yes
83956 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
83957 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
83958 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
83959 echo "${ECHO_T}$enable_wchar_t" >&6
83962 *-netbsd*)
83975 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
83976 machine/endian.h machine/param.h sys/machine.h sys/types.h \
83977 fp.h locale.h float.h inttypes.h
83979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83981 echo "$as_me:$LINENO: checking for $ac_header" >&5
83982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83984 echo $ECHO_N "(cached) $ECHO_C" >&6
83986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83988 else
83989 # Is the header compilable?
83990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
83999 #include <$ac_header>
84000 _ACEOF
84001 rm -f conftest.$ac_objext
84002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84003 (eval $ac_compile) 2>conftest.er1
84004 ac_status=$?
84005 grep -v '^ *+' conftest.er1 >conftest.err
84006 rm -f conftest.er1
84007 cat conftest.err >&5
84008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84009 (exit $ac_status); } &&
84010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84012 (eval $ac_try) 2>&5
84013 ac_status=$?
84014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84015 (exit $ac_status); }; } &&
84016 { ac_try='test -s conftest.$ac_objext'
84017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84018 (eval $ac_try) 2>&5
84019 ac_status=$?
84020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84021 (exit $ac_status); }; }; then
84022 ac_header_compiler=yes
84023 else
84024 echo "$as_me: failed program was:" >&5
84025 sed 's/^/| /' conftest.$ac_ext >&5
84027 ac_header_compiler=no
84029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84031 echo "${ECHO_T}$ac_header_compiler" >&6
84033 # Is the header present?
84034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84036 cat >conftest.$ac_ext <<_ACEOF
84037 /* confdefs.h. */
84038 _ACEOF
84039 cat confdefs.h >>conftest.$ac_ext
84040 cat >>conftest.$ac_ext <<_ACEOF
84041 /* end confdefs.h. */
84042 #include <$ac_header>
84043 _ACEOF
84044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84045 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
84052 if test -s conftest.err; then
84053 ac_cpp_err=$ac_c_preproc_warn_flag
84054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84055 else
84056 ac_cpp_err=
84058 else
84059 ac_cpp_err=yes
84061 if test -z "$ac_cpp_err"; then
84062 ac_header_preproc=yes
84063 else
84064 echo "$as_me: failed program was:" >&5
84065 sed 's/^/| /' conftest.$ac_ext >&5
84067 ac_header_preproc=no
84069 rm -f conftest.err conftest.$ac_ext
84070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84071 echo "${ECHO_T}$ac_header_preproc" >&6
84073 # So? What about this header?
84074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84075 yes:no: )
84076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84080 ac_header_preproc=yes
84082 no:yes:* )
84083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84096 cat <<\_ASBOX
84097 ## ----------------------------------------- ##
84098 ## Report this to the package-unused lists. ##
84099 ## ----------------------------------------- ##
84100 _ASBOX
84102 sed "s/^/$as_me: WARNING: /" >&2
84104 esac
84105 echo "$as_me:$LINENO: checking for $ac_header" >&5
84106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84108 echo $ECHO_N "(cached) $ECHO_C" >&6
84109 else
84110 eval "$as_ac_Header=\$ac_header_preproc"
84112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84117 cat >>confdefs.h <<_ACEOF
84118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84119 _ACEOF
84123 done
84125 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84128 # If we're not using GNU ld, then there's no point in even trying these
84129 # tests. Check for that first. We should have already tested for gld
84130 # by now (in libtool), but require it now just to be safe...
84131 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84132 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84136 # The name set by libtool depends on the version of libtool. Shame on us
84137 # for depending on an impl detail, but c'est la vie. Older versions used
84138 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84139 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84140 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84141 # set (hence we're using an older libtool), then set it.
84142 if test x${with_gnu_ld+set} != xset; then
84143 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84144 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
84145 with_gnu_ld=no
84146 else
84147 with_gnu_ld=$ac_cv_prog_gnu_ld
84151 # Start by getting the version number. I think the libtool test already
84152 # does some of this, but throws away the result.
84154 ldver=`$LD --version 2>/dev/null | head -1 | \
84155 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84157 glibcxx_gnu_ld_version=`echo $ldver | \
84158 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84160 # Set --gc-sections.
84161 if test "$with_gnu_ld" = "notbroken"; then
84162 # GNU ld it is! Joy and bunny rabbits!
84164 # All these tests are for C++; save the language and the compiler flags.
84165 # Need to do this so that g++ won't try to link in libstdc++
84166 ac_test_CFLAGS="${CFLAGS+set}"
84167 ac_save_CFLAGS="$CFLAGS"
84168 CFLAGS='-x c++ -Wl,--gc-sections'
84170 # Check for -Wl,--gc-sections
84171 # XXX This test is broken at the moment, as symbols required for linking
84172 # are now in libsupc++ (not built yet). In addition, this test has
84173 # cored on solaris in the past. In addition, --gc-sections doesn't
84174 # really work at the moment (keeps on discarding used sections, first
84175 # .eh_frame and now some of the glibc sections for iconv).
84176 # Bzzzzt. Thanks for playing, maybe next time.
84177 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84178 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84179 if test "$cross_compiling" = yes; then
84180 ac_sectionLDflags=yes
84181 else
84182 cat >conftest.$ac_ext <<_ACEOF
84183 /* confdefs.h. */
84184 _ACEOF
84185 cat confdefs.h >>conftest.$ac_ext
84186 cat >>conftest.$ac_ext <<_ACEOF
84187 /* end confdefs.h. */
84189 int main(void)
84191 try { throw 1; }
84192 catch (...) { };
84193 return 0;
84196 _ACEOF
84197 rm -f conftest$ac_exeext
84198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84199 (eval $ac_link) 2>&5
84200 ac_status=$?
84201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
84203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84204 (eval $ac_try) 2>&5
84205 ac_status=$?
84206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207 (exit $ac_status); }; }; then
84208 ac_sectionLDflags=yes
84209 else
84210 echo "$as_me: program exited with status $ac_status" >&5
84211 echo "$as_me: failed program was:" >&5
84212 sed 's/^/| /' conftest.$ac_ext >&5
84214 ( exit $ac_status )
84215 ac_sectionLDflags=no
84217 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
84219 if test "$ac_test_CFLAGS" = set; then
84220 CFLAGS="$ac_save_CFLAGS"
84221 else
84222 # this is the suspicious part
84223 CFLAGS=''
84225 if test "$ac_sectionLDflags" = "yes"; then
84226 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84228 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
84229 echo "${ECHO_T}$ac_sectionLDflags" >&6
84232 # Set linker optimization flags.
84233 if test x"$with_gnu_ld" = x"yes"; then
84234 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84242 echo "$as_me:$LINENO: checking for main in -lm" >&5
84243 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84244 if test "${ac_cv_lib_m_main+set}" = set; then
84245 echo $ECHO_N "(cached) $ECHO_C" >&6
84246 else
84247 ac_check_lib_save_LIBS=$LIBS
84248 LIBS="-lm $LIBS"
84249 if test x$gcc_no_link = xyes; then
84250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84252 { (exit 1); exit 1; }; }
84254 cat >conftest.$ac_ext <<_ACEOF
84255 /* confdefs.h. */
84256 _ACEOF
84257 cat confdefs.h >>conftest.$ac_ext
84258 cat >>conftest.$ac_ext <<_ACEOF
84259 /* end confdefs.h. */
84263 main ()
84265 main ();
84267 return 0;
84269 _ACEOF
84270 rm -f conftest.$ac_objext conftest$ac_exeext
84271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84272 (eval $ac_link) 2>conftest.er1
84273 ac_status=$?
84274 grep -v '^ *+' conftest.er1 >conftest.err
84275 rm -f conftest.er1
84276 cat conftest.err >&5
84277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84278 (exit $ac_status); } &&
84279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84281 (eval $ac_try) 2>&5
84282 ac_status=$?
84283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84284 (exit $ac_status); }; } &&
84285 { ac_try='test -s conftest$ac_exeext'
84286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84287 (eval $ac_try) 2>&5
84288 ac_status=$?
84289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290 (exit $ac_status); }; }; then
84291 ac_cv_lib_m_main=yes
84292 else
84293 echo "$as_me: failed program was:" >&5
84294 sed 's/^/| /' conftest.$ac_ext >&5
84296 ac_cv_lib_m_main=no
84298 rm -f conftest.err conftest.$ac_objext \
84299 conftest$ac_exeext conftest.$ac_ext
84300 LIBS=$ac_check_lib_save_LIBS
84302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84303 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84304 if test $ac_cv_lib_m_main = yes; then
84305 cat >>confdefs.h <<_ACEOF
84306 #define HAVE_LIBM 1
84307 _ACEOF
84309 LIBS="-lm $LIBS"
84314 for ac_func in copysignf
84316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84317 echo "$as_me:$LINENO: checking for $ac_func" >&5
84318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84319 if eval "test \"\${$as_ac_var+set}\" = set"; then
84320 echo $ECHO_N "(cached) $ECHO_C" >&6
84321 else
84322 if test x$gcc_no_link = xyes; then
84323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84325 { (exit 1); exit 1; }; }
84327 cat >conftest.$ac_ext <<_ACEOF
84328 /* confdefs.h. */
84329 _ACEOF
84330 cat confdefs.h >>conftest.$ac_ext
84331 cat >>conftest.$ac_ext <<_ACEOF
84332 /* end confdefs.h. */
84333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84335 #define $ac_func innocuous_$ac_func
84337 /* System header to define __stub macros and hopefully few prototypes,
84338 which can conflict with char $ac_func (); below.
84339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84340 <limits.h> exists even on freestanding compilers. */
84342 #ifdef __STDC__
84343 # include <limits.h>
84344 #else
84345 # include <assert.h>
84346 #endif
84348 #undef $ac_func
84350 /* Override any gcc2 internal prototype to avoid an error. */
84351 #ifdef __cplusplus
84352 extern "C"
84354 #endif
84355 /* We use char because int might match the return type of a gcc2
84356 builtin and then its argument prototype would still apply. */
84357 char $ac_func ();
84358 /* The GNU C library defines this for functions which it implements
84359 to always fail with ENOSYS. Some functions are actually named
84360 something starting with __ and the normal name is an alias. */
84361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84362 choke me
84363 #else
84364 char (*f) () = $ac_func;
84365 #endif
84366 #ifdef __cplusplus
84368 #endif
84371 main ()
84373 return f != $ac_func;
84375 return 0;
84377 _ACEOF
84378 rm -f conftest.$ac_objext conftest$ac_exeext
84379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84380 (eval $ac_link) 2>conftest.er1
84381 ac_status=$?
84382 grep -v '^ *+' conftest.er1 >conftest.err
84383 rm -f conftest.er1
84384 cat conftest.err >&5
84385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84386 (exit $ac_status); } &&
84387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84389 (eval $ac_try) 2>&5
84390 ac_status=$?
84391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84392 (exit $ac_status); }; } &&
84393 { ac_try='test -s conftest$ac_exeext'
84394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84395 (eval $ac_try) 2>&5
84396 ac_status=$?
84397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84398 (exit $ac_status); }; }; then
84399 eval "$as_ac_var=yes"
84400 else
84401 echo "$as_me: failed program was:" >&5
84402 sed 's/^/| /' conftest.$ac_ext >&5
84404 eval "$as_ac_var=no"
84406 rm -f conftest.err conftest.$ac_objext \
84407 conftest$ac_exeext conftest.$ac_ext
84409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84411 if test `eval echo '${'$as_ac_var'}'` = yes; then
84412 cat >>confdefs.h <<_ACEOF
84413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84414 _ACEOF
84416 else
84417 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84419 done
84423 for ac_func in __signbit
84425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84426 echo "$as_me:$LINENO: checking for $ac_func" >&5
84427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84428 if eval "test \"\${$as_ac_var+set}\" = set"; then
84429 echo $ECHO_N "(cached) $ECHO_C" >&6
84430 else
84431 if test x$gcc_no_link = xyes; then
84432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84434 { (exit 1); exit 1; }; }
84436 cat >conftest.$ac_ext <<_ACEOF
84437 /* confdefs.h. */
84438 _ACEOF
84439 cat confdefs.h >>conftest.$ac_ext
84440 cat >>conftest.$ac_ext <<_ACEOF
84441 /* end confdefs.h. */
84442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84444 #define $ac_func innocuous_$ac_func
84446 /* System header to define __stub macros and hopefully few prototypes,
84447 which can conflict with char $ac_func (); below.
84448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84449 <limits.h> exists even on freestanding compilers. */
84451 #ifdef __STDC__
84452 # include <limits.h>
84453 #else
84454 # include <assert.h>
84455 #endif
84457 #undef $ac_func
84459 /* Override any gcc2 internal prototype to avoid an error. */
84460 #ifdef __cplusplus
84461 extern "C"
84463 #endif
84464 /* We use char because int might match the return type of a gcc2
84465 builtin and then its argument prototype would still apply. */
84466 char $ac_func ();
84467 /* The GNU C library defines this for functions which it implements
84468 to always fail with ENOSYS. Some functions are actually named
84469 something starting with __ and the normal name is an alias. */
84470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84471 choke me
84472 #else
84473 char (*f) () = $ac_func;
84474 #endif
84475 #ifdef __cplusplus
84477 #endif
84480 main ()
84482 return f != $ac_func;
84484 return 0;
84486 _ACEOF
84487 rm -f conftest.$ac_objext conftest$ac_exeext
84488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84489 (eval $ac_link) 2>conftest.er1
84490 ac_status=$?
84491 grep -v '^ *+' conftest.er1 >conftest.err
84492 rm -f conftest.er1
84493 cat conftest.err >&5
84494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84495 (exit $ac_status); } &&
84496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84498 (eval $ac_try) 2>&5
84499 ac_status=$?
84500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84501 (exit $ac_status); }; } &&
84502 { ac_try='test -s conftest$ac_exeext'
84503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84504 (eval $ac_try) 2>&5
84505 ac_status=$?
84506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84507 (exit $ac_status); }; }; then
84508 eval "$as_ac_var=yes"
84509 else
84510 echo "$as_me: failed program was:" >&5
84511 sed 's/^/| /' conftest.$ac_ext >&5
84513 eval "$as_ac_var=no"
84515 rm -f conftest.err conftest.$ac_objext \
84516 conftest$ac_exeext conftest.$ac_ext
84518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84520 if test `eval echo '${'$as_ac_var'}'` = yes; then
84521 cat >>confdefs.h <<_ACEOF
84522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84523 _ACEOF
84525 else
84526 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84528 done
84532 for ac_func in __signbitf
84534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84535 echo "$as_me:$LINENO: checking for $ac_func" >&5
84536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84537 if eval "test \"\${$as_ac_var+set}\" = set"; then
84538 echo $ECHO_N "(cached) $ECHO_C" >&6
84539 else
84540 if test x$gcc_no_link = xyes; then
84541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84543 { (exit 1); exit 1; }; }
84545 cat >conftest.$ac_ext <<_ACEOF
84546 /* confdefs.h. */
84547 _ACEOF
84548 cat confdefs.h >>conftest.$ac_ext
84549 cat >>conftest.$ac_ext <<_ACEOF
84550 /* end confdefs.h. */
84551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84553 #define $ac_func innocuous_$ac_func
84555 /* System header to define __stub macros and hopefully few prototypes,
84556 which can conflict with char $ac_func (); below.
84557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84558 <limits.h> exists even on freestanding compilers. */
84560 #ifdef __STDC__
84561 # include <limits.h>
84562 #else
84563 # include <assert.h>
84564 #endif
84566 #undef $ac_func
84568 /* Override any gcc2 internal prototype to avoid an error. */
84569 #ifdef __cplusplus
84570 extern "C"
84572 #endif
84573 /* We use char because int might match the return type of a gcc2
84574 builtin and then its argument prototype would still apply. */
84575 char $ac_func ();
84576 /* The GNU C library defines this for functions which it implements
84577 to always fail with ENOSYS. Some functions are actually named
84578 something starting with __ and the normal name is an alias. */
84579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84580 choke me
84581 #else
84582 char (*f) () = $ac_func;
84583 #endif
84584 #ifdef __cplusplus
84586 #endif
84589 main ()
84591 return f != $ac_func;
84593 return 0;
84595 _ACEOF
84596 rm -f conftest.$ac_objext conftest$ac_exeext
84597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84598 (eval $ac_link) 2>conftest.er1
84599 ac_status=$?
84600 grep -v '^ *+' conftest.er1 >conftest.err
84601 rm -f conftest.er1
84602 cat conftest.err >&5
84603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84604 (exit $ac_status); } &&
84605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84607 (eval $ac_try) 2>&5
84608 ac_status=$?
84609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84610 (exit $ac_status); }; } &&
84611 { ac_try='test -s conftest$ac_exeext'
84612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84613 (eval $ac_try) 2>&5
84614 ac_status=$?
84615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84616 (exit $ac_status); }; }; then
84617 eval "$as_ac_var=yes"
84618 else
84619 echo "$as_me: failed program was:" >&5
84620 sed 's/^/| /' conftest.$ac_ext >&5
84622 eval "$as_ac_var=no"
84624 rm -f conftest.err conftest.$ac_objext \
84625 conftest$ac_exeext conftest.$ac_ext
84627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84629 if test `eval echo '${'$as_ac_var'}'` = yes; then
84630 cat >>confdefs.h <<_ACEOF
84631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84632 _ACEOF
84634 else
84635 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84637 done
84640 if test x$ac_cv_func_copysignl = x"yes"; then
84642 for ac_func in __signbitl
84644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84645 echo "$as_me:$LINENO: checking for $ac_func" >&5
84646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84647 if eval "test \"\${$as_ac_var+set}\" = set"; then
84648 echo $ECHO_N "(cached) $ECHO_C" >&6
84649 else
84650 if test x$gcc_no_link = xyes; then
84651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84653 { (exit 1); exit 1; }; }
84655 cat >conftest.$ac_ext <<_ACEOF
84656 /* confdefs.h. */
84657 _ACEOF
84658 cat confdefs.h >>conftest.$ac_ext
84659 cat >>conftest.$ac_ext <<_ACEOF
84660 /* end confdefs.h. */
84661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84663 #define $ac_func innocuous_$ac_func
84665 /* System header to define __stub macros and hopefully few prototypes,
84666 which can conflict with char $ac_func (); below.
84667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84668 <limits.h> exists even on freestanding compilers. */
84670 #ifdef __STDC__
84671 # include <limits.h>
84672 #else
84673 # include <assert.h>
84674 #endif
84676 #undef $ac_func
84678 /* Override any gcc2 internal prototype to avoid an error. */
84679 #ifdef __cplusplus
84680 extern "C"
84682 #endif
84683 /* We use char because int might match the return type of a gcc2
84684 builtin and then its argument prototype would still apply. */
84685 char $ac_func ();
84686 /* The GNU C library defines this for functions which it implements
84687 to always fail with ENOSYS. Some functions are actually named
84688 something starting with __ and the normal name is an alias. */
84689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84690 choke me
84691 #else
84692 char (*f) () = $ac_func;
84693 #endif
84694 #ifdef __cplusplus
84696 #endif
84699 main ()
84701 return f != $ac_func;
84703 return 0;
84705 _ACEOF
84706 rm -f conftest.$ac_objext conftest$ac_exeext
84707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84708 (eval $ac_link) 2>conftest.er1
84709 ac_status=$?
84710 grep -v '^ *+' conftest.er1 >conftest.err
84711 rm -f conftest.er1
84712 cat conftest.err >&5
84713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84714 (exit $ac_status); } &&
84715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84717 (eval $ac_try) 2>&5
84718 ac_status=$?
84719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84720 (exit $ac_status); }; } &&
84721 { ac_try='test -s conftest$ac_exeext'
84722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84723 (eval $ac_try) 2>&5
84724 ac_status=$?
84725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84726 (exit $ac_status); }; }; then
84727 eval "$as_ac_var=yes"
84728 else
84729 echo "$as_me: failed program was:" >&5
84730 sed 's/^/| /' conftest.$ac_ext >&5
84732 eval "$as_ac_var=no"
84734 rm -f conftest.err conftest.$ac_objext \
84735 conftest$ac_exeext conftest.$ac_ext
84737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84739 if test `eval echo '${'$as_ac_var'}'` = yes; then
84740 cat >>confdefs.h <<_ACEOF
84741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84742 _ACEOF
84744 else
84745 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84747 done
84751 # Used in libmath/Makefile.am.
84752 if test -n "$LIBMATHOBJS"; then
84753 need_libmath=yes
84758 # Test wchar.h for mbstate_t, which is needed for char_traits and
84759 # others even if wchar_t support is not on.
84760 echo "$as_me:$LINENO: checking for mbstate_t" >&5
84761 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
84762 cat >conftest.$ac_ext <<_ACEOF
84763 /* confdefs.h. */
84764 _ACEOF
84765 cat confdefs.h >>conftest.$ac_ext
84766 cat >>conftest.$ac_ext <<_ACEOF
84767 /* end confdefs.h. */
84768 #include <wchar.h>
84770 main ()
84772 mbstate_t teststate;
84774 return 0;
84776 _ACEOF
84777 rm -f conftest.$ac_objext
84778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84779 (eval $ac_compile) 2>conftest.er1
84780 ac_status=$?
84781 grep -v '^ *+' conftest.er1 >conftest.err
84782 rm -f conftest.er1
84783 cat conftest.err >&5
84784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84785 (exit $ac_status); } &&
84786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84788 (eval $ac_try) 2>&5
84789 ac_status=$?
84790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84791 (exit $ac_status); }; } &&
84792 { ac_try='test -s conftest.$ac_objext'
84793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84794 (eval $ac_try) 2>&5
84795 ac_status=$?
84796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84797 (exit $ac_status); }; }; then
84798 have_mbstate_t=yes
84799 else
84800 echo "$as_me: failed program was:" >&5
84801 sed 's/^/| /' conftest.$ac_ext >&5
84803 have_mbstate_t=no
84805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84806 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
84807 echo "${ECHO_T}$have_mbstate_t" >&6
84808 if test x"$have_mbstate_t" = xyes; then
84809 cat >>confdefs.h <<\_ACEOF
84810 #define HAVE_MBSTATE_T 1
84811 _ACEOF
84815 # Sanity check for existence of ISO C99 headers for extended encoding.
84817 for ac_header in wchar.h
84819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84821 echo "$as_me:$LINENO: checking for $ac_header" >&5
84822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84824 echo $ECHO_N "(cached) $ECHO_C" >&6
84826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84828 else
84829 # Is the header compilable?
84830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84832 cat >conftest.$ac_ext <<_ACEOF
84833 /* confdefs.h. */
84834 _ACEOF
84835 cat confdefs.h >>conftest.$ac_ext
84836 cat >>conftest.$ac_ext <<_ACEOF
84837 /* end confdefs.h. */
84838 $ac_includes_default
84839 #include <$ac_header>
84840 _ACEOF
84841 rm -f conftest.$ac_objext
84842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84843 (eval $ac_compile) 2>conftest.er1
84844 ac_status=$?
84845 grep -v '^ *+' conftest.er1 >conftest.err
84846 rm -f conftest.er1
84847 cat conftest.err >&5
84848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84849 (exit $ac_status); } &&
84850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84852 (eval $ac_try) 2>&5
84853 ac_status=$?
84854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84855 (exit $ac_status); }; } &&
84856 { ac_try='test -s conftest.$ac_objext'
84857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84858 (eval $ac_try) 2>&5
84859 ac_status=$?
84860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84861 (exit $ac_status); }; }; then
84862 ac_header_compiler=yes
84863 else
84864 echo "$as_me: failed program was:" >&5
84865 sed 's/^/| /' conftest.$ac_ext >&5
84867 ac_header_compiler=no
84869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84871 echo "${ECHO_T}$ac_header_compiler" >&6
84873 # Is the header present?
84874 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84876 cat >conftest.$ac_ext <<_ACEOF
84877 /* confdefs.h. */
84878 _ACEOF
84879 cat confdefs.h >>conftest.$ac_ext
84880 cat >>conftest.$ac_ext <<_ACEOF
84881 /* end confdefs.h. */
84882 #include <$ac_header>
84883 _ACEOF
84884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84886 ac_status=$?
84887 grep -v '^ *+' conftest.er1 >conftest.err
84888 rm -f conftest.er1
84889 cat conftest.err >&5
84890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84891 (exit $ac_status); } >/dev/null; then
84892 if test -s conftest.err; then
84893 ac_cpp_err=$ac_c_preproc_warn_flag
84894 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84895 else
84896 ac_cpp_err=
84898 else
84899 ac_cpp_err=yes
84901 if test -z "$ac_cpp_err"; then
84902 ac_header_preproc=yes
84903 else
84904 echo "$as_me: failed program was:" >&5
84905 sed 's/^/| /' conftest.$ac_ext >&5
84907 ac_header_preproc=no
84909 rm -f conftest.err conftest.$ac_ext
84910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84911 echo "${ECHO_T}$ac_header_preproc" >&6
84913 # So? What about this header?
84914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84915 yes:no: )
84916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84919 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84920 ac_header_preproc=yes
84922 no:yes:* )
84923 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84924 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84925 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84926 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84927 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84928 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84929 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84930 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84933 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84934 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84936 cat <<\_ASBOX
84937 ## ----------------------------------------- ##
84938 ## Report this to the package-unused lists. ##
84939 ## ----------------------------------------- ##
84940 _ASBOX
84942 sed "s/^/$as_me: WARNING: /" >&2
84944 esac
84945 echo "$as_me:$LINENO: checking for $ac_header" >&5
84946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84948 echo $ECHO_N "(cached) $ECHO_C" >&6
84949 else
84950 eval "$as_ac_Header=\$ac_header_preproc"
84952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84957 cat >>confdefs.h <<_ACEOF
84958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84959 _ACEOF
84960 ac_has_wchar_h=yes
84961 else
84962 ac_has_wchar_h=no
84965 done
84968 for ac_header in wctype.h
84970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84972 echo "$as_me:$LINENO: checking for $ac_header" >&5
84973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84975 echo $ECHO_N "(cached) $ECHO_C" >&6
84977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84979 else
84980 # Is the header compilable?
84981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84983 cat >conftest.$ac_ext <<_ACEOF
84984 /* confdefs.h. */
84985 _ACEOF
84986 cat confdefs.h >>conftest.$ac_ext
84987 cat >>conftest.$ac_ext <<_ACEOF
84988 /* end confdefs.h. */
84989 $ac_includes_default
84990 #include <$ac_header>
84991 _ACEOF
84992 rm -f conftest.$ac_objext
84993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84994 (eval $ac_compile) 2>conftest.er1
84995 ac_status=$?
84996 grep -v '^ *+' conftest.er1 >conftest.err
84997 rm -f conftest.er1
84998 cat conftest.err >&5
84999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000 (exit $ac_status); } &&
85001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85003 (eval $ac_try) 2>&5
85004 ac_status=$?
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); }; } &&
85007 { ac_try='test -s conftest.$ac_objext'
85008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85009 (eval $ac_try) 2>&5
85010 ac_status=$?
85011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85012 (exit $ac_status); }; }; then
85013 ac_header_compiler=yes
85014 else
85015 echo "$as_me: failed program was:" >&5
85016 sed 's/^/| /' conftest.$ac_ext >&5
85018 ac_header_compiler=no
85020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85022 echo "${ECHO_T}$ac_header_compiler" >&6
85024 # Is the header present?
85025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85027 cat >conftest.$ac_ext <<_ACEOF
85028 /* confdefs.h. */
85029 _ACEOF
85030 cat confdefs.h >>conftest.$ac_ext
85031 cat >>conftest.$ac_ext <<_ACEOF
85032 /* end confdefs.h. */
85033 #include <$ac_header>
85034 _ACEOF
85035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85037 ac_status=$?
85038 grep -v '^ *+' conftest.er1 >conftest.err
85039 rm -f conftest.er1
85040 cat conftest.err >&5
85041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85042 (exit $ac_status); } >/dev/null; then
85043 if test -s conftest.err; then
85044 ac_cpp_err=$ac_c_preproc_warn_flag
85045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85046 else
85047 ac_cpp_err=
85049 else
85050 ac_cpp_err=yes
85052 if test -z "$ac_cpp_err"; then
85053 ac_header_preproc=yes
85054 else
85055 echo "$as_me: failed program was:" >&5
85056 sed 's/^/| /' conftest.$ac_ext >&5
85058 ac_header_preproc=no
85060 rm -f conftest.err conftest.$ac_ext
85061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85062 echo "${ECHO_T}$ac_header_preproc" >&6
85064 # So? What about this header?
85065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85066 yes:no: )
85067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85071 ac_header_preproc=yes
85073 no:yes:* )
85074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85087 cat <<\_ASBOX
85088 ## ----------------------------------------- ##
85089 ## Report this to the package-unused lists. ##
85090 ## ----------------------------------------- ##
85091 _ASBOX
85093 sed "s/^/$as_me: WARNING: /" >&2
85095 esac
85096 echo "$as_me:$LINENO: checking for $ac_header" >&5
85097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85099 echo $ECHO_N "(cached) $ECHO_C" >&6
85100 else
85101 eval "$as_ac_Header=\$ac_header_preproc"
85103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85108 cat >>confdefs.h <<_ACEOF
85109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85110 _ACEOF
85111 ac_has_wctype_h=yes
85112 else
85113 ac_has_wctype_h=no
85116 done
85119 # Only continue checking if the ISO C99 headers exist and support is on.
85120 if test x"$ac_has_wchar_h" = xyes &&
85121 test x"$ac_has_wctype_h" = xyes &&
85122 test x"$enable_c_mbchar" != xno; then
85124 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
85125 # numeric_limits can instantiate type_traits<wchar_t>
85126 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
85127 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
85128 cat >conftest.$ac_ext <<_ACEOF
85129 /* confdefs.h. */
85130 _ACEOF
85131 cat confdefs.h >>conftest.$ac_ext
85132 cat >>conftest.$ac_ext <<_ACEOF
85133 /* end confdefs.h. */
85134 #include <wchar.h>
85136 main ()
85138 int i = WCHAR_MIN; int j = WCHAR_MAX;
85140 return 0;
85142 _ACEOF
85143 rm -f conftest.$ac_objext
85144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85145 (eval $ac_compile) 2>conftest.er1
85146 ac_status=$?
85147 grep -v '^ *+' conftest.er1 >conftest.err
85148 rm -f conftest.er1
85149 cat conftest.err >&5
85150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85151 (exit $ac_status); } &&
85152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85154 (eval $ac_try) 2>&5
85155 ac_status=$?
85156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85157 (exit $ac_status); }; } &&
85158 { ac_try='test -s conftest.$ac_objext'
85159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85160 (eval $ac_try) 2>&5
85161 ac_status=$?
85162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85163 (exit $ac_status); }; }; then
85164 has_wchar_minmax=yes
85165 else
85166 echo "$as_me: failed program was:" >&5
85167 sed 's/^/| /' conftest.$ac_ext >&5
85169 has_wchar_minmax=no
85171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85172 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
85173 echo "${ECHO_T}$has_wchar_minmax" >&6
85175 # Test wchar.h for WEOF, which is what we use to determine whether
85176 # to specialize for char_traits<wchar_t> or not.
85177 echo "$as_me:$LINENO: checking for WEOF" >&5
85178 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
85179 cat >conftest.$ac_ext <<_ACEOF
85180 /* confdefs.h. */
85181 _ACEOF
85182 cat confdefs.h >>conftest.$ac_ext
85183 cat >>conftest.$ac_ext <<_ACEOF
85184 /* end confdefs.h. */
85186 #include <wchar.h>
85187 #include <stddef.h>
85189 main ()
85191 wint_t i = WEOF;
85193 return 0;
85195 _ACEOF
85196 rm -f conftest.$ac_objext
85197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85198 (eval $ac_compile) 2>conftest.er1
85199 ac_status=$?
85200 grep -v '^ *+' conftest.er1 >conftest.err
85201 rm -f conftest.er1
85202 cat conftest.err >&5
85203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85204 (exit $ac_status); } &&
85205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85207 (eval $ac_try) 2>&5
85208 ac_status=$?
85209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85210 (exit $ac_status); }; } &&
85211 { ac_try='test -s conftest.$ac_objext'
85212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85213 (eval $ac_try) 2>&5
85214 ac_status=$?
85215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216 (exit $ac_status); }; }; then
85217 has_weof=yes
85218 else
85219 echo "$as_me: failed program was:" >&5
85220 sed 's/^/| /' conftest.$ac_ext >&5
85222 has_weof=no
85224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85225 echo "$as_me:$LINENO: result: $has_weof" >&5
85226 echo "${ECHO_T}$has_weof" >&6
85228 # Tests for wide character functions used in char_traits<wchar_t>.
85229 ac_wfuncs=yes
85236 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
85238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85239 echo "$as_me:$LINENO: checking for $ac_func" >&5
85240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85241 if eval "test \"\${$as_ac_var+set}\" = set"; then
85242 echo $ECHO_N "(cached) $ECHO_C" >&6
85243 else
85244 if test x$gcc_no_link = xyes; then
85245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85247 { (exit 1); exit 1; }; }
85249 cat >conftest.$ac_ext <<_ACEOF
85250 /* confdefs.h. */
85251 _ACEOF
85252 cat confdefs.h >>conftest.$ac_ext
85253 cat >>conftest.$ac_ext <<_ACEOF
85254 /* end confdefs.h. */
85255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85257 #define $ac_func innocuous_$ac_func
85259 /* System header to define __stub macros and hopefully few prototypes,
85260 which can conflict with char $ac_func (); below.
85261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85262 <limits.h> exists even on freestanding compilers. */
85264 #ifdef __STDC__
85265 # include <limits.h>
85266 #else
85267 # include <assert.h>
85268 #endif
85270 #undef $ac_func
85272 /* Override any gcc2 internal prototype to avoid an error. */
85273 #ifdef __cplusplus
85274 extern "C"
85276 #endif
85277 /* We use char because int might match the return type of a gcc2
85278 builtin and then its argument prototype would still apply. */
85279 char $ac_func ();
85280 /* The GNU C library defines this for functions which it implements
85281 to always fail with ENOSYS. Some functions are actually named
85282 something starting with __ and the normal name is an alias. */
85283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85284 choke me
85285 #else
85286 char (*f) () = $ac_func;
85287 #endif
85288 #ifdef __cplusplus
85290 #endif
85293 main ()
85295 return f != $ac_func;
85297 return 0;
85299 _ACEOF
85300 rm -f conftest.$ac_objext conftest$ac_exeext
85301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85302 (eval $ac_link) 2>conftest.er1
85303 ac_status=$?
85304 grep -v '^ *+' conftest.er1 >conftest.err
85305 rm -f conftest.er1
85306 cat conftest.err >&5
85307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85308 (exit $ac_status); } &&
85309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85311 (eval $ac_try) 2>&5
85312 ac_status=$?
85313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85314 (exit $ac_status); }; } &&
85315 { ac_try='test -s conftest$ac_exeext'
85316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85317 (eval $ac_try) 2>&5
85318 ac_status=$?
85319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85320 (exit $ac_status); }; }; then
85321 eval "$as_ac_var=yes"
85322 else
85323 echo "$as_me: failed program was:" >&5
85324 sed 's/^/| /' conftest.$ac_ext >&5
85326 eval "$as_ac_var=no"
85328 rm -f conftest.err conftest.$ac_objext \
85329 conftest$ac_exeext conftest.$ac_ext
85331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85333 if test `eval echo '${'$as_ac_var'}'` = yes; then
85334 cat >>confdefs.h <<_ACEOF
85335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85336 _ACEOF
85338 else
85339 ac_wfuncs=no
85341 done
85344 # Checks for names injected into std:: by the c_std headers.
85391 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
85392 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
85393 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
85394 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
85395 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
85396 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
85398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85399 echo "$as_me:$LINENO: checking for $ac_func" >&5
85400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85401 if eval "test \"\${$as_ac_var+set}\" = set"; then
85402 echo $ECHO_N "(cached) $ECHO_C" >&6
85403 else
85404 if test x$gcc_no_link = xyes; then
85405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85407 { (exit 1); exit 1; }; }
85409 cat >conftest.$ac_ext <<_ACEOF
85410 /* confdefs.h. */
85411 _ACEOF
85412 cat confdefs.h >>conftest.$ac_ext
85413 cat >>conftest.$ac_ext <<_ACEOF
85414 /* end confdefs.h. */
85415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85417 #define $ac_func innocuous_$ac_func
85419 /* System header to define __stub macros and hopefully few prototypes,
85420 which can conflict with char $ac_func (); below.
85421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85422 <limits.h> exists even on freestanding compilers. */
85424 #ifdef __STDC__
85425 # include <limits.h>
85426 #else
85427 # include <assert.h>
85428 #endif
85430 #undef $ac_func
85432 /* Override any gcc2 internal prototype to avoid an error. */
85433 #ifdef __cplusplus
85434 extern "C"
85436 #endif
85437 /* We use char because int might match the return type of a gcc2
85438 builtin and then its argument prototype would still apply. */
85439 char $ac_func ();
85440 /* The GNU C library defines this for functions which it implements
85441 to always fail with ENOSYS. Some functions are actually named
85442 something starting with __ and the normal name is an alias. */
85443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85444 choke me
85445 #else
85446 char (*f) () = $ac_func;
85447 #endif
85448 #ifdef __cplusplus
85450 #endif
85453 main ()
85455 return f != $ac_func;
85457 return 0;
85459 _ACEOF
85460 rm -f conftest.$ac_objext conftest$ac_exeext
85461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85462 (eval $ac_link) 2>conftest.er1
85463 ac_status=$?
85464 grep -v '^ *+' conftest.er1 >conftest.err
85465 rm -f conftest.er1
85466 cat conftest.err >&5
85467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85468 (exit $ac_status); } &&
85469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85471 (eval $ac_try) 2>&5
85472 ac_status=$?
85473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85474 (exit $ac_status); }; } &&
85475 { ac_try='test -s conftest$ac_exeext'
85476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85477 (eval $ac_try) 2>&5
85478 ac_status=$?
85479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85480 (exit $ac_status); }; }; then
85481 eval "$as_ac_var=yes"
85482 else
85483 echo "$as_me: failed program was:" >&5
85484 sed 's/^/| /' conftest.$ac_ext >&5
85486 eval "$as_ac_var=no"
85488 rm -f conftest.err conftest.$ac_objext \
85489 conftest$ac_exeext conftest.$ac_ext
85491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85493 if test `eval echo '${'$as_ac_var'}'` = yes; then
85494 cat >>confdefs.h <<_ACEOF
85495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85496 _ACEOF
85498 else
85499 ac_wfuncs=no
85501 done
85504 # Checks for wide character functions that are not required
85505 # for basic wchar_t support. Don't disable support if they are missing.
85506 # Injection of these is wrapped with guard macros.
85512 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
85514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85515 echo "$as_me:$LINENO: checking for $ac_func" >&5
85516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85517 if eval "test \"\${$as_ac_var+set}\" = set"; then
85518 echo $ECHO_N "(cached) $ECHO_C" >&6
85519 else
85520 if test x$gcc_no_link = xyes; then
85521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85523 { (exit 1); exit 1; }; }
85525 cat >conftest.$ac_ext <<_ACEOF
85526 /* confdefs.h. */
85527 _ACEOF
85528 cat confdefs.h >>conftest.$ac_ext
85529 cat >>conftest.$ac_ext <<_ACEOF
85530 /* end confdefs.h. */
85531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85533 #define $ac_func innocuous_$ac_func
85535 /* System header to define __stub macros and hopefully few prototypes,
85536 which can conflict with char $ac_func (); below.
85537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85538 <limits.h> exists even on freestanding compilers. */
85540 #ifdef __STDC__
85541 # include <limits.h>
85542 #else
85543 # include <assert.h>
85544 #endif
85546 #undef $ac_func
85548 /* Override any gcc2 internal prototype to avoid an error. */
85549 #ifdef __cplusplus
85550 extern "C"
85552 #endif
85553 /* We use char because int might match the return type of a gcc2
85554 builtin and then its argument prototype would still apply. */
85555 char $ac_func ();
85556 /* The GNU C library defines this for functions which it implements
85557 to always fail with ENOSYS. Some functions are actually named
85558 something starting with __ and the normal name is an alias. */
85559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85560 choke me
85561 #else
85562 char (*f) () = $ac_func;
85563 #endif
85564 #ifdef __cplusplus
85566 #endif
85569 main ()
85571 return f != $ac_func;
85573 return 0;
85575 _ACEOF
85576 rm -f conftest.$ac_objext conftest$ac_exeext
85577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85578 (eval $ac_link) 2>conftest.er1
85579 ac_status=$?
85580 grep -v '^ *+' conftest.er1 >conftest.err
85581 rm -f conftest.er1
85582 cat conftest.err >&5
85583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85584 (exit $ac_status); } &&
85585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85587 (eval $ac_try) 2>&5
85588 ac_status=$?
85589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85590 (exit $ac_status); }; } &&
85591 { ac_try='test -s conftest$ac_exeext'
85592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85593 (eval $ac_try) 2>&5
85594 ac_status=$?
85595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85596 (exit $ac_status); }; }; then
85597 eval "$as_ac_var=yes"
85598 else
85599 echo "$as_me: failed program was:" >&5
85600 sed 's/^/| /' conftest.$ac_ext >&5
85602 eval "$as_ac_var=no"
85604 rm -f conftest.err conftest.$ac_objext \
85605 conftest$ac_exeext conftest.$ac_ext
85607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85609 if test `eval echo '${'$as_ac_var'}'` = yes; then
85610 cat >>confdefs.h <<_ACEOF
85611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85612 _ACEOF
85615 done
85618 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
85619 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
85620 if test x"$has_weof" = xyes &&
85621 test x"$has_wchar_minmax" = xyes &&
85622 test x"$ac_wfuncs" = xyes;
85623 then
85624 ac_isoC99_wchar_t=yes
85625 else
85626 ac_isoC99_wchar_t=no
85628 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
85629 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
85631 # Use iconv for wchar_t to char conversions. As such, check for
85632 # X/Open Portability Guide, version 2 features (XPG2).
85633 if test "${ac_cv_header_iconv_h+set}" = set; then
85634 echo "$as_me:$LINENO: checking for iconv.h" >&5
85635 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85636 if test "${ac_cv_header_iconv_h+set}" = set; then
85637 echo $ECHO_N "(cached) $ECHO_C" >&6
85639 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85640 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85641 else
85642 # Is the header compilable?
85643 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85644 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85645 cat >conftest.$ac_ext <<_ACEOF
85646 /* confdefs.h. */
85647 _ACEOF
85648 cat confdefs.h >>conftest.$ac_ext
85649 cat >>conftest.$ac_ext <<_ACEOF
85650 /* end confdefs.h. */
85651 $ac_includes_default
85652 #include <iconv.h>
85653 _ACEOF
85654 rm -f conftest.$ac_objext
85655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85656 (eval $ac_compile) 2>conftest.er1
85657 ac_status=$?
85658 grep -v '^ *+' conftest.er1 >conftest.err
85659 rm -f conftest.er1
85660 cat conftest.err >&5
85661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85662 (exit $ac_status); } &&
85663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85665 (eval $ac_try) 2>&5
85666 ac_status=$?
85667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85668 (exit $ac_status); }; } &&
85669 { ac_try='test -s conftest.$ac_objext'
85670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85671 (eval $ac_try) 2>&5
85672 ac_status=$?
85673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85674 (exit $ac_status); }; }; then
85675 ac_header_compiler=yes
85676 else
85677 echo "$as_me: failed program was:" >&5
85678 sed 's/^/| /' conftest.$ac_ext >&5
85680 ac_header_compiler=no
85682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85684 echo "${ECHO_T}$ac_header_compiler" >&6
85686 # Is the header present?
85687 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85688 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85689 cat >conftest.$ac_ext <<_ACEOF
85690 /* confdefs.h. */
85691 _ACEOF
85692 cat confdefs.h >>conftest.$ac_ext
85693 cat >>conftest.$ac_ext <<_ACEOF
85694 /* end confdefs.h. */
85695 #include <iconv.h>
85696 _ACEOF
85697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85699 ac_status=$?
85700 grep -v '^ *+' conftest.er1 >conftest.err
85701 rm -f conftest.er1
85702 cat conftest.err >&5
85703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85704 (exit $ac_status); } >/dev/null; then
85705 if test -s conftest.err; then
85706 ac_cpp_err=$ac_c_preproc_warn_flag
85707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85708 else
85709 ac_cpp_err=
85711 else
85712 ac_cpp_err=yes
85714 if test -z "$ac_cpp_err"; then
85715 ac_header_preproc=yes
85716 else
85717 echo "$as_me: failed program was:" >&5
85718 sed 's/^/| /' conftest.$ac_ext >&5
85720 ac_header_preproc=no
85722 rm -f conftest.err conftest.$ac_ext
85723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85724 echo "${ECHO_T}$ac_header_preproc" >&6
85726 # So? What about this header?
85727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85728 yes:no: )
85729 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85730 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85731 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85732 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85733 ac_header_preproc=yes
85735 no:yes:* )
85736 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85737 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85738 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85739 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85740 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85741 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85742 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85743 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85744 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85745 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85746 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85747 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85749 cat <<\_ASBOX
85750 ## ----------------------------------------- ##
85751 ## Report this to the package-unused lists. ##
85752 ## ----------------------------------------- ##
85753 _ASBOX
85755 sed "s/^/$as_me: WARNING: /" >&2
85757 esac
85758 echo "$as_me:$LINENO: checking for iconv.h" >&5
85759 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85760 if test "${ac_cv_header_iconv_h+set}" = set; then
85761 echo $ECHO_N "(cached) $ECHO_C" >&6
85762 else
85763 ac_cv_header_iconv_h=$ac_header_preproc
85765 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85766 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85769 if test $ac_cv_header_iconv_h = yes; then
85770 ac_has_iconv_h=yes
85771 else
85772 ac_has_iconv_h=no
85776 if test "${ac_cv_header_langinfo_h+set}" = set; then
85777 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85778 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85779 if test "${ac_cv_header_langinfo_h+set}" = set; then
85780 echo $ECHO_N "(cached) $ECHO_C" >&6
85782 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85783 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85784 else
85785 # Is the header compilable?
85786 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85787 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85788 cat >conftest.$ac_ext <<_ACEOF
85789 /* confdefs.h. */
85790 _ACEOF
85791 cat confdefs.h >>conftest.$ac_ext
85792 cat >>conftest.$ac_ext <<_ACEOF
85793 /* end confdefs.h. */
85794 $ac_includes_default
85795 #include <langinfo.h>
85796 _ACEOF
85797 rm -f conftest.$ac_objext
85798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85799 (eval $ac_compile) 2>conftest.er1
85800 ac_status=$?
85801 grep -v '^ *+' conftest.er1 >conftest.err
85802 rm -f conftest.er1
85803 cat conftest.err >&5
85804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85805 (exit $ac_status); } &&
85806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85808 (eval $ac_try) 2>&5
85809 ac_status=$?
85810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85811 (exit $ac_status); }; } &&
85812 { ac_try='test -s conftest.$ac_objext'
85813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85814 (eval $ac_try) 2>&5
85815 ac_status=$?
85816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85817 (exit $ac_status); }; }; then
85818 ac_header_compiler=yes
85819 else
85820 echo "$as_me: failed program was:" >&5
85821 sed 's/^/| /' conftest.$ac_ext >&5
85823 ac_header_compiler=no
85825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85827 echo "${ECHO_T}$ac_header_compiler" >&6
85829 # Is the header present?
85830 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85831 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85832 cat >conftest.$ac_ext <<_ACEOF
85833 /* confdefs.h. */
85834 _ACEOF
85835 cat confdefs.h >>conftest.$ac_ext
85836 cat >>conftest.$ac_ext <<_ACEOF
85837 /* end confdefs.h. */
85838 #include <langinfo.h>
85839 _ACEOF
85840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85841 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85842 ac_status=$?
85843 grep -v '^ *+' conftest.er1 >conftest.err
85844 rm -f conftest.er1
85845 cat conftest.err >&5
85846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85847 (exit $ac_status); } >/dev/null; then
85848 if test -s conftest.err; then
85849 ac_cpp_err=$ac_c_preproc_warn_flag
85850 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85851 else
85852 ac_cpp_err=
85854 else
85855 ac_cpp_err=yes
85857 if test -z "$ac_cpp_err"; then
85858 ac_header_preproc=yes
85859 else
85860 echo "$as_me: failed program was:" >&5
85861 sed 's/^/| /' conftest.$ac_ext >&5
85863 ac_header_preproc=no
85865 rm -f conftest.err conftest.$ac_ext
85866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85867 echo "${ECHO_T}$ac_header_preproc" >&6
85869 # So? What about this header?
85870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85871 yes:no: )
85872 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85873 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85874 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85875 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85876 ac_header_preproc=yes
85878 no:yes:* )
85879 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85880 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85881 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85882 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85883 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85884 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85885 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85886 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85887 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85888 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85889 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85890 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85892 cat <<\_ASBOX
85893 ## ----------------------------------------- ##
85894 ## Report this to the package-unused lists. ##
85895 ## ----------------------------------------- ##
85896 _ASBOX
85898 sed "s/^/$as_me: WARNING: /" >&2
85900 esac
85901 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85902 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85903 if test "${ac_cv_header_langinfo_h+set}" = set; then
85904 echo $ECHO_N "(cached) $ECHO_C" >&6
85905 else
85906 ac_cv_header_langinfo_h=$ac_header_preproc
85908 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85909 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85912 if test $ac_cv_header_langinfo_h = yes; then
85913 ac_has_langinfo_h=yes
85914 else
85915 ac_has_langinfo_h=no
85920 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85921 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85922 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85923 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85924 echo $ECHO_N "(cached) $ECHO_C" >&6
85925 else
85926 ac_check_lib_save_LIBS=$LIBS
85927 LIBS="-liconv $LIBS"
85928 if test x$gcc_no_link = xyes; then
85929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85931 { (exit 1); exit 1; }; }
85933 cat >conftest.$ac_ext <<_ACEOF
85934 /* confdefs.h. */
85935 _ACEOF
85936 cat confdefs.h >>conftest.$ac_ext
85937 cat >>conftest.$ac_ext <<_ACEOF
85938 /* end confdefs.h. */
85940 /* Override any gcc2 internal prototype to avoid an error. */
85941 #ifdef __cplusplus
85942 extern "C"
85943 #endif
85944 /* We use char because int might match the return type of a gcc2
85945 builtin and then its argument prototype would still apply. */
85946 char iconv ();
85948 main ()
85950 iconv ();
85952 return 0;
85954 _ACEOF
85955 rm -f conftest.$ac_objext conftest$ac_exeext
85956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85957 (eval $ac_link) 2>conftest.er1
85958 ac_status=$?
85959 grep -v '^ *+' conftest.er1 >conftest.err
85960 rm -f conftest.er1
85961 cat conftest.err >&5
85962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85963 (exit $ac_status); } &&
85964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85966 (eval $ac_try) 2>&5
85967 ac_status=$?
85968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85969 (exit $ac_status); }; } &&
85970 { ac_try='test -s conftest$ac_exeext'
85971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85972 (eval $ac_try) 2>&5
85973 ac_status=$?
85974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975 (exit $ac_status); }; }; then
85976 ac_cv_lib_iconv_iconv=yes
85977 else
85978 echo "$as_me: failed program was:" >&5
85979 sed 's/^/| /' conftest.$ac_ext >&5
85981 ac_cv_lib_iconv_iconv=no
85983 rm -f conftest.err conftest.$ac_objext \
85984 conftest$ac_exeext conftest.$ac_ext
85985 LIBS=$ac_check_lib_save_LIBS
85987 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85988 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85989 if test $ac_cv_lib_iconv_iconv = yes; then
85990 LIBICONV="-liconv"
85993 ac_save_LIBS="$LIBS"
85994 LIBS="$LIBS $LIBICONV"
86001 for ac_func in iconv_open iconv_close iconv nl_langinfo
86003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86004 echo "$as_me:$LINENO: checking for $ac_func" >&5
86005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86006 if eval "test \"\${$as_ac_var+set}\" = set"; then
86007 echo $ECHO_N "(cached) $ECHO_C" >&6
86008 else
86009 if test x$gcc_no_link = xyes; then
86010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86012 { (exit 1); exit 1; }; }
86014 cat >conftest.$ac_ext <<_ACEOF
86015 /* confdefs.h. */
86016 _ACEOF
86017 cat confdefs.h >>conftest.$ac_ext
86018 cat >>conftest.$ac_ext <<_ACEOF
86019 /* end confdefs.h. */
86020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86022 #define $ac_func innocuous_$ac_func
86024 /* System header to define __stub macros and hopefully few prototypes,
86025 which can conflict with char $ac_func (); below.
86026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86027 <limits.h> exists even on freestanding compilers. */
86029 #ifdef __STDC__
86030 # include <limits.h>
86031 #else
86032 # include <assert.h>
86033 #endif
86035 #undef $ac_func
86037 /* Override any gcc2 internal prototype to avoid an error. */
86038 #ifdef __cplusplus
86039 extern "C"
86041 #endif
86042 /* We use char because int might match the return type of a gcc2
86043 builtin and then its argument prototype would still apply. */
86044 char $ac_func ();
86045 /* The GNU C library defines this for functions which it implements
86046 to always fail with ENOSYS. Some functions are actually named
86047 something starting with __ and the normal name is an alias. */
86048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86049 choke me
86050 #else
86051 char (*f) () = $ac_func;
86052 #endif
86053 #ifdef __cplusplus
86055 #endif
86058 main ()
86060 return f != $ac_func;
86062 return 0;
86064 _ACEOF
86065 rm -f conftest.$ac_objext conftest$ac_exeext
86066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86067 (eval $ac_link) 2>conftest.er1
86068 ac_status=$?
86069 grep -v '^ *+' conftest.er1 >conftest.err
86070 rm -f conftest.er1
86071 cat conftest.err >&5
86072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86073 (exit $ac_status); } &&
86074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86076 (eval $ac_try) 2>&5
86077 ac_status=$?
86078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86079 (exit $ac_status); }; } &&
86080 { ac_try='test -s conftest$ac_exeext'
86081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86082 (eval $ac_try) 2>&5
86083 ac_status=$?
86084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86085 (exit $ac_status); }; }; then
86086 eval "$as_ac_var=yes"
86087 else
86088 echo "$as_me: failed program was:" >&5
86089 sed 's/^/| /' conftest.$ac_ext >&5
86091 eval "$as_ac_var=no"
86093 rm -f conftest.err conftest.$ac_objext \
86094 conftest$ac_exeext conftest.$ac_ext
86096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86098 if test `eval echo '${'$as_ac_var'}'` = yes; then
86099 cat >>confdefs.h <<_ACEOF
86100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86101 _ACEOF
86102 ac_XPG2funcs=yes
86103 else
86104 ac_XPG2funcs=no
86106 done
86109 LIBS="$ac_save_LIBS"
86111 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86112 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
86113 if test x"$ac_has_iconv_h" = xyes &&
86114 test x"$ac_has_langinfo_h" = xyes &&
86115 test x"$ac_XPG2funcs" = xyes;
86116 then
86117 ac_XPG2_wchar_t=yes
86118 else
86119 ac_XPG2_wchar_t=no
86121 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
86122 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
86124 # At the moment, only enable wchar_t specializations if all the
86125 # above support is present.
86126 if test x"$ac_isoC99_wchar_t" = xyes &&
86127 test x"$ac_XPG2_wchar_t" = xyes;
86128 then
86129 cat >>confdefs.h <<\_ACEOF
86130 #define _GLIBCXX_USE_WCHAR_T 1
86131 _ACEOF
86133 enable_wchar_t=yes
86136 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
86137 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
86138 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
86139 echo "${ECHO_T}$enable_wchar_t" >&6
86141 cat >>confdefs.h <<\_ACEOF
86142 #define HAVE_COPYSIGN 1
86143 _ACEOF
86145 cat >>confdefs.h <<\_ACEOF
86146 #define HAVE_COPYSIGNF 1
86147 _ACEOF
86149 cat >>confdefs.h <<\_ACEOF
86150 #define HAVE_FINITEF 1
86151 _ACEOF
86153 cat >>confdefs.h <<\_ACEOF
86154 #define HAVE_FINITE 1
86155 _ACEOF
86157 cat >>confdefs.h <<\_ACEOF
86158 #define HAVE_FREXPF 1
86159 _ACEOF
86161 cat >>confdefs.h <<\_ACEOF
86162 #define HAVE_HYPOTF 1
86163 _ACEOF
86165 cat >>confdefs.h <<\_ACEOF
86166 #define HAVE_ISINF 1
86167 _ACEOF
86169 cat >>confdefs.h <<\_ACEOF
86170 #define HAVE_ISINFF 1
86171 _ACEOF
86173 cat >>confdefs.h <<\_ACEOF
86174 #define HAVE_ISNAN 1
86175 _ACEOF
86177 cat >>confdefs.h <<\_ACEOF
86178 #define HAVE_ISNANF 1
86179 _ACEOF
86181 if test x"long_double_math_on_this_cpu" = x"yes"; then
86182 cat >>confdefs.h <<\_ACEOF
86183 #define HAVE_FINITEL 1
86184 _ACEOF
86186 cat >>confdefs.h <<\_ACEOF
86187 #define HAVE_ISINFL 1
86188 _ACEOF
86190 cat >>confdefs.h <<\_ACEOF
86191 #define HAVE_ISNANL 1
86192 _ACEOF
86196 *-qnx6.1* | *-qnx6.2*)
86197 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86200 # If we're not using GNU ld, then there's no point in even trying these
86201 # tests. Check for that first. We should have already tested for gld
86202 # by now (in libtool), but require it now just to be safe...
86203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86208 # The name set by libtool depends on the version of libtool. Shame on us
86209 # for depending on an impl detail, but c'est la vie. Older versions used
86210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86213 # set (hence we're using an older libtool), then set it.
86214 if test x${with_gnu_ld+set} != xset; then
86215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86217 with_gnu_ld=no
86218 else
86219 with_gnu_ld=$ac_cv_prog_gnu_ld
86223 # Start by getting the version number. I think the libtool test already
86224 # does some of this, but throws away the result.
86226 ldver=`$LD --version 2>/dev/null | head -1 | \
86227 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
86229 glibcxx_gnu_ld_version=`echo $ldver | \
86230 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86232 # Set --gc-sections.
86233 if test "$with_gnu_ld" = "notbroken"; then
86234 # GNU ld it is! Joy and bunny rabbits!
86236 # All these tests are for C++; save the language and the compiler flags.
86237 # Need to do this so that g++ won't try to link in libstdc++
86238 ac_test_CFLAGS="${CFLAGS+set}"
86239 ac_save_CFLAGS="$CFLAGS"
86240 CFLAGS='-x c++ -Wl,--gc-sections'
86242 # Check for -Wl,--gc-sections
86243 # XXX This test is broken at the moment, as symbols required for linking
86244 # are now in libsupc++ (not built yet). In addition, this test has
86245 # cored on solaris in the past. In addition, --gc-sections doesn't
86246 # really work at the moment (keeps on discarding used sections, first
86247 # .eh_frame and now some of the glibc sections for iconv).
86248 # Bzzzzt. Thanks for playing, maybe next time.
86249 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86250 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86251 if test "$cross_compiling" = yes; then
86252 ac_sectionLDflags=yes
86253 else
86254 cat >conftest.$ac_ext <<_ACEOF
86255 /* confdefs.h. */
86256 _ACEOF
86257 cat confdefs.h >>conftest.$ac_ext
86258 cat >>conftest.$ac_ext <<_ACEOF
86259 /* end confdefs.h. */
86261 int main(void)
86263 try { throw 1; }
86264 catch (...) { };
86265 return 0;
86268 _ACEOF
86269 rm -f conftest$ac_exeext
86270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86271 (eval $ac_link) 2>&5
86272 ac_status=$?
86273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
86275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86276 (eval $ac_try) 2>&5
86277 ac_status=$?
86278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86279 (exit $ac_status); }; }; then
86280 ac_sectionLDflags=yes
86281 else
86282 echo "$as_me: program exited with status $ac_status" >&5
86283 echo "$as_me: failed program was:" >&5
86284 sed 's/^/| /' conftest.$ac_ext >&5
86286 ( exit $ac_status )
86287 ac_sectionLDflags=no
86289 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
86291 if test "$ac_test_CFLAGS" = set; then
86292 CFLAGS="$ac_save_CFLAGS"
86293 else
86294 # this is the suspicious part
86295 CFLAGS=''
86297 if test "$ac_sectionLDflags" = "yes"; then
86298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86300 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
86301 echo "${ECHO_T}$ac_sectionLDflags" >&6
86304 # Set linker optimization flags.
86305 if test x"$with_gnu_ld" = x"yes"; then
86306 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86314 echo "$as_me:$LINENO: checking for main in -lm" >&5
86315 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86316 if test "${ac_cv_lib_m_main+set}" = set; then
86317 echo $ECHO_N "(cached) $ECHO_C" >&6
86318 else
86319 ac_check_lib_save_LIBS=$LIBS
86320 LIBS="-lm $LIBS"
86321 if test x$gcc_no_link = xyes; then
86322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86324 { (exit 1); exit 1; }; }
86326 cat >conftest.$ac_ext <<_ACEOF
86327 /* confdefs.h. */
86328 _ACEOF
86329 cat confdefs.h >>conftest.$ac_ext
86330 cat >>conftest.$ac_ext <<_ACEOF
86331 /* end confdefs.h. */
86335 main ()
86337 main ();
86339 return 0;
86341 _ACEOF
86342 rm -f conftest.$ac_objext conftest$ac_exeext
86343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86344 (eval $ac_link) 2>conftest.er1
86345 ac_status=$?
86346 grep -v '^ *+' conftest.er1 >conftest.err
86347 rm -f conftest.er1
86348 cat conftest.err >&5
86349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86350 (exit $ac_status); } &&
86351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86353 (eval $ac_try) 2>&5
86354 ac_status=$?
86355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86356 (exit $ac_status); }; } &&
86357 { ac_try='test -s conftest$ac_exeext'
86358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86359 (eval $ac_try) 2>&5
86360 ac_status=$?
86361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86362 (exit $ac_status); }; }; then
86363 ac_cv_lib_m_main=yes
86364 else
86365 echo "$as_me: failed program was:" >&5
86366 sed 's/^/| /' conftest.$ac_ext >&5
86368 ac_cv_lib_m_main=no
86370 rm -f conftest.err conftest.$ac_objext \
86371 conftest$ac_exeext conftest.$ac_ext
86372 LIBS=$ac_check_lib_save_LIBS
86374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86375 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86376 if test $ac_cv_lib_m_main = yes; then
86377 cat >>confdefs.h <<_ACEOF
86378 #define HAVE_LIBM 1
86379 _ACEOF
86381 LIBS="-lm $LIBS"
86386 for ac_func in copysignf
86388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86389 echo "$as_me:$LINENO: checking for $ac_func" >&5
86390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86391 if eval "test \"\${$as_ac_var+set}\" = set"; then
86392 echo $ECHO_N "(cached) $ECHO_C" >&6
86393 else
86394 if test x$gcc_no_link = xyes; then
86395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86397 { (exit 1); exit 1; }; }
86399 cat >conftest.$ac_ext <<_ACEOF
86400 /* confdefs.h. */
86401 _ACEOF
86402 cat confdefs.h >>conftest.$ac_ext
86403 cat >>conftest.$ac_ext <<_ACEOF
86404 /* end confdefs.h. */
86405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86407 #define $ac_func innocuous_$ac_func
86409 /* System header to define __stub macros and hopefully few prototypes,
86410 which can conflict with char $ac_func (); below.
86411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86412 <limits.h> exists even on freestanding compilers. */
86414 #ifdef __STDC__
86415 # include <limits.h>
86416 #else
86417 # include <assert.h>
86418 #endif
86420 #undef $ac_func
86422 /* Override any gcc2 internal prototype to avoid an error. */
86423 #ifdef __cplusplus
86424 extern "C"
86426 #endif
86427 /* We use char because int might match the return type of a gcc2
86428 builtin and then its argument prototype would still apply. */
86429 char $ac_func ();
86430 /* The GNU C library defines this for functions which it implements
86431 to always fail with ENOSYS. Some functions are actually named
86432 something starting with __ and the normal name is an alias. */
86433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86434 choke me
86435 #else
86436 char (*f) () = $ac_func;
86437 #endif
86438 #ifdef __cplusplus
86440 #endif
86443 main ()
86445 return f != $ac_func;
86447 return 0;
86449 _ACEOF
86450 rm -f conftest.$ac_objext conftest$ac_exeext
86451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86452 (eval $ac_link) 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" || test ! -s conftest.err'
86460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86461 (eval $ac_try) 2>&5
86462 ac_status=$?
86463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86464 (exit $ac_status); }; } &&
86465 { ac_try='test -s conftest$ac_exeext'
86466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86467 (eval $ac_try) 2>&5
86468 ac_status=$?
86469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86470 (exit $ac_status); }; }; then
86471 eval "$as_ac_var=yes"
86472 else
86473 echo "$as_me: failed program was:" >&5
86474 sed 's/^/| /' conftest.$ac_ext >&5
86476 eval "$as_ac_var=no"
86478 rm -f conftest.err conftest.$ac_objext \
86479 conftest$ac_exeext conftest.$ac_ext
86481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86483 if test `eval echo '${'$as_ac_var'}'` = yes; then
86484 cat >>confdefs.h <<_ACEOF
86485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86486 _ACEOF
86488 else
86489 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86491 done
86495 for ac_func in __signbit
86497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86498 echo "$as_me:$LINENO: checking for $ac_func" >&5
86499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86500 if eval "test \"\${$as_ac_var+set}\" = set"; then
86501 echo $ECHO_N "(cached) $ECHO_C" >&6
86502 else
86503 if test x$gcc_no_link = xyes; then
86504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86506 { (exit 1); exit 1; }; }
86508 cat >conftest.$ac_ext <<_ACEOF
86509 /* confdefs.h. */
86510 _ACEOF
86511 cat confdefs.h >>conftest.$ac_ext
86512 cat >>conftest.$ac_ext <<_ACEOF
86513 /* end confdefs.h. */
86514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86516 #define $ac_func innocuous_$ac_func
86518 /* System header to define __stub macros and hopefully few prototypes,
86519 which can conflict with char $ac_func (); below.
86520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86521 <limits.h> exists even on freestanding compilers. */
86523 #ifdef __STDC__
86524 # include <limits.h>
86525 #else
86526 # include <assert.h>
86527 #endif
86529 #undef $ac_func
86531 /* Override any gcc2 internal prototype to avoid an error. */
86532 #ifdef __cplusplus
86533 extern "C"
86535 #endif
86536 /* We use char because int might match the return type of a gcc2
86537 builtin and then its argument prototype would still apply. */
86538 char $ac_func ();
86539 /* The GNU C library defines this for functions which it implements
86540 to always fail with ENOSYS. Some functions are actually named
86541 something starting with __ and the normal name is an alias. */
86542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86543 choke me
86544 #else
86545 char (*f) () = $ac_func;
86546 #endif
86547 #ifdef __cplusplus
86549 #endif
86552 main ()
86554 return f != $ac_func;
86556 return 0;
86558 _ACEOF
86559 rm -f conftest.$ac_objext conftest$ac_exeext
86560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86561 (eval $ac_link) 2>conftest.er1
86562 ac_status=$?
86563 grep -v '^ *+' conftest.er1 >conftest.err
86564 rm -f conftest.er1
86565 cat conftest.err >&5
86566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86567 (exit $ac_status); } &&
86568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86570 (eval $ac_try) 2>&5
86571 ac_status=$?
86572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86573 (exit $ac_status); }; } &&
86574 { ac_try='test -s conftest$ac_exeext'
86575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86576 (eval $ac_try) 2>&5
86577 ac_status=$?
86578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86579 (exit $ac_status); }; }; then
86580 eval "$as_ac_var=yes"
86581 else
86582 echo "$as_me: failed program was:" >&5
86583 sed 's/^/| /' conftest.$ac_ext >&5
86585 eval "$as_ac_var=no"
86587 rm -f conftest.err conftest.$ac_objext \
86588 conftest$ac_exeext conftest.$ac_ext
86590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86592 if test `eval echo '${'$as_ac_var'}'` = yes; then
86593 cat >>confdefs.h <<_ACEOF
86594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86595 _ACEOF
86597 else
86598 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86600 done
86604 for ac_func in __signbitf
86606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86607 echo "$as_me:$LINENO: checking for $ac_func" >&5
86608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86609 if eval "test \"\${$as_ac_var+set}\" = set"; then
86610 echo $ECHO_N "(cached) $ECHO_C" >&6
86611 else
86612 if test x$gcc_no_link = xyes; then
86613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86615 { (exit 1); exit 1; }; }
86617 cat >conftest.$ac_ext <<_ACEOF
86618 /* confdefs.h. */
86619 _ACEOF
86620 cat confdefs.h >>conftest.$ac_ext
86621 cat >>conftest.$ac_ext <<_ACEOF
86622 /* end confdefs.h. */
86623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86625 #define $ac_func innocuous_$ac_func
86627 /* System header to define __stub macros and hopefully few prototypes,
86628 which can conflict with char $ac_func (); below.
86629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86630 <limits.h> exists even on freestanding compilers. */
86632 #ifdef __STDC__
86633 # include <limits.h>
86634 #else
86635 # include <assert.h>
86636 #endif
86638 #undef $ac_func
86640 /* Override any gcc2 internal prototype to avoid an error. */
86641 #ifdef __cplusplus
86642 extern "C"
86644 #endif
86645 /* We use char because int might match the return type of a gcc2
86646 builtin and then its argument prototype would still apply. */
86647 char $ac_func ();
86648 /* The GNU C library defines this for functions which it implements
86649 to always fail with ENOSYS. Some functions are actually named
86650 something starting with __ and the normal name is an alias. */
86651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86652 choke me
86653 #else
86654 char (*f) () = $ac_func;
86655 #endif
86656 #ifdef __cplusplus
86658 #endif
86661 main ()
86663 return f != $ac_func;
86665 return 0;
86667 _ACEOF
86668 rm -f conftest.$ac_objext conftest$ac_exeext
86669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86670 (eval $ac_link) 2>conftest.er1
86671 ac_status=$?
86672 grep -v '^ *+' conftest.er1 >conftest.err
86673 rm -f conftest.er1
86674 cat conftest.err >&5
86675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86676 (exit $ac_status); } &&
86677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86679 (eval $ac_try) 2>&5
86680 ac_status=$?
86681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86682 (exit $ac_status); }; } &&
86683 { ac_try='test -s conftest$ac_exeext'
86684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86685 (eval $ac_try) 2>&5
86686 ac_status=$?
86687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86688 (exit $ac_status); }; }; then
86689 eval "$as_ac_var=yes"
86690 else
86691 echo "$as_me: failed program was:" >&5
86692 sed 's/^/| /' conftest.$ac_ext >&5
86694 eval "$as_ac_var=no"
86696 rm -f conftest.err conftest.$ac_objext \
86697 conftest$ac_exeext conftest.$ac_ext
86699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86701 if test `eval echo '${'$as_ac_var'}'` = yes; then
86702 cat >>confdefs.h <<_ACEOF
86703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86704 _ACEOF
86706 else
86707 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86709 done
86712 if test x$ac_cv_func_copysignl = x"yes"; then
86714 for ac_func in __signbitl
86716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86717 echo "$as_me:$LINENO: checking for $ac_func" >&5
86718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86719 if eval "test \"\${$as_ac_var+set}\" = set"; then
86720 echo $ECHO_N "(cached) $ECHO_C" >&6
86721 else
86722 if test x$gcc_no_link = xyes; then
86723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86725 { (exit 1); exit 1; }; }
86727 cat >conftest.$ac_ext <<_ACEOF
86728 /* confdefs.h. */
86729 _ACEOF
86730 cat confdefs.h >>conftest.$ac_ext
86731 cat >>conftest.$ac_ext <<_ACEOF
86732 /* end confdefs.h. */
86733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86735 #define $ac_func innocuous_$ac_func
86737 /* System header to define __stub macros and hopefully few prototypes,
86738 which can conflict with char $ac_func (); below.
86739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86740 <limits.h> exists even on freestanding compilers. */
86742 #ifdef __STDC__
86743 # include <limits.h>
86744 #else
86745 # include <assert.h>
86746 #endif
86748 #undef $ac_func
86750 /* Override any gcc2 internal prototype to avoid an error. */
86751 #ifdef __cplusplus
86752 extern "C"
86754 #endif
86755 /* We use char because int might match the return type of a gcc2
86756 builtin and then its argument prototype would still apply. */
86757 char $ac_func ();
86758 /* The GNU C library defines this for functions which it implements
86759 to always fail with ENOSYS. Some functions are actually named
86760 something starting with __ and the normal name is an alias. */
86761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86762 choke me
86763 #else
86764 char (*f) () = $ac_func;
86765 #endif
86766 #ifdef __cplusplus
86768 #endif
86771 main ()
86773 return f != $ac_func;
86775 return 0;
86777 _ACEOF
86778 rm -f conftest.$ac_objext conftest$ac_exeext
86779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86780 (eval $ac_link) 2>conftest.er1
86781 ac_status=$?
86782 grep -v '^ *+' conftest.er1 >conftest.err
86783 rm -f conftest.er1
86784 cat conftest.err >&5
86785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86786 (exit $ac_status); } &&
86787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86789 (eval $ac_try) 2>&5
86790 ac_status=$?
86791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86792 (exit $ac_status); }; } &&
86793 { ac_try='test -s conftest$ac_exeext'
86794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86795 (eval $ac_try) 2>&5
86796 ac_status=$?
86797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86798 (exit $ac_status); }; }; then
86799 eval "$as_ac_var=yes"
86800 else
86801 echo "$as_me: failed program was:" >&5
86802 sed 's/^/| /' conftest.$ac_ext >&5
86804 eval "$as_ac_var=no"
86806 rm -f conftest.err conftest.$ac_objext \
86807 conftest$ac_exeext conftest.$ac_ext
86809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86811 if test `eval echo '${'$as_ac_var'}'` = yes; then
86812 cat >>confdefs.h <<_ACEOF
86813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86814 _ACEOF
86816 else
86817 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86819 done
86823 # Used in libmath/Makefile.am.
86824 if test -n "$LIBMATHOBJS"; then
86825 need_libmath=yes
86830 # Test wchar.h for mbstate_t, which is needed for char_traits and
86831 # others even if wchar_t support is not on.
86832 echo "$as_me:$LINENO: checking for mbstate_t" >&5
86833 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
86834 cat >conftest.$ac_ext <<_ACEOF
86835 /* confdefs.h. */
86836 _ACEOF
86837 cat confdefs.h >>conftest.$ac_ext
86838 cat >>conftest.$ac_ext <<_ACEOF
86839 /* end confdefs.h. */
86840 #include <wchar.h>
86842 main ()
86844 mbstate_t teststate;
86846 return 0;
86848 _ACEOF
86849 rm -f conftest.$ac_objext
86850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86851 (eval $ac_compile) 2>conftest.er1
86852 ac_status=$?
86853 grep -v '^ *+' conftest.er1 >conftest.err
86854 rm -f conftest.er1
86855 cat conftest.err >&5
86856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86857 (exit $ac_status); } &&
86858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86860 (eval $ac_try) 2>&5
86861 ac_status=$?
86862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86863 (exit $ac_status); }; } &&
86864 { ac_try='test -s conftest.$ac_objext'
86865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86866 (eval $ac_try) 2>&5
86867 ac_status=$?
86868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86869 (exit $ac_status); }; }; then
86870 have_mbstate_t=yes
86871 else
86872 echo "$as_me: failed program was:" >&5
86873 sed 's/^/| /' conftest.$ac_ext >&5
86875 have_mbstate_t=no
86877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86878 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
86879 echo "${ECHO_T}$have_mbstate_t" >&6
86880 if test x"$have_mbstate_t" = xyes; then
86881 cat >>confdefs.h <<\_ACEOF
86882 #define HAVE_MBSTATE_T 1
86883 _ACEOF
86887 # Sanity check for existence of ISO C99 headers for extended encoding.
86889 for ac_header in wchar.h
86891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86893 echo "$as_me:$LINENO: checking for $ac_header" >&5
86894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86896 echo $ECHO_N "(cached) $ECHO_C" >&6
86898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86900 else
86901 # Is the header compilable?
86902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86904 cat >conftest.$ac_ext <<_ACEOF
86905 /* confdefs.h. */
86906 _ACEOF
86907 cat confdefs.h >>conftest.$ac_ext
86908 cat >>conftest.$ac_ext <<_ACEOF
86909 /* end confdefs.h. */
86910 $ac_includes_default
86911 #include <$ac_header>
86912 _ACEOF
86913 rm -f conftest.$ac_objext
86914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86915 (eval $ac_compile) 2>conftest.er1
86916 ac_status=$?
86917 grep -v '^ *+' conftest.er1 >conftest.err
86918 rm -f conftest.er1
86919 cat conftest.err >&5
86920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86921 (exit $ac_status); } &&
86922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86924 (eval $ac_try) 2>&5
86925 ac_status=$?
86926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86927 (exit $ac_status); }; } &&
86928 { ac_try='test -s conftest.$ac_objext'
86929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86930 (eval $ac_try) 2>&5
86931 ac_status=$?
86932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86933 (exit $ac_status); }; }; then
86934 ac_header_compiler=yes
86935 else
86936 echo "$as_me: failed program was:" >&5
86937 sed 's/^/| /' conftest.$ac_ext >&5
86939 ac_header_compiler=no
86941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86943 echo "${ECHO_T}$ac_header_compiler" >&6
86945 # Is the header present?
86946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86948 cat >conftest.$ac_ext <<_ACEOF
86949 /* confdefs.h. */
86950 _ACEOF
86951 cat confdefs.h >>conftest.$ac_ext
86952 cat >>conftest.$ac_ext <<_ACEOF
86953 /* end confdefs.h. */
86954 #include <$ac_header>
86955 _ACEOF
86956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86958 ac_status=$?
86959 grep -v '^ *+' conftest.er1 >conftest.err
86960 rm -f conftest.er1
86961 cat conftest.err >&5
86962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86963 (exit $ac_status); } >/dev/null; then
86964 if test -s conftest.err; then
86965 ac_cpp_err=$ac_c_preproc_warn_flag
86966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86967 else
86968 ac_cpp_err=
86970 else
86971 ac_cpp_err=yes
86973 if test -z "$ac_cpp_err"; then
86974 ac_header_preproc=yes
86975 else
86976 echo "$as_me: failed program was:" >&5
86977 sed 's/^/| /' conftest.$ac_ext >&5
86979 ac_header_preproc=no
86981 rm -f conftest.err conftest.$ac_ext
86982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86983 echo "${ECHO_T}$ac_header_preproc" >&6
86985 # So? What about this header?
86986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86987 yes:no: )
86988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86992 ac_header_preproc=yes
86994 no:yes:* )
86995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87008 cat <<\_ASBOX
87009 ## ----------------------------------------- ##
87010 ## Report this to the package-unused lists. ##
87011 ## ----------------------------------------- ##
87012 _ASBOX
87014 sed "s/^/$as_me: WARNING: /" >&2
87016 esac
87017 echo "$as_me:$LINENO: checking for $ac_header" >&5
87018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87020 echo $ECHO_N "(cached) $ECHO_C" >&6
87021 else
87022 eval "$as_ac_Header=\$ac_header_preproc"
87024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87029 cat >>confdefs.h <<_ACEOF
87030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87031 _ACEOF
87032 ac_has_wchar_h=yes
87033 else
87034 ac_has_wchar_h=no
87037 done
87040 for ac_header in wctype.h
87042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87044 echo "$as_me:$LINENO: checking for $ac_header" >&5
87045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87047 echo $ECHO_N "(cached) $ECHO_C" >&6
87049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87051 else
87052 # Is the header compilable?
87053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87055 cat >conftest.$ac_ext <<_ACEOF
87056 /* confdefs.h. */
87057 _ACEOF
87058 cat confdefs.h >>conftest.$ac_ext
87059 cat >>conftest.$ac_ext <<_ACEOF
87060 /* end confdefs.h. */
87061 $ac_includes_default
87062 #include <$ac_header>
87063 _ACEOF
87064 rm -f conftest.$ac_objext
87065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87066 (eval $ac_compile) 2>conftest.er1
87067 ac_status=$?
87068 grep -v '^ *+' conftest.er1 >conftest.err
87069 rm -f conftest.er1
87070 cat conftest.err >&5
87071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87072 (exit $ac_status); } &&
87073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87075 (eval $ac_try) 2>&5
87076 ac_status=$?
87077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87078 (exit $ac_status); }; } &&
87079 { ac_try='test -s conftest.$ac_objext'
87080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87081 (eval $ac_try) 2>&5
87082 ac_status=$?
87083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87084 (exit $ac_status); }; }; then
87085 ac_header_compiler=yes
87086 else
87087 echo "$as_me: failed program was:" >&5
87088 sed 's/^/| /' conftest.$ac_ext >&5
87090 ac_header_compiler=no
87092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87094 echo "${ECHO_T}$ac_header_compiler" >&6
87096 # Is the header present?
87097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87099 cat >conftest.$ac_ext <<_ACEOF
87100 /* confdefs.h. */
87101 _ACEOF
87102 cat confdefs.h >>conftest.$ac_ext
87103 cat >>conftest.$ac_ext <<_ACEOF
87104 /* end confdefs.h. */
87105 #include <$ac_header>
87106 _ACEOF
87107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87109 ac_status=$?
87110 grep -v '^ *+' conftest.er1 >conftest.err
87111 rm -f conftest.er1
87112 cat conftest.err >&5
87113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87114 (exit $ac_status); } >/dev/null; then
87115 if test -s conftest.err; then
87116 ac_cpp_err=$ac_c_preproc_warn_flag
87117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87118 else
87119 ac_cpp_err=
87121 else
87122 ac_cpp_err=yes
87124 if test -z "$ac_cpp_err"; then
87125 ac_header_preproc=yes
87126 else
87127 echo "$as_me: failed program was:" >&5
87128 sed 's/^/| /' conftest.$ac_ext >&5
87130 ac_header_preproc=no
87132 rm -f conftest.err conftest.$ac_ext
87133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87134 echo "${ECHO_T}$ac_header_preproc" >&6
87136 # So? What about this header?
87137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87138 yes:no: )
87139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87143 ac_header_preproc=yes
87145 no:yes:* )
87146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87159 cat <<\_ASBOX
87160 ## ----------------------------------------- ##
87161 ## Report this to the package-unused lists. ##
87162 ## ----------------------------------------- ##
87163 _ASBOX
87165 sed "s/^/$as_me: WARNING: /" >&2
87167 esac
87168 echo "$as_me:$LINENO: checking for $ac_header" >&5
87169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87171 echo $ECHO_N "(cached) $ECHO_C" >&6
87172 else
87173 eval "$as_ac_Header=\$ac_header_preproc"
87175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87180 cat >>confdefs.h <<_ACEOF
87181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87182 _ACEOF
87183 ac_has_wctype_h=yes
87184 else
87185 ac_has_wctype_h=no
87188 done
87191 # Only continue checking if the ISO C99 headers exist and support is on.
87192 if test x"$ac_has_wchar_h" = xyes &&
87193 test x"$ac_has_wctype_h" = xyes &&
87194 test x"$enable_c_mbchar" != xno; then
87196 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
87197 # numeric_limits can instantiate type_traits<wchar_t>
87198 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
87199 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
87200 cat >conftest.$ac_ext <<_ACEOF
87201 /* confdefs.h. */
87202 _ACEOF
87203 cat confdefs.h >>conftest.$ac_ext
87204 cat >>conftest.$ac_ext <<_ACEOF
87205 /* end confdefs.h. */
87206 #include <wchar.h>
87208 main ()
87210 int i = WCHAR_MIN; int j = WCHAR_MAX;
87212 return 0;
87214 _ACEOF
87215 rm -f conftest.$ac_objext
87216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87217 (eval $ac_compile) 2>conftest.er1
87218 ac_status=$?
87219 grep -v '^ *+' conftest.er1 >conftest.err
87220 rm -f conftest.er1
87221 cat conftest.err >&5
87222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87223 (exit $ac_status); } &&
87224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87226 (eval $ac_try) 2>&5
87227 ac_status=$?
87228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87229 (exit $ac_status); }; } &&
87230 { ac_try='test -s conftest.$ac_objext'
87231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87232 (eval $ac_try) 2>&5
87233 ac_status=$?
87234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87235 (exit $ac_status); }; }; then
87236 has_wchar_minmax=yes
87237 else
87238 echo "$as_me: failed program was:" >&5
87239 sed 's/^/| /' conftest.$ac_ext >&5
87241 has_wchar_minmax=no
87243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87244 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
87245 echo "${ECHO_T}$has_wchar_minmax" >&6
87247 # Test wchar.h for WEOF, which is what we use to determine whether
87248 # to specialize for char_traits<wchar_t> or not.
87249 echo "$as_me:$LINENO: checking for WEOF" >&5
87250 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
87251 cat >conftest.$ac_ext <<_ACEOF
87252 /* confdefs.h. */
87253 _ACEOF
87254 cat confdefs.h >>conftest.$ac_ext
87255 cat >>conftest.$ac_ext <<_ACEOF
87256 /* end confdefs.h. */
87258 #include <wchar.h>
87259 #include <stddef.h>
87261 main ()
87263 wint_t i = WEOF;
87265 return 0;
87267 _ACEOF
87268 rm -f conftest.$ac_objext
87269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87270 (eval $ac_compile) 2>conftest.er1
87271 ac_status=$?
87272 grep -v '^ *+' conftest.er1 >conftest.err
87273 rm -f conftest.er1
87274 cat conftest.err >&5
87275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87276 (exit $ac_status); } &&
87277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87279 (eval $ac_try) 2>&5
87280 ac_status=$?
87281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87282 (exit $ac_status); }; } &&
87283 { ac_try='test -s conftest.$ac_objext'
87284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87285 (eval $ac_try) 2>&5
87286 ac_status=$?
87287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87288 (exit $ac_status); }; }; then
87289 has_weof=yes
87290 else
87291 echo "$as_me: failed program was:" >&5
87292 sed 's/^/| /' conftest.$ac_ext >&5
87294 has_weof=no
87296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87297 echo "$as_me:$LINENO: result: $has_weof" >&5
87298 echo "${ECHO_T}$has_weof" >&6
87300 # Tests for wide character functions used in char_traits<wchar_t>.
87301 ac_wfuncs=yes
87308 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
87310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87311 echo "$as_me:$LINENO: checking for $ac_func" >&5
87312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87313 if eval "test \"\${$as_ac_var+set}\" = set"; then
87314 echo $ECHO_N "(cached) $ECHO_C" >&6
87315 else
87316 if test x$gcc_no_link = xyes; then
87317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87319 { (exit 1); exit 1; }; }
87321 cat >conftest.$ac_ext <<_ACEOF
87322 /* confdefs.h. */
87323 _ACEOF
87324 cat confdefs.h >>conftest.$ac_ext
87325 cat >>conftest.$ac_ext <<_ACEOF
87326 /* end confdefs.h. */
87327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87329 #define $ac_func innocuous_$ac_func
87331 /* System header to define __stub macros and hopefully few prototypes,
87332 which can conflict with char $ac_func (); below.
87333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87334 <limits.h> exists even on freestanding compilers. */
87336 #ifdef __STDC__
87337 # include <limits.h>
87338 #else
87339 # include <assert.h>
87340 #endif
87342 #undef $ac_func
87344 /* Override any gcc2 internal prototype to avoid an error. */
87345 #ifdef __cplusplus
87346 extern "C"
87348 #endif
87349 /* We use char because int might match the return type of a gcc2
87350 builtin and then its argument prototype would still apply. */
87351 char $ac_func ();
87352 /* The GNU C library defines this for functions which it implements
87353 to always fail with ENOSYS. Some functions are actually named
87354 something starting with __ and the normal name is an alias. */
87355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87356 choke me
87357 #else
87358 char (*f) () = $ac_func;
87359 #endif
87360 #ifdef __cplusplus
87362 #endif
87365 main ()
87367 return f != $ac_func;
87369 return 0;
87371 _ACEOF
87372 rm -f conftest.$ac_objext conftest$ac_exeext
87373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87374 (eval $ac_link) 2>conftest.er1
87375 ac_status=$?
87376 grep -v '^ *+' conftest.er1 >conftest.err
87377 rm -f conftest.er1
87378 cat conftest.err >&5
87379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87380 (exit $ac_status); } &&
87381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87383 (eval $ac_try) 2>&5
87384 ac_status=$?
87385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87386 (exit $ac_status); }; } &&
87387 { ac_try='test -s conftest$ac_exeext'
87388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87389 (eval $ac_try) 2>&5
87390 ac_status=$?
87391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87392 (exit $ac_status); }; }; then
87393 eval "$as_ac_var=yes"
87394 else
87395 echo "$as_me: failed program was:" >&5
87396 sed 's/^/| /' conftest.$ac_ext >&5
87398 eval "$as_ac_var=no"
87400 rm -f conftest.err conftest.$ac_objext \
87401 conftest$ac_exeext conftest.$ac_ext
87403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87405 if test `eval echo '${'$as_ac_var'}'` = yes; then
87406 cat >>confdefs.h <<_ACEOF
87407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87408 _ACEOF
87410 else
87411 ac_wfuncs=no
87413 done
87416 # Checks for names injected into std:: by the c_std headers.
87463 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
87464 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
87465 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
87466 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
87467 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
87468 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
87470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87471 echo "$as_me:$LINENO: checking for $ac_func" >&5
87472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87473 if eval "test \"\${$as_ac_var+set}\" = set"; then
87474 echo $ECHO_N "(cached) $ECHO_C" >&6
87475 else
87476 if test x$gcc_no_link = xyes; then
87477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87479 { (exit 1); exit 1; }; }
87481 cat >conftest.$ac_ext <<_ACEOF
87482 /* confdefs.h. */
87483 _ACEOF
87484 cat confdefs.h >>conftest.$ac_ext
87485 cat >>conftest.$ac_ext <<_ACEOF
87486 /* end confdefs.h. */
87487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87489 #define $ac_func innocuous_$ac_func
87491 /* System header to define __stub macros and hopefully few prototypes,
87492 which can conflict with char $ac_func (); below.
87493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87494 <limits.h> exists even on freestanding compilers. */
87496 #ifdef __STDC__
87497 # include <limits.h>
87498 #else
87499 # include <assert.h>
87500 #endif
87502 #undef $ac_func
87504 /* Override any gcc2 internal prototype to avoid an error. */
87505 #ifdef __cplusplus
87506 extern "C"
87508 #endif
87509 /* We use char because int might match the return type of a gcc2
87510 builtin and then its argument prototype would still apply. */
87511 char $ac_func ();
87512 /* The GNU C library defines this for functions which it implements
87513 to always fail with ENOSYS. Some functions are actually named
87514 something starting with __ and the normal name is an alias. */
87515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87516 choke me
87517 #else
87518 char (*f) () = $ac_func;
87519 #endif
87520 #ifdef __cplusplus
87522 #endif
87525 main ()
87527 return f != $ac_func;
87529 return 0;
87531 _ACEOF
87532 rm -f conftest.$ac_objext conftest$ac_exeext
87533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87534 (eval $ac_link) 2>conftest.er1
87535 ac_status=$?
87536 grep -v '^ *+' conftest.er1 >conftest.err
87537 rm -f conftest.er1
87538 cat conftest.err >&5
87539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540 (exit $ac_status); } &&
87541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87543 (eval $ac_try) 2>&5
87544 ac_status=$?
87545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87546 (exit $ac_status); }; } &&
87547 { ac_try='test -s conftest$ac_exeext'
87548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87549 (eval $ac_try) 2>&5
87550 ac_status=$?
87551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87552 (exit $ac_status); }; }; then
87553 eval "$as_ac_var=yes"
87554 else
87555 echo "$as_me: failed program was:" >&5
87556 sed 's/^/| /' conftest.$ac_ext >&5
87558 eval "$as_ac_var=no"
87560 rm -f conftest.err conftest.$ac_objext \
87561 conftest$ac_exeext conftest.$ac_ext
87563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87565 if test `eval echo '${'$as_ac_var'}'` = yes; then
87566 cat >>confdefs.h <<_ACEOF
87567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87568 _ACEOF
87570 else
87571 ac_wfuncs=no
87573 done
87576 # Checks for wide character functions that are not required
87577 # for basic wchar_t support. Don't disable support if they are missing.
87578 # Injection of these is wrapped with guard macros.
87584 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
87586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87587 echo "$as_me:$LINENO: checking for $ac_func" >&5
87588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87589 if eval "test \"\${$as_ac_var+set}\" = set"; then
87590 echo $ECHO_N "(cached) $ECHO_C" >&6
87591 else
87592 if test x$gcc_no_link = xyes; then
87593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87595 { (exit 1); exit 1; }; }
87597 cat >conftest.$ac_ext <<_ACEOF
87598 /* confdefs.h. */
87599 _ACEOF
87600 cat confdefs.h >>conftest.$ac_ext
87601 cat >>conftest.$ac_ext <<_ACEOF
87602 /* end confdefs.h. */
87603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87605 #define $ac_func innocuous_$ac_func
87607 /* System header to define __stub macros and hopefully few prototypes,
87608 which can conflict with char $ac_func (); below.
87609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87610 <limits.h> exists even on freestanding compilers. */
87612 #ifdef __STDC__
87613 # include <limits.h>
87614 #else
87615 # include <assert.h>
87616 #endif
87618 #undef $ac_func
87620 /* Override any gcc2 internal prototype to avoid an error. */
87621 #ifdef __cplusplus
87622 extern "C"
87624 #endif
87625 /* We use char because int might match the return type of a gcc2
87626 builtin and then its argument prototype would still apply. */
87627 char $ac_func ();
87628 /* The GNU C library defines this for functions which it implements
87629 to always fail with ENOSYS. Some functions are actually named
87630 something starting with __ and the normal name is an alias. */
87631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87632 choke me
87633 #else
87634 char (*f) () = $ac_func;
87635 #endif
87636 #ifdef __cplusplus
87638 #endif
87641 main ()
87643 return f != $ac_func;
87645 return 0;
87647 _ACEOF
87648 rm -f conftest.$ac_objext conftest$ac_exeext
87649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87650 (eval $ac_link) 2>conftest.er1
87651 ac_status=$?
87652 grep -v '^ *+' conftest.er1 >conftest.err
87653 rm -f conftest.er1
87654 cat conftest.err >&5
87655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87656 (exit $ac_status); } &&
87657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87659 (eval $ac_try) 2>&5
87660 ac_status=$?
87661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87662 (exit $ac_status); }; } &&
87663 { ac_try='test -s conftest$ac_exeext'
87664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87665 (eval $ac_try) 2>&5
87666 ac_status=$?
87667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87668 (exit $ac_status); }; }; then
87669 eval "$as_ac_var=yes"
87670 else
87671 echo "$as_me: failed program was:" >&5
87672 sed 's/^/| /' conftest.$ac_ext >&5
87674 eval "$as_ac_var=no"
87676 rm -f conftest.err conftest.$ac_objext \
87677 conftest$ac_exeext conftest.$ac_ext
87679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87681 if test `eval echo '${'$as_ac_var'}'` = yes; then
87682 cat >>confdefs.h <<_ACEOF
87683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87684 _ACEOF
87687 done
87690 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
87691 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
87692 if test x"$has_weof" = xyes &&
87693 test x"$has_wchar_minmax" = xyes &&
87694 test x"$ac_wfuncs" = xyes;
87695 then
87696 ac_isoC99_wchar_t=yes
87697 else
87698 ac_isoC99_wchar_t=no
87700 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
87701 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
87703 # Use iconv for wchar_t to char conversions. As such, check for
87704 # X/Open Portability Guide, version 2 features (XPG2).
87705 if test "${ac_cv_header_iconv_h+set}" = set; then
87706 echo "$as_me:$LINENO: checking for iconv.h" >&5
87707 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
87708 if test "${ac_cv_header_iconv_h+set}" = set; then
87709 echo $ECHO_N "(cached) $ECHO_C" >&6
87711 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
87712 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
87713 else
87714 # Is the header compilable?
87715 echo "$as_me:$LINENO: checking iconv.h usability" >&5
87716 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
87717 cat >conftest.$ac_ext <<_ACEOF
87718 /* confdefs.h. */
87719 _ACEOF
87720 cat confdefs.h >>conftest.$ac_ext
87721 cat >>conftest.$ac_ext <<_ACEOF
87722 /* end confdefs.h. */
87723 $ac_includes_default
87724 #include <iconv.h>
87725 _ACEOF
87726 rm -f conftest.$ac_objext
87727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87728 (eval $ac_compile) 2>conftest.er1
87729 ac_status=$?
87730 grep -v '^ *+' conftest.er1 >conftest.err
87731 rm -f conftest.er1
87732 cat conftest.err >&5
87733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87734 (exit $ac_status); } &&
87735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87737 (eval $ac_try) 2>&5
87738 ac_status=$?
87739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87740 (exit $ac_status); }; } &&
87741 { ac_try='test -s conftest.$ac_objext'
87742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87743 (eval $ac_try) 2>&5
87744 ac_status=$?
87745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746 (exit $ac_status); }; }; then
87747 ac_header_compiler=yes
87748 else
87749 echo "$as_me: failed program was:" >&5
87750 sed 's/^/| /' conftest.$ac_ext >&5
87752 ac_header_compiler=no
87754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87755 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87756 echo "${ECHO_T}$ac_header_compiler" >&6
87758 # Is the header present?
87759 echo "$as_me:$LINENO: checking iconv.h presence" >&5
87760 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
87761 cat >conftest.$ac_ext <<_ACEOF
87762 /* confdefs.h. */
87763 _ACEOF
87764 cat confdefs.h >>conftest.$ac_ext
87765 cat >>conftest.$ac_ext <<_ACEOF
87766 /* end confdefs.h. */
87767 #include <iconv.h>
87768 _ACEOF
87769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87771 ac_status=$?
87772 grep -v '^ *+' conftest.er1 >conftest.err
87773 rm -f conftest.er1
87774 cat conftest.err >&5
87775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87776 (exit $ac_status); } >/dev/null; then
87777 if test -s conftest.err; then
87778 ac_cpp_err=$ac_c_preproc_warn_flag
87779 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87780 else
87781 ac_cpp_err=
87783 else
87784 ac_cpp_err=yes
87786 if test -z "$ac_cpp_err"; then
87787 ac_header_preproc=yes
87788 else
87789 echo "$as_me: failed program was:" >&5
87790 sed 's/^/| /' conftest.$ac_ext >&5
87792 ac_header_preproc=no
87794 rm -f conftest.err conftest.$ac_ext
87795 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87796 echo "${ECHO_T}$ac_header_preproc" >&6
87798 # So? What about this header?
87799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87800 yes:no: )
87801 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
87802 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
87803 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
87804 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
87805 ac_header_preproc=yes
87807 no:yes:* )
87808 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
87809 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
87810 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
87811 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
87812 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
87813 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
87814 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
87815 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
87816 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
87817 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
87818 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
87819 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
87821 cat <<\_ASBOX
87822 ## ----------------------------------------- ##
87823 ## Report this to the package-unused lists. ##
87824 ## ----------------------------------------- ##
87825 _ASBOX
87827 sed "s/^/$as_me: WARNING: /" >&2
87829 esac
87830 echo "$as_me:$LINENO: checking for iconv.h" >&5
87831 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
87832 if test "${ac_cv_header_iconv_h+set}" = set; then
87833 echo $ECHO_N "(cached) $ECHO_C" >&6
87834 else
87835 ac_cv_header_iconv_h=$ac_header_preproc
87837 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
87838 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
87841 if test $ac_cv_header_iconv_h = yes; then
87842 ac_has_iconv_h=yes
87843 else
87844 ac_has_iconv_h=no
87848 if test "${ac_cv_header_langinfo_h+set}" = set; then
87849 echo "$as_me:$LINENO: checking for langinfo.h" >&5
87850 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
87851 if test "${ac_cv_header_langinfo_h+set}" = set; then
87852 echo $ECHO_N "(cached) $ECHO_C" >&6
87854 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
87855 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
87856 else
87857 # Is the header compilable?
87858 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
87859 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
87860 cat >conftest.$ac_ext <<_ACEOF
87861 /* confdefs.h. */
87862 _ACEOF
87863 cat confdefs.h >>conftest.$ac_ext
87864 cat >>conftest.$ac_ext <<_ACEOF
87865 /* end confdefs.h. */
87866 $ac_includes_default
87867 #include <langinfo.h>
87868 _ACEOF
87869 rm -f conftest.$ac_objext
87870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87871 (eval $ac_compile) 2>conftest.er1
87872 ac_status=$?
87873 grep -v '^ *+' conftest.er1 >conftest.err
87874 rm -f conftest.er1
87875 cat conftest.err >&5
87876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87877 (exit $ac_status); } &&
87878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87880 (eval $ac_try) 2>&5
87881 ac_status=$?
87882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87883 (exit $ac_status); }; } &&
87884 { ac_try='test -s conftest.$ac_objext'
87885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87886 (eval $ac_try) 2>&5
87887 ac_status=$?
87888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87889 (exit $ac_status); }; }; then
87890 ac_header_compiler=yes
87891 else
87892 echo "$as_me: failed program was:" >&5
87893 sed 's/^/| /' conftest.$ac_ext >&5
87895 ac_header_compiler=no
87897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87899 echo "${ECHO_T}$ac_header_compiler" >&6
87901 # Is the header present?
87902 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
87903 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
87904 cat >conftest.$ac_ext <<_ACEOF
87905 /* confdefs.h. */
87906 _ACEOF
87907 cat confdefs.h >>conftest.$ac_ext
87908 cat >>conftest.$ac_ext <<_ACEOF
87909 /* end confdefs.h. */
87910 #include <langinfo.h>
87911 _ACEOF
87912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87914 ac_status=$?
87915 grep -v '^ *+' conftest.er1 >conftest.err
87916 rm -f conftest.er1
87917 cat conftest.err >&5
87918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87919 (exit $ac_status); } >/dev/null; then
87920 if test -s conftest.err; then
87921 ac_cpp_err=$ac_c_preproc_warn_flag
87922 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87923 else
87924 ac_cpp_err=
87926 else
87927 ac_cpp_err=yes
87929 if test -z "$ac_cpp_err"; then
87930 ac_header_preproc=yes
87931 else
87932 echo "$as_me: failed program was:" >&5
87933 sed 's/^/| /' conftest.$ac_ext >&5
87935 ac_header_preproc=no
87937 rm -f conftest.err conftest.$ac_ext
87938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87939 echo "${ECHO_T}$ac_header_preproc" >&6
87941 # So? What about this header?
87942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87943 yes:no: )
87944 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
87945 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
87946 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
87947 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
87948 ac_header_preproc=yes
87950 no:yes:* )
87951 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
87952 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
87953 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
87954 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
87955 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
87956 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
87957 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
87958 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
87959 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
87960 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
87961 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
87962 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
87964 cat <<\_ASBOX
87965 ## ----------------------------------------- ##
87966 ## Report this to the package-unused lists. ##
87967 ## ----------------------------------------- ##
87968 _ASBOX
87970 sed "s/^/$as_me: WARNING: /" >&2
87972 esac
87973 echo "$as_me:$LINENO: checking for langinfo.h" >&5
87974 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
87975 if test "${ac_cv_header_langinfo_h+set}" = set; then
87976 echo $ECHO_N "(cached) $ECHO_C" >&6
87977 else
87978 ac_cv_header_langinfo_h=$ac_header_preproc
87980 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
87981 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
87984 if test $ac_cv_header_langinfo_h = yes; then
87985 ac_has_langinfo_h=yes
87986 else
87987 ac_has_langinfo_h=no
87992 # Check for existence of libiconv.a providing XPG2 wchar_t support.
87993 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
87994 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
87995 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
87996 echo $ECHO_N "(cached) $ECHO_C" >&6
87997 else
87998 ac_check_lib_save_LIBS=$LIBS
87999 LIBS="-liconv $LIBS"
88000 if test x$gcc_no_link = xyes; then
88001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88003 { (exit 1); exit 1; }; }
88005 cat >conftest.$ac_ext <<_ACEOF
88006 /* confdefs.h. */
88007 _ACEOF
88008 cat confdefs.h >>conftest.$ac_ext
88009 cat >>conftest.$ac_ext <<_ACEOF
88010 /* end confdefs.h. */
88012 /* Override any gcc2 internal prototype to avoid an error. */
88013 #ifdef __cplusplus
88014 extern "C"
88015 #endif
88016 /* We use char because int might match the return type of a gcc2
88017 builtin and then its argument prototype would still apply. */
88018 char iconv ();
88020 main ()
88022 iconv ();
88024 return 0;
88026 _ACEOF
88027 rm -f conftest.$ac_objext conftest$ac_exeext
88028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88029 (eval $ac_link) 2>conftest.er1
88030 ac_status=$?
88031 grep -v '^ *+' conftest.er1 >conftest.err
88032 rm -f conftest.er1
88033 cat conftest.err >&5
88034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88035 (exit $ac_status); } &&
88036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88038 (eval $ac_try) 2>&5
88039 ac_status=$?
88040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88041 (exit $ac_status); }; } &&
88042 { ac_try='test -s conftest$ac_exeext'
88043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88044 (eval $ac_try) 2>&5
88045 ac_status=$?
88046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88047 (exit $ac_status); }; }; then
88048 ac_cv_lib_iconv_iconv=yes
88049 else
88050 echo "$as_me: failed program was:" >&5
88051 sed 's/^/| /' conftest.$ac_ext >&5
88053 ac_cv_lib_iconv_iconv=no
88055 rm -f conftest.err conftest.$ac_objext \
88056 conftest$ac_exeext conftest.$ac_ext
88057 LIBS=$ac_check_lib_save_LIBS
88059 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88060 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88061 if test $ac_cv_lib_iconv_iconv = yes; then
88062 LIBICONV="-liconv"
88065 ac_save_LIBS="$LIBS"
88066 LIBS="$LIBS $LIBICONV"
88073 for ac_func in iconv_open iconv_close iconv nl_langinfo
88075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88076 echo "$as_me:$LINENO: checking for $ac_func" >&5
88077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88078 if eval "test \"\${$as_ac_var+set}\" = set"; then
88079 echo $ECHO_N "(cached) $ECHO_C" >&6
88080 else
88081 if test x$gcc_no_link = xyes; then
88082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88084 { (exit 1); exit 1; }; }
88086 cat >conftest.$ac_ext <<_ACEOF
88087 /* confdefs.h. */
88088 _ACEOF
88089 cat confdefs.h >>conftest.$ac_ext
88090 cat >>conftest.$ac_ext <<_ACEOF
88091 /* end confdefs.h. */
88092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88094 #define $ac_func innocuous_$ac_func
88096 /* System header to define __stub macros and hopefully few prototypes,
88097 which can conflict with char $ac_func (); below.
88098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88099 <limits.h> exists even on freestanding compilers. */
88101 #ifdef __STDC__
88102 # include <limits.h>
88103 #else
88104 # include <assert.h>
88105 #endif
88107 #undef $ac_func
88109 /* Override any gcc2 internal prototype to avoid an error. */
88110 #ifdef __cplusplus
88111 extern "C"
88113 #endif
88114 /* We use char because int might match the return type of a gcc2
88115 builtin and then its argument prototype would still apply. */
88116 char $ac_func ();
88117 /* The GNU C library defines this for functions which it implements
88118 to always fail with ENOSYS. Some functions are actually named
88119 something starting with __ and the normal name is an alias. */
88120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88121 choke me
88122 #else
88123 char (*f) () = $ac_func;
88124 #endif
88125 #ifdef __cplusplus
88127 #endif
88130 main ()
88132 return f != $ac_func;
88134 return 0;
88136 _ACEOF
88137 rm -f conftest.$ac_objext conftest$ac_exeext
88138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88139 (eval $ac_link) 2>conftest.er1
88140 ac_status=$?
88141 grep -v '^ *+' conftest.er1 >conftest.err
88142 rm -f conftest.er1
88143 cat conftest.err >&5
88144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88145 (exit $ac_status); } &&
88146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88148 (eval $ac_try) 2>&5
88149 ac_status=$?
88150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88151 (exit $ac_status); }; } &&
88152 { ac_try='test -s conftest$ac_exeext'
88153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88154 (eval $ac_try) 2>&5
88155 ac_status=$?
88156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88157 (exit $ac_status); }; }; then
88158 eval "$as_ac_var=yes"
88159 else
88160 echo "$as_me: failed program was:" >&5
88161 sed 's/^/| /' conftest.$ac_ext >&5
88163 eval "$as_ac_var=no"
88165 rm -f conftest.err conftest.$ac_objext \
88166 conftest$ac_exeext conftest.$ac_ext
88168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88170 if test `eval echo '${'$as_ac_var'}'` = yes; then
88171 cat >>confdefs.h <<_ACEOF
88172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88173 _ACEOF
88174 ac_XPG2funcs=yes
88175 else
88176 ac_XPG2funcs=no
88178 done
88181 LIBS="$ac_save_LIBS"
88183 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
88184 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
88185 if test x"$ac_has_iconv_h" = xyes &&
88186 test x"$ac_has_langinfo_h" = xyes &&
88187 test x"$ac_XPG2funcs" = xyes;
88188 then
88189 ac_XPG2_wchar_t=yes
88190 else
88191 ac_XPG2_wchar_t=no
88193 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
88194 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
88196 # At the moment, only enable wchar_t specializations if all the
88197 # above support is present.
88198 if test x"$ac_isoC99_wchar_t" = xyes &&
88199 test x"$ac_XPG2_wchar_t" = xyes;
88200 then
88201 cat >>confdefs.h <<\_ACEOF
88202 #define _GLIBCXX_USE_WCHAR_T 1
88203 _ACEOF
88205 enable_wchar_t=yes
88208 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
88209 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
88210 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
88211 echo "${ECHO_T}$enable_wchar_t" >&6
88213 cat >>confdefs.h <<\_ACEOF
88214 #define HAVE_COSF 1
88215 _ACEOF
88217 cat >>confdefs.h <<\_ACEOF
88218 #define HAVE_COSL 1
88219 _ACEOF
88221 cat >>confdefs.h <<\_ACEOF
88222 #define HAVE_COSHF 1
88223 _ACEOF
88225 cat >>confdefs.h <<\_ACEOF
88226 #define HAVE_COSHL 1
88227 _ACEOF
88229 cat >>confdefs.h <<\_ACEOF
88230 #define HAVE_LOGF 1
88231 _ACEOF
88233 cat >>confdefs.h <<\_ACEOF
88234 #define HAVE_LOGL 1
88235 _ACEOF
88237 cat >>confdefs.h <<\_ACEOF
88238 #define HAVE_LOG10F 1
88239 _ACEOF
88241 cat >>confdefs.h <<\_ACEOF
88242 #define HAVE_LOG10L 1
88243 _ACEOF
88245 cat >>confdefs.h <<\_ACEOF
88246 #define HAVE_SINF 1
88247 _ACEOF
88249 cat >>confdefs.h <<\_ACEOF
88250 #define HAVE_SINL 1
88251 _ACEOF
88253 cat >>confdefs.h <<\_ACEOF
88254 #define HAVE_SINHF 1
88255 _ACEOF
88257 cat >>confdefs.h <<\_ACEOF
88258 #define HAVE_SINHL 1
88259 _ACEOF
88262 *-solaris*)
88263 case "$target" in
88264 # *-solaris2.5)
88265 # os_include_dir="os/solaris/solaris2.5"
88266 # ;;
88267 # *-solaris2.6)
88268 # os_include_dir="os/solaris/solaris2.6"
88269 # ;;
88270 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
88271 cat >>confdefs.h <<\_ACEOF
88272 #define HAVE_GETPAGESIZE 1
88273 _ACEOF
88275 cat >>confdefs.h <<\_ACEOF
88276 #define HAVE_SIGSETJMP 1
88277 _ACEOF
88279 cat >>confdefs.h <<\_ACEOF
88280 #define HAVE_MBSTATE_T 1
88281 _ACEOF
88283 cat >>confdefs.h <<\_ACEOF
88284 #define HAVE_POLL 1
88285 _ACEOF
88287 cat >>confdefs.h <<\_ACEOF
88288 #define HAVE_S_ISREG 1
88289 _ACEOF
88291 cat >>confdefs.h <<\_ACEOF
88292 #define HAVE_LC_MESSAGES 1
88293 _ACEOF
88295 cat >>confdefs.h <<\_ACEOF
88296 #define HAVE_BTOWC 1
88297 _ACEOF
88299 cat >>confdefs.h <<\_ACEOF
88300 #define HAVE_FGETWC 1
88301 _ACEOF
88303 cat >>confdefs.h <<\_ACEOF
88304 #define HAVE_FGETWS 1
88305 _ACEOF
88307 cat >>confdefs.h <<\_ACEOF
88308 #define HAVE_FINITE 1
88309 _ACEOF
88311 cat >>confdefs.h <<\_ACEOF
88312 #define HAVE_FPCLASS 1
88313 _ACEOF
88315 cat >>confdefs.h <<\_ACEOF
88316 #define HAVE_FPUTWC 1
88317 _ACEOF
88319 cat >>confdefs.h <<\_ACEOF
88320 #define HAVE_FPUTWS 1
88321 _ACEOF
88323 cat >>confdefs.h <<\_ACEOF
88324 #define HAVE_FWIDE 1
88325 _ACEOF
88327 cat >>confdefs.h <<\_ACEOF
88328 #define HAVE_FWPRINTF 1
88329 _ACEOF
88331 cat >>confdefs.h <<\_ACEOF
88332 #define HAVE_FWSCANF 1
88333 _ACEOF
88335 cat >>confdefs.h <<\_ACEOF
88336 #define HAVE_GETPAGESIZE 1
88337 _ACEOF
88339 cat >>confdefs.h <<\_ACEOF
88340 #define HAVE_GETWC 1
88341 _ACEOF
88343 cat >>confdefs.h <<\_ACEOF
88344 #define HAVE_GETWCHAR 1
88345 _ACEOF
88347 cat >>confdefs.h <<\_ACEOF
88348 #define HAVE_MBRLEN 1
88349 _ACEOF
88351 cat >>confdefs.h <<\_ACEOF
88352 #define HAVE_MBRTOWC 1
88353 _ACEOF
88355 cat >>confdefs.h <<\_ACEOF
88356 #define HAVE_MBSINIT 1
88357 _ACEOF
88359 cat >>confdefs.h <<\_ACEOF
88360 #define HAVE_MBSRTOWCS 1
88361 _ACEOF
88363 cat >>confdefs.h <<\_ACEOF
88364 #define HAVE_NL_LANGINFO 1
88365 _ACEOF
88367 cat >>confdefs.h <<\_ACEOF
88368 #define HAVE_PUTWC 1
88369 _ACEOF
88371 cat >>confdefs.h <<\_ACEOF
88372 #define HAVE_PUTWCHAR 1
88373 _ACEOF
88375 cat >>confdefs.h <<\_ACEOF
88376 #define HAVE_SWPRINTF 1
88377 _ACEOF
88379 cat >>confdefs.h <<\_ACEOF
88380 #define HAVE_SWSCANF 1
88381 _ACEOF
88383 cat >>confdefs.h <<\_ACEOF
88384 #define HAVE_UNGETWC 1
88385 _ACEOF
88387 cat >>confdefs.h <<\_ACEOF
88388 #define HAVE_VFWPRINTF 1
88389 _ACEOF
88391 cat >>confdefs.h <<\_ACEOF
88392 #define HAVE_VSWPRINTF 1
88393 _ACEOF
88395 cat >>confdefs.h <<\_ACEOF
88396 #define HAVE_VWPRINTF 1
88397 _ACEOF
88399 cat >>confdefs.h <<\_ACEOF
88400 #define HAVE_WCRTOMB 1
88401 _ACEOF
88403 cat >>confdefs.h <<\_ACEOF
88404 #define HAVE_WCSCAT 1
88405 _ACEOF
88407 cat >>confdefs.h <<\_ACEOF
88408 #define HAVE_WCSCHR 1
88409 _ACEOF
88411 cat >>confdefs.h <<\_ACEOF
88412 #define HAVE_WCSCMP 1
88413 _ACEOF
88415 cat >>confdefs.h <<\_ACEOF
88416 #define HAVE_WCSCOLL 1
88417 _ACEOF
88419 cat >>confdefs.h <<\_ACEOF
88420 #define HAVE_WCSCPY 1
88421 _ACEOF
88423 cat >>confdefs.h <<\_ACEOF
88424 #define HAVE_WCSCSPN 1
88425 _ACEOF
88427 cat >>confdefs.h <<\_ACEOF
88428 #define HAVE_WCSFTIME 1
88429 _ACEOF
88431 cat >>confdefs.h <<\_ACEOF
88432 #define HAVE_WCSLEN 1
88433 _ACEOF
88435 cat >>confdefs.h <<\_ACEOF
88436 #define HAVE_WCSNCAT 1
88437 _ACEOF
88439 cat >>confdefs.h <<\_ACEOF
88440 #define HAVE_WCSNCMP 1
88441 _ACEOF
88443 cat >>confdefs.h <<\_ACEOF
88444 #define HAVE_WCSNCPY 1
88445 _ACEOF
88447 cat >>confdefs.h <<\_ACEOF
88448 #define HAVE_WCSPBRK 1
88449 _ACEOF
88451 cat >>confdefs.h <<\_ACEOF
88452 #define HAVE_WCSRCHR 1
88453 _ACEOF
88455 cat >>confdefs.h <<\_ACEOF
88456 #define HAVE_WCSRTOMBS 1
88457 _ACEOF
88459 cat >>confdefs.h <<\_ACEOF
88460 #define HAVE_WCSSPN 1
88461 _ACEOF
88463 cat >>confdefs.h <<\_ACEOF
88464 #define HAVE_WCSSTR 1
88465 _ACEOF
88467 cat >>confdefs.h <<\_ACEOF
88468 #define HAVE_WCSTOD 1
88469 _ACEOF
88471 cat >>confdefs.h <<\_ACEOF
88472 #define HAVE_WCSTOK 1
88473 _ACEOF
88475 cat >>confdefs.h <<\_ACEOF
88476 #define HAVE_WCSTOL 1
88477 _ACEOF
88479 cat >>confdefs.h <<\_ACEOF
88480 #define HAVE_WCSTOUL 1
88481 _ACEOF
88483 cat >>confdefs.h <<\_ACEOF
88484 #define HAVE_WCSXFRM 1
88485 _ACEOF
88487 cat >>confdefs.h <<\_ACEOF
88488 #define HAVE_WCTOB 1
88489 _ACEOF
88491 cat >>confdefs.h <<\_ACEOF
88492 #define HAVE_WMEMCHR 1
88493 _ACEOF
88495 cat >>confdefs.h <<\_ACEOF
88496 #define HAVE_WMEMCMP 1
88497 _ACEOF
88499 cat >>confdefs.h <<\_ACEOF
88500 #define HAVE_WMEMCPY 1
88501 _ACEOF
88503 cat >>confdefs.h <<\_ACEOF
88504 #define HAVE_WMEMMOVE 1
88505 _ACEOF
88507 cat >>confdefs.h <<\_ACEOF
88508 #define HAVE_WMEMSET 1
88509 _ACEOF
88511 cat >>confdefs.h <<\_ACEOF
88512 #define HAVE_WPRINTF 1
88513 _ACEOF
88515 cat >>confdefs.h <<\_ACEOF
88516 #define HAVE_WSCANF 1
88517 _ACEOF
88519 cat >>confdefs.h <<\_ACEOF
88520 #define HAVE_ICONV 1
88521 _ACEOF
88523 cat >>confdefs.h <<\_ACEOF
88524 #define HAVE_ICONV_CLOSE 1
88525 _ACEOF
88527 cat >>confdefs.h <<\_ACEOF
88528 #define HAVE_ICONV_OPEN 1
88529 _ACEOF
88531 # Look for the pieces required for wchar_t support in order to
88532 # get all the right HAVE_* macros defined.
88534 # Test wchar.h for mbstate_t, which is needed for char_traits and
88535 # others even if wchar_t support is not on.
88536 echo "$as_me:$LINENO: checking for mbstate_t" >&5
88537 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
88538 cat >conftest.$ac_ext <<_ACEOF
88539 /* confdefs.h. */
88540 _ACEOF
88541 cat confdefs.h >>conftest.$ac_ext
88542 cat >>conftest.$ac_ext <<_ACEOF
88543 /* end confdefs.h. */
88544 #include <wchar.h>
88546 main ()
88548 mbstate_t teststate;
88550 return 0;
88552 _ACEOF
88553 rm -f conftest.$ac_objext
88554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88555 (eval $ac_compile) 2>conftest.er1
88556 ac_status=$?
88557 grep -v '^ *+' conftest.er1 >conftest.err
88558 rm -f conftest.er1
88559 cat conftest.err >&5
88560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88561 (exit $ac_status); } &&
88562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88564 (eval $ac_try) 2>&5
88565 ac_status=$?
88566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88567 (exit $ac_status); }; } &&
88568 { ac_try='test -s conftest.$ac_objext'
88569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88570 (eval $ac_try) 2>&5
88571 ac_status=$?
88572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88573 (exit $ac_status); }; }; then
88574 have_mbstate_t=yes
88575 else
88576 echo "$as_me: failed program was:" >&5
88577 sed 's/^/| /' conftest.$ac_ext >&5
88579 have_mbstate_t=no
88581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88582 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
88583 echo "${ECHO_T}$have_mbstate_t" >&6
88584 if test x"$have_mbstate_t" = xyes; then
88585 cat >>confdefs.h <<\_ACEOF
88586 #define HAVE_MBSTATE_T 1
88587 _ACEOF
88591 # Sanity check for existence of ISO C99 headers for extended encoding.
88593 for ac_header in wchar.h
88595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88597 echo "$as_me:$LINENO: checking for $ac_header" >&5
88598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88600 echo $ECHO_N "(cached) $ECHO_C" >&6
88602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88604 else
88605 # Is the header compilable?
88606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88608 cat >conftest.$ac_ext <<_ACEOF
88609 /* confdefs.h. */
88610 _ACEOF
88611 cat confdefs.h >>conftest.$ac_ext
88612 cat >>conftest.$ac_ext <<_ACEOF
88613 /* end confdefs.h. */
88614 $ac_includes_default
88615 #include <$ac_header>
88616 _ACEOF
88617 rm -f conftest.$ac_objext
88618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88619 (eval $ac_compile) 2>conftest.er1
88620 ac_status=$?
88621 grep -v '^ *+' conftest.er1 >conftest.err
88622 rm -f conftest.er1
88623 cat conftest.err >&5
88624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88625 (exit $ac_status); } &&
88626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88628 (eval $ac_try) 2>&5
88629 ac_status=$?
88630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88631 (exit $ac_status); }; } &&
88632 { ac_try='test -s conftest.$ac_objext'
88633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88634 (eval $ac_try) 2>&5
88635 ac_status=$?
88636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88637 (exit $ac_status); }; }; then
88638 ac_header_compiler=yes
88639 else
88640 echo "$as_me: failed program was:" >&5
88641 sed 's/^/| /' conftest.$ac_ext >&5
88643 ac_header_compiler=no
88645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88647 echo "${ECHO_T}$ac_header_compiler" >&6
88649 # Is the header present?
88650 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88652 cat >conftest.$ac_ext <<_ACEOF
88653 /* confdefs.h. */
88654 _ACEOF
88655 cat confdefs.h >>conftest.$ac_ext
88656 cat >>conftest.$ac_ext <<_ACEOF
88657 /* end confdefs.h. */
88658 #include <$ac_header>
88659 _ACEOF
88660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88662 ac_status=$?
88663 grep -v '^ *+' conftest.er1 >conftest.err
88664 rm -f conftest.er1
88665 cat conftest.err >&5
88666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88667 (exit $ac_status); } >/dev/null; then
88668 if test -s conftest.err; then
88669 ac_cpp_err=$ac_c_preproc_warn_flag
88670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88671 else
88672 ac_cpp_err=
88674 else
88675 ac_cpp_err=yes
88677 if test -z "$ac_cpp_err"; then
88678 ac_header_preproc=yes
88679 else
88680 echo "$as_me: failed program was:" >&5
88681 sed 's/^/| /' conftest.$ac_ext >&5
88683 ac_header_preproc=no
88685 rm -f conftest.err conftest.$ac_ext
88686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88687 echo "${ECHO_T}$ac_header_preproc" >&6
88689 # So? What about this header?
88690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88691 yes:no: )
88692 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88693 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88695 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88696 ac_header_preproc=yes
88698 no:yes:* )
88699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88703 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88704 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88705 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88706 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88709 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88710 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88712 cat <<\_ASBOX
88713 ## ----------------------------------------- ##
88714 ## Report this to the package-unused lists. ##
88715 ## ----------------------------------------- ##
88716 _ASBOX
88718 sed "s/^/$as_me: WARNING: /" >&2
88720 esac
88721 echo "$as_me:$LINENO: checking for $ac_header" >&5
88722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88724 echo $ECHO_N "(cached) $ECHO_C" >&6
88725 else
88726 eval "$as_ac_Header=\$ac_header_preproc"
88728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88733 cat >>confdefs.h <<_ACEOF
88734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88735 _ACEOF
88736 ac_has_wchar_h=yes
88737 else
88738 ac_has_wchar_h=no
88741 done
88744 for ac_header in wctype.h
88746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88748 echo "$as_me:$LINENO: checking for $ac_header" >&5
88749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88751 echo $ECHO_N "(cached) $ECHO_C" >&6
88753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88755 else
88756 # Is the header compilable?
88757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88759 cat >conftest.$ac_ext <<_ACEOF
88760 /* confdefs.h. */
88761 _ACEOF
88762 cat confdefs.h >>conftest.$ac_ext
88763 cat >>conftest.$ac_ext <<_ACEOF
88764 /* end confdefs.h. */
88765 $ac_includes_default
88766 #include <$ac_header>
88767 _ACEOF
88768 rm -f conftest.$ac_objext
88769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88770 (eval $ac_compile) 2>conftest.er1
88771 ac_status=$?
88772 grep -v '^ *+' conftest.er1 >conftest.err
88773 rm -f conftest.er1
88774 cat conftest.err >&5
88775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88776 (exit $ac_status); } &&
88777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88779 (eval $ac_try) 2>&5
88780 ac_status=$?
88781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88782 (exit $ac_status); }; } &&
88783 { ac_try='test -s conftest.$ac_objext'
88784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88785 (eval $ac_try) 2>&5
88786 ac_status=$?
88787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88788 (exit $ac_status); }; }; then
88789 ac_header_compiler=yes
88790 else
88791 echo "$as_me: failed program was:" >&5
88792 sed 's/^/| /' conftest.$ac_ext >&5
88794 ac_header_compiler=no
88796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88798 echo "${ECHO_T}$ac_header_compiler" >&6
88800 # Is the header present?
88801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88803 cat >conftest.$ac_ext <<_ACEOF
88804 /* confdefs.h. */
88805 _ACEOF
88806 cat confdefs.h >>conftest.$ac_ext
88807 cat >>conftest.$ac_ext <<_ACEOF
88808 /* end confdefs.h. */
88809 #include <$ac_header>
88810 _ACEOF
88811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88813 ac_status=$?
88814 grep -v '^ *+' conftest.er1 >conftest.err
88815 rm -f conftest.er1
88816 cat conftest.err >&5
88817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88818 (exit $ac_status); } >/dev/null; then
88819 if test -s conftest.err; then
88820 ac_cpp_err=$ac_c_preproc_warn_flag
88821 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88822 else
88823 ac_cpp_err=
88825 else
88826 ac_cpp_err=yes
88828 if test -z "$ac_cpp_err"; then
88829 ac_header_preproc=yes
88830 else
88831 echo "$as_me: failed program was:" >&5
88832 sed 's/^/| /' conftest.$ac_ext >&5
88834 ac_header_preproc=no
88836 rm -f conftest.err conftest.$ac_ext
88837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88838 echo "${ECHO_T}$ac_header_preproc" >&6
88840 # So? What about this header?
88841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88842 yes:no: )
88843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88847 ac_header_preproc=yes
88849 no:yes:* )
88850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88863 cat <<\_ASBOX
88864 ## ----------------------------------------- ##
88865 ## Report this to the package-unused lists. ##
88866 ## ----------------------------------------- ##
88867 _ASBOX
88869 sed "s/^/$as_me: WARNING: /" >&2
88871 esac
88872 echo "$as_me:$LINENO: checking for $ac_header" >&5
88873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88875 echo $ECHO_N "(cached) $ECHO_C" >&6
88876 else
88877 eval "$as_ac_Header=\$ac_header_preproc"
88879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88884 cat >>confdefs.h <<_ACEOF
88885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88886 _ACEOF
88887 ac_has_wctype_h=yes
88888 else
88889 ac_has_wctype_h=no
88892 done
88895 # Only continue checking if the ISO C99 headers exist and support is on.
88896 if test x"$ac_has_wchar_h" = xyes &&
88897 test x"$ac_has_wctype_h" = xyes &&
88898 test x"$enable_c_mbchar" != xno; then
88900 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88901 # numeric_limits can instantiate type_traits<wchar_t>
88902 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88903 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88904 cat >conftest.$ac_ext <<_ACEOF
88905 /* confdefs.h. */
88906 _ACEOF
88907 cat confdefs.h >>conftest.$ac_ext
88908 cat >>conftest.$ac_ext <<_ACEOF
88909 /* end confdefs.h. */
88910 #include <wchar.h>
88912 main ()
88914 int i = WCHAR_MIN; int j = WCHAR_MAX;
88916 return 0;
88918 _ACEOF
88919 rm -f conftest.$ac_objext
88920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88921 (eval $ac_compile) 2>conftest.er1
88922 ac_status=$?
88923 grep -v '^ *+' conftest.er1 >conftest.err
88924 rm -f conftest.er1
88925 cat conftest.err >&5
88926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88927 (exit $ac_status); } &&
88928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88930 (eval $ac_try) 2>&5
88931 ac_status=$?
88932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88933 (exit $ac_status); }; } &&
88934 { ac_try='test -s conftest.$ac_objext'
88935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88936 (eval $ac_try) 2>&5
88937 ac_status=$?
88938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88939 (exit $ac_status); }; }; then
88940 has_wchar_minmax=yes
88941 else
88942 echo "$as_me: failed program was:" >&5
88943 sed 's/^/| /' conftest.$ac_ext >&5
88945 has_wchar_minmax=no
88947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88948 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88949 echo "${ECHO_T}$has_wchar_minmax" >&6
88951 # Test wchar.h for WEOF, which is what we use to determine whether
88952 # to specialize for char_traits<wchar_t> or not.
88953 echo "$as_me:$LINENO: checking for WEOF" >&5
88954 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88955 cat >conftest.$ac_ext <<_ACEOF
88956 /* confdefs.h. */
88957 _ACEOF
88958 cat confdefs.h >>conftest.$ac_ext
88959 cat >>conftest.$ac_ext <<_ACEOF
88960 /* end confdefs.h. */
88962 #include <wchar.h>
88963 #include <stddef.h>
88965 main ()
88967 wint_t i = WEOF;
88969 return 0;
88971 _ACEOF
88972 rm -f conftest.$ac_objext
88973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88974 (eval $ac_compile) 2>conftest.er1
88975 ac_status=$?
88976 grep -v '^ *+' conftest.er1 >conftest.err
88977 rm -f conftest.er1
88978 cat conftest.err >&5
88979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88980 (exit $ac_status); } &&
88981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88983 (eval $ac_try) 2>&5
88984 ac_status=$?
88985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88986 (exit $ac_status); }; } &&
88987 { ac_try='test -s conftest.$ac_objext'
88988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88989 (eval $ac_try) 2>&5
88990 ac_status=$?
88991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88992 (exit $ac_status); }; }; then
88993 has_weof=yes
88994 else
88995 echo "$as_me: failed program was:" >&5
88996 sed 's/^/| /' conftest.$ac_ext >&5
88998 has_weof=no
89000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89001 echo "$as_me:$LINENO: result: $has_weof" >&5
89002 echo "${ECHO_T}$has_weof" >&6
89004 # Tests for wide character functions used in char_traits<wchar_t>.
89005 ac_wfuncs=yes
89012 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
89014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89015 echo "$as_me:$LINENO: checking for $ac_func" >&5
89016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89017 if eval "test \"\${$as_ac_var+set}\" = set"; then
89018 echo $ECHO_N "(cached) $ECHO_C" >&6
89019 else
89020 if test x$gcc_no_link = xyes; then
89021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89023 { (exit 1); exit 1; }; }
89025 cat >conftest.$ac_ext <<_ACEOF
89026 /* confdefs.h. */
89027 _ACEOF
89028 cat confdefs.h >>conftest.$ac_ext
89029 cat >>conftest.$ac_ext <<_ACEOF
89030 /* end confdefs.h. */
89031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89033 #define $ac_func innocuous_$ac_func
89035 /* System header to define __stub macros and hopefully few prototypes,
89036 which can conflict with char $ac_func (); below.
89037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89038 <limits.h> exists even on freestanding compilers. */
89040 #ifdef __STDC__
89041 # include <limits.h>
89042 #else
89043 # include <assert.h>
89044 #endif
89046 #undef $ac_func
89048 /* Override any gcc2 internal prototype to avoid an error. */
89049 #ifdef __cplusplus
89050 extern "C"
89052 #endif
89053 /* We use char because int might match the return type of a gcc2
89054 builtin and then its argument prototype would still apply. */
89055 char $ac_func ();
89056 /* The GNU C library defines this for functions which it implements
89057 to always fail with ENOSYS. Some functions are actually named
89058 something starting with __ and the normal name is an alias. */
89059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89060 choke me
89061 #else
89062 char (*f) () = $ac_func;
89063 #endif
89064 #ifdef __cplusplus
89066 #endif
89069 main ()
89071 return f != $ac_func;
89073 return 0;
89075 _ACEOF
89076 rm -f conftest.$ac_objext conftest$ac_exeext
89077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89078 (eval $ac_link) 2>conftest.er1
89079 ac_status=$?
89080 grep -v '^ *+' conftest.er1 >conftest.err
89081 rm -f conftest.er1
89082 cat conftest.err >&5
89083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89084 (exit $ac_status); } &&
89085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89087 (eval $ac_try) 2>&5
89088 ac_status=$?
89089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89090 (exit $ac_status); }; } &&
89091 { ac_try='test -s conftest$ac_exeext'
89092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89093 (eval $ac_try) 2>&5
89094 ac_status=$?
89095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89096 (exit $ac_status); }; }; then
89097 eval "$as_ac_var=yes"
89098 else
89099 echo "$as_me: failed program was:" >&5
89100 sed 's/^/| /' conftest.$ac_ext >&5
89102 eval "$as_ac_var=no"
89104 rm -f conftest.err conftest.$ac_objext \
89105 conftest$ac_exeext conftest.$ac_ext
89107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89109 if test `eval echo '${'$as_ac_var'}'` = yes; then
89110 cat >>confdefs.h <<_ACEOF
89111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89112 _ACEOF
89114 else
89115 ac_wfuncs=no
89117 done
89120 # Checks for names injected into std:: by the c_std headers.
89167 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
89168 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
89169 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
89170 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
89171 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
89172 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
89174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89175 echo "$as_me:$LINENO: checking for $ac_func" >&5
89176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89177 if eval "test \"\${$as_ac_var+set}\" = set"; then
89178 echo $ECHO_N "(cached) $ECHO_C" >&6
89179 else
89180 if test x$gcc_no_link = xyes; then
89181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89183 { (exit 1); exit 1; }; }
89185 cat >conftest.$ac_ext <<_ACEOF
89186 /* confdefs.h. */
89187 _ACEOF
89188 cat confdefs.h >>conftest.$ac_ext
89189 cat >>conftest.$ac_ext <<_ACEOF
89190 /* end confdefs.h. */
89191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89193 #define $ac_func innocuous_$ac_func
89195 /* System header to define __stub macros and hopefully few prototypes,
89196 which can conflict with char $ac_func (); below.
89197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89198 <limits.h> exists even on freestanding compilers. */
89200 #ifdef __STDC__
89201 # include <limits.h>
89202 #else
89203 # include <assert.h>
89204 #endif
89206 #undef $ac_func
89208 /* Override any gcc2 internal prototype to avoid an error. */
89209 #ifdef __cplusplus
89210 extern "C"
89212 #endif
89213 /* We use char because int might match the return type of a gcc2
89214 builtin and then its argument prototype would still apply. */
89215 char $ac_func ();
89216 /* The GNU C library defines this for functions which it implements
89217 to always fail with ENOSYS. Some functions are actually named
89218 something starting with __ and the normal name is an alias. */
89219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89220 choke me
89221 #else
89222 char (*f) () = $ac_func;
89223 #endif
89224 #ifdef __cplusplus
89226 #endif
89229 main ()
89231 return f != $ac_func;
89233 return 0;
89235 _ACEOF
89236 rm -f conftest.$ac_objext conftest$ac_exeext
89237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89238 (eval $ac_link) 2>conftest.er1
89239 ac_status=$?
89240 grep -v '^ *+' conftest.er1 >conftest.err
89241 rm -f conftest.er1
89242 cat conftest.err >&5
89243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89244 (exit $ac_status); } &&
89245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89247 (eval $ac_try) 2>&5
89248 ac_status=$?
89249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89250 (exit $ac_status); }; } &&
89251 { ac_try='test -s conftest$ac_exeext'
89252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89253 (eval $ac_try) 2>&5
89254 ac_status=$?
89255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89256 (exit $ac_status); }; }; then
89257 eval "$as_ac_var=yes"
89258 else
89259 echo "$as_me: failed program was:" >&5
89260 sed 's/^/| /' conftest.$ac_ext >&5
89262 eval "$as_ac_var=no"
89264 rm -f conftest.err conftest.$ac_objext \
89265 conftest$ac_exeext conftest.$ac_ext
89267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89269 if test `eval echo '${'$as_ac_var'}'` = yes; then
89270 cat >>confdefs.h <<_ACEOF
89271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89272 _ACEOF
89274 else
89275 ac_wfuncs=no
89277 done
89280 # Checks for wide character functions that are not required
89281 # for basic wchar_t support. Don't disable support if they are missing.
89282 # Injection of these is wrapped with guard macros.
89288 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
89290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89291 echo "$as_me:$LINENO: checking for $ac_func" >&5
89292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89293 if eval "test \"\${$as_ac_var+set}\" = set"; then
89294 echo $ECHO_N "(cached) $ECHO_C" >&6
89295 else
89296 if test x$gcc_no_link = xyes; then
89297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89299 { (exit 1); exit 1; }; }
89301 cat >conftest.$ac_ext <<_ACEOF
89302 /* confdefs.h. */
89303 _ACEOF
89304 cat confdefs.h >>conftest.$ac_ext
89305 cat >>conftest.$ac_ext <<_ACEOF
89306 /* end confdefs.h. */
89307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89309 #define $ac_func innocuous_$ac_func
89311 /* System header to define __stub macros and hopefully few prototypes,
89312 which can conflict with char $ac_func (); below.
89313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89314 <limits.h> exists even on freestanding compilers. */
89316 #ifdef __STDC__
89317 # include <limits.h>
89318 #else
89319 # include <assert.h>
89320 #endif
89322 #undef $ac_func
89324 /* Override any gcc2 internal prototype to avoid an error. */
89325 #ifdef __cplusplus
89326 extern "C"
89328 #endif
89329 /* We use char because int might match the return type of a gcc2
89330 builtin and then its argument prototype would still apply. */
89331 char $ac_func ();
89332 /* The GNU C library defines this for functions which it implements
89333 to always fail with ENOSYS. Some functions are actually named
89334 something starting with __ and the normal name is an alias. */
89335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89336 choke me
89337 #else
89338 char (*f) () = $ac_func;
89339 #endif
89340 #ifdef __cplusplus
89342 #endif
89345 main ()
89347 return f != $ac_func;
89349 return 0;
89351 _ACEOF
89352 rm -f conftest.$ac_objext conftest$ac_exeext
89353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89354 (eval $ac_link) 2>conftest.er1
89355 ac_status=$?
89356 grep -v '^ *+' conftest.er1 >conftest.err
89357 rm -f conftest.er1
89358 cat conftest.err >&5
89359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89360 (exit $ac_status); } &&
89361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89363 (eval $ac_try) 2>&5
89364 ac_status=$?
89365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89366 (exit $ac_status); }; } &&
89367 { ac_try='test -s conftest$ac_exeext'
89368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89369 (eval $ac_try) 2>&5
89370 ac_status=$?
89371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89372 (exit $ac_status); }; }; then
89373 eval "$as_ac_var=yes"
89374 else
89375 echo "$as_me: failed program was:" >&5
89376 sed 's/^/| /' conftest.$ac_ext >&5
89378 eval "$as_ac_var=no"
89380 rm -f conftest.err conftest.$ac_objext \
89381 conftest$ac_exeext conftest.$ac_ext
89383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89385 if test `eval echo '${'$as_ac_var'}'` = yes; then
89386 cat >>confdefs.h <<_ACEOF
89387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89388 _ACEOF
89391 done
89394 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
89395 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
89396 if test x"$has_weof" = xyes &&
89397 test x"$has_wchar_minmax" = xyes &&
89398 test x"$ac_wfuncs" = xyes;
89399 then
89400 ac_isoC99_wchar_t=yes
89401 else
89402 ac_isoC99_wchar_t=no
89404 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
89405 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
89407 # Use iconv for wchar_t to char conversions. As such, check for
89408 # X/Open Portability Guide, version 2 features (XPG2).
89409 if test "${ac_cv_header_iconv_h+set}" = set; then
89410 echo "$as_me:$LINENO: checking for iconv.h" >&5
89411 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
89412 if test "${ac_cv_header_iconv_h+set}" = set; then
89413 echo $ECHO_N "(cached) $ECHO_C" >&6
89415 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
89416 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
89417 else
89418 # Is the header compilable?
89419 echo "$as_me:$LINENO: checking iconv.h usability" >&5
89420 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
89421 cat >conftest.$ac_ext <<_ACEOF
89422 /* confdefs.h. */
89423 _ACEOF
89424 cat confdefs.h >>conftest.$ac_ext
89425 cat >>conftest.$ac_ext <<_ACEOF
89426 /* end confdefs.h. */
89427 $ac_includes_default
89428 #include <iconv.h>
89429 _ACEOF
89430 rm -f conftest.$ac_objext
89431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89432 (eval $ac_compile) 2>conftest.er1
89433 ac_status=$?
89434 grep -v '^ *+' conftest.er1 >conftest.err
89435 rm -f conftest.er1
89436 cat conftest.err >&5
89437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89438 (exit $ac_status); } &&
89439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89441 (eval $ac_try) 2>&5
89442 ac_status=$?
89443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89444 (exit $ac_status); }; } &&
89445 { ac_try='test -s conftest.$ac_objext'
89446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89447 (eval $ac_try) 2>&5
89448 ac_status=$?
89449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89450 (exit $ac_status); }; }; then
89451 ac_header_compiler=yes
89452 else
89453 echo "$as_me: failed program was:" >&5
89454 sed 's/^/| /' conftest.$ac_ext >&5
89456 ac_header_compiler=no
89458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89460 echo "${ECHO_T}$ac_header_compiler" >&6
89462 # Is the header present?
89463 echo "$as_me:$LINENO: checking iconv.h presence" >&5
89464 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
89465 cat >conftest.$ac_ext <<_ACEOF
89466 /* confdefs.h. */
89467 _ACEOF
89468 cat confdefs.h >>conftest.$ac_ext
89469 cat >>conftest.$ac_ext <<_ACEOF
89470 /* end confdefs.h. */
89471 #include <iconv.h>
89472 _ACEOF
89473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89475 ac_status=$?
89476 grep -v '^ *+' conftest.er1 >conftest.err
89477 rm -f conftest.er1
89478 cat conftest.err >&5
89479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89480 (exit $ac_status); } >/dev/null; then
89481 if test -s conftest.err; then
89482 ac_cpp_err=$ac_c_preproc_warn_flag
89483 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89484 else
89485 ac_cpp_err=
89487 else
89488 ac_cpp_err=yes
89490 if test -z "$ac_cpp_err"; then
89491 ac_header_preproc=yes
89492 else
89493 echo "$as_me: failed program was:" >&5
89494 sed 's/^/| /' conftest.$ac_ext >&5
89496 ac_header_preproc=no
89498 rm -f conftest.err conftest.$ac_ext
89499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89500 echo "${ECHO_T}$ac_header_preproc" >&6
89502 # So? What about this header?
89503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89504 yes:no: )
89505 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
89506 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89507 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
89508 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
89509 ac_header_preproc=yes
89511 no:yes:* )
89512 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
89513 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
89514 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
89515 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
89516 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
89517 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
89518 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
89519 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
89520 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
89521 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
89522 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
89523 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
89525 cat <<\_ASBOX
89526 ## ----------------------------------------- ##
89527 ## Report this to the package-unused lists. ##
89528 ## ----------------------------------------- ##
89529 _ASBOX
89531 sed "s/^/$as_me: WARNING: /" >&2
89533 esac
89534 echo "$as_me:$LINENO: checking for iconv.h" >&5
89535 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
89536 if test "${ac_cv_header_iconv_h+set}" = set; then
89537 echo $ECHO_N "(cached) $ECHO_C" >&6
89538 else
89539 ac_cv_header_iconv_h=$ac_header_preproc
89541 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
89542 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
89545 if test $ac_cv_header_iconv_h = yes; then
89546 ac_has_iconv_h=yes
89547 else
89548 ac_has_iconv_h=no
89552 if test "${ac_cv_header_langinfo_h+set}" = set; then
89553 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89554 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89555 if test "${ac_cv_header_langinfo_h+set}" = set; then
89556 echo $ECHO_N "(cached) $ECHO_C" >&6
89558 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89559 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89560 else
89561 # Is the header compilable?
89562 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
89563 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
89564 cat >conftest.$ac_ext <<_ACEOF
89565 /* confdefs.h. */
89566 _ACEOF
89567 cat confdefs.h >>conftest.$ac_ext
89568 cat >>conftest.$ac_ext <<_ACEOF
89569 /* end confdefs.h. */
89570 $ac_includes_default
89571 #include <langinfo.h>
89572 _ACEOF
89573 rm -f conftest.$ac_objext
89574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89575 (eval $ac_compile) 2>conftest.er1
89576 ac_status=$?
89577 grep -v '^ *+' conftest.er1 >conftest.err
89578 rm -f conftest.er1
89579 cat conftest.err >&5
89580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89581 (exit $ac_status); } &&
89582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89584 (eval $ac_try) 2>&5
89585 ac_status=$?
89586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89587 (exit $ac_status); }; } &&
89588 { ac_try='test -s conftest.$ac_objext'
89589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89590 (eval $ac_try) 2>&5
89591 ac_status=$?
89592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89593 (exit $ac_status); }; }; then
89594 ac_header_compiler=yes
89595 else
89596 echo "$as_me: failed program was:" >&5
89597 sed 's/^/| /' conftest.$ac_ext >&5
89599 ac_header_compiler=no
89601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89603 echo "${ECHO_T}$ac_header_compiler" >&6
89605 # Is the header present?
89606 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
89607 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
89608 cat >conftest.$ac_ext <<_ACEOF
89609 /* confdefs.h. */
89610 _ACEOF
89611 cat confdefs.h >>conftest.$ac_ext
89612 cat >>conftest.$ac_ext <<_ACEOF
89613 /* end confdefs.h. */
89614 #include <langinfo.h>
89615 _ACEOF
89616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89618 ac_status=$?
89619 grep -v '^ *+' conftest.er1 >conftest.err
89620 rm -f conftest.er1
89621 cat conftest.err >&5
89622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89623 (exit $ac_status); } >/dev/null; then
89624 if test -s conftest.err; then
89625 ac_cpp_err=$ac_c_preproc_warn_flag
89626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89627 else
89628 ac_cpp_err=
89630 else
89631 ac_cpp_err=yes
89633 if test -z "$ac_cpp_err"; then
89634 ac_header_preproc=yes
89635 else
89636 echo "$as_me: failed program was:" >&5
89637 sed 's/^/| /' conftest.$ac_ext >&5
89639 ac_header_preproc=no
89641 rm -f conftest.err conftest.$ac_ext
89642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89643 echo "${ECHO_T}$ac_header_preproc" >&6
89645 # So? What about this header?
89646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89647 yes:no: )
89648 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89649 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89650 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89651 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89652 ac_header_preproc=yes
89654 no:yes:* )
89655 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89656 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89657 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89658 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89659 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89660 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89661 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89662 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89663 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89664 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89665 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89666 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89668 cat <<\_ASBOX
89669 ## ----------------------------------------- ##
89670 ## Report this to the package-unused lists. ##
89671 ## ----------------------------------------- ##
89672 _ASBOX
89674 sed "s/^/$as_me: WARNING: /" >&2
89676 esac
89677 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89678 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89679 if test "${ac_cv_header_langinfo_h+set}" = set; then
89680 echo $ECHO_N "(cached) $ECHO_C" >&6
89681 else
89682 ac_cv_header_langinfo_h=$ac_header_preproc
89684 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89685 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89688 if test $ac_cv_header_langinfo_h = yes; then
89689 ac_has_langinfo_h=yes
89690 else
89691 ac_has_langinfo_h=no
89696 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89697 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89698 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89699 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89700 echo $ECHO_N "(cached) $ECHO_C" >&6
89701 else
89702 ac_check_lib_save_LIBS=$LIBS
89703 LIBS="-liconv $LIBS"
89704 if test x$gcc_no_link = xyes; then
89705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89707 { (exit 1); exit 1; }; }
89709 cat >conftest.$ac_ext <<_ACEOF
89710 /* confdefs.h. */
89711 _ACEOF
89712 cat confdefs.h >>conftest.$ac_ext
89713 cat >>conftest.$ac_ext <<_ACEOF
89714 /* end confdefs.h. */
89716 /* Override any gcc2 internal prototype to avoid an error. */
89717 #ifdef __cplusplus
89718 extern "C"
89719 #endif
89720 /* We use char because int might match the return type of a gcc2
89721 builtin and then its argument prototype would still apply. */
89722 char iconv ();
89724 main ()
89726 iconv ();
89728 return 0;
89730 _ACEOF
89731 rm -f conftest.$ac_objext conftest$ac_exeext
89732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89733 (eval $ac_link) 2>conftest.er1
89734 ac_status=$?
89735 grep -v '^ *+' conftest.er1 >conftest.err
89736 rm -f conftest.er1
89737 cat conftest.err >&5
89738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89739 (exit $ac_status); } &&
89740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89742 (eval $ac_try) 2>&5
89743 ac_status=$?
89744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89745 (exit $ac_status); }; } &&
89746 { ac_try='test -s conftest$ac_exeext'
89747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89748 (eval $ac_try) 2>&5
89749 ac_status=$?
89750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89751 (exit $ac_status); }; }; then
89752 ac_cv_lib_iconv_iconv=yes
89753 else
89754 echo "$as_me: failed program was:" >&5
89755 sed 's/^/| /' conftest.$ac_ext >&5
89757 ac_cv_lib_iconv_iconv=no
89759 rm -f conftest.err conftest.$ac_objext \
89760 conftest$ac_exeext conftest.$ac_ext
89761 LIBS=$ac_check_lib_save_LIBS
89763 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89764 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89765 if test $ac_cv_lib_iconv_iconv = yes; then
89766 LIBICONV="-liconv"
89769 ac_save_LIBS="$LIBS"
89770 LIBS="$LIBS $LIBICONV"
89777 for ac_func in iconv_open iconv_close iconv nl_langinfo
89779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89780 echo "$as_me:$LINENO: checking for $ac_func" >&5
89781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89782 if eval "test \"\${$as_ac_var+set}\" = set"; then
89783 echo $ECHO_N "(cached) $ECHO_C" >&6
89784 else
89785 if test x$gcc_no_link = xyes; then
89786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89788 { (exit 1); exit 1; }; }
89790 cat >conftest.$ac_ext <<_ACEOF
89791 /* confdefs.h. */
89792 _ACEOF
89793 cat confdefs.h >>conftest.$ac_ext
89794 cat >>conftest.$ac_ext <<_ACEOF
89795 /* end confdefs.h. */
89796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89798 #define $ac_func innocuous_$ac_func
89800 /* System header to define __stub macros and hopefully few prototypes,
89801 which can conflict with char $ac_func (); below.
89802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89803 <limits.h> exists even on freestanding compilers. */
89805 #ifdef __STDC__
89806 # include <limits.h>
89807 #else
89808 # include <assert.h>
89809 #endif
89811 #undef $ac_func
89813 /* Override any gcc2 internal prototype to avoid an error. */
89814 #ifdef __cplusplus
89815 extern "C"
89817 #endif
89818 /* We use char because int might match the return type of a gcc2
89819 builtin and then its argument prototype would still apply. */
89820 char $ac_func ();
89821 /* The GNU C library defines this for functions which it implements
89822 to always fail with ENOSYS. Some functions are actually named
89823 something starting with __ and the normal name is an alias. */
89824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89825 choke me
89826 #else
89827 char (*f) () = $ac_func;
89828 #endif
89829 #ifdef __cplusplus
89831 #endif
89834 main ()
89836 return f != $ac_func;
89838 return 0;
89840 _ACEOF
89841 rm -f conftest.$ac_objext conftest$ac_exeext
89842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89843 (eval $ac_link) 2>conftest.er1
89844 ac_status=$?
89845 grep -v '^ *+' conftest.er1 >conftest.err
89846 rm -f conftest.er1
89847 cat conftest.err >&5
89848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89849 (exit $ac_status); } &&
89850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89852 (eval $ac_try) 2>&5
89853 ac_status=$?
89854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89855 (exit $ac_status); }; } &&
89856 { ac_try='test -s conftest$ac_exeext'
89857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89858 (eval $ac_try) 2>&5
89859 ac_status=$?
89860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89861 (exit $ac_status); }; }; then
89862 eval "$as_ac_var=yes"
89863 else
89864 echo "$as_me: failed program was:" >&5
89865 sed 's/^/| /' conftest.$ac_ext >&5
89867 eval "$as_ac_var=no"
89869 rm -f conftest.err conftest.$ac_objext \
89870 conftest$ac_exeext conftest.$ac_ext
89872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89874 if test `eval echo '${'$as_ac_var'}'` = yes; then
89875 cat >>confdefs.h <<_ACEOF
89876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89877 _ACEOF
89878 ac_XPG2funcs=yes
89879 else
89880 ac_XPG2funcs=no
89882 done
89885 LIBS="$ac_save_LIBS"
89887 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89888 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89889 if test x"$ac_has_iconv_h" = xyes &&
89890 test x"$ac_has_langinfo_h" = xyes &&
89891 test x"$ac_XPG2funcs" = xyes;
89892 then
89893 ac_XPG2_wchar_t=yes
89894 else
89895 ac_XPG2_wchar_t=no
89897 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89898 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89900 # At the moment, only enable wchar_t specializations if all the
89901 # above support is present.
89902 if test x"$ac_isoC99_wchar_t" = xyes &&
89903 test x"$ac_XPG2_wchar_t" = xyes;
89904 then
89905 cat >>confdefs.h <<\_ACEOF
89906 #define _GLIBCXX_USE_WCHAR_T 1
89907 _ACEOF
89909 enable_wchar_t=yes
89912 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89913 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89914 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89915 echo "${ECHO_T}$enable_wchar_t" >&6
89917 # All of the dependencies for wide character support are here, so
89918 # turn it on. This requires some syncronization with the
89919 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
89920 cat >>confdefs.h <<\_ACEOF
89921 #define _GLIBCXX_USE_WCHAR_T 1
89922 _ACEOF
89924 # Are these tested for even when cross?
89925 cat >>confdefs.h <<\_ACEOF
89926 #define HAVE_FLOAT_H 1
89927 _ACEOF
89929 cat >>confdefs.h <<\_ACEOF
89930 #define HAVE_IEEEFP_H 1
89931 _ACEOF
89933 cat >>confdefs.h <<\_ACEOF
89934 #define HAVE_INTTYPES_H 1
89935 _ACEOF
89937 cat >>confdefs.h <<\_ACEOF
89938 #define HAVE_LOCALE_H 1
89939 _ACEOF
89941 cat >>confdefs.h <<\_ACEOF
89942 #define HAVE_NAN_H 1
89943 _ACEOF
89945 cat >>confdefs.h <<\_ACEOF
89946 #define HAVE_SYS_FILIO_H 1
89947 _ACEOF
89949 cat >>confdefs.h <<\_ACEOF
89950 #define HAVE_SYS_IOCTL_H 1
89951 _ACEOF
89953 cat >>confdefs.h <<\_ACEOF
89954 #define HAVE_SYS_ISA_DEFS_H 1
89955 _ACEOF
89957 cat >>confdefs.h <<\_ACEOF
89958 #define HAVE_SYS_RESOURCE_H 1
89959 _ACEOF
89961 cat >>confdefs.h <<\_ACEOF
89962 #define HAVE_SYS_TIME_H 1
89963 _ACEOF
89965 cat >>confdefs.h <<\_ACEOF
89966 #define HAVE_SYS_TYPES_H 1
89967 _ACEOF
89969 cat >>confdefs.h <<\_ACEOF
89970 #define HAVE_UNISTD_H 1
89971 _ACEOF
89973 cat >>confdefs.h <<\_ACEOF
89974 #define HAVE_WCHAR_H 1
89975 _ACEOF
89977 cat >>confdefs.h <<\_ACEOF
89978 #define HAVE_WCTYPE_H 1
89979 _ACEOF
89981 cat >>confdefs.h <<\_ACEOF
89982 #define HAVE_LIBM 1
89983 _ACEOF
89986 esac
89987 case "$target" in
89988 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
89989 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
89990 cat >>confdefs.h <<\_ACEOF
89991 #define HAVE___BUILTIN_ABS 1
89992 _ACEOF
89994 cat >>confdefs.h <<\_ACEOF
89995 #define HAVE___BUILTIN_LABS 1
89996 _ACEOF
89998 cat >>confdefs.h <<\_ACEOF
89999 #define HAVE___BUILTIN_FABS 1
90000 _ACEOF
90002 cat >>confdefs.h <<\_ACEOF
90003 #define HAVE___BUILTIN_FABSF 1
90004 _ACEOF
90006 cat >>confdefs.h <<\_ACEOF
90007 #define HAVE___BUILTIN_FABSL 1
90008 _ACEOF
90010 cat >>confdefs.h <<\_ACEOF
90011 #define HAVE___BUILTIN_COS 1
90012 _ACEOF
90014 cat >>confdefs.h <<\_ACEOF
90015 #define HAVE___BUILTIN_COSF 1
90016 _ACEOF
90018 cat >>confdefs.h <<\_ACEOF
90019 #define HAVE___BUILTIN_SIN 1
90020 _ACEOF
90022 cat >>confdefs.h <<\_ACEOF
90023 #define HAVE___BUILTIN_SINF 1
90024 _ACEOF
90027 esac
90028 cat >>confdefs.h <<\_ACEOF
90029 #define HAVE_STRTOF 1
90030 _ACEOF
90032 cat >>confdefs.h <<\_ACEOF
90033 #define HAVE_STRTOLD 1
90034 _ACEOF
90036 cat >>confdefs.h <<\_ACEOF
90037 #define HAVE_MMAP 1
90038 _ACEOF
90040 cat >>confdefs.h <<\_ACEOF
90041 #define HAVE_COPYSIGN 1
90042 _ACEOF
90044 cat >>confdefs.h <<\_ACEOF
90045 #define HAVE_ISNAN 1
90046 _ACEOF
90048 cat >>confdefs.h <<\_ACEOF
90049 #define HAVE_ISNANF 1
90050 _ACEOF
90052 cat >>confdefs.h <<\_ACEOF
90053 #define HAVE_MODFF 1
90054 _ACEOF
90056 cat >>confdefs.h <<\_ACEOF
90057 #define HAVE_HYPOT 1
90058 _ACEOF
90061 *-tpf)
90070 for ac_header in nan.h endian.h machine/endian.h \
90071 sys/param.h sys/types.h locale.h float.h inttypes.h
90073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90075 echo "$as_me:$LINENO: checking for $ac_header" >&5
90076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90078 echo $ECHO_N "(cached) $ECHO_C" >&6
90080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90082 else
90083 # Is the header compilable?
90084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90086 cat >conftest.$ac_ext <<_ACEOF
90087 /* confdefs.h. */
90088 _ACEOF
90089 cat confdefs.h >>conftest.$ac_ext
90090 cat >>conftest.$ac_ext <<_ACEOF
90091 /* end confdefs.h. */
90092 $ac_includes_default
90093 #include <$ac_header>
90094 _ACEOF
90095 rm -f conftest.$ac_objext
90096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90097 (eval $ac_compile) 2>conftest.er1
90098 ac_status=$?
90099 grep -v '^ *+' conftest.er1 >conftest.err
90100 rm -f conftest.er1
90101 cat conftest.err >&5
90102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90103 (exit $ac_status); } &&
90104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90106 (eval $ac_try) 2>&5
90107 ac_status=$?
90108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90109 (exit $ac_status); }; } &&
90110 { ac_try='test -s conftest.$ac_objext'
90111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90112 (eval $ac_try) 2>&5
90113 ac_status=$?
90114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90115 (exit $ac_status); }; }; then
90116 ac_header_compiler=yes
90117 else
90118 echo "$as_me: failed program was:" >&5
90119 sed 's/^/| /' conftest.$ac_ext >&5
90121 ac_header_compiler=no
90123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90125 echo "${ECHO_T}$ac_header_compiler" >&6
90127 # Is the header present?
90128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90130 cat >conftest.$ac_ext <<_ACEOF
90131 /* confdefs.h. */
90132 _ACEOF
90133 cat confdefs.h >>conftest.$ac_ext
90134 cat >>conftest.$ac_ext <<_ACEOF
90135 /* end confdefs.h. */
90136 #include <$ac_header>
90137 _ACEOF
90138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90140 ac_status=$?
90141 grep -v '^ *+' conftest.er1 >conftest.err
90142 rm -f conftest.er1
90143 cat conftest.err >&5
90144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90145 (exit $ac_status); } >/dev/null; then
90146 if test -s conftest.err; then
90147 ac_cpp_err=$ac_c_preproc_warn_flag
90148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90149 else
90150 ac_cpp_err=
90152 else
90153 ac_cpp_err=yes
90155 if test -z "$ac_cpp_err"; then
90156 ac_header_preproc=yes
90157 else
90158 echo "$as_me: failed program was:" >&5
90159 sed 's/^/| /' conftest.$ac_ext >&5
90161 ac_header_preproc=no
90163 rm -f conftest.err conftest.$ac_ext
90164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90165 echo "${ECHO_T}$ac_header_preproc" >&6
90167 # So? What about this header?
90168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90169 yes:no: )
90170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90174 ac_header_preproc=yes
90176 no:yes:* )
90177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90190 cat <<\_ASBOX
90191 ## ----------------------------------------- ##
90192 ## Report this to the package-unused lists. ##
90193 ## ----------------------------------------- ##
90194 _ASBOX
90196 sed "s/^/$as_me: WARNING: /" >&2
90198 esac
90199 echo "$as_me:$LINENO: checking for $ac_header" >&5
90200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90202 echo $ECHO_N "(cached) $ECHO_C" >&6
90203 else
90204 eval "$as_ac_Header=\$ac_header_preproc"
90206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90211 cat >>confdefs.h <<_ACEOF
90212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90213 _ACEOF
90217 done
90219 SECTION_FLAGS='-ffunction-sections -fdata-sections'
90222 # If we're not using GNU ld, then there's no point in even trying these
90223 # tests. Check for that first. We should have already tested for gld
90224 # by now (in libtool), but require it now just to be safe...
90225 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90226 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90230 # The name set by libtool depends on the version of libtool. Shame on us
90231 # for depending on an impl detail, but c'est la vie. Older versions used
90232 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90233 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90234 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90235 # set (hence we're using an older libtool), then set it.
90236 if test x${with_gnu_ld+set} != xset; then
90237 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90238 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90239 with_gnu_ld=no
90240 else
90241 with_gnu_ld=$ac_cv_prog_gnu_ld
90245 # Start by getting the version number. I think the libtool test already
90246 # does some of this, but throws away the result.
90248 ldver=`$LD --version 2>/dev/null | head -1 | \
90249 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
90251 glibcxx_gnu_ld_version=`echo $ldver | \
90252 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90254 # Set --gc-sections.
90255 if test "$with_gnu_ld" = "notbroken"; then
90256 # GNU ld it is! Joy and bunny rabbits!
90258 # All these tests are for C++; save the language and the compiler flags.
90259 # Need to do this so that g++ won't try to link in libstdc++
90260 ac_test_CFLAGS="${CFLAGS+set}"
90261 ac_save_CFLAGS="$CFLAGS"
90262 CFLAGS='-x c++ -Wl,--gc-sections'
90264 # Check for -Wl,--gc-sections
90265 # XXX This test is broken at the moment, as symbols required for linking
90266 # are now in libsupc++ (not built yet). In addition, this test has
90267 # cored on solaris in the past. In addition, --gc-sections doesn't
90268 # really work at the moment (keeps on discarding used sections, first
90269 # .eh_frame and now some of the glibc sections for iconv).
90270 # Bzzzzt. Thanks for playing, maybe next time.
90271 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90272 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90273 if test "$cross_compiling" = yes; then
90274 ac_sectionLDflags=yes
90275 else
90276 cat >conftest.$ac_ext <<_ACEOF
90277 /* confdefs.h. */
90278 _ACEOF
90279 cat confdefs.h >>conftest.$ac_ext
90280 cat >>conftest.$ac_ext <<_ACEOF
90281 /* end confdefs.h. */
90283 int main(void)
90285 try { throw 1; }
90286 catch (...) { };
90287 return 0;
90290 _ACEOF
90291 rm -f conftest$ac_exeext
90292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90293 (eval $ac_link) 2>&5
90294 ac_status=$?
90295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
90297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90298 (eval $ac_try) 2>&5
90299 ac_status=$?
90300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90301 (exit $ac_status); }; }; then
90302 ac_sectionLDflags=yes
90303 else
90304 echo "$as_me: program exited with status $ac_status" >&5
90305 echo "$as_me: failed program was:" >&5
90306 sed 's/^/| /' conftest.$ac_ext >&5
90308 ( exit $ac_status )
90309 ac_sectionLDflags=no
90311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
90313 if test "$ac_test_CFLAGS" = set; then
90314 CFLAGS="$ac_save_CFLAGS"
90315 else
90316 # this is the suspicious part
90317 CFLAGS=''
90319 if test "$ac_sectionLDflags" = "yes"; then
90320 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90322 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
90323 echo "${ECHO_T}$ac_sectionLDflags" >&6
90326 # Set linker optimization flags.
90327 if test x"$with_gnu_ld" = x"yes"; then
90328 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90336 echo "$as_me:$LINENO: checking for main in -lm" >&5
90337 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90338 if test "${ac_cv_lib_m_main+set}" = set; then
90339 echo $ECHO_N "(cached) $ECHO_C" >&6
90340 else
90341 ac_check_lib_save_LIBS=$LIBS
90342 LIBS="-lm $LIBS"
90343 if test x$gcc_no_link = xyes; then
90344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90346 { (exit 1); exit 1; }; }
90348 cat >conftest.$ac_ext <<_ACEOF
90349 /* confdefs.h. */
90350 _ACEOF
90351 cat confdefs.h >>conftest.$ac_ext
90352 cat >>conftest.$ac_ext <<_ACEOF
90353 /* end confdefs.h. */
90357 main ()
90359 main ();
90361 return 0;
90363 _ACEOF
90364 rm -f conftest.$ac_objext conftest$ac_exeext
90365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90366 (eval $ac_link) 2>conftest.er1
90367 ac_status=$?
90368 grep -v '^ *+' conftest.er1 >conftest.err
90369 rm -f conftest.er1
90370 cat conftest.err >&5
90371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90372 (exit $ac_status); } &&
90373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90375 (eval $ac_try) 2>&5
90376 ac_status=$?
90377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378 (exit $ac_status); }; } &&
90379 { ac_try='test -s conftest$ac_exeext'
90380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90381 (eval $ac_try) 2>&5
90382 ac_status=$?
90383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384 (exit $ac_status); }; }; then
90385 ac_cv_lib_m_main=yes
90386 else
90387 echo "$as_me: failed program was:" >&5
90388 sed 's/^/| /' conftest.$ac_ext >&5
90390 ac_cv_lib_m_main=no
90392 rm -f conftest.err conftest.$ac_objext \
90393 conftest$ac_exeext conftest.$ac_ext
90394 LIBS=$ac_check_lib_save_LIBS
90396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90397 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90398 if test $ac_cv_lib_m_main = yes; then
90399 cat >>confdefs.h <<_ACEOF
90400 #define HAVE_LIBM 1
90401 _ACEOF
90403 LIBS="-lm $LIBS"
90408 for ac_func in copysignf
90410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90411 echo "$as_me:$LINENO: checking for $ac_func" >&5
90412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90413 if eval "test \"\${$as_ac_var+set}\" = set"; then
90414 echo $ECHO_N "(cached) $ECHO_C" >&6
90415 else
90416 if test x$gcc_no_link = xyes; then
90417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90419 { (exit 1); exit 1; }; }
90421 cat >conftest.$ac_ext <<_ACEOF
90422 /* confdefs.h. */
90423 _ACEOF
90424 cat confdefs.h >>conftest.$ac_ext
90425 cat >>conftest.$ac_ext <<_ACEOF
90426 /* end confdefs.h. */
90427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90429 #define $ac_func innocuous_$ac_func
90431 /* System header to define __stub macros and hopefully few prototypes,
90432 which can conflict with char $ac_func (); below.
90433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90434 <limits.h> exists even on freestanding compilers. */
90436 #ifdef __STDC__
90437 # include <limits.h>
90438 #else
90439 # include <assert.h>
90440 #endif
90442 #undef $ac_func
90444 /* Override any gcc2 internal prototype to avoid an error. */
90445 #ifdef __cplusplus
90446 extern "C"
90448 #endif
90449 /* We use char because int might match the return type of a gcc2
90450 builtin and then its argument prototype would still apply. */
90451 char $ac_func ();
90452 /* The GNU C library defines this for functions which it implements
90453 to always fail with ENOSYS. Some functions are actually named
90454 something starting with __ and the normal name is an alias. */
90455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90456 choke me
90457 #else
90458 char (*f) () = $ac_func;
90459 #endif
90460 #ifdef __cplusplus
90462 #endif
90465 main ()
90467 return f != $ac_func;
90469 return 0;
90471 _ACEOF
90472 rm -f conftest.$ac_objext conftest$ac_exeext
90473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90474 (eval $ac_link) 2>conftest.er1
90475 ac_status=$?
90476 grep -v '^ *+' conftest.er1 >conftest.err
90477 rm -f conftest.er1
90478 cat conftest.err >&5
90479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90480 (exit $ac_status); } &&
90481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90483 (eval $ac_try) 2>&5
90484 ac_status=$?
90485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90486 (exit $ac_status); }; } &&
90487 { ac_try='test -s conftest$ac_exeext'
90488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90489 (eval $ac_try) 2>&5
90490 ac_status=$?
90491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90492 (exit $ac_status); }; }; then
90493 eval "$as_ac_var=yes"
90494 else
90495 echo "$as_me: failed program was:" >&5
90496 sed 's/^/| /' conftest.$ac_ext >&5
90498 eval "$as_ac_var=no"
90500 rm -f conftest.err conftest.$ac_objext \
90501 conftest$ac_exeext conftest.$ac_ext
90503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90505 if test `eval echo '${'$as_ac_var'}'` = yes; then
90506 cat >>confdefs.h <<_ACEOF
90507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90508 _ACEOF
90510 else
90511 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90513 done
90517 for ac_func in __signbit
90519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90520 echo "$as_me:$LINENO: checking for $ac_func" >&5
90521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90522 if eval "test \"\${$as_ac_var+set}\" = set"; then
90523 echo $ECHO_N "(cached) $ECHO_C" >&6
90524 else
90525 if test x$gcc_no_link = xyes; then
90526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90528 { (exit 1); exit 1; }; }
90530 cat >conftest.$ac_ext <<_ACEOF
90531 /* confdefs.h. */
90532 _ACEOF
90533 cat confdefs.h >>conftest.$ac_ext
90534 cat >>conftest.$ac_ext <<_ACEOF
90535 /* end confdefs.h. */
90536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90538 #define $ac_func innocuous_$ac_func
90540 /* System header to define __stub macros and hopefully few prototypes,
90541 which can conflict with char $ac_func (); below.
90542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90543 <limits.h> exists even on freestanding compilers. */
90545 #ifdef __STDC__
90546 # include <limits.h>
90547 #else
90548 # include <assert.h>
90549 #endif
90551 #undef $ac_func
90553 /* Override any gcc2 internal prototype to avoid an error. */
90554 #ifdef __cplusplus
90555 extern "C"
90557 #endif
90558 /* We use char because int might match the return type of a gcc2
90559 builtin and then its argument prototype would still apply. */
90560 char $ac_func ();
90561 /* The GNU C library defines this for functions which it implements
90562 to always fail with ENOSYS. Some functions are actually named
90563 something starting with __ and the normal name is an alias. */
90564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90565 choke me
90566 #else
90567 char (*f) () = $ac_func;
90568 #endif
90569 #ifdef __cplusplus
90571 #endif
90574 main ()
90576 return f != $ac_func;
90578 return 0;
90580 _ACEOF
90581 rm -f conftest.$ac_objext conftest$ac_exeext
90582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90583 (eval $ac_link) 2>conftest.er1
90584 ac_status=$?
90585 grep -v '^ *+' conftest.er1 >conftest.err
90586 rm -f conftest.er1
90587 cat conftest.err >&5
90588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90589 (exit $ac_status); } &&
90590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90592 (eval $ac_try) 2>&5
90593 ac_status=$?
90594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90595 (exit $ac_status); }; } &&
90596 { ac_try='test -s conftest$ac_exeext'
90597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90598 (eval $ac_try) 2>&5
90599 ac_status=$?
90600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90601 (exit $ac_status); }; }; then
90602 eval "$as_ac_var=yes"
90603 else
90604 echo "$as_me: failed program was:" >&5
90605 sed 's/^/| /' conftest.$ac_ext >&5
90607 eval "$as_ac_var=no"
90609 rm -f conftest.err conftest.$ac_objext \
90610 conftest$ac_exeext conftest.$ac_ext
90612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90614 if test `eval echo '${'$as_ac_var'}'` = yes; then
90615 cat >>confdefs.h <<_ACEOF
90616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90617 _ACEOF
90619 else
90620 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90622 done
90626 for ac_func in __signbitf
90628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90629 echo "$as_me:$LINENO: checking for $ac_func" >&5
90630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90631 if eval "test \"\${$as_ac_var+set}\" = set"; then
90632 echo $ECHO_N "(cached) $ECHO_C" >&6
90633 else
90634 if test x$gcc_no_link = xyes; then
90635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90637 { (exit 1); exit 1; }; }
90639 cat >conftest.$ac_ext <<_ACEOF
90640 /* confdefs.h. */
90641 _ACEOF
90642 cat confdefs.h >>conftest.$ac_ext
90643 cat >>conftest.$ac_ext <<_ACEOF
90644 /* end confdefs.h. */
90645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90647 #define $ac_func innocuous_$ac_func
90649 /* System header to define __stub macros and hopefully few prototypes,
90650 which can conflict with char $ac_func (); below.
90651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90652 <limits.h> exists even on freestanding compilers. */
90654 #ifdef __STDC__
90655 # include <limits.h>
90656 #else
90657 # include <assert.h>
90658 #endif
90660 #undef $ac_func
90662 /* Override any gcc2 internal prototype to avoid an error. */
90663 #ifdef __cplusplus
90664 extern "C"
90666 #endif
90667 /* We use char because int might match the return type of a gcc2
90668 builtin and then its argument prototype would still apply. */
90669 char $ac_func ();
90670 /* The GNU C library defines this for functions which it implements
90671 to always fail with ENOSYS. Some functions are actually named
90672 something starting with __ and the normal name is an alias. */
90673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90674 choke me
90675 #else
90676 char (*f) () = $ac_func;
90677 #endif
90678 #ifdef __cplusplus
90680 #endif
90683 main ()
90685 return f != $ac_func;
90687 return 0;
90689 _ACEOF
90690 rm -f conftest.$ac_objext conftest$ac_exeext
90691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90692 (eval $ac_link) 2>conftest.er1
90693 ac_status=$?
90694 grep -v '^ *+' conftest.er1 >conftest.err
90695 rm -f conftest.er1
90696 cat conftest.err >&5
90697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90698 (exit $ac_status); } &&
90699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90701 (eval $ac_try) 2>&5
90702 ac_status=$?
90703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90704 (exit $ac_status); }; } &&
90705 { ac_try='test -s conftest$ac_exeext'
90706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90707 (eval $ac_try) 2>&5
90708 ac_status=$?
90709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90710 (exit $ac_status); }; }; then
90711 eval "$as_ac_var=yes"
90712 else
90713 echo "$as_me: failed program was:" >&5
90714 sed 's/^/| /' conftest.$ac_ext >&5
90716 eval "$as_ac_var=no"
90718 rm -f conftest.err conftest.$ac_objext \
90719 conftest$ac_exeext conftest.$ac_ext
90721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90723 if test `eval echo '${'$as_ac_var'}'` = yes; then
90724 cat >>confdefs.h <<_ACEOF
90725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90726 _ACEOF
90728 else
90729 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90731 done
90734 if test x$ac_cv_func_copysignl = x"yes"; then
90736 for ac_func in __signbitl
90738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90739 echo "$as_me:$LINENO: checking for $ac_func" >&5
90740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90741 if eval "test \"\${$as_ac_var+set}\" = set"; then
90742 echo $ECHO_N "(cached) $ECHO_C" >&6
90743 else
90744 if test x$gcc_no_link = xyes; then
90745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90747 { (exit 1); exit 1; }; }
90749 cat >conftest.$ac_ext <<_ACEOF
90750 /* confdefs.h. */
90751 _ACEOF
90752 cat confdefs.h >>conftest.$ac_ext
90753 cat >>conftest.$ac_ext <<_ACEOF
90754 /* end confdefs.h. */
90755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90757 #define $ac_func innocuous_$ac_func
90759 /* System header to define __stub macros and hopefully few prototypes,
90760 which can conflict with char $ac_func (); below.
90761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90762 <limits.h> exists even on freestanding compilers. */
90764 #ifdef __STDC__
90765 # include <limits.h>
90766 #else
90767 # include <assert.h>
90768 #endif
90770 #undef $ac_func
90772 /* Override any gcc2 internal prototype to avoid an error. */
90773 #ifdef __cplusplus
90774 extern "C"
90776 #endif
90777 /* We use char because int might match the return type of a gcc2
90778 builtin and then its argument prototype would still apply. */
90779 char $ac_func ();
90780 /* The GNU C library defines this for functions which it implements
90781 to always fail with ENOSYS. Some functions are actually named
90782 something starting with __ and the normal name is an alias. */
90783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90784 choke me
90785 #else
90786 char (*f) () = $ac_func;
90787 #endif
90788 #ifdef __cplusplus
90790 #endif
90793 main ()
90795 return f != $ac_func;
90797 return 0;
90799 _ACEOF
90800 rm -f conftest.$ac_objext conftest$ac_exeext
90801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90802 (eval $ac_link) 2>conftest.er1
90803 ac_status=$?
90804 grep -v '^ *+' conftest.er1 >conftest.err
90805 rm -f conftest.er1
90806 cat conftest.err >&5
90807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90808 (exit $ac_status); } &&
90809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90811 (eval $ac_try) 2>&5
90812 ac_status=$?
90813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90814 (exit $ac_status); }; } &&
90815 { ac_try='test -s conftest$ac_exeext'
90816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90817 (eval $ac_try) 2>&5
90818 ac_status=$?
90819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90820 (exit $ac_status); }; }; then
90821 eval "$as_ac_var=yes"
90822 else
90823 echo "$as_me: failed program was:" >&5
90824 sed 's/^/| /' conftest.$ac_ext >&5
90826 eval "$as_ac_var=no"
90828 rm -f conftest.err conftest.$ac_objext \
90829 conftest$ac_exeext conftest.$ac_ext
90831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90833 if test `eval echo '${'$as_ac_var'}'` = yes; then
90834 cat >>confdefs.h <<_ACEOF
90835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90836 _ACEOF
90838 else
90839 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90841 done
90845 # Used in libmath/Makefile.am.
90846 if test -n "$LIBMATHOBJS"; then
90847 need_libmath=yes
90852 # Test wchar.h for mbstate_t, which is needed for char_traits and
90853 # others even if wchar_t support is not on.
90854 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90855 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90856 cat >conftest.$ac_ext <<_ACEOF
90857 /* confdefs.h. */
90858 _ACEOF
90859 cat confdefs.h >>conftest.$ac_ext
90860 cat >>conftest.$ac_ext <<_ACEOF
90861 /* end confdefs.h. */
90862 #include <wchar.h>
90864 main ()
90866 mbstate_t teststate;
90868 return 0;
90870 _ACEOF
90871 rm -f conftest.$ac_objext
90872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90873 (eval $ac_compile) 2>conftest.er1
90874 ac_status=$?
90875 grep -v '^ *+' conftest.er1 >conftest.err
90876 rm -f conftest.er1
90877 cat conftest.err >&5
90878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90879 (exit $ac_status); } &&
90880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90882 (eval $ac_try) 2>&5
90883 ac_status=$?
90884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90885 (exit $ac_status); }; } &&
90886 { ac_try='test -s conftest.$ac_objext'
90887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90888 (eval $ac_try) 2>&5
90889 ac_status=$?
90890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90891 (exit $ac_status); }; }; then
90892 have_mbstate_t=yes
90893 else
90894 echo "$as_me: failed program was:" >&5
90895 sed 's/^/| /' conftest.$ac_ext >&5
90897 have_mbstate_t=no
90899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90900 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90901 echo "${ECHO_T}$have_mbstate_t" >&6
90902 if test x"$have_mbstate_t" = xyes; then
90903 cat >>confdefs.h <<\_ACEOF
90904 #define HAVE_MBSTATE_T 1
90905 _ACEOF
90909 # Sanity check for existence of ISO C99 headers for extended encoding.
90911 for ac_header in wchar.h
90913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90915 echo "$as_me:$LINENO: checking for $ac_header" >&5
90916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90918 echo $ECHO_N "(cached) $ECHO_C" >&6
90920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90922 else
90923 # Is the header compilable?
90924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90926 cat >conftest.$ac_ext <<_ACEOF
90927 /* confdefs.h. */
90928 _ACEOF
90929 cat confdefs.h >>conftest.$ac_ext
90930 cat >>conftest.$ac_ext <<_ACEOF
90931 /* end confdefs.h. */
90932 $ac_includes_default
90933 #include <$ac_header>
90934 _ACEOF
90935 rm -f conftest.$ac_objext
90936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90937 (eval $ac_compile) 2>conftest.er1
90938 ac_status=$?
90939 grep -v '^ *+' conftest.er1 >conftest.err
90940 rm -f conftest.er1
90941 cat conftest.err >&5
90942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943 (exit $ac_status); } &&
90944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90946 (eval $ac_try) 2>&5
90947 ac_status=$?
90948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949 (exit $ac_status); }; } &&
90950 { ac_try='test -s conftest.$ac_objext'
90951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90952 (eval $ac_try) 2>&5
90953 ac_status=$?
90954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90955 (exit $ac_status); }; }; then
90956 ac_header_compiler=yes
90957 else
90958 echo "$as_me: failed program was:" >&5
90959 sed 's/^/| /' conftest.$ac_ext >&5
90961 ac_header_compiler=no
90963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90965 echo "${ECHO_T}$ac_header_compiler" >&6
90967 # Is the header present?
90968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90970 cat >conftest.$ac_ext <<_ACEOF
90971 /* confdefs.h. */
90972 _ACEOF
90973 cat confdefs.h >>conftest.$ac_ext
90974 cat >>conftest.$ac_ext <<_ACEOF
90975 /* end confdefs.h. */
90976 #include <$ac_header>
90977 _ACEOF
90978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90980 ac_status=$?
90981 grep -v '^ *+' conftest.er1 >conftest.err
90982 rm -f conftest.er1
90983 cat conftest.err >&5
90984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90985 (exit $ac_status); } >/dev/null; then
90986 if test -s conftest.err; then
90987 ac_cpp_err=$ac_c_preproc_warn_flag
90988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90989 else
90990 ac_cpp_err=
90992 else
90993 ac_cpp_err=yes
90995 if test -z "$ac_cpp_err"; then
90996 ac_header_preproc=yes
90997 else
90998 echo "$as_me: failed program was:" >&5
90999 sed 's/^/| /' conftest.$ac_ext >&5
91001 ac_header_preproc=no
91003 rm -f conftest.err conftest.$ac_ext
91004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91005 echo "${ECHO_T}$ac_header_preproc" >&6
91007 # So? What about this header?
91008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91009 yes:no: )
91010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91014 ac_header_preproc=yes
91016 no:yes:* )
91017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91030 cat <<\_ASBOX
91031 ## ----------------------------------------- ##
91032 ## Report this to the package-unused lists. ##
91033 ## ----------------------------------------- ##
91034 _ASBOX
91036 sed "s/^/$as_me: WARNING: /" >&2
91038 esac
91039 echo "$as_me:$LINENO: checking for $ac_header" >&5
91040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91042 echo $ECHO_N "(cached) $ECHO_C" >&6
91043 else
91044 eval "$as_ac_Header=\$ac_header_preproc"
91046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91051 cat >>confdefs.h <<_ACEOF
91052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91053 _ACEOF
91054 ac_has_wchar_h=yes
91055 else
91056 ac_has_wchar_h=no
91059 done
91062 for ac_header in wctype.h
91064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91066 echo "$as_me:$LINENO: checking for $ac_header" >&5
91067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91069 echo $ECHO_N "(cached) $ECHO_C" >&6
91071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91073 else
91074 # Is the header compilable?
91075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91077 cat >conftest.$ac_ext <<_ACEOF
91078 /* confdefs.h. */
91079 _ACEOF
91080 cat confdefs.h >>conftest.$ac_ext
91081 cat >>conftest.$ac_ext <<_ACEOF
91082 /* end confdefs.h. */
91083 $ac_includes_default
91084 #include <$ac_header>
91085 _ACEOF
91086 rm -f conftest.$ac_objext
91087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91088 (eval $ac_compile) 2>conftest.er1
91089 ac_status=$?
91090 grep -v '^ *+' conftest.er1 >conftest.err
91091 rm -f conftest.er1
91092 cat conftest.err >&5
91093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91094 (exit $ac_status); } &&
91095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91097 (eval $ac_try) 2>&5
91098 ac_status=$?
91099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91100 (exit $ac_status); }; } &&
91101 { ac_try='test -s conftest.$ac_objext'
91102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91103 (eval $ac_try) 2>&5
91104 ac_status=$?
91105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91106 (exit $ac_status); }; }; then
91107 ac_header_compiler=yes
91108 else
91109 echo "$as_me: failed program was:" >&5
91110 sed 's/^/| /' conftest.$ac_ext >&5
91112 ac_header_compiler=no
91114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91116 echo "${ECHO_T}$ac_header_compiler" >&6
91118 # Is the header present?
91119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91121 cat >conftest.$ac_ext <<_ACEOF
91122 /* confdefs.h. */
91123 _ACEOF
91124 cat confdefs.h >>conftest.$ac_ext
91125 cat >>conftest.$ac_ext <<_ACEOF
91126 /* end confdefs.h. */
91127 #include <$ac_header>
91128 _ACEOF
91129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91131 ac_status=$?
91132 grep -v '^ *+' conftest.er1 >conftest.err
91133 rm -f conftest.er1
91134 cat conftest.err >&5
91135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91136 (exit $ac_status); } >/dev/null; then
91137 if test -s conftest.err; then
91138 ac_cpp_err=$ac_c_preproc_warn_flag
91139 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91140 else
91141 ac_cpp_err=
91143 else
91144 ac_cpp_err=yes
91146 if test -z "$ac_cpp_err"; then
91147 ac_header_preproc=yes
91148 else
91149 echo "$as_me: failed program was:" >&5
91150 sed 's/^/| /' conftest.$ac_ext >&5
91152 ac_header_preproc=no
91154 rm -f conftest.err conftest.$ac_ext
91155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91156 echo "${ECHO_T}$ac_header_preproc" >&6
91158 # So? What about this header?
91159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91160 yes:no: )
91161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91165 ac_header_preproc=yes
91167 no:yes:* )
91168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91181 cat <<\_ASBOX
91182 ## ----------------------------------------- ##
91183 ## Report this to the package-unused lists. ##
91184 ## ----------------------------------------- ##
91185 _ASBOX
91187 sed "s/^/$as_me: WARNING: /" >&2
91189 esac
91190 echo "$as_me:$LINENO: checking for $ac_header" >&5
91191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91193 echo $ECHO_N "(cached) $ECHO_C" >&6
91194 else
91195 eval "$as_ac_Header=\$ac_header_preproc"
91197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91202 cat >>confdefs.h <<_ACEOF
91203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91204 _ACEOF
91205 ac_has_wctype_h=yes
91206 else
91207 ac_has_wctype_h=no
91210 done
91213 # Only continue checking if the ISO C99 headers exist and support is on.
91214 if test x"$ac_has_wchar_h" = xyes &&
91215 test x"$ac_has_wctype_h" = xyes &&
91216 test x"$enable_c_mbchar" != xno; then
91218 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
91219 # numeric_limits can instantiate type_traits<wchar_t>
91220 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
91221 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
91222 cat >conftest.$ac_ext <<_ACEOF
91223 /* confdefs.h. */
91224 _ACEOF
91225 cat confdefs.h >>conftest.$ac_ext
91226 cat >>conftest.$ac_ext <<_ACEOF
91227 /* end confdefs.h. */
91228 #include <wchar.h>
91230 main ()
91232 int i = WCHAR_MIN; int j = WCHAR_MAX;
91234 return 0;
91236 _ACEOF
91237 rm -f conftest.$ac_objext
91238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91239 (eval $ac_compile) 2>conftest.er1
91240 ac_status=$?
91241 grep -v '^ *+' conftest.er1 >conftest.err
91242 rm -f conftest.er1
91243 cat conftest.err >&5
91244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91245 (exit $ac_status); } &&
91246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91248 (eval $ac_try) 2>&5
91249 ac_status=$?
91250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91251 (exit $ac_status); }; } &&
91252 { ac_try='test -s conftest.$ac_objext'
91253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91254 (eval $ac_try) 2>&5
91255 ac_status=$?
91256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91257 (exit $ac_status); }; }; then
91258 has_wchar_minmax=yes
91259 else
91260 echo "$as_me: failed program was:" >&5
91261 sed 's/^/| /' conftest.$ac_ext >&5
91263 has_wchar_minmax=no
91265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91266 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
91267 echo "${ECHO_T}$has_wchar_minmax" >&6
91269 # Test wchar.h for WEOF, which is what we use to determine whether
91270 # to specialize for char_traits<wchar_t> or not.
91271 echo "$as_me:$LINENO: checking for WEOF" >&5
91272 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
91273 cat >conftest.$ac_ext <<_ACEOF
91274 /* confdefs.h. */
91275 _ACEOF
91276 cat confdefs.h >>conftest.$ac_ext
91277 cat >>conftest.$ac_ext <<_ACEOF
91278 /* end confdefs.h. */
91280 #include <wchar.h>
91281 #include <stddef.h>
91283 main ()
91285 wint_t i = WEOF;
91287 return 0;
91289 _ACEOF
91290 rm -f conftest.$ac_objext
91291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91292 (eval $ac_compile) 2>conftest.er1
91293 ac_status=$?
91294 grep -v '^ *+' conftest.er1 >conftest.err
91295 rm -f conftest.er1
91296 cat conftest.err >&5
91297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91298 (exit $ac_status); } &&
91299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91301 (eval $ac_try) 2>&5
91302 ac_status=$?
91303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91304 (exit $ac_status); }; } &&
91305 { ac_try='test -s conftest.$ac_objext'
91306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91307 (eval $ac_try) 2>&5
91308 ac_status=$?
91309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91310 (exit $ac_status); }; }; then
91311 has_weof=yes
91312 else
91313 echo "$as_me: failed program was:" >&5
91314 sed 's/^/| /' conftest.$ac_ext >&5
91316 has_weof=no
91318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91319 echo "$as_me:$LINENO: result: $has_weof" >&5
91320 echo "${ECHO_T}$has_weof" >&6
91322 # Tests for wide character functions used in char_traits<wchar_t>.
91323 ac_wfuncs=yes
91330 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91333 echo "$as_me:$LINENO: checking for $ac_func" >&5
91334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91335 if eval "test \"\${$as_ac_var+set}\" = set"; then
91336 echo $ECHO_N "(cached) $ECHO_C" >&6
91337 else
91338 if test x$gcc_no_link = xyes; then
91339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91341 { (exit 1); exit 1; }; }
91343 cat >conftest.$ac_ext <<_ACEOF
91344 /* confdefs.h. */
91345 _ACEOF
91346 cat confdefs.h >>conftest.$ac_ext
91347 cat >>conftest.$ac_ext <<_ACEOF
91348 /* end confdefs.h. */
91349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91351 #define $ac_func innocuous_$ac_func
91353 /* System header to define __stub macros and hopefully few prototypes,
91354 which can conflict with char $ac_func (); below.
91355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91356 <limits.h> exists even on freestanding compilers. */
91358 #ifdef __STDC__
91359 # include <limits.h>
91360 #else
91361 # include <assert.h>
91362 #endif
91364 #undef $ac_func
91366 /* Override any gcc2 internal prototype to avoid an error. */
91367 #ifdef __cplusplus
91368 extern "C"
91370 #endif
91371 /* We use char because int might match the return type of a gcc2
91372 builtin and then its argument prototype would still apply. */
91373 char $ac_func ();
91374 /* The GNU C library defines this for functions which it implements
91375 to always fail with ENOSYS. Some functions are actually named
91376 something starting with __ and the normal name is an alias. */
91377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91378 choke me
91379 #else
91380 char (*f) () = $ac_func;
91381 #endif
91382 #ifdef __cplusplus
91384 #endif
91387 main ()
91389 return f != $ac_func;
91391 return 0;
91393 _ACEOF
91394 rm -f conftest.$ac_objext conftest$ac_exeext
91395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91396 (eval $ac_link) 2>conftest.er1
91397 ac_status=$?
91398 grep -v '^ *+' conftest.er1 >conftest.err
91399 rm -f conftest.er1
91400 cat conftest.err >&5
91401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91402 (exit $ac_status); } &&
91403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91405 (eval $ac_try) 2>&5
91406 ac_status=$?
91407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91408 (exit $ac_status); }; } &&
91409 { ac_try='test -s conftest$ac_exeext'
91410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91411 (eval $ac_try) 2>&5
91412 ac_status=$?
91413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91414 (exit $ac_status); }; }; then
91415 eval "$as_ac_var=yes"
91416 else
91417 echo "$as_me: failed program was:" >&5
91418 sed 's/^/| /' conftest.$ac_ext >&5
91420 eval "$as_ac_var=no"
91422 rm -f conftest.err conftest.$ac_objext \
91423 conftest$ac_exeext conftest.$ac_ext
91425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91427 if test `eval echo '${'$as_ac_var'}'` = yes; then
91428 cat >>confdefs.h <<_ACEOF
91429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91430 _ACEOF
91432 else
91433 ac_wfuncs=no
91435 done
91438 # Checks for names injected into std:: by the c_std headers.
91485 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91486 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91487 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91488 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91489 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91490 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91493 echo "$as_me:$LINENO: checking for $ac_func" >&5
91494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91495 if eval "test \"\${$as_ac_var+set}\" = set"; then
91496 echo $ECHO_N "(cached) $ECHO_C" >&6
91497 else
91498 if test x$gcc_no_link = xyes; then
91499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91501 { (exit 1); exit 1; }; }
91503 cat >conftest.$ac_ext <<_ACEOF
91504 /* confdefs.h. */
91505 _ACEOF
91506 cat confdefs.h >>conftest.$ac_ext
91507 cat >>conftest.$ac_ext <<_ACEOF
91508 /* end confdefs.h. */
91509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91511 #define $ac_func innocuous_$ac_func
91513 /* System header to define __stub macros and hopefully few prototypes,
91514 which can conflict with char $ac_func (); below.
91515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91516 <limits.h> exists even on freestanding compilers. */
91518 #ifdef __STDC__
91519 # include <limits.h>
91520 #else
91521 # include <assert.h>
91522 #endif
91524 #undef $ac_func
91526 /* Override any gcc2 internal prototype to avoid an error. */
91527 #ifdef __cplusplus
91528 extern "C"
91530 #endif
91531 /* We use char because int might match the return type of a gcc2
91532 builtin and then its argument prototype would still apply. */
91533 char $ac_func ();
91534 /* The GNU C library defines this for functions which it implements
91535 to always fail with ENOSYS. Some functions are actually named
91536 something starting with __ and the normal name is an alias. */
91537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91538 choke me
91539 #else
91540 char (*f) () = $ac_func;
91541 #endif
91542 #ifdef __cplusplus
91544 #endif
91547 main ()
91549 return f != $ac_func;
91551 return 0;
91553 _ACEOF
91554 rm -f conftest.$ac_objext conftest$ac_exeext
91555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91556 (eval $ac_link) 2>conftest.er1
91557 ac_status=$?
91558 grep -v '^ *+' conftest.er1 >conftest.err
91559 rm -f conftest.er1
91560 cat conftest.err >&5
91561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91562 (exit $ac_status); } &&
91563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91565 (eval $ac_try) 2>&5
91566 ac_status=$?
91567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91568 (exit $ac_status); }; } &&
91569 { ac_try='test -s conftest$ac_exeext'
91570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91571 (eval $ac_try) 2>&5
91572 ac_status=$?
91573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91574 (exit $ac_status); }; }; then
91575 eval "$as_ac_var=yes"
91576 else
91577 echo "$as_me: failed program was:" >&5
91578 sed 's/^/| /' conftest.$ac_ext >&5
91580 eval "$as_ac_var=no"
91582 rm -f conftest.err conftest.$ac_objext \
91583 conftest$ac_exeext conftest.$ac_ext
91585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91587 if test `eval echo '${'$as_ac_var'}'` = yes; then
91588 cat >>confdefs.h <<_ACEOF
91589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91590 _ACEOF
91592 else
91593 ac_wfuncs=no
91595 done
91598 # Checks for wide character functions that are not required
91599 # for basic wchar_t support. Don't disable support if they are missing.
91600 # Injection of these is wrapped with guard macros.
91606 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91609 echo "$as_me:$LINENO: checking for $ac_func" >&5
91610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91611 if eval "test \"\${$as_ac_var+set}\" = set"; then
91612 echo $ECHO_N "(cached) $ECHO_C" >&6
91613 else
91614 if test x$gcc_no_link = xyes; then
91615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91617 { (exit 1); exit 1; }; }
91619 cat >conftest.$ac_ext <<_ACEOF
91620 /* confdefs.h. */
91621 _ACEOF
91622 cat confdefs.h >>conftest.$ac_ext
91623 cat >>conftest.$ac_ext <<_ACEOF
91624 /* end confdefs.h. */
91625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91627 #define $ac_func innocuous_$ac_func
91629 /* System header to define __stub macros and hopefully few prototypes,
91630 which can conflict with char $ac_func (); below.
91631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91632 <limits.h> exists even on freestanding compilers. */
91634 #ifdef __STDC__
91635 # include <limits.h>
91636 #else
91637 # include <assert.h>
91638 #endif
91640 #undef $ac_func
91642 /* Override any gcc2 internal prototype to avoid an error. */
91643 #ifdef __cplusplus
91644 extern "C"
91646 #endif
91647 /* We use char because int might match the return type of a gcc2
91648 builtin and then its argument prototype would still apply. */
91649 char $ac_func ();
91650 /* The GNU C library defines this for functions which it implements
91651 to always fail with ENOSYS. Some functions are actually named
91652 something starting with __ and the normal name is an alias. */
91653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91654 choke me
91655 #else
91656 char (*f) () = $ac_func;
91657 #endif
91658 #ifdef __cplusplus
91660 #endif
91663 main ()
91665 return f != $ac_func;
91667 return 0;
91669 _ACEOF
91670 rm -f conftest.$ac_objext conftest$ac_exeext
91671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91672 (eval $ac_link) 2>conftest.er1
91673 ac_status=$?
91674 grep -v '^ *+' conftest.er1 >conftest.err
91675 rm -f conftest.er1
91676 cat conftest.err >&5
91677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91678 (exit $ac_status); } &&
91679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91681 (eval $ac_try) 2>&5
91682 ac_status=$?
91683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91684 (exit $ac_status); }; } &&
91685 { ac_try='test -s conftest$ac_exeext'
91686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91687 (eval $ac_try) 2>&5
91688 ac_status=$?
91689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91690 (exit $ac_status); }; }; then
91691 eval "$as_ac_var=yes"
91692 else
91693 echo "$as_me: failed program was:" >&5
91694 sed 's/^/| /' conftest.$ac_ext >&5
91696 eval "$as_ac_var=no"
91698 rm -f conftest.err conftest.$ac_objext \
91699 conftest$ac_exeext conftest.$ac_ext
91701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91703 if test `eval echo '${'$as_ac_var'}'` = yes; then
91704 cat >>confdefs.h <<_ACEOF
91705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91706 _ACEOF
91709 done
91712 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91713 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91714 if test x"$has_weof" = xyes &&
91715 test x"$has_wchar_minmax" = xyes &&
91716 test x"$ac_wfuncs" = xyes;
91717 then
91718 ac_isoC99_wchar_t=yes
91719 else
91720 ac_isoC99_wchar_t=no
91722 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91723 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91725 # Use iconv for wchar_t to char conversions. As such, check for
91726 # X/Open Portability Guide, version 2 features (XPG2).
91727 if test "${ac_cv_header_iconv_h+set}" = set; then
91728 echo "$as_me:$LINENO: checking for iconv.h" >&5
91729 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91730 if test "${ac_cv_header_iconv_h+set}" = set; then
91731 echo $ECHO_N "(cached) $ECHO_C" >&6
91733 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91734 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91735 else
91736 # Is the header compilable?
91737 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91738 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91739 cat >conftest.$ac_ext <<_ACEOF
91740 /* confdefs.h. */
91741 _ACEOF
91742 cat confdefs.h >>conftest.$ac_ext
91743 cat >>conftest.$ac_ext <<_ACEOF
91744 /* end confdefs.h. */
91745 $ac_includes_default
91746 #include <iconv.h>
91747 _ACEOF
91748 rm -f conftest.$ac_objext
91749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91750 (eval $ac_compile) 2>conftest.er1
91751 ac_status=$?
91752 grep -v '^ *+' conftest.er1 >conftest.err
91753 rm -f conftest.er1
91754 cat conftest.err >&5
91755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91756 (exit $ac_status); } &&
91757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91759 (eval $ac_try) 2>&5
91760 ac_status=$?
91761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91762 (exit $ac_status); }; } &&
91763 { ac_try='test -s conftest.$ac_objext'
91764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91765 (eval $ac_try) 2>&5
91766 ac_status=$?
91767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768 (exit $ac_status); }; }; then
91769 ac_header_compiler=yes
91770 else
91771 echo "$as_me: failed program was:" >&5
91772 sed 's/^/| /' conftest.$ac_ext >&5
91774 ac_header_compiler=no
91776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91778 echo "${ECHO_T}$ac_header_compiler" >&6
91780 # Is the header present?
91781 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91782 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91783 cat >conftest.$ac_ext <<_ACEOF
91784 /* confdefs.h. */
91785 _ACEOF
91786 cat confdefs.h >>conftest.$ac_ext
91787 cat >>conftest.$ac_ext <<_ACEOF
91788 /* end confdefs.h. */
91789 #include <iconv.h>
91790 _ACEOF
91791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91793 ac_status=$?
91794 grep -v '^ *+' conftest.er1 >conftest.err
91795 rm -f conftest.er1
91796 cat conftest.err >&5
91797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91798 (exit $ac_status); } >/dev/null; then
91799 if test -s conftest.err; then
91800 ac_cpp_err=$ac_c_preproc_warn_flag
91801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91802 else
91803 ac_cpp_err=
91805 else
91806 ac_cpp_err=yes
91808 if test -z "$ac_cpp_err"; then
91809 ac_header_preproc=yes
91810 else
91811 echo "$as_me: failed program was:" >&5
91812 sed 's/^/| /' conftest.$ac_ext >&5
91814 ac_header_preproc=no
91816 rm -f conftest.err conftest.$ac_ext
91817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91818 echo "${ECHO_T}$ac_header_preproc" >&6
91820 # So? What about this header?
91821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91822 yes:no: )
91823 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91824 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91825 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91826 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91827 ac_header_preproc=yes
91829 no:yes:* )
91830 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91831 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91832 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91833 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91834 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91835 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91836 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91837 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91838 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91839 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91840 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91841 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91843 cat <<\_ASBOX
91844 ## ----------------------------------------- ##
91845 ## Report this to the package-unused lists. ##
91846 ## ----------------------------------------- ##
91847 _ASBOX
91849 sed "s/^/$as_me: WARNING: /" >&2
91851 esac
91852 echo "$as_me:$LINENO: checking for iconv.h" >&5
91853 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91854 if test "${ac_cv_header_iconv_h+set}" = set; then
91855 echo $ECHO_N "(cached) $ECHO_C" >&6
91856 else
91857 ac_cv_header_iconv_h=$ac_header_preproc
91859 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91860 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91863 if test $ac_cv_header_iconv_h = yes; then
91864 ac_has_iconv_h=yes
91865 else
91866 ac_has_iconv_h=no
91870 if test "${ac_cv_header_langinfo_h+set}" = set; then
91871 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91872 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91873 if test "${ac_cv_header_langinfo_h+set}" = set; then
91874 echo $ECHO_N "(cached) $ECHO_C" >&6
91876 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91877 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91878 else
91879 # Is the header compilable?
91880 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91881 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91882 cat >conftest.$ac_ext <<_ACEOF
91883 /* confdefs.h. */
91884 _ACEOF
91885 cat confdefs.h >>conftest.$ac_ext
91886 cat >>conftest.$ac_ext <<_ACEOF
91887 /* end confdefs.h. */
91888 $ac_includes_default
91889 #include <langinfo.h>
91890 _ACEOF
91891 rm -f conftest.$ac_objext
91892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91893 (eval $ac_compile) 2>conftest.er1
91894 ac_status=$?
91895 grep -v '^ *+' conftest.er1 >conftest.err
91896 rm -f conftest.er1
91897 cat conftest.err >&5
91898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91899 (exit $ac_status); } &&
91900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91902 (eval $ac_try) 2>&5
91903 ac_status=$?
91904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91905 (exit $ac_status); }; } &&
91906 { ac_try='test -s conftest.$ac_objext'
91907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91908 (eval $ac_try) 2>&5
91909 ac_status=$?
91910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91911 (exit $ac_status); }; }; then
91912 ac_header_compiler=yes
91913 else
91914 echo "$as_me: failed program was:" >&5
91915 sed 's/^/| /' conftest.$ac_ext >&5
91917 ac_header_compiler=no
91919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91921 echo "${ECHO_T}$ac_header_compiler" >&6
91923 # Is the header present?
91924 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91925 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91926 cat >conftest.$ac_ext <<_ACEOF
91927 /* confdefs.h. */
91928 _ACEOF
91929 cat confdefs.h >>conftest.$ac_ext
91930 cat >>conftest.$ac_ext <<_ACEOF
91931 /* end confdefs.h. */
91932 #include <langinfo.h>
91933 _ACEOF
91934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91936 ac_status=$?
91937 grep -v '^ *+' conftest.er1 >conftest.err
91938 rm -f conftest.er1
91939 cat conftest.err >&5
91940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91941 (exit $ac_status); } >/dev/null; then
91942 if test -s conftest.err; then
91943 ac_cpp_err=$ac_c_preproc_warn_flag
91944 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91945 else
91946 ac_cpp_err=
91948 else
91949 ac_cpp_err=yes
91951 if test -z "$ac_cpp_err"; then
91952 ac_header_preproc=yes
91953 else
91954 echo "$as_me: failed program was:" >&5
91955 sed 's/^/| /' conftest.$ac_ext >&5
91957 ac_header_preproc=no
91959 rm -f conftest.err conftest.$ac_ext
91960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91961 echo "${ECHO_T}$ac_header_preproc" >&6
91963 # So? What about this header?
91964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91965 yes:no: )
91966 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91967 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91968 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91969 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91970 ac_header_preproc=yes
91972 no:yes:* )
91973 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91974 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91975 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91976 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91977 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91978 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91979 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91980 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91981 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91982 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91983 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91984 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91986 cat <<\_ASBOX
91987 ## ----------------------------------------- ##
91988 ## Report this to the package-unused lists. ##
91989 ## ----------------------------------------- ##
91990 _ASBOX
91992 sed "s/^/$as_me: WARNING: /" >&2
91994 esac
91995 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91996 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91997 if test "${ac_cv_header_langinfo_h+set}" = set; then
91998 echo $ECHO_N "(cached) $ECHO_C" >&6
91999 else
92000 ac_cv_header_langinfo_h=$ac_header_preproc
92002 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92003 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92006 if test $ac_cv_header_langinfo_h = yes; then
92007 ac_has_langinfo_h=yes
92008 else
92009 ac_has_langinfo_h=no
92014 # Check for existence of libiconv.a providing XPG2 wchar_t support.
92015 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
92016 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
92017 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
92018 echo $ECHO_N "(cached) $ECHO_C" >&6
92019 else
92020 ac_check_lib_save_LIBS=$LIBS
92021 LIBS="-liconv $LIBS"
92022 if test x$gcc_no_link = xyes; then
92023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92025 { (exit 1); exit 1; }; }
92027 cat >conftest.$ac_ext <<_ACEOF
92028 /* confdefs.h. */
92029 _ACEOF
92030 cat confdefs.h >>conftest.$ac_ext
92031 cat >>conftest.$ac_ext <<_ACEOF
92032 /* end confdefs.h. */
92034 /* Override any gcc2 internal prototype to avoid an error. */
92035 #ifdef __cplusplus
92036 extern "C"
92037 #endif
92038 /* We use char because int might match the return type of a gcc2
92039 builtin and then its argument prototype would still apply. */
92040 char iconv ();
92042 main ()
92044 iconv ();
92046 return 0;
92048 _ACEOF
92049 rm -f conftest.$ac_objext conftest$ac_exeext
92050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92051 (eval $ac_link) 2>conftest.er1
92052 ac_status=$?
92053 grep -v '^ *+' conftest.er1 >conftest.err
92054 rm -f conftest.er1
92055 cat conftest.err >&5
92056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92057 (exit $ac_status); } &&
92058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92060 (eval $ac_try) 2>&5
92061 ac_status=$?
92062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92063 (exit $ac_status); }; } &&
92064 { ac_try='test -s conftest$ac_exeext'
92065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066 (eval $ac_try) 2>&5
92067 ac_status=$?
92068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069 (exit $ac_status); }; }; then
92070 ac_cv_lib_iconv_iconv=yes
92071 else
92072 echo "$as_me: failed program was:" >&5
92073 sed 's/^/| /' conftest.$ac_ext >&5
92075 ac_cv_lib_iconv_iconv=no
92077 rm -f conftest.err conftest.$ac_objext \
92078 conftest$ac_exeext conftest.$ac_ext
92079 LIBS=$ac_check_lib_save_LIBS
92081 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
92082 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
92083 if test $ac_cv_lib_iconv_iconv = yes; then
92084 LIBICONV="-liconv"
92087 ac_save_LIBS="$LIBS"
92088 LIBS="$LIBS $LIBICONV"
92095 for ac_func in iconv_open iconv_close iconv nl_langinfo
92097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92098 echo "$as_me:$LINENO: checking for $ac_func" >&5
92099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92100 if eval "test \"\${$as_ac_var+set}\" = set"; then
92101 echo $ECHO_N "(cached) $ECHO_C" >&6
92102 else
92103 if test x$gcc_no_link = xyes; then
92104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92106 { (exit 1); exit 1; }; }
92108 cat >conftest.$ac_ext <<_ACEOF
92109 /* confdefs.h. */
92110 _ACEOF
92111 cat confdefs.h >>conftest.$ac_ext
92112 cat >>conftest.$ac_ext <<_ACEOF
92113 /* end confdefs.h. */
92114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92116 #define $ac_func innocuous_$ac_func
92118 /* System header to define __stub macros and hopefully few prototypes,
92119 which can conflict with char $ac_func (); below.
92120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92121 <limits.h> exists even on freestanding compilers. */
92123 #ifdef __STDC__
92124 # include <limits.h>
92125 #else
92126 # include <assert.h>
92127 #endif
92129 #undef $ac_func
92131 /* Override any gcc2 internal prototype to avoid an error. */
92132 #ifdef __cplusplus
92133 extern "C"
92135 #endif
92136 /* We use char because int might match the return type of a gcc2
92137 builtin and then its argument prototype would still apply. */
92138 char $ac_func ();
92139 /* The GNU C library defines this for functions which it implements
92140 to always fail with ENOSYS. Some functions are actually named
92141 something starting with __ and the normal name is an alias. */
92142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92143 choke me
92144 #else
92145 char (*f) () = $ac_func;
92146 #endif
92147 #ifdef __cplusplus
92149 #endif
92152 main ()
92154 return f != $ac_func;
92156 return 0;
92158 _ACEOF
92159 rm -f conftest.$ac_objext conftest$ac_exeext
92160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92161 (eval $ac_link) 2>conftest.er1
92162 ac_status=$?
92163 grep -v '^ *+' conftest.er1 >conftest.err
92164 rm -f conftest.er1
92165 cat conftest.err >&5
92166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92167 (exit $ac_status); } &&
92168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92170 (eval $ac_try) 2>&5
92171 ac_status=$?
92172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92173 (exit $ac_status); }; } &&
92174 { ac_try='test -s conftest$ac_exeext'
92175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92176 (eval $ac_try) 2>&5
92177 ac_status=$?
92178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92179 (exit $ac_status); }; }; then
92180 eval "$as_ac_var=yes"
92181 else
92182 echo "$as_me: failed program was:" >&5
92183 sed 's/^/| /' conftest.$ac_ext >&5
92185 eval "$as_ac_var=no"
92187 rm -f conftest.err conftest.$ac_objext \
92188 conftest$ac_exeext conftest.$ac_ext
92190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92192 if test `eval echo '${'$as_ac_var'}'` = yes; then
92193 cat >>confdefs.h <<_ACEOF
92194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92195 _ACEOF
92196 ac_XPG2funcs=yes
92197 else
92198 ac_XPG2funcs=no
92200 done
92203 LIBS="$ac_save_LIBS"
92205 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
92206 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
92207 if test x"$ac_has_iconv_h" = xyes &&
92208 test x"$ac_has_langinfo_h" = xyes &&
92209 test x"$ac_XPG2funcs" = xyes;
92210 then
92211 ac_XPG2_wchar_t=yes
92212 else
92213 ac_XPG2_wchar_t=no
92215 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
92216 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
92218 # At the moment, only enable wchar_t specializations if all the
92219 # above support is present.
92220 if test x"$ac_isoC99_wchar_t" = xyes &&
92221 test x"$ac_XPG2_wchar_t" = xyes;
92222 then
92223 cat >>confdefs.h <<\_ACEOF
92224 #define _GLIBCXX_USE_WCHAR_T 1
92225 _ACEOF
92227 enable_wchar_t=yes
92230 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
92231 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
92232 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
92233 echo "${ECHO_T}$enable_wchar_t" >&6
92235 cat >>confdefs.h <<\_ACEOF
92236 #define HAVE_COPYSIGN 1
92237 _ACEOF
92239 cat >>confdefs.h <<\_ACEOF
92240 #define HAVE_COPYSIGNF 1
92241 _ACEOF
92243 cat >>confdefs.h <<\_ACEOF
92244 #define HAVE_FINITE 1
92245 _ACEOF
92247 cat >>confdefs.h <<\_ACEOF
92248 #define HAVE_FINITEF 1
92249 _ACEOF
92251 cat >>confdefs.h <<\_ACEOF
92252 #define HAVE_FREXPF 1
92253 _ACEOF
92255 cat >>confdefs.h <<\_ACEOF
92256 #define HAVE_HYPOTF 1
92257 _ACEOF
92259 cat >>confdefs.h <<\_ACEOF
92260 #define HAVE_ISINF 1
92261 _ACEOF
92263 cat >>confdefs.h <<\_ACEOF
92264 #define HAVE_ISINFF 1
92265 _ACEOF
92267 cat >>confdefs.h <<\_ACEOF
92268 #define HAVE_ISNAN 1
92269 _ACEOF
92271 cat >>confdefs.h <<\_ACEOF
92272 #define HAVE_ISNANF 1
92273 _ACEOF
92275 cat >>confdefs.h <<\_ACEOF
92276 #define HAVE_SINCOS 1
92277 _ACEOF
92279 cat >>confdefs.h <<\_ACEOF
92280 #define HAVE_SINCOSF 1
92281 _ACEOF
92283 if test x"long_double_math_on_this_cpu" = x"yes"; then
92284 cat >>confdefs.h <<\_ACEOF
92285 #define HAVE_FINITEL 1
92286 _ACEOF
92288 cat >>confdefs.h <<\_ACEOF
92289 #define HAVE_HYPOTL 1
92290 _ACEOF
92292 cat >>confdefs.h <<\_ACEOF
92293 #define HAVE_ISINFL 1
92294 _ACEOF
92296 cat >>confdefs.h <<\_ACEOF
92297 #define HAVE_ISNANL 1
92298 _ACEOF
92302 *-vxworks)
92303 cat >>confdefs.h <<\_ACEOF
92304 #define HAVE_MMAP 1
92305 _ACEOF
92307 cat >>confdefs.h <<\_ACEOF
92308 #define HAVE_ACOSF 1
92309 _ACEOF
92311 cat >>confdefs.h <<\_ACEOF
92312 #define HAVE_ASINF 1
92313 _ACEOF
92315 cat >>confdefs.h <<\_ACEOF
92316 #define HAVE_ATAN2F 1
92317 _ACEOF
92319 cat >>confdefs.h <<\_ACEOF
92320 #define HAVE_ATANF 1
92321 _ACEOF
92323 cat >>confdefs.h <<\_ACEOF
92324 #define HAVE_CEILF 1
92325 _ACEOF
92327 cat >>confdefs.h <<\_ACEOF
92328 #define HAVE_COSF 1
92329 _ACEOF
92331 cat >>confdefs.h <<\_ACEOF
92332 #define HAVE_COSHF 1
92333 _ACEOF
92335 cat >>confdefs.h <<\_ACEOF
92336 #define HAVE_EXPF 1
92337 _ACEOF
92339 cat >>confdefs.h <<\_ACEOF
92340 #define HAVE_FABSF 1
92341 _ACEOF
92343 cat >>confdefs.h <<\_ACEOF
92344 #define HAVE_FLOORF 1
92345 _ACEOF
92347 cat >>confdefs.h <<\_ACEOF
92348 #define HAVE_FMODF 1
92349 _ACEOF
92351 cat >>confdefs.h <<\_ACEOF
92352 #define HAVE_HYPOT 1
92353 _ACEOF
92355 cat >>confdefs.h <<\_ACEOF
92356 #define HAVE_LOG10F 1
92357 _ACEOF
92359 cat >>confdefs.h <<\_ACEOF
92360 #define HAVE_LOGF 1
92361 _ACEOF
92363 cat >>confdefs.h <<\_ACEOF
92364 #define HAVE_POWF 1
92365 _ACEOF
92367 cat >>confdefs.h <<\_ACEOF
92368 #define HAVE_SINF 1
92369 _ACEOF
92371 cat >>confdefs.h <<\_ACEOF
92372 #define HAVE_SINHF 1
92373 _ACEOF
92375 cat >>confdefs.h <<\_ACEOF
92376 #define HAVE_SQRTF 1
92377 _ACEOF
92379 cat >>confdefs.h <<\_ACEOF
92380 #define HAVE_TANF 1
92381 _ACEOF
92383 cat >>confdefs.h <<\_ACEOF
92384 #define HAVE_TANHF 1
92385 _ACEOF
92388 *-windiss*)
92389 cat >>confdefs.h <<\_ACEOF
92390 #define HAVE_ACOSF 1
92391 _ACEOF
92393 cat >>confdefs.h <<\_ACEOF
92394 #define HAVE_ACOSL 1
92395 _ACEOF
92397 cat >>confdefs.h <<\_ACEOF
92398 #define HAVE_ASINF 1
92399 _ACEOF
92401 cat >>confdefs.h <<\_ACEOF
92402 #define HAVE_ASINL 1
92403 _ACEOF
92405 cat >>confdefs.h <<\_ACEOF
92406 #define HAVE_ATAN2F 1
92407 _ACEOF
92409 cat >>confdefs.h <<\_ACEOF
92410 #define HAVE_ATAN2L 1
92411 _ACEOF
92413 cat >>confdefs.h <<\_ACEOF
92414 #define HAVE_ATANF 1
92415 _ACEOF
92417 cat >>confdefs.h <<\_ACEOF
92418 #define HAVE_ATANL 1
92419 _ACEOF
92421 cat >>confdefs.h <<\_ACEOF
92422 #define HAVE_CEILF 1
92423 _ACEOF
92425 cat >>confdefs.h <<\_ACEOF
92426 #define HAVE_CEILL 1
92427 _ACEOF
92429 cat >>confdefs.h <<\_ACEOF
92430 #define HAVE_COPYSIGN 1
92431 _ACEOF
92433 cat >>confdefs.h <<\_ACEOF
92434 #define HAVE_COPYSIGNF 1
92435 _ACEOF
92437 cat >>confdefs.h <<\_ACEOF
92438 #define HAVE_COSF 1
92439 _ACEOF
92441 cat >>confdefs.h <<\_ACEOF
92442 #define HAVE_COSL 1
92443 _ACEOF
92445 cat >>confdefs.h <<\_ACEOF
92446 #define HAVE_COSHF 1
92447 _ACEOF
92449 cat >>confdefs.h <<\_ACEOF
92450 #define HAVE_COSHL 1
92451 _ACEOF
92453 cat >>confdefs.h <<\_ACEOF
92454 #define HAVE_EXPF 1
92455 _ACEOF
92457 cat >>confdefs.h <<\_ACEOF
92458 #define HAVE_EXPL 1
92459 _ACEOF
92461 cat >>confdefs.h <<\_ACEOF
92462 #define HAVE_FABSF 1
92463 _ACEOF
92465 cat >>confdefs.h <<\_ACEOF
92466 #define HAVE_FABSL 1
92467 _ACEOF
92469 cat >>confdefs.h <<\_ACEOF
92470 #define HAVE_FLOORF 1
92471 _ACEOF
92473 cat >>confdefs.h <<\_ACEOF
92474 #define HAVE_FLOORL 1
92475 _ACEOF
92477 cat >>confdefs.h <<\_ACEOF
92478 #define HAVE_FMODF 1
92479 _ACEOF
92481 cat >>confdefs.h <<\_ACEOF
92482 #define HAVE_FMODL 1
92483 _ACEOF
92485 cat >>confdefs.h <<\_ACEOF
92486 #define HAVE_FREXPF 1
92487 _ACEOF
92489 cat >>confdefs.h <<\_ACEOF
92490 #define HAVE_FREXPL 1
92491 _ACEOF
92493 cat >>confdefs.h <<\_ACEOF
92494 #define HAVE_LDEXPF 1
92495 _ACEOF
92497 cat >>confdefs.h <<\_ACEOF
92498 #define HAVE_LDEXPL 1
92499 _ACEOF
92501 cat >>confdefs.h <<\_ACEOF
92502 #define HAVE_LOG10F 1
92503 _ACEOF
92505 cat >>confdefs.h <<\_ACEOF
92506 #define HAVE_LOG10L 1
92507 _ACEOF
92509 cat >>confdefs.h <<\_ACEOF
92510 #define HAVE_LOGF 1
92511 _ACEOF
92513 cat >>confdefs.h <<\_ACEOF
92514 #define HAVE_MODFF 1
92515 _ACEOF
92517 cat >>confdefs.h <<\_ACEOF
92518 #define HAVE_MODFL 1
92519 _ACEOF
92521 cat >>confdefs.h <<\_ACEOF
92522 #define HAVE_POWF 1
92523 _ACEOF
92525 cat >>confdefs.h <<\_ACEOF
92526 #define HAVE_POWL 1
92527 _ACEOF
92529 cat >>confdefs.h <<\_ACEOF
92530 #define HAVE_SINF 1
92531 _ACEOF
92533 cat >>confdefs.h <<\_ACEOF
92534 #define HAVE_SINL 1
92535 _ACEOF
92537 cat >>confdefs.h <<\_ACEOF
92538 #define HAVE_SINHF 1
92539 _ACEOF
92541 cat >>confdefs.h <<\_ACEOF
92542 #define HAVE_SINHL 1
92543 _ACEOF
92545 cat >>confdefs.h <<\_ACEOF
92546 #define HAVE_SQRTF 1
92547 _ACEOF
92549 cat >>confdefs.h <<\_ACEOF
92550 #define HAVE_SQRTL 1
92551 _ACEOF
92553 cat >>confdefs.h <<\_ACEOF
92554 #define HAVE_TANF 1
92555 _ACEOF
92557 cat >>confdefs.h <<\_ACEOF
92558 #define HAVE_TANL 1
92559 _ACEOF
92561 cat >>confdefs.h <<\_ACEOF
92562 #define HAVE_TANHF 1
92563 _ACEOF
92565 cat >>confdefs.h <<\_ACEOF
92566 #define HAVE_TANHL 1
92567 _ACEOF
92571 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
92572 echo "$as_me: error: No support for this host/target combination." >&2;}
92573 { (exit 1); exit 1; }; }
92575 esac
92580 # At some point, we should differentiate between architectures
92581 # like x86, which have long double versions, and alpha/powerpc/etc.,
92582 # which don't. For the time being, punt.
92583 if test x"long_double_math_on_this_cpu" = x"yes"; then
92584 cat >>confdefs.h <<\_ACEOF
92585 #define HAVE_ACOSL 1
92586 _ACEOF
92588 cat >>confdefs.h <<\_ACEOF
92589 #define HAVE_ASINL 1
92590 _ACEOF
92592 cat >>confdefs.h <<\_ACEOF
92593 #define HAVE_ATAN2L 1
92594 _ACEOF
92596 cat >>confdefs.h <<\_ACEOF
92597 #define HAVE_ATANL 1
92598 _ACEOF
92600 cat >>confdefs.h <<\_ACEOF
92601 #define HAVE_CEILL 1
92602 _ACEOF
92604 cat >>confdefs.h <<\_ACEOF
92605 #define HAVE_COPYSIGNL 1
92606 _ACEOF
92608 cat >>confdefs.h <<\_ACEOF
92609 #define HAVE_COSL 1
92610 _ACEOF
92612 cat >>confdefs.h <<\_ACEOF
92613 #define HAVE_COSHL 1
92614 _ACEOF
92616 cat >>confdefs.h <<\_ACEOF
92617 #define HAVE_EXPL 1
92618 _ACEOF
92620 cat >>confdefs.h <<\_ACEOF
92621 #define HAVE_FABSL 1
92622 _ACEOF
92624 cat >>confdefs.h <<\_ACEOF
92625 #define HAVE_FLOORL 1
92626 _ACEOF
92628 cat >>confdefs.h <<\_ACEOF
92629 #define HAVE_FMODL 1
92630 _ACEOF
92632 cat >>confdefs.h <<\_ACEOF
92633 #define HAVE_FREXPL 1
92634 _ACEOF
92636 cat >>confdefs.h <<\_ACEOF
92637 #define HAVE_LDEXPL 1
92638 _ACEOF
92640 cat >>confdefs.h <<\_ACEOF
92641 #define HAVE_LOG10L 1
92642 _ACEOF
92644 cat >>confdefs.h <<\_ACEOF
92645 #define HAVE_LOGL 1
92646 _ACEOF
92648 cat >>confdefs.h <<\_ACEOF
92649 #define HAVE_MODFL 1
92650 _ACEOF
92652 cat >>confdefs.h <<\_ACEOF
92653 #define HAVE_POWL 1
92654 _ACEOF
92656 cat >>confdefs.h <<\_ACEOF
92657 #define HAVE_SINCOSL 1
92658 _ACEOF
92660 cat >>confdefs.h <<\_ACEOF
92661 #define HAVE_SINL 1
92662 _ACEOF
92664 cat >>confdefs.h <<\_ACEOF
92665 #define HAVE_SINHL 1
92666 _ACEOF
92668 cat >>confdefs.h <<\_ACEOF
92669 #define HAVE_SQRTL 1
92670 _ACEOF
92672 cat >>confdefs.h <<\_ACEOF
92673 #define HAVE_TANL 1
92674 _ACEOF
92676 cat >>confdefs.h <<\_ACEOF
92677 #define HAVE_TANHL 1
92678 _ACEOF
92684 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
92687 # Check whether --enable-symvers or --disable-symvers was given.
92688 if test "${enable_symvers+set}" = set; then
92689 enableval="$enable_symvers"
92691 case "$enableval" in
92692 yes|no|gnu) ;;
92693 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
92694 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
92695 { (exit 1); exit 1; }; } ;;
92696 esac
92698 else
92699 enable_symvers=yes
92703 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
92704 # don't know enough about $LD to do tricks...
92706 # FIXME The following test is too strict, in theory.
92707 if test $enable_shared = no ||
92708 test "x$LD" = x ||
92709 test x$glibcxx_gnu_ld_version = x; then
92710 enable_symvers=no
92713 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
92714 if test $enable_symvers != no; then
92715 echo "$as_me:$LINENO: checking for shared libgcc" >&5
92716 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
92717 ac_save_CFLAGS="$CFLAGS"
92718 CFLAGS=' -lgcc_s'
92719 if test x$gcc_no_link = xyes; then
92720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92722 { (exit 1); exit 1; }; }
92724 cat >conftest.$ac_ext <<_ACEOF
92725 /* confdefs.h. */
92726 _ACEOF
92727 cat confdefs.h >>conftest.$ac_ext
92728 cat >>conftest.$ac_ext <<_ACEOF
92729 /* end confdefs.h. */
92732 main ()
92734 return 0;
92736 return 0;
92738 _ACEOF
92739 rm -f conftest.$ac_objext conftest$ac_exeext
92740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92741 (eval $ac_link) 2>conftest.er1
92742 ac_status=$?
92743 grep -v '^ *+' conftest.er1 >conftest.err
92744 rm -f conftest.er1
92745 cat conftest.err >&5
92746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92747 (exit $ac_status); } &&
92748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92750 (eval $ac_try) 2>&5
92751 ac_status=$?
92752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92753 (exit $ac_status); }; } &&
92754 { ac_try='test -s conftest$ac_exeext'
92755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92756 (eval $ac_try) 2>&5
92757 ac_status=$?
92758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92759 (exit $ac_status); }; }; then
92760 glibcxx_shared_libgcc=yes
92761 else
92762 echo "$as_me: failed program was:" >&5
92763 sed 's/^/| /' conftest.$ac_ext >&5
92765 glibcxx_shared_libgcc=no
92767 rm -f conftest.err conftest.$ac_objext \
92768 conftest$ac_exeext conftest.$ac_ext
92769 CFLAGS="$ac_save_CFLAGS"
92770 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
92771 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
92774 # For GNU ld, we need at least this version. The format is described in
92775 # GLIBCXX_CHECK_LINKER_FEATURES above.
92776 glibcxx_min_gnu_ld_version=21400
92777 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
92779 # Check to see if unspecified "yes" value can win, given results above.
92780 # Change "yes" into either "no" or a style name.
92781 if test $enable_symvers = yes; then
92782 if test $with_gnu_ld = yes &&
92783 test $glibcxx_shared_libgcc = yes;
92784 then
92785 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
92786 enable_symvers=gnu
92787 else
92788 # The right tools, the right setup, but too old. Fallbacks?
92789 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
92790 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
92791 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
92792 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
92793 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
92794 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
92795 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
92796 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
92797 if test $glibcxx_gnu_ld_version -ge 21200 ; then
92798 # Globbing fix is present, proper block support is not.
92799 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92800 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92801 enable_symvers=no
92802 else
92803 # 2.11 or older.
92804 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92805 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92806 enable_symvers=no
92809 else
92810 # just fail for now
92811 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
92812 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
92813 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
92814 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
92815 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
92816 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
92817 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92818 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92819 enable_symvers=no
92823 # Everything parsed; figure out what file to use.
92824 case $enable_symvers in
92826 SYMVER_MAP=config/linker-map.dummy
92828 gnu)
92829 SYMVER_MAP=config/linker-map.gnu
92830 cat >>confdefs.h <<\_ACEOF
92831 #define _GLIBCXX_SYMVER 1
92832 _ACEOF
92835 esac
92840 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
92841 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
92844 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
92846 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
92847 # Do checks for resource limit functions.
92849 setrlimit_have_headers=yes
92853 for ac_header in unistd.h sys/time.h sys/resource.h
92855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92857 echo "$as_me:$LINENO: checking for $ac_header" >&5
92858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92860 echo $ECHO_N "(cached) $ECHO_C" >&6
92862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92864 else
92865 # Is the header compilable?
92866 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92867 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92868 cat >conftest.$ac_ext <<_ACEOF
92869 /* confdefs.h. */
92870 _ACEOF
92871 cat confdefs.h >>conftest.$ac_ext
92872 cat >>conftest.$ac_ext <<_ACEOF
92873 /* end confdefs.h. */
92874 $ac_includes_default
92875 #include <$ac_header>
92876 _ACEOF
92877 rm -f conftest.$ac_objext
92878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92879 (eval $ac_compile) 2>conftest.er1
92880 ac_status=$?
92881 grep -v '^ *+' conftest.er1 >conftest.err
92882 rm -f conftest.er1
92883 cat conftest.err >&5
92884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92885 (exit $ac_status); } &&
92886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92888 (eval $ac_try) 2>&5
92889 ac_status=$?
92890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92891 (exit $ac_status); }; } &&
92892 { ac_try='test -s conftest.$ac_objext'
92893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92894 (eval $ac_try) 2>&5
92895 ac_status=$?
92896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92897 (exit $ac_status); }; }; then
92898 ac_header_compiler=yes
92899 else
92900 echo "$as_me: failed program was:" >&5
92901 sed 's/^/| /' conftest.$ac_ext >&5
92903 ac_header_compiler=no
92905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92907 echo "${ECHO_T}$ac_header_compiler" >&6
92909 # Is the header present?
92910 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92912 cat >conftest.$ac_ext <<_ACEOF
92913 /* confdefs.h. */
92914 _ACEOF
92915 cat confdefs.h >>conftest.$ac_ext
92916 cat >>conftest.$ac_ext <<_ACEOF
92917 /* end confdefs.h. */
92918 #include <$ac_header>
92919 _ACEOF
92920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92922 ac_status=$?
92923 grep -v '^ *+' conftest.er1 >conftest.err
92924 rm -f conftest.er1
92925 cat conftest.err >&5
92926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92927 (exit $ac_status); } >/dev/null; then
92928 if test -s conftest.err; then
92929 ac_cpp_err=$ac_c_preproc_warn_flag
92930 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92931 else
92932 ac_cpp_err=
92934 else
92935 ac_cpp_err=yes
92937 if test -z "$ac_cpp_err"; then
92938 ac_header_preproc=yes
92939 else
92940 echo "$as_me: failed program was:" >&5
92941 sed 's/^/| /' conftest.$ac_ext >&5
92943 ac_header_preproc=no
92945 rm -f conftest.err conftest.$ac_ext
92946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92947 echo "${ECHO_T}$ac_header_preproc" >&6
92949 # So? What about this header?
92950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92951 yes:no: )
92952 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92953 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92955 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92956 ac_header_preproc=yes
92958 no:yes:* )
92959 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92960 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92961 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92962 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92963 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92964 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92965 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92966 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92969 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92970 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92972 cat <<\_ASBOX
92973 ## ----------------------------------------- ##
92974 ## Report this to the package-unused lists. ##
92975 ## ----------------------------------------- ##
92976 _ASBOX
92978 sed "s/^/$as_me: WARNING: /" >&2
92980 esac
92981 echo "$as_me:$LINENO: checking for $ac_header" >&5
92982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92984 echo $ECHO_N "(cached) $ECHO_C" >&6
92985 else
92986 eval "$as_ac_Header=\$ac_header_preproc"
92988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92993 cat >>confdefs.h <<_ACEOF
92994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92995 _ACEOF
92997 else
92998 setrlimit_have_headers=no
93001 done
93003 # If don't have the headers, then we can't run the tests now, and we
93004 # won't be seeing any of these during testsuite compilation.
93005 if test $setrlimit_have_headers = yes; then
93006 # Can't do these in a loop, else the resulting syntax is wrong.
93008 cat >conftest.$ac_ext <<_ACEOF
93009 /* confdefs.h. */
93010 _ACEOF
93011 cat confdefs.h >>conftest.$ac_ext
93012 cat >>conftest.$ac_ext <<_ACEOF
93013 /* end confdefs.h. */
93014 #include <unistd.h>
93015 #include <sys/time.h>
93016 #include <sys/resource.h>
93019 main ()
93021 int f = RLIMIT_DATA ;
93023 return 0;
93025 _ACEOF
93026 rm -f conftest.$ac_objext
93027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93028 (eval $ac_compile) 2>conftest.er1
93029 ac_status=$?
93030 grep -v '^ *+' conftest.er1 >conftest.err
93031 rm -f conftest.er1
93032 cat conftest.err >&5
93033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93034 (exit $ac_status); } &&
93035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93037 (eval $ac_try) 2>&5
93038 ac_status=$?
93039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93040 (exit $ac_status); }; } &&
93041 { ac_try='test -s conftest.$ac_objext'
93042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93043 (eval $ac_try) 2>&5
93044 ac_status=$?
93045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93046 (exit $ac_status); }; }; then
93047 glibcxx_mresult=1
93048 else
93049 echo "$as_me: failed program was:" >&5
93050 sed 's/^/| /' conftest.$ac_ext >&5
93052 glibcxx_mresult=0
93054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93056 cat >>confdefs.h <<_ACEOF
93057 #define HAVE_LIMIT_DATA $glibcxx_mresult
93058 _ACEOF
93062 cat >conftest.$ac_ext <<_ACEOF
93063 /* confdefs.h. */
93064 _ACEOF
93065 cat confdefs.h >>conftest.$ac_ext
93066 cat >>conftest.$ac_ext <<_ACEOF
93067 /* end confdefs.h. */
93068 #include <unistd.h>
93069 #include <sys/time.h>
93070 #include <sys/resource.h>
93073 main ()
93075 int f = RLIMIT_RSS ;
93077 return 0;
93079 _ACEOF
93080 rm -f conftest.$ac_objext
93081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93082 (eval $ac_compile) 2>conftest.er1
93083 ac_status=$?
93084 grep -v '^ *+' conftest.er1 >conftest.err
93085 rm -f conftest.er1
93086 cat conftest.err >&5
93087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93088 (exit $ac_status); } &&
93089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93091 (eval $ac_try) 2>&5
93092 ac_status=$?
93093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93094 (exit $ac_status); }; } &&
93095 { ac_try='test -s conftest.$ac_objext'
93096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93097 (eval $ac_try) 2>&5
93098 ac_status=$?
93099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93100 (exit $ac_status); }; }; then
93101 glibcxx_mresult=1
93102 else
93103 echo "$as_me: failed program was:" >&5
93104 sed 's/^/| /' conftest.$ac_ext >&5
93106 glibcxx_mresult=0
93108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93110 cat >>confdefs.h <<_ACEOF
93111 #define HAVE_LIMIT_RSS $glibcxx_mresult
93112 _ACEOF
93116 cat >conftest.$ac_ext <<_ACEOF
93117 /* confdefs.h. */
93118 _ACEOF
93119 cat confdefs.h >>conftest.$ac_ext
93120 cat >>conftest.$ac_ext <<_ACEOF
93121 /* end confdefs.h. */
93122 #include <unistd.h>
93123 #include <sys/time.h>
93124 #include <sys/resource.h>
93127 main ()
93129 int f = RLIMIT_VMEM ;
93131 return 0;
93133 _ACEOF
93134 rm -f conftest.$ac_objext
93135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93136 (eval $ac_compile) 2>conftest.er1
93137 ac_status=$?
93138 grep -v '^ *+' conftest.er1 >conftest.err
93139 rm -f conftest.er1
93140 cat conftest.err >&5
93141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93142 (exit $ac_status); } &&
93143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93145 (eval $ac_try) 2>&5
93146 ac_status=$?
93147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93148 (exit $ac_status); }; } &&
93149 { ac_try='test -s conftest.$ac_objext'
93150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93151 (eval $ac_try) 2>&5
93152 ac_status=$?
93153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93154 (exit $ac_status); }; }; then
93155 glibcxx_mresult=1
93156 else
93157 echo "$as_me: failed program was:" >&5
93158 sed 's/^/| /' conftest.$ac_ext >&5
93160 glibcxx_mresult=0
93162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93164 cat >>confdefs.h <<_ACEOF
93165 #define HAVE_LIMIT_VMEM $glibcxx_mresult
93166 _ACEOF
93170 cat >conftest.$ac_ext <<_ACEOF
93171 /* confdefs.h. */
93172 _ACEOF
93173 cat confdefs.h >>conftest.$ac_ext
93174 cat >>conftest.$ac_ext <<_ACEOF
93175 /* end confdefs.h. */
93176 #include <unistd.h>
93177 #include <sys/time.h>
93178 #include <sys/resource.h>
93181 main ()
93183 int f = RLIMIT_AS ;
93185 return 0;
93187 _ACEOF
93188 rm -f conftest.$ac_objext
93189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93190 (eval $ac_compile) 2>conftest.er1
93191 ac_status=$?
93192 grep -v '^ *+' conftest.er1 >conftest.err
93193 rm -f conftest.er1
93194 cat conftest.err >&5
93195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93196 (exit $ac_status); } &&
93197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93199 (eval $ac_try) 2>&5
93200 ac_status=$?
93201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93202 (exit $ac_status); }; } &&
93203 { ac_try='test -s conftest.$ac_objext'
93204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93205 (eval $ac_try) 2>&5
93206 ac_status=$?
93207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93208 (exit $ac_status); }; }; then
93209 glibcxx_mresult=1
93210 else
93211 echo "$as_me: failed program was:" >&5
93212 sed 's/^/| /' conftest.$ac_ext >&5
93214 glibcxx_mresult=0
93216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93218 cat >>confdefs.h <<_ACEOF
93219 #define HAVE_LIMIT_AS $glibcxx_mresult
93220 _ACEOF
93224 cat >conftest.$ac_ext <<_ACEOF
93225 /* confdefs.h. */
93226 _ACEOF
93227 cat confdefs.h >>conftest.$ac_ext
93228 cat >>conftest.$ac_ext <<_ACEOF
93229 /* end confdefs.h. */
93230 #include <unistd.h>
93231 #include <sys/time.h>
93232 #include <sys/resource.h>
93235 main ()
93237 int f = RLIMIT_FSIZE ;
93239 return 0;
93241 _ACEOF
93242 rm -f conftest.$ac_objext
93243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93244 (eval $ac_compile) 2>conftest.er1
93245 ac_status=$?
93246 grep -v '^ *+' conftest.er1 >conftest.err
93247 rm -f conftest.er1
93248 cat conftest.err >&5
93249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93250 (exit $ac_status); } &&
93251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93253 (eval $ac_try) 2>&5
93254 ac_status=$?
93255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93256 (exit $ac_status); }; } &&
93257 { ac_try='test -s conftest.$ac_objext'
93258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93259 (eval $ac_try) 2>&5
93260 ac_status=$?
93261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93262 (exit $ac_status); }; }; then
93263 glibcxx_mresult=1
93264 else
93265 echo "$as_me: failed program was:" >&5
93266 sed 's/^/| /' conftest.$ac_ext >&5
93268 glibcxx_mresult=0
93270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93272 cat >>confdefs.h <<_ACEOF
93273 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
93274 _ACEOF
93278 # Check for rlimit, setrlimit.
93279 if test "${ac_setrlimit+set}" = set; then
93280 echo $ECHO_N "(cached) $ECHO_C" >&6
93281 else
93283 cat >conftest.$ac_ext <<_ACEOF
93284 /* confdefs.h. */
93285 _ACEOF
93286 cat confdefs.h >>conftest.$ac_ext
93287 cat >>conftest.$ac_ext <<_ACEOF
93288 /* end confdefs.h. */
93289 #include <unistd.h>
93290 #include <sys/time.h>
93291 #include <sys/resource.h>
93294 main ()
93296 struct rlimit r;
93297 setrlimit(0, &r);
93299 return 0;
93301 _ACEOF
93302 rm -f conftest.$ac_objext
93303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93304 (eval $ac_compile) 2>conftest.er1
93305 ac_status=$?
93306 grep -v '^ *+' conftest.er1 >conftest.err
93307 rm -f conftest.er1
93308 cat conftest.err >&5
93309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93310 (exit $ac_status); } &&
93311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93313 (eval $ac_try) 2>&5
93314 ac_status=$?
93315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93316 (exit $ac_status); }; } &&
93317 { ac_try='test -s conftest.$ac_objext'
93318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93319 (eval $ac_try) 2>&5
93320 ac_status=$?
93321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93322 (exit $ac_status); }; }; then
93323 ac_setrlimit=yes
93324 else
93325 echo "$as_me: failed program was:" >&5
93326 sed 's/^/| /' conftest.$ac_ext >&5
93328 ac_setrlimit=no
93330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93336 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
93337 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
93338 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
93339 ac_res_limits=yes
93340 cat >>confdefs.h <<\_ACEOF
93341 #define _GLIBCXX_RES_LIMITS 1
93342 _ACEOF
93344 else
93345 ac_res_limits=no
93347 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
93348 echo "${ECHO_T}$ac_res_limits" >&6
93351 # Look for setenv, so that extended locale tests can be performed.
93353 echo "$as_me:$LINENO: checking for setenv declaration" >&5
93354 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
93355 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
93356 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
93357 echo $ECHO_N "(cached) $ECHO_C" >&6
93358 else
93362 ac_ext=cc
93363 ac_cpp='$CXXCPP $CPPFLAGS'
93364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93368 cat >conftest.$ac_ext <<_ACEOF
93369 /* confdefs.h. */
93370 _ACEOF
93371 cat confdefs.h >>conftest.$ac_ext
93372 cat >>conftest.$ac_ext <<_ACEOF
93373 /* end confdefs.h. */
93374 #include <stdlib.h>
93376 main ()
93378 setenv(0, 0, 0);
93380 return 0;
93382 _ACEOF
93383 rm -f conftest.$ac_objext
93384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93385 (eval $ac_compile) 2>conftest.er1
93386 ac_status=$?
93387 grep -v '^ *+' conftest.er1 >conftest.err
93388 rm -f conftest.er1
93389 cat conftest.err >&5
93390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93391 (exit $ac_status); } &&
93392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
93393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93394 (eval $ac_try) 2>&5
93395 ac_status=$?
93396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93397 (exit $ac_status); }; } &&
93398 { ac_try='test -s conftest.$ac_objext'
93399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93400 (eval $ac_try) 2>&5
93401 ac_status=$?
93402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93403 (exit $ac_status); }; }; then
93404 glibcxx_cv_func_setenv_use=yes
93405 else
93406 echo "$as_me: failed program was:" >&5
93407 sed 's/^/| /' conftest.$ac_ext >&5
93409 glibcxx_cv_func_setenv_use=no
93411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93412 ac_ext=c
93413 ac_cpp='$CPP $CPPFLAGS'
93414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
93423 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
93424 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
93426 for ac_func in setenv
93428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93429 echo "$as_me:$LINENO: checking for $ac_func" >&5
93430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93431 if eval "test \"\${$as_ac_var+set}\" = set"; then
93432 echo $ECHO_N "(cached) $ECHO_C" >&6
93433 else
93434 if test x$gcc_no_link = xyes; then
93435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93437 { (exit 1); exit 1; }; }
93439 cat >conftest.$ac_ext <<_ACEOF
93440 /* confdefs.h. */
93441 _ACEOF
93442 cat confdefs.h >>conftest.$ac_ext
93443 cat >>conftest.$ac_ext <<_ACEOF
93444 /* end confdefs.h. */
93445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93447 #define $ac_func innocuous_$ac_func
93449 /* System header to define __stub macros and hopefully few prototypes,
93450 which can conflict with char $ac_func (); below.
93451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93452 <limits.h> exists even on freestanding compilers. */
93454 #ifdef __STDC__
93455 # include <limits.h>
93456 #else
93457 # include <assert.h>
93458 #endif
93460 #undef $ac_func
93462 /* Override any gcc2 internal prototype to avoid an error. */
93463 #ifdef __cplusplus
93464 extern "C"
93466 #endif
93467 /* We use char because int might match the return type of a gcc2
93468 builtin and then its argument prototype would still apply. */
93469 char $ac_func ();
93470 /* The GNU C library defines this for functions which it implements
93471 to always fail with ENOSYS. Some functions are actually named
93472 something starting with __ and the normal name is an alias. */
93473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93474 choke me
93475 #else
93476 char (*f) () = $ac_func;
93477 #endif
93478 #ifdef __cplusplus
93480 #endif
93483 main ()
93485 return f != $ac_func;
93487 return 0;
93489 _ACEOF
93490 rm -f conftest.$ac_objext conftest$ac_exeext
93491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93492 (eval $ac_link) 2>conftest.er1
93493 ac_status=$?
93494 grep -v '^ *+' conftest.er1 >conftest.err
93495 rm -f conftest.er1
93496 cat conftest.err >&5
93497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93498 (exit $ac_status); } &&
93499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93501 (eval $ac_try) 2>&5
93502 ac_status=$?
93503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93504 (exit $ac_status); }; } &&
93505 { ac_try='test -s conftest$ac_exeext'
93506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93507 (eval $ac_try) 2>&5
93508 ac_status=$?
93509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93510 (exit $ac_status); }; }; then
93511 eval "$as_ac_var=yes"
93512 else
93513 echo "$as_me: failed program was:" >&5
93514 sed 's/^/| /' conftest.$ac_ext >&5
93516 eval "$as_ac_var=no"
93518 rm -f conftest.err conftest.$ac_objext \
93519 conftest$ac_exeext conftest.$ac_ext
93521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93523 if test `eval echo '${'$as_ac_var'}'` = yes; then
93524 cat >>confdefs.h <<_ACEOF
93525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93526 _ACEOF
93529 done
93534 if test $enable_symvers = no; then
93535 enable_abi_check=no
93536 else
93537 case "$host" in
93538 *-*-cygwin*)
93539 enable_abi_check=no ;;
93541 enable_abi_check=yes ;;
93542 esac
93544 else
93545 # Only build this as native, since automake does not understand
93546 # CXX_FOR_BUILD.
93547 enable_abi_check=no
93550 # Export file names for ABI checking.
93551 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
93558 # Propagate the target-specific source directories through the build chain.
93559 ATOMICITY_SRCDIR=config/${atomicity_dir}
93560 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
93561 OS_INC_SRCDIR=config/${os_include_dir}
93562 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
93568 # Determine cross-compile flags and AM_CONDITIONALs.
93569 #AC_SUBST(GLIBCXX_IS_NATIVE)
93570 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
93571 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
93572 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
93575 if test $is_hosted = yes; then
93576 GLIBCXX_HOSTED_TRUE=
93577 GLIBCXX_HOSTED_FALSE='#'
93578 else
93579 GLIBCXX_HOSTED_TRUE='#'
93580 GLIBCXX_HOSTED_FALSE=
93586 if test $enable_libstdcxx_pch = yes; then
93587 GLIBCXX_BUILD_PCH_TRUE=
93588 GLIBCXX_BUILD_PCH_FALSE='#'
93589 else
93590 GLIBCXX_BUILD_PCH_TRUE='#'
93591 GLIBCXX_BUILD_PCH_FALSE=
93597 if test $enable_cheaders = c; then
93598 GLIBCXX_C_HEADERS_C_TRUE=
93599 GLIBCXX_C_HEADERS_C_FALSE='#'
93600 else
93601 GLIBCXX_C_HEADERS_C_TRUE='#'
93602 GLIBCXX_C_HEADERS_C_FALSE=
93608 if test $enable_cheaders = c_std; then
93609 GLIBCXX_C_HEADERS_C_STD_TRUE=
93610 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
93611 else
93612 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
93613 GLIBCXX_C_HEADERS_C_STD_FALSE=
93619 if test $c_compatibility = yes; then
93620 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
93621 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
93622 else
93623 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
93624 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
93630 if test $enable_libstdcxx_debug = yes; then
93631 GLIBCXX_BUILD_DEBUG_TRUE=
93632 GLIBCXX_BUILD_DEBUG_FALSE='#'
93633 else
93634 GLIBCXX_BUILD_DEBUG_TRUE='#'
93635 GLIBCXX_BUILD_DEBUG_FALSE=
93641 if test $enable_symvers != no; then
93642 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
93643 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
93644 else
93645 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
93646 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
93652 if test $enable_wchar_t = yes; then
93653 GLIBCXX_TEST_WCHAR_T_TRUE=
93654 GLIBCXX_TEST_WCHAR_T_FALSE='#'
93655 else
93656 GLIBCXX_TEST_WCHAR_T_TRUE='#'
93657 GLIBCXX_TEST_WCHAR_T_FALSE=
93663 if test $enable_abi_check = yes; then
93664 GLIBCXX_TEST_ABI_TRUE=
93665 GLIBCXX_TEST_ABI_FALSE='#'
93666 else
93667 GLIBCXX_TEST_ABI_TRUE='#'
93668 GLIBCXX_TEST_ABI_FALSE=
93674 cat >confcache <<\_ACEOF
93675 # This file is a shell script that caches the results of configure
93676 # tests run on this system so they can be shared between configure
93677 # scripts and configure runs, see configure's option --config-cache.
93678 # It is not useful on other systems. If it contains results you don't
93679 # want to keep, you may remove or edit it.
93681 # config.status only pays attention to the cache file if you give it
93682 # the --recheck option to rerun configure.
93684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93686 # following values.
93688 _ACEOF
93690 # The following way of writing the cache mishandles newlines in values,
93691 # but we know of no workaround that is simple, portable, and efficient.
93692 # So, don't put newlines in cache variables' values.
93693 # Ultrix sh set writes to stderr and can't be redirected directly,
93694 # and sets the high bit in the cache file unless we assign to the vars.
93696 (set) 2>&1 |
93697 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93698 *ac_space=\ *)
93699 # `set' does not quote correctly, so add quotes (double-quote
93700 # substitution turns \\\\ into \\, and sed turns \\ into \).
93701 sed -n \
93702 "s/'/'\\\\''/g;
93703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93706 # `set' quotes correctly as required by POSIX, so do not add quotes.
93707 sed -n \
93708 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93710 esac;
93712 sed '
93713 t clear
93714 : clear
93715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93716 t end
93717 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93718 : end' >>confcache
93719 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93720 if test -w $cache_file; then
93721 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93722 cat confcache >$cache_file
93723 else
93724 echo "not updating unwritable cache $cache_file"
93727 rm -f confcache
93729 if test ${multilib} = yes; then
93730 multilib_arg="--enable-multilib"
93731 else
93732 multilib_arg=
93735 # Export all the install information.
93737 glibcxx_toolexecdir=no
93738 glibcxx_toolexeclibdir=no
93739 glibcxx_prefixdir=$prefix
93741 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
93742 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
93744 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
93745 if test "${with_gxx_include_dir+set}" = set; then
93746 withval="$with_gxx_include_dir"
93747 case "$withval" in
93748 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
93749 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
93750 { (exit 1); exit 1; }; } ;;
93751 no) gxx_include_dir=no ;;
93752 *) gxx_include_dir=$withval ;;
93753 esac
93754 else
93755 gxx_include_dir=no
93757 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93758 echo "${ECHO_T}$gxx_include_dir" >&6
93760 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
93761 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
93762 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
93763 if test "${enable_version_specific_runtime_libs+set}" = set; then
93764 enableval="$enable_version_specific_runtime_libs"
93765 case "$enableval" in
93766 yes) version_specific_libs=yes ;;
93767 no) version_specific_libs=no ;;
93768 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
93769 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
93770 { (exit 1); exit 1; }; };;
93771 esac
93772 else
93773 version_specific_libs=no
93775 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
93776 echo "${ECHO_T}$version_specific_libs" >&6
93778 # Default case for install directory for include files.
93779 if test $version_specific_libs = no && test $gxx_include_dir = no; then
93780 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
93783 # Version-specific runtime libs processing.
93784 if test $version_specific_libs = yes; then
93785 # Need the gcc compiler version to know where to install libraries
93786 # and header files if --enable-version-specific-runtime-libs option
93787 # is selected. FIXME: these variables are misnamed, there are
93788 # no executables installed in _toolexecdir or _toolexeclibdir.
93789 if test x"$gxx_include_dir" = x"no"; then
93790 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
93792 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93793 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
93796 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
93797 # Install a library built with a cross compiler in tooldir, not libdir.
93798 if test x"$glibcxx_toolexecdir" = x"no"; then
93799 if test -n "$with_cross_host" &&
93800 test x"$with_cross_host" != x"no"; then
93801 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
93802 glibcxx_toolexeclibdir='${toolexecdir}/lib'
93803 else
93804 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93805 glibcxx_toolexeclibdir='${libdir}'
93807 multi_os_directory=`$CXX -print-multi-os-directory`
93808 case $multi_os_directory in
93809 .) ;; # Avoid trailing /.
93810 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
93811 esac
93814 echo "$as_me:$LINENO: checking for install location" >&5
93815 echo $ECHO_N "checking for install location... $ECHO_C" >&6
93816 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93817 echo "${ECHO_T}$gxx_include_dir" >&6
93825 # Export all the include and flag information to Makefiles.
93827 # Used for every C++ compile we perform.
93828 GLIBCXX_INCLUDES="\
93829 -I$glibcxx_builddir/include/$host_alias \
93830 -I$glibcxx_builddir/include \
93831 -I$glibcxx_srcdir/libsupc++"
93833 # For Canadian crosses, pick this up too.
93834 if test $CANADIAN = yes; then
93835 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
93838 # Stuff in the actual top level. Currently only used by libsupc++ to
93839 # get unwind* headers from the gcc dir.
93840 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
93841 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
93843 # Now, export this to all the little Makefiles....
93848 # Optimization flags that are probably a good idea for thrill-seekers. Just
93849 # uncomment the lines below and make, everything else is ready to go...
93850 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
93851 OPTIMIZE_CXXFLAGS=
93854 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
93858 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
93859 grep "enable shared" > /dev/null;
93860 then
93861 LIBSUPCXX_PICFLAGS=-prefer-pic
93862 else
93863 LIBSUPCXX_PICFLAGS=
93867 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
93869 ac_config_files="$ac_config_files scripts/check_survey"
93871 ac_config_files="$ac_config_files scripts/testsuite_flags"
93874 ac_config_commands="$ac_config_commands default"
93877 cat >confcache <<\_ACEOF
93878 # This file is a shell script that caches the results of configure
93879 # tests run on this system so they can be shared between configure
93880 # scripts and configure runs, see configure's option --config-cache.
93881 # It is not useful on other systems. If it contains results you don't
93882 # want to keep, you may remove or edit it.
93884 # config.status only pays attention to the cache file if you give it
93885 # the --recheck option to rerun configure.
93887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93889 # following values.
93891 _ACEOF
93893 # The following way of writing the cache mishandles newlines in values,
93894 # but we know of no workaround that is simple, portable, and efficient.
93895 # So, don't put newlines in cache variables' values.
93896 # Ultrix sh set writes to stderr and can't be redirected directly,
93897 # and sets the high bit in the cache file unless we assign to the vars.
93899 (set) 2>&1 |
93900 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93901 *ac_space=\ *)
93902 # `set' does not quote correctly, so add quotes (double-quote
93903 # substitution turns \\\\ into \\, and sed turns \\ into \).
93904 sed -n \
93905 "s/'/'\\\\''/g;
93906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93909 # `set' quotes correctly as required by POSIX, so do not add quotes.
93910 sed -n \
93911 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93913 esac;
93915 sed '
93916 t clear
93917 : clear
93918 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93919 t end
93920 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93921 : end' >>confcache
93922 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93923 if test -w $cache_file; then
93924 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93925 cat confcache >$cache_file
93926 else
93927 echo "not updating unwritable cache $cache_file"
93930 rm -f confcache
93932 test "x$prefix" = xNONE && prefix=$ac_default_prefix
93933 # Let make expand exec_prefix.
93934 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
93936 # VPATH may cause trouble with some makes, so we remove $(srcdir),
93937 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
93938 # trailing colons and then remove the whole line if VPATH becomes empty
93939 # (actually we leave an empty line to preserve line numbers).
93940 if test "x$srcdir" = x.; then
93941 ac_vpsub='/^[ ]*VPATH[ ]*=/{
93942 s/:*\$(srcdir):*/:/;
93943 s/:*\${srcdir}:*/:/;
93944 s/:*@srcdir@:*/:/;
93945 s/^\([^=]*=[ ]*\):*/\1/;
93946 s/:*$//;
93947 s/^[^=]*=[ ]*$//;
93951 DEFS=-DHAVE_CONFIG_H
93953 ac_libobjs=
93954 ac_ltlibobjs=
93955 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
93956 # 1. Remove the extension, and $U if already installed.
93957 ac_i=`echo "$ac_i" |
93958 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
93959 # 2. Add them.
93960 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
93961 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
93962 done
93963 LIBOBJS=$ac_libobjs
93965 LTLIBOBJS=$ac_ltlibobjs
93968 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
93969 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
93970 Usually this means the macro was only invoked conditionally." >&5
93971 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
93972 Usually this means the macro was only invoked conditionally." >&2;}
93973 { (exit 1); exit 1; }; }
93975 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
93976 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93977 Usually this means the macro was only invoked conditionally." >&5
93978 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93979 Usually this means the macro was only invoked conditionally." >&2;}
93980 { (exit 1); exit 1; }; }
93982 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
93983 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93984 Usually this means the macro was only invoked conditionally." >&5
93985 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93986 Usually this means the macro was only invoked conditionally." >&2;}
93987 { (exit 1); exit 1; }; }
93989 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
93990 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93991 Usually this means the macro was only invoked conditionally." >&5
93992 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93993 Usually this means the macro was only invoked conditionally." >&2;}
93994 { (exit 1); exit 1; }; }
93996 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
93997 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93998 Usually this means the macro was only invoked conditionally." >&5
93999 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94000 Usually this means the macro was only invoked conditionally." >&2;}
94001 { (exit 1); exit 1; }; }
94003 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
94004 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94005 Usually this means the macro was only invoked conditionally." >&5
94006 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94007 Usually this means the macro was only invoked conditionally." >&2;}
94008 { (exit 1); exit 1; }; }
94010 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
94011 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94012 Usually this means the macro was only invoked conditionally." >&5
94013 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94014 Usually this means the macro was only invoked conditionally." >&2;}
94015 { (exit 1); exit 1; }; }
94017 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
94018 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
94019 Usually this means the macro was only invoked conditionally." >&5
94020 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
94021 Usually this means the macro was only invoked conditionally." >&2;}
94022 { (exit 1); exit 1; }; }
94024 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
94025 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
94026 Usually this means the macro was only invoked conditionally." >&5
94027 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
94028 Usually this means the macro was only invoked conditionally." >&2;}
94029 { (exit 1); exit 1; }; }
94031 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
94032 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
94033 Usually this means the macro was only invoked conditionally." >&5
94034 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
94035 Usually this means the macro was only invoked conditionally." >&2;}
94036 { (exit 1); exit 1; }; }
94039 : ${CONFIG_STATUS=./config.status}
94040 ac_clean_files_save=$ac_clean_files
94041 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
94042 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
94043 echo "$as_me: creating $CONFIG_STATUS" >&6;}
94044 cat >$CONFIG_STATUS <<_ACEOF
94045 #! $SHELL
94046 # Generated by $as_me.
94047 # Run this file to recreate the current configuration.
94048 # Compiler output produced by configure, useful for debugging
94049 # configure, is in config.log if it exists.
94051 debug=false
94052 ac_cs_recheck=false
94053 ac_cs_silent=false
94054 SHELL=\${CONFIG_SHELL-$SHELL}
94055 _ACEOF
94057 cat >>$CONFIG_STATUS <<\_ACEOF
94058 ## --------------------- ##
94059 ## M4sh Initialization. ##
94060 ## --------------------- ##
94062 # Be Bourne compatible
94063 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
94064 emulate sh
94065 NULLCMD=:
94066 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
94067 # is contrary to our usage. Disable this feature.
94068 alias -g '${1+"$@"}'='"$@"'
94069 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
94070 set -o posix
94072 DUALCASE=1; export DUALCASE # for MKS sh
94074 # Support unset when possible.
94075 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
94076 as_unset=unset
94077 else
94078 as_unset=false
94082 # Work around bugs in pre-3.0 UWIN ksh.
94083 $as_unset ENV MAIL MAILPATH
94084 PS1='$ '
94085 PS2='> '
94086 PS4='+ '
94088 # NLS nuisances.
94089 for as_var in \
94090 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94091 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
94092 LC_TELEPHONE LC_TIME
94094 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
94095 eval $as_var=C; export $as_var
94096 else
94097 $as_unset $as_var
94099 done
94101 # Required to use basename.
94102 if expr a : '\(a\)' >/dev/null 2>&1; then
94103 as_expr=expr
94104 else
94105 as_expr=false
94108 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
94109 as_basename=basename
94110 else
94111 as_basename=false
94115 # Name of the executable.
94116 as_me=`$as_basename "$0" ||
94117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
94118 X"$0" : 'X\(//\)$' \| \
94119 X"$0" : 'X\(/\)$' \| \
94120 . : '\(.\)' 2>/dev/null ||
94121 echo X/"$0" |
94122 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
94123 /^X\/\(\/\/\)$/{ s//\1/; q; }
94124 /^X\/\(\/\).*/{ s//\1/; q; }
94125 s/.*/./; q'`
94128 # PATH needs CR, and LINENO needs CR and PATH.
94129 # Avoid depending upon Character Ranges.
94130 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
94131 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
94132 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
94133 as_cr_digits='0123456789'
94134 as_cr_alnum=$as_cr_Letters$as_cr_digits
94136 # The user is always right.
94137 if test "${PATH_SEPARATOR+set}" != set; then
94138 echo "#! /bin/sh" >conf$$.sh
94139 echo "exit 0" >>conf$$.sh
94140 chmod +x conf$$.sh
94141 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94142 PATH_SEPARATOR=';'
94143 else
94144 PATH_SEPARATOR=:
94146 rm -f conf$$.sh
94150 as_lineno_1=$LINENO
94151 as_lineno_2=$LINENO
94152 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
94153 test "x$as_lineno_1" != "x$as_lineno_2" &&
94154 test "x$as_lineno_3" = "x$as_lineno_2" || {
94155 # Find who we are. Look in the path if we contain no path at all
94156 # relative or not.
94157 case $0 in
94158 *[\\/]* ) as_myself=$0 ;;
94159 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94160 for as_dir in $PATH
94162 IFS=$as_save_IFS
94163 test -z "$as_dir" && as_dir=.
94164 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94165 done
94168 esac
94169 # We did not find ourselves, most probably we were run as `sh COMMAND'
94170 # in which case we are not to be found in the path.
94171 if test "x$as_myself" = x; then
94172 as_myself=$0
94174 if test ! -f "$as_myself"; then
94175 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
94176 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
94177 { (exit 1); exit 1; }; }
94179 case $CONFIG_SHELL in
94181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
94184 IFS=$as_save_IFS
94185 test -z "$as_dir" && as_dir=.
94186 for as_base in sh bash ksh sh5; do
94187 case $as_dir in
94189 if ("$as_dir/$as_base" -c '
94190 as_lineno_1=$LINENO
94191 as_lineno_2=$LINENO
94192 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
94193 test "x$as_lineno_1" != "x$as_lineno_2" &&
94194 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
94195 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
94196 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
94197 CONFIG_SHELL=$as_dir/$as_base
94198 export CONFIG_SHELL
94199 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
94200 fi;;
94201 esac
94202 done
94203 done
94205 esac
94207 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
94208 # uniformly replaced by the line number. The first 'sed' inserts a
94209 # line-number line before each line; the second 'sed' does the real
94210 # work. The second script uses 'N' to pair each line-number line
94211 # with the numbered line, and appends trailing '-' during
94212 # substitution so that $LINENO is not a special case at line end.
94213 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
94214 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
94215 sed '=' <$as_myself |
94216 sed '
94218 s,$,-,
94219 : loop
94220 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
94221 t loop
94222 s,-$,,
94223 s,^['$as_cr_digits']*\n,,
94224 ' >$as_me.lineno &&
94225 chmod +x $as_me.lineno ||
94226 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
94227 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
94228 { (exit 1); exit 1; }; }
94230 # Don't try to exec as it changes $[0], causing all sort of problems
94231 # (the dirname of $[0] is not the place where we might find the
94232 # original and so on. Autoconf is especially sensible to this).
94233 . ./$as_me.lineno
94234 # Exit status is that of the last command.
94235 exit
94239 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
94240 *c*,-n*) ECHO_N= ECHO_C='
94241 ' ECHO_T=' ' ;;
94242 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
94243 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
94244 esac
94246 if expr a : '\(a\)' >/dev/null 2>&1; then
94247 as_expr=expr
94248 else
94249 as_expr=false
94252 rm -f conf$$ conf$$.exe conf$$.file
94253 echo >conf$$.file
94254 if ln -s conf$$.file conf$$ 2>/dev/null; then
94255 # We could just check for DJGPP; but this test a) works b) is more generic
94256 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
94257 if test -f conf$$.exe; then
94258 # Don't use ln at all; we don't have any links
94259 as_ln_s='cp -p'
94260 else
94261 as_ln_s='ln -s'
94263 elif ln conf$$.file conf$$ 2>/dev/null; then
94264 as_ln_s=ln
94265 else
94266 as_ln_s='cp -p'
94268 rm -f conf$$ conf$$.exe conf$$.file
94270 if mkdir -p . 2>/dev/null; then
94271 as_mkdir_p=:
94272 else
94273 test -d ./-p && rmdir ./-p
94274 as_mkdir_p=false
94277 as_executable_p="test -f"
94279 # Sed expression to map a string onto a valid CPP name.
94280 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
94282 # Sed expression to map a string onto a valid variable name.
94283 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
94286 # IFS
94287 # We need space, tab and new line, in precisely that order.
94288 as_nl='
94290 IFS=" $as_nl"
94292 # CDPATH.
94293 $as_unset CDPATH
94295 exec 6>&1
94297 # Open the log real soon, to keep \$[0] and so on meaningful, and to
94298 # report actual input values of CONFIG_FILES etc. instead of their
94299 # values after options handling. Logging --version etc. is OK.
94300 exec 5>>config.log
94302 echo
94303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
94304 ## Running $as_me. ##
94305 _ASBOX
94306 } >&5
94307 cat >&5 <<_CSEOF
94309 This file was extended by package-unused $as_me version-unused, which was
94310 generated by GNU Autoconf 2.59. Invocation command line was
94312 CONFIG_FILES = $CONFIG_FILES
94313 CONFIG_HEADERS = $CONFIG_HEADERS
94314 CONFIG_LINKS = $CONFIG_LINKS
94315 CONFIG_COMMANDS = $CONFIG_COMMANDS
94316 $ $0 $@
94318 _CSEOF
94319 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
94320 echo >&5
94321 _ACEOF
94323 # Files that config.status was made for.
94324 if test -n "$ac_config_files"; then
94325 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
94328 if test -n "$ac_config_headers"; then
94329 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
94332 if test -n "$ac_config_links"; then
94333 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
94336 if test -n "$ac_config_commands"; then
94337 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
94340 cat >>$CONFIG_STATUS <<\_ACEOF
94342 ac_cs_usage="\
94343 \`$as_me' instantiates files from templates according to the
94344 current configuration.
94346 Usage: $0 [OPTIONS] [FILE]...
94348 -h, --help print this help, then exit
94349 -V, --version print version number, then exit
94350 -q, --quiet do not print progress messages
94351 -d, --debug don't remove temporary files
94352 --recheck update $as_me by reconfiguring in the same conditions
94353 --file=FILE[:TEMPLATE]
94354 instantiate the configuration file FILE
94355 --header=FILE[:TEMPLATE]
94356 instantiate the configuration header FILE
94358 Configuration files:
94359 $config_files
94361 Configuration headers:
94362 $config_headers
94364 Configuration commands:
94365 $config_commands
94367 Report bugs to <bug-autoconf@gnu.org>."
94368 _ACEOF
94370 cat >>$CONFIG_STATUS <<_ACEOF
94371 ac_cs_version="\\
94372 package-unused config.status version-unused
94373 configured by $0, generated by GNU Autoconf 2.59,
94374 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
94376 Copyright (C) 2003 Free Software Foundation, Inc.
94377 This config.status script is free software; the Free Software Foundation
94378 gives unlimited permission to copy, distribute and modify it."
94379 srcdir=$srcdir
94380 INSTALL="$INSTALL"
94381 _ACEOF
94383 cat >>$CONFIG_STATUS <<\_ACEOF
94384 # If no file are specified by the user, then we need to provide default
94385 # value. By we need to know if files were specified by the user.
94386 ac_need_defaults=:
94387 while test $# != 0
94389 case $1 in
94390 --*=*)
94391 ac_option=`expr "x$1" : 'x\([^=]*\)='`
94392 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
94393 ac_shift=:
94396 ac_option=$1
94397 ac_optarg=$2
94398 ac_shift=shift
94400 *) # This is not an option, so the user has probably given explicit
94401 # arguments.
94402 ac_option=$1
94403 ac_need_defaults=false;;
94404 esac
94406 case $ac_option in
94407 # Handling of the options.
94408 _ACEOF
94409 cat >>$CONFIG_STATUS <<\_ACEOF
94410 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
94411 ac_cs_recheck=: ;;
94412 --version | --vers* | -V )
94413 echo "$ac_cs_version"; exit 0 ;;
94414 --he | --h)
94415 # Conflict between --help and --header
94416 { { echo "$as_me:$LINENO: error: ambiguous option: $1
94417 Try \`$0 --help' for more information." >&5
94418 echo "$as_me: error: ambiguous option: $1
94419 Try \`$0 --help' for more information." >&2;}
94420 { (exit 1); exit 1; }; };;
94421 --help | --hel | -h )
94422 echo "$ac_cs_usage"; exit 0 ;;
94423 --debug | --d* | -d )
94424 debug=: ;;
94425 --file | --fil | --fi | --f )
94426 $ac_shift
94427 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
94428 ac_need_defaults=false;;
94429 --header | --heade | --head | --hea )
94430 $ac_shift
94431 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
94432 ac_need_defaults=false;;
94433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
94434 | -silent | --silent | --silen | --sile | --sil | --si | --s)
94435 ac_cs_silent=: ;;
94437 # This is an error.
94438 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
94439 Try \`$0 --help' for more information." >&5
94440 echo "$as_me: error: unrecognized option: $1
94441 Try \`$0 --help' for more information." >&2;}
94442 { (exit 1); exit 1; }; } ;;
94444 *) ac_config_targets="$ac_config_targets $1" ;;
94446 esac
94447 shift
94448 done
94450 ac_configure_extra_args=
94452 if $ac_cs_silent; then
94453 exec 6>/dev/null
94454 ac_configure_extra_args="$ac_configure_extra_args --silent"
94457 _ACEOF
94458 cat >>$CONFIG_STATUS <<_ACEOF
94459 if \$ac_cs_recheck; then
94460 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
94461 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
94464 _ACEOF
94466 cat >>$CONFIG_STATUS <<_ACEOF
94468 # INIT-COMMANDS section.
94472 srcdir="$srcdir"
94473 host="$host"
94474 target="$target"
94475 with_multisubdir="$with_multisubdir"
94476 with_multisrctop="$with_multisrctop"
94477 with_target_subdir="$with_target_subdir"
94478 ac_configure_args="${multilib_arg} ${ac_configure_args}"
94479 multi_basedir="$multi_basedir"
94480 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
94481 CC="$CC"
94483 # Variables needed in config.status (file generation) which aren't already
94484 # passed by autoconf.
94485 SUBDIRS="$SUBDIRS"
94488 _ACEOF
94492 cat >>$CONFIG_STATUS <<\_ACEOF
94493 for ac_config_target in $ac_config_targets
94495 case "$ac_config_target" in
94496 # Handling of arguments.
94497 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
94498 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
94499 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
94500 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
94501 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
94502 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
94503 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
94504 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
94505 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
94506 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
94507 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
94508 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
94509 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
94510 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
94511 { (exit 1); exit 1; }; };;
94512 esac
94513 done
94515 # If the user did not use the arguments to specify the items to instantiate,
94516 # then the envvar interface is used. Set only those that are not.
94517 # We use the long form for the default assignment because of an extremely
94518 # bizarre bug on SunOS 4.1.3.
94519 if $ac_need_defaults; then
94520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
94521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
94522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
94525 # Have a temporary directory for convenience. Make it in the build tree
94526 # simply because there is no reason to put it here, and in addition,
94527 # creating and moving files from /tmp can sometimes cause problems.
94528 # Create a temporary directory, and hook for its removal unless debugging.
94529 $debug ||
94531 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
94532 trap '{ (exit 1); exit 1; }' 1 2 13 15
94535 # Create a (secure) tmp directory for tmp files.
94538 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
94539 test -n "$tmp" && test -d "$tmp"
94540 } ||
94542 tmp=./confstat$$-$RANDOM
94543 (umask 077 && mkdir $tmp)
94544 } ||
94546 echo "$me: cannot create a temporary directory in ." >&2
94547 { (exit 1); exit 1; }
94550 _ACEOF
94552 cat >>$CONFIG_STATUS <<_ACEOF
94555 # CONFIG_FILES section.
94558 # No need to generate the scripts if there are no CONFIG_FILES.
94559 # This happens for instance when ./config.status config.h
94560 if test -n "\$CONFIG_FILES"; then
94561 # Protect against being on the right side of a sed subst in config.status.
94562 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
94563 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
94564 s,@SHELL@,$SHELL,;t t
94565 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
94566 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
94567 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
94568 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
94569 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
94570 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
94571 s,@exec_prefix@,$exec_prefix,;t t
94572 s,@prefix@,$prefix,;t t
94573 s,@program_transform_name@,$program_transform_name,;t t
94574 s,@bindir@,$bindir,;t t
94575 s,@sbindir@,$sbindir,;t t
94576 s,@libexecdir@,$libexecdir,;t t
94577 s,@datadir@,$datadir,;t t
94578 s,@sysconfdir@,$sysconfdir,;t t
94579 s,@sharedstatedir@,$sharedstatedir,;t t
94580 s,@localstatedir@,$localstatedir,;t t
94581 s,@libdir@,$libdir,;t t
94582 s,@includedir@,$includedir,;t t
94583 s,@oldincludedir@,$oldincludedir,;t t
94584 s,@infodir@,$infodir,;t t
94585 s,@mandir@,$mandir,;t t
94586 s,@build_alias@,$build_alias,;t t
94587 s,@host_alias@,$host_alias,;t t
94588 s,@target_alias@,$target_alias,;t t
94589 s,@DEFS@,$DEFS,;t t
94590 s,@ECHO_C@,$ECHO_C,;t t
94591 s,@ECHO_N@,$ECHO_N,;t t
94592 s,@ECHO_T@,$ECHO_T,;t t
94593 s,@LIBS@,$LIBS,;t t
94594 s,@libtool_VERSION@,$libtool_VERSION,;t t
94595 s,@multi_basedir@,$multi_basedir,;t t
94596 s,@build@,$build,;t t
94597 s,@build_cpu@,$build_cpu,;t t
94598 s,@build_vendor@,$build_vendor,;t t
94599 s,@build_os@,$build_os,;t t
94600 s,@host@,$host,;t t
94601 s,@host_cpu@,$host_cpu,;t t
94602 s,@host_vendor@,$host_vendor,;t t
94603 s,@host_os@,$host_os,;t t
94604 s,@target@,$target,;t t
94605 s,@target_cpu@,$target_cpu,;t t
94606 s,@target_vendor@,$target_vendor,;t t
94607 s,@target_os@,$target_os,;t t
94608 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
94609 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
94610 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
94611 s,@CYGPATH_W@,$CYGPATH_W,;t t
94612 s,@PACKAGE@,$PACKAGE,;t t
94613 s,@VERSION@,$VERSION,;t t
94614 s,@ACLOCAL@,$ACLOCAL,;t t
94615 s,@AUTOCONF@,$AUTOCONF,;t t
94616 s,@AUTOMAKE@,$AUTOMAKE,;t t
94617 s,@AUTOHEADER@,$AUTOHEADER,;t t
94618 s,@MAKEINFO@,$MAKEINFO,;t t
94619 s,@AMTAR@,$AMTAR,;t t
94620 s,@install_sh@,$install_sh,;t t
94621 s,@STRIP@,$STRIP,;t t
94622 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
94623 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
94624 s,@mkdir_p@,$mkdir_p,;t t
94625 s,@AWK@,$AWK,;t t
94626 s,@SET_MAKE@,$SET_MAKE,;t t
94627 s,@am__leading_dot@,$am__leading_dot,;t t
94628 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
94629 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
94630 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
94631 s,@CC@,$CC,;t t
94632 s,@ac_ct_CC@,$ac_ct_CC,;t t
94633 s,@EXEEXT@,$EXEEXT,;t t
94634 s,@OBJEXT@,$OBJEXT,;t t
94635 s,@CXX@,$CXX,;t t
94636 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
94637 s,@CFLAGS@,$CFLAGS,;t t
94638 s,@CXXFLAGS@,$CXXFLAGS,;t t
94639 s,@LN_S@,$LN_S,;t t
94640 s,@AS@,$AS,;t t
94641 s,@ac_ct_AS@,$ac_ct_AS,;t t
94642 s,@AR@,$AR,;t t
94643 s,@ac_ct_AR@,$ac_ct_AR,;t t
94644 s,@RANLIB@,$RANLIB,;t t
94645 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
94646 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
94647 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
94648 s,@MAINT@,$MAINT,;t t
94649 s,@LIBTOOL@,$LIBTOOL,;t t
94650 s,@CXXCPP@,$CXXCPP,;t t
94651 s,@CPPFLAGS@,$CPPFLAGS,;t t
94652 s,@enable_shared@,$enable_shared,;t t
94653 s,@enable_static@,$enable_static,;t t
94654 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
94655 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
94656 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
94657 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
94658 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
94659 s,@CSTDIO_H@,$CSTDIO_H,;t t
94660 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
94661 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
94662 s,@CPP@,$CPP,;t t
94663 s,@EGREP@,$EGREP,;t t
94664 s,@check_msgfmt@,$check_msgfmt,;t t
94665 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
94666 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
94667 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
94668 s,@USE_NLS@,$USE_NLS,;t t
94669 s,@CLOCALE_H@,$CLOCALE_H,;t t
94670 s,@CCODECVT_H@,$CCODECVT_H,;t t
94671 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
94672 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
94673 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
94674 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
94675 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
94676 s,@CMONEY_CC@,$CMONEY_CC,;t t
94677 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
94678 s,@CTIME_H@,$CTIME_H,;t t
94679 s,@CTIME_CC@,$CTIME_CC,;t t
94680 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
94681 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
94682 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
94683 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
94684 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
94685 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
94686 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
94687 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
94688 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
94689 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
94690 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
94691 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
94692 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
94693 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
94694 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
94695 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
94696 s,@WERROR@,$WERROR,;t t
94697 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
94698 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
94699 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
94700 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
94701 s,@LIBICONV@,$LIBICONV,;t t
94702 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
94703 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
94704 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
94705 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
94706 s,@baseline_dir@,$baseline_dir,;t t
94707 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
94708 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
94709 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
94710 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
94711 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
94712 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
94713 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
94714 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
94715 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
94716 s,@gxx_include_dir@,$gxx_include_dir,;t t
94717 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
94718 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
94719 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
94720 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
94721 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
94722 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
94723 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
94724 s,@LIBOBJS@,$LIBOBJS,;t t
94725 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
94726 CEOF
94728 _ACEOF
94730 cat >>$CONFIG_STATUS <<\_ACEOF
94731 # Split the substitutions into bite-sized pieces for seds with
94732 # small command number limits, like on Digital OSF/1 and HP-UX.
94733 ac_max_sed_lines=48
94734 ac_sed_frag=1 # Number of current file.
94735 ac_beg=1 # First line for current file.
94736 ac_end=$ac_max_sed_lines # Line after last line for current file.
94737 ac_more_lines=:
94738 ac_sed_cmds=
94739 while $ac_more_lines; do
94740 if test $ac_beg -gt 1; then
94741 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94742 else
94743 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94745 if test ! -s $tmp/subs.frag; then
94746 ac_more_lines=false
94747 else
94748 # The purpose of the label and of the branching condition is to
94749 # speed up the sed processing (if there are no `@' at all, there
94750 # is no need to browse any of the substitutions).
94751 # These are the two extra sed commands mentioned above.
94752 (echo ':t
94753 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
94754 if test -z "$ac_sed_cmds"; then
94755 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
94756 else
94757 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
94759 ac_sed_frag=`expr $ac_sed_frag + 1`
94760 ac_beg=$ac_end
94761 ac_end=`expr $ac_end + $ac_max_sed_lines`
94763 done
94764 if test -z "$ac_sed_cmds"; then
94765 ac_sed_cmds=cat
94767 fi # test -n "$CONFIG_FILES"
94769 _ACEOF
94770 cat >>$CONFIG_STATUS <<\_ACEOF
94771 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
94772 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
94773 case $ac_file in
94774 - | *:- | *:-:* ) # input from stdin
94775 cat >$tmp/stdin
94776 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94777 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94778 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94779 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94780 * ) ac_file_in=$ac_file.in ;;
94781 esac
94783 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
94784 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
94785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94786 X"$ac_file" : 'X\(//\)[^/]' \| \
94787 X"$ac_file" : 'X\(//\)$' \| \
94788 X"$ac_file" : 'X\(/\)' \| \
94789 . : '\(.\)' 2>/dev/null ||
94790 echo X"$ac_file" |
94791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94793 /^X\(\/\/\)$/{ s//\1/; q; }
94794 /^X\(\/\).*/{ s//\1/; q; }
94795 s/.*/./; q'`
94796 { if $as_mkdir_p; then
94797 mkdir -p "$ac_dir"
94798 else
94799 as_dir="$ac_dir"
94800 as_dirs=
94801 while test ! -d "$as_dir"; do
94802 as_dirs="$as_dir $as_dirs"
94803 as_dir=`(dirname "$as_dir") 2>/dev/null ||
94804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94805 X"$as_dir" : 'X\(//\)[^/]' \| \
94806 X"$as_dir" : 'X\(//\)$' \| \
94807 X"$as_dir" : 'X\(/\)' \| \
94808 . : '\(.\)' 2>/dev/null ||
94809 echo X"$as_dir" |
94810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94811 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94812 /^X\(\/\/\)$/{ s//\1/; q; }
94813 /^X\(\/\).*/{ s//\1/; q; }
94814 s/.*/./; q'`
94815 done
94816 test ! -n "$as_dirs" || mkdir $as_dirs
94817 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
94818 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
94819 { (exit 1); exit 1; }; }; }
94821 ac_builddir=.
94823 if test "$ac_dir" != .; then
94824 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
94825 # A "../" for each directory in $ac_dir_suffix.
94826 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
94827 else
94828 ac_dir_suffix= ac_top_builddir=
94831 case $srcdir in
94832 .) # No --srcdir option. We are building in place.
94833 ac_srcdir=.
94834 if test -z "$ac_top_builddir"; then
94835 ac_top_srcdir=.
94836 else
94837 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
94838 fi ;;
94839 [\\/]* | ?:[\\/]* ) # Absolute path.
94840 ac_srcdir=$srcdir$ac_dir_suffix;
94841 ac_top_srcdir=$srcdir ;;
94842 *) # Relative path.
94843 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
94844 ac_top_srcdir=$ac_top_builddir$srcdir ;;
94845 esac
94847 # Do not use `cd foo && pwd` to compute absolute paths, because
94848 # the directories may not exist.
94849 case `pwd` in
94850 .) ac_abs_builddir="$ac_dir";;
94852 case "$ac_dir" in
94853 .) ac_abs_builddir=`pwd`;;
94854 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
94855 *) ac_abs_builddir=`pwd`/"$ac_dir";;
94856 esac;;
94857 esac
94858 case $ac_abs_builddir in
94859 .) ac_abs_top_builddir=${ac_top_builddir}.;;
94861 case ${ac_top_builddir}. in
94862 .) ac_abs_top_builddir=$ac_abs_builddir;;
94863 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
94864 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
94865 esac;;
94866 esac
94867 case $ac_abs_builddir in
94868 .) ac_abs_srcdir=$ac_srcdir;;
94870 case $ac_srcdir in
94871 .) ac_abs_srcdir=$ac_abs_builddir;;
94872 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
94873 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
94874 esac;;
94875 esac
94876 case $ac_abs_builddir in
94877 .) ac_abs_top_srcdir=$ac_top_srcdir;;
94879 case $ac_top_srcdir in
94880 .) ac_abs_top_srcdir=$ac_abs_builddir;;
94881 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
94882 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
94883 esac;;
94884 esac
94887 case $INSTALL in
94888 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
94889 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
94890 esac
94892 # Let's still pretend it is `configure' which instantiates (i.e., don't
94893 # use $as_me), people would be surprised to read:
94894 # /* config.h. Generated by config.status. */
94895 if test x"$ac_file" = x-; then
94896 configure_input=
94897 else
94898 configure_input="$ac_file. "
94900 configure_input=$configure_input"Generated from `echo $ac_file_in |
94901 sed 's,.*/,,'` by configure."
94903 # First look for the input files in the build tree, otherwise in the
94904 # src tree.
94905 ac_file_inputs=`IFS=:
94906 for f in $ac_file_in; do
94907 case $f in
94908 -) echo $tmp/stdin ;;
94909 [\\/$]*)
94910 # Absolute (can't be DOS-style, as IFS=:)
94911 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
94912 echo "$as_me: error: cannot find input file: $f" >&2;}
94913 { (exit 1); exit 1; }; }
94914 echo "$f";;
94915 *) # Relative
94916 if test -f "$f"; then
94917 # Build tree
94918 echo "$f"
94919 elif test -f "$srcdir/$f"; then
94920 # Source tree
94921 echo "$srcdir/$f"
94922 else
94923 # /dev/null tree
94924 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
94925 echo "$as_me: error: cannot find input file: $f" >&2;}
94926 { (exit 1); exit 1; }; }
94927 fi;;
94928 esac
94929 done` || { (exit 1); exit 1; }
94931 if test x"$ac_file" != x-; then
94932 { echo "$as_me:$LINENO: creating $ac_file" >&5
94933 echo "$as_me: creating $ac_file" >&6;}
94934 rm -f "$ac_file"
94936 _ACEOF
94937 cat >>$CONFIG_STATUS <<_ACEOF
94938 sed "$ac_vpsub
94939 $extrasub
94940 _ACEOF
94941 cat >>$CONFIG_STATUS <<\_ACEOF
94943 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
94944 s,@configure_input@,$configure_input,;t t
94945 s,@srcdir@,$ac_srcdir,;t t
94946 s,@abs_srcdir@,$ac_abs_srcdir,;t t
94947 s,@top_srcdir@,$ac_top_srcdir,;t t
94948 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
94949 s,@builddir@,$ac_builddir,;t t
94950 s,@abs_builddir@,$ac_abs_builddir,;t t
94951 s,@top_builddir@,$ac_top_builddir,;t t
94952 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
94953 s,@INSTALL@,$ac_INSTALL,;t t
94954 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
94955 rm -f $tmp/stdin
94956 if test x"$ac_file" != x-; then
94957 mv $tmp/out $ac_file
94958 else
94959 cat $tmp/out
94960 rm -f $tmp/out
94963 # Run the commands associated with the file.
94964 case $ac_file in
94965 scripts/check_survey ) chmod +x scripts/check_survey ;;
94966 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
94967 esac
94968 done
94969 _ACEOF
94970 cat >>$CONFIG_STATUS <<\_ACEOF
94973 # CONFIG_HEADER section.
94976 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
94977 # NAME is the cpp macro being defined and VALUE is the value it is being given.
94979 # ac_d sets the value in "#define NAME VALUE" lines.
94980 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
94981 ac_dB='[ ].*$,\1#\2'
94982 ac_dC=' '
94983 ac_dD=',;t'
94984 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
94985 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
94986 ac_uB='$,\1#\2define\3'
94987 ac_uC=' '
94988 ac_uD=',;t'
94990 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
94991 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
94992 case $ac_file in
94993 - | *:- | *:-:* ) # input from stdin
94994 cat >$tmp/stdin
94995 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94996 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94997 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94998 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94999 * ) ac_file_in=$ac_file.in ;;
95000 esac
95002 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95003 echo "$as_me: creating $ac_file" >&6;}
95005 # First look for the input files in the build tree, otherwise in the
95006 # src tree.
95007 ac_file_inputs=`IFS=:
95008 for f in $ac_file_in; do
95009 case $f in
95010 -) echo $tmp/stdin ;;
95011 [\\/$]*)
95012 # Absolute (can't be DOS-style, as IFS=:)
95013 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95014 echo "$as_me: error: cannot find input file: $f" >&2;}
95015 { (exit 1); exit 1; }; }
95016 # Do quote $f, to prevent DOS paths from being IFS'd.
95017 echo "$f";;
95018 *) # Relative
95019 if test -f "$f"; then
95020 # Build tree
95021 echo "$f"
95022 elif test -f "$srcdir/$f"; then
95023 # Source tree
95024 echo "$srcdir/$f"
95025 else
95026 # /dev/null tree
95027 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95028 echo "$as_me: error: cannot find input file: $f" >&2;}
95029 { (exit 1); exit 1; }; }
95030 fi;;
95031 esac
95032 done` || { (exit 1); exit 1; }
95033 # Remove the trailing spaces.
95034 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
95036 _ACEOF
95038 # Transform confdefs.h into two sed scripts, `conftest.defines' and
95039 # `conftest.undefs', that substitutes the proper values into
95040 # config.h.in to produce config.h. The first handles `#define'
95041 # templates, and the second `#undef' templates.
95042 # And first: Protect against being on the right side of a sed subst in
95043 # config.status. Protect against being in an unquoted here document
95044 # in config.status.
95045 rm -f conftest.defines conftest.undefs
95046 # Using a here document instead of a string reduces the quoting nightmare.
95047 # Putting comments in sed scripts is not portable.
95049 # `end' is used to avoid that the second main sed command (meant for
95050 # 0-ary CPP macros) applies to n-ary macro definitions.
95051 # See the Autoconf documentation for `clear'.
95052 cat >confdef2sed.sed <<\_ACEOF
95053 s/[\\&,]/\\&/g
95054 s,[\\$`],\\&,g
95055 t clear
95056 : clear
95057 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
95058 t end
95059 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
95060 : end
95061 _ACEOF
95062 # If some macros were called several times there might be several times
95063 # the same #defines, which is useless. Nevertheless, we may not want to
95064 # sort them, since we want the *last* AC-DEFINE to be honored.
95065 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
95066 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
95067 rm -f confdef2sed.sed
95069 # This sed command replaces #undef with comments. This is necessary, for
95070 # example, in the case of _POSIX_SOURCE, which is predefined and required
95071 # on some systems where configure will not decide to define it.
95072 cat >>conftest.undefs <<\_ACEOF
95073 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
95074 _ACEOF
95076 # Break up conftest.defines because some shells have a limit on the size
95077 # of here documents, and old seds have small limits too (100 cmds).
95078 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
95079 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
95080 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
95081 echo ' :' >>$CONFIG_STATUS
95082 rm -f conftest.tail
95083 while grep . conftest.defines >/dev/null
95085 # Write a limited-size here document to $tmp/defines.sed.
95086 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
95087 # Speed up: don't consider the non `#define' lines.
95088 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
95089 # Work around the forget-to-reset-the-flag bug.
95090 echo 't clr' >>$CONFIG_STATUS
95091 echo ': clr' >>$CONFIG_STATUS
95092 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
95093 echo 'CEOF
95094 sed -f $tmp/defines.sed $tmp/in >$tmp/out
95095 rm -f $tmp/in
95096 mv $tmp/out $tmp/in
95097 ' >>$CONFIG_STATUS
95098 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
95099 rm -f conftest.defines
95100 mv conftest.tail conftest.defines
95101 done
95102 rm -f conftest.defines
95103 echo ' fi # grep' >>$CONFIG_STATUS
95104 echo >>$CONFIG_STATUS
95106 # Break up conftest.undefs because some shells have a limit on the size
95107 # of here documents, and old seds have small limits too (100 cmds).
95108 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
95109 rm -f conftest.tail
95110 while grep . conftest.undefs >/dev/null
95112 # Write a limited-size here document to $tmp/undefs.sed.
95113 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
95114 # Speed up: don't consider the non `#undef'
95115 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
95116 # Work around the forget-to-reset-the-flag bug.
95117 echo 't clr' >>$CONFIG_STATUS
95118 echo ': clr' >>$CONFIG_STATUS
95119 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
95120 echo 'CEOF
95121 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
95122 rm -f $tmp/in
95123 mv $tmp/out $tmp/in
95124 ' >>$CONFIG_STATUS
95125 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
95126 rm -f conftest.undefs
95127 mv conftest.tail conftest.undefs
95128 done
95129 rm -f conftest.undefs
95131 cat >>$CONFIG_STATUS <<\_ACEOF
95132 # Let's still pretend it is `configure' which instantiates (i.e., don't
95133 # use $as_me), people would be surprised to read:
95134 # /* config.h. Generated by config.status. */
95135 if test x"$ac_file" = x-; then
95136 echo "/* Generated by configure. */" >$tmp/config.h
95137 else
95138 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
95140 cat $tmp/in >>$tmp/config.h
95141 rm -f $tmp/in
95142 if test x"$ac_file" != x-; then
95143 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
95144 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
95145 echo "$as_me: $ac_file is unchanged" >&6;}
95146 else
95147 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95148 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95149 X"$ac_file" : 'X\(//\)[^/]' \| \
95150 X"$ac_file" : 'X\(//\)$' \| \
95151 X"$ac_file" : 'X\(/\)' \| \
95152 . : '\(.\)' 2>/dev/null ||
95153 echo X"$ac_file" |
95154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95156 /^X\(\/\/\)$/{ s//\1/; q; }
95157 /^X\(\/\).*/{ s//\1/; q; }
95158 s/.*/./; q'`
95159 { if $as_mkdir_p; then
95160 mkdir -p "$ac_dir"
95161 else
95162 as_dir="$ac_dir"
95163 as_dirs=
95164 while test ! -d "$as_dir"; do
95165 as_dirs="$as_dir $as_dirs"
95166 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95168 X"$as_dir" : 'X\(//\)[^/]' \| \
95169 X"$as_dir" : 'X\(//\)$' \| \
95170 X"$as_dir" : 'X\(/\)' \| \
95171 . : '\(.\)' 2>/dev/null ||
95172 echo X"$as_dir" |
95173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95175 /^X\(\/\/\)$/{ s//\1/; q; }
95176 /^X\(\/\).*/{ s//\1/; q; }
95177 s/.*/./; q'`
95178 done
95179 test ! -n "$as_dirs" || mkdir $as_dirs
95180 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95182 { (exit 1); exit 1; }; }; }
95184 rm -f $ac_file
95185 mv $tmp/config.h $ac_file
95187 else
95188 cat $tmp/config.h
95189 rm -f $tmp/config.h
95191 # Compute $ac_file's index in $config_headers.
95192 _am_stamp_count=1
95193 for _am_header in $config_headers :; do
95194 case $_am_header in
95195 $ac_file | $ac_file:* )
95196 break ;;
95198 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
95199 esac
95200 done
95201 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
95202 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95203 X$ac_file : 'X\(//\)[^/]' \| \
95204 X$ac_file : 'X\(//\)$' \| \
95205 X$ac_file : 'X\(/\)' \| \
95206 . : '\(.\)' 2>/dev/null ||
95207 echo X$ac_file |
95208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95210 /^X\(\/\/\)$/{ s//\1/; q; }
95211 /^X\(\/\).*/{ s//\1/; q; }
95212 s/.*/./; q'`/stamp-h$_am_stamp_count
95213 done
95214 _ACEOF
95215 cat >>$CONFIG_STATUS <<\_ACEOF
95218 # CONFIG_COMMANDS section.
95220 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
95221 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
95222 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
95223 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
95224 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95225 X"$ac_dest" : 'X\(//\)[^/]' \| \
95226 X"$ac_dest" : 'X\(//\)$' \| \
95227 X"$ac_dest" : 'X\(/\)' \| \
95228 . : '\(.\)' 2>/dev/null ||
95229 echo X"$ac_dest" |
95230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95232 /^X\(\/\/\)$/{ s//\1/; q; }
95233 /^X\(\/\).*/{ s//\1/; q; }
95234 s/.*/./; q'`
95235 { if $as_mkdir_p; then
95236 mkdir -p "$ac_dir"
95237 else
95238 as_dir="$ac_dir"
95239 as_dirs=
95240 while test ! -d "$as_dir"; do
95241 as_dirs="$as_dir $as_dirs"
95242 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95244 X"$as_dir" : 'X\(//\)[^/]' \| \
95245 X"$as_dir" : 'X\(//\)$' \| \
95246 X"$as_dir" : 'X\(/\)' \| \
95247 . : '\(.\)' 2>/dev/null ||
95248 echo X"$as_dir" |
95249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95251 /^X\(\/\/\)$/{ s//\1/; q; }
95252 /^X\(\/\).*/{ s//\1/; q; }
95253 s/.*/./; q'`
95254 done
95255 test ! -n "$as_dirs" || mkdir $as_dirs
95256 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95257 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95258 { (exit 1); exit 1; }; }; }
95260 ac_builddir=.
95262 if test "$ac_dir" != .; then
95263 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95264 # A "../" for each directory in $ac_dir_suffix.
95265 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95266 else
95267 ac_dir_suffix= ac_top_builddir=
95270 case $srcdir in
95271 .) # No --srcdir option. We are building in place.
95272 ac_srcdir=.
95273 if test -z "$ac_top_builddir"; then
95274 ac_top_srcdir=.
95275 else
95276 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95277 fi ;;
95278 [\\/]* | ?:[\\/]* ) # Absolute path.
95279 ac_srcdir=$srcdir$ac_dir_suffix;
95280 ac_top_srcdir=$srcdir ;;
95281 *) # Relative path.
95282 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95283 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95284 esac
95286 # Do not use `cd foo && pwd` to compute absolute paths, because
95287 # the directories may not exist.
95288 case `pwd` in
95289 .) ac_abs_builddir="$ac_dir";;
95291 case "$ac_dir" in
95292 .) ac_abs_builddir=`pwd`;;
95293 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95294 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95295 esac;;
95296 esac
95297 case $ac_abs_builddir in
95298 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95300 case ${ac_top_builddir}. in
95301 .) ac_abs_top_builddir=$ac_abs_builddir;;
95302 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95303 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95304 esac;;
95305 esac
95306 case $ac_abs_builddir in
95307 .) ac_abs_srcdir=$ac_srcdir;;
95309 case $ac_srcdir in
95310 .) ac_abs_srcdir=$ac_abs_builddir;;
95311 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95312 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95313 esac;;
95314 esac
95315 case $ac_abs_builddir in
95316 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95318 case $ac_top_srcdir in
95319 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95320 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95321 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95322 esac;;
95323 esac
95326 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
95327 echo "$as_me: executing $ac_dest commands" >&6;}
95328 case $ac_dest in
95329 default-1 )
95330 # Only add multilib support code if we just rebuilt the top-level
95331 # Makefile.
95332 case " $CONFIG_FILES " in
95333 *" Makefile "*)
95334 ac_file=Makefile . ${multi_basedir}/config-ml.in
95336 esac ;;
95337 default ) if test -n "$CONFIG_FILES"; then
95338 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
95339 # that multilib installs will end up installed in the correct place.
95340 # The testsuite needs it for multilib-aware ABI baseline files.
95341 # To work around this not being passed down from config-ml.in ->
95342 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
95343 # append it here. Only modify Makefiles that have just been created.
95345 # Also, get rid of this simulated-VPATH thing that automake does.
95346 cat > vpsed << \_EOF
95347 s!`test -f '$<' || echo '$(srcdir)/'`!!
95348 _EOF
95349 for i in $SUBDIRS; do
95350 case $CONFIG_FILES in
95351 *${i}/Makefile*)
95352 #echo "Adding MULTISUBDIR to $i/Makefile"
95353 sed -f vpsed $i/Makefile > tmp
95354 grep '^MULTISUBDIR =' Makefile >> tmp
95355 mv tmp $i/Makefile
95357 esac
95358 done
95359 rm vpsed
95361 (cd include && ${MAKE-make})
95363 esac
95364 done
95365 _ACEOF
95367 cat >>$CONFIG_STATUS <<\_ACEOF
95369 { (exit 0); exit 0; }
95370 _ACEOF
95371 chmod +x $CONFIG_STATUS
95372 ac_clean_files=$ac_clean_files_save
95375 # configure is writing to config.log, and then calls config.status.
95376 # config.status does its own redirection, appending to config.log.
95377 # Unfortunately, on DOS this fails, as config.log is still kept open
95378 # by configure, so config.status won't be able to write to it; its
95379 # output is simply discarded. So we exec the FD to /dev/null,
95380 # effectively closing config.log, so it can be properly (re)opened and
95381 # appended to by config.status. When coming back to configure, we
95382 # need to make the FD available again.
95383 if test "$no_create" != yes; then
95384 ac_cs_success=:
95385 ac_config_status_args=
95386 test "$silent" = yes &&
95387 ac_config_status_args="$ac_config_status_args --quiet"
95388 exec 5>/dev/null
95389 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
95390 exec 5>>config.log
95391 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
95392 # would make configure fail if this is the last instruction.
95393 $ac_cs_success || { (exit 1); exit 1; }